Linux Distros Unpatched Vulnerability : CVE-2026-98813
| Reporter | Title | Published | Views | Family All 8 |
|---|---|---|---|---|
| CVE-2026-98813 | 18 Oct 202615:48 | – | cve | |
| CVE-2026-98813 bpf: Hold map BTF for the memory allocator destructor record | 18 Oct 202615:48 | – | cvelist | |
| CVE-2026-98813 | 18 Oct 202615:48 | – | debiancve | |
| EUVD-2026-103898 | 18 Oct 202615:48 | – | euvd | |
| CVE-2026-98813 | 18 Oct 202616:17 | – | nvd | |
| DEBIAN-CVE-2026-98813 | 18 Oct 202617:47 | – | osv_debian | |
| PT-2026-117032 | 18 Oct 202600:00 | – | ptsecurity | |
| SUSE CVE-2026-98813 | 18 Oct 202623:41 | – | susecve |
| Source | Link |
|---|---|
| security-tracker | www.security-tracker.debian.org/tracker/CVE-2026-98813 |
| cve | www.cve.mitre.org/cgi-bin/cvename.cgi |
#%NASL_MIN_LEVEL 80900
##
# (C) Tenable, Inc.
##
include('compat.inc');
if (description)
{
script_id(367090);
script_version("1.1");
script_set_attribute(attribute:"plugin_modification_date", value:"2026/10/18");
script_cve_id("CVE-2026-98813");
script_name(english:"Linux Distros Unpatched Vulnerability : CVE-2026-98813");
script_set_attribute(attribute:"synopsis", value:
"The Linux/Unix host has one or more packages installed with a vulnerability that the vendor indicates will not be
patched.");
script_set_attribute(attribute:"description", value:
"The Linux/Unix host has one or more packages installed that are impacted by a vulnerability without a vendor supplied
patch available.
- bpf: Hold map BTF for the memory allocator destructor record bpf_ma_set_dtor() duplicates map->record so
that the bpf_mem_alloc destructor can release the special fields of hash and rhash map elements once the
allocator frees them for good. btf_record_dup() only acquires references on kernel and module BTF. Fields
whose types live in the map BTF keep pointing into it: a kptr to a local type refers to map->btf, and a
list_head or rb_root field carries a value_rec owned by the struct meta table of map->btf. That borrowed
state can outlive the map. When RCU callbacks are still in flight, bpf_mem_alloc_destroy() copies the
allocator and defers the final drain, together with the destructor context, to a workqueue. bpf_map_free()
then frees map->record and drops the map's BTF reference as soon as map_free() returns. Once the program
that loaded the BTF is gone as well, the BTF is freed while the worker still uses the duplicate. The
worker dereferences it through btf_is_kernel() and btf_find_struct_meta() in bpf_obj_free_fields() when
destroying elements that were freed under RCU, and through btf_is_kernel() in btf_record_free() when
releasing the context itself: BUG: KASAN: slab-use-after-free in btf_is_kernel+0x19/0x30 Read of size 1 at
addr ffff88811505dce8 by task kworker/u16:2/50 Workqueue: events_unbound free_mem_alloc_deferred Call
Trace: btf_is_kernel+0x19/0x30 btf_record_free+0xc7/0xf0 htab_dtor_ctx_free+0x1a/0x30
free_mem_alloc_no_barrier+0x39/0x230 free_mem_alloc_deferred+0x2a/0x40 process_scheduled_works+0x5ce/0x9d0
worker_thread+0x42a/0x5e0 kthread+0x1f5/0x230 ret_from_fork+0x1dd/0x390 ret_from_fork_asm+0x1a/0x30
Allocated by task 358: __kmalloc_cache_noprof+0x287/0x510 btf_new_fd+0xf7/0x3d0 __sys_bpf+0x487/0x840
Freed by task 0: kfree+0x186/0x560 rcu_core+0x6f6/0xd40 Freeing a map that still holds more elements than
the allocator's high watermark is enough to get there, because the bulk free during teardown queues the
RCU callback that makes bpf_mem_alloc_destroy() defer. Non-preallocated hash maps and resizable hash maps
both register the destructor and are affected alike. Keep one reference on the map BTF in the destructor
context. Every non-kernel pointer in the duplicated record is either map->btf or memory owned by it, so a
single reference covers kptrs, list heads, and rb roots, and mirrors what bpf_map_meta_alloc() does for
the duplicated record of an inner map. Release it only after the duplicated record has been freed: the
worker is preemptible and not in an RCU read-side critical section, so dropping the last reference first
would let the BTF be freed while btf_record_free() still reads its fields. (CVE-2026-98813)
Note that Nessus relies on the presence of the package as reported by the vendor.");
script_set_attribute(attribute:"see_also", value:"https://security-tracker.debian.org/tracker/CVE-2026-98813");
script_set_attribute(attribute:"solution", value:
"There is no known solution at this time.");
script_set_attribute(attribute:"agent", value:"unix");
script_set_cvss_base_vector("CVSS2#AV:N/AC:L/Au:N/C:P/I:P/A:P");
script_set_cvss_temporal_vector("CVSS2#E:U/RL:U/RC:C");
script_set_cvss3_base_vector("CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H");
script_set_cvss3_temporal_vector("CVSS:3.0/E:U/RL:U/RC:C");
script_set_attribute(attribute:"cvss_score_source", value:"CVE-2026-98813");
script_set_attribute(attribute:"exploitability_ease", value:"No known exploits are available");
script_set_attribute(attribute:"exploit_available", value:"false");
script_set_attribute(attribute:"vendor_unpatched", value:"true");
script_set_attribute(attribute:"vuln_publication_date", value:"2026/10/18");
script_set_attribute(attribute:"plugin_publication_date", value:"2026/10/18");
script_set_attribute(attribute:"plugin_type", value:"local");
script_set_attribute(attribute:"cpe", value:"cpe:/o:debian:debian_linux:13.0");
script_set_attribute(attribute:"cpe", value:"p-cpe:/a:debian:debian_linux:linux");
script_set_attribute(attribute:"generated_plugin", value:"current");
script_end_attributes();
script_category(ACT_GATHER_INFO);
script_family(english:"Misc.");
script_copyright(english:"This script is Copyright (C) 2026 and is owned by Tenable, Inc. or an Affiliate thereof.");
script_dependencies("ssh_get_info2.nasl", "set_linux_os_id.nasl");
script_require_keys("Host/cpu", "Host/local_checks_enabled", "global_settings/vendor_unpatched", "Host/OS/identifier");
script_require_ports("Host/OS/Debian Linux-13");
exit(0);
}
if (!get_kb_item("global_settings/vendor_unpatched")) exit(0, "Unpatched Vulnerabilities Detection not active.");
if (!get_kb_item("Host/local_checks_enabled")) audit(AUDIT_LOCAL_CHECKS_NOT_ENABLED);
if (empty_or_null(get_one_kb_item("Host/Debian/dpkg-l"))) audit(AUDIT_PACKAGE_LIST_MISSING);
include('linux_unpatched.inc');
var distro_constraints_array = {
"Debian Linux-13": {
"package_manager": "dpkg-l",
"constraints": [
{
"release": "13",
"pkgs": [
{"reference": "bpftool"},
{"reference": "hyperv-daemons"},
{"reference": "intel-sdsi"},
{"reference": "libcpupower-dev"},
{"reference": "libcpupower1"},
{"reference": "linux-bpf-dev"},
{"reference": "linux-config-6.12"},
{"reference": "linux-cpupower"},
{"reference": "linux-doc"},
{"reference": "linux-doc-6.12"},
{"reference": "linux-headers-4kc-malta"},
{"reference": "linux-headers-5kc-malta"},
{"reference": "linux-headers-6.12.107+deb13-4kc-malta"},
{"reference": "linux-headers-6.12.107+deb13-5kc-malta"},
{"reference": "linux-headers-6.12.107+deb13-alpha-generic"},
{"reference": "linux-headers-6.12.107+deb13-alpha-smp"},
{"reference": "linux-headers-6.12.107+deb13-amd64"},
{"reference": "linux-headers-6.12.107+deb13-arm64"},
{"reference": "linux-headers-6.12.107+deb13-arm64-16k"},
{"reference": "linux-headers-6.12.107+deb13-armmp"},
{"reference": "linux-headers-6.12.107+deb13-armmp-lpae"},
{"reference": "linux-headers-6.12.107+deb13-cloud-amd64"},
{"reference": "linux-headers-6.12.107+deb13-cloud-arm64"},
{"reference": "linux-headers-6.12.107+deb13-common"},
{"reference": "linux-headers-6.12.107+deb13-common-rt"},
{"reference": "linux-headers-6.12.107+deb13-loong64"},
{"reference": "linux-headers-6.12.107+deb13-loongson-3"},
{"reference": "linux-headers-6.12.107+deb13-m68k"},
{"reference": "linux-headers-6.12.107+deb13-mips32r2eb"},
{"reference": "linux-headers-6.12.107+deb13-mips32r2el"},
{"reference": "linux-headers-6.12.107+deb13-mips64r2eb"}
]
}
]
}
};
var distro_constraints_values = linux_unpatched::get_distro_constraints(distro_constraints_arr:distro_constraints_array);
if (empty_or_null(distro_constraints_values)) audit(AUDIT_HOST_NOT, 'affected');
var third_party_support = get_kb_item('Host/OS/extended-third-party');
if (!empty_or_null(third_party_support)) {
var third_party_vendors = distro_constraints_values['third_party'];
if (!empty_or_null(third_party_vendors)) {
var vendor;
foreach vendor (third_party_vendors) {
if (vendor == third_party_support) exit(0, 'A third party management patch is available for this vulnerability from ' + vendor + '.\n');
}
}
}
var report = linux_unpatched::check_unpatched_constraints(distro_constraints_values:distro_constraints_values);
if (!empty_or_null(report))
{
security_report_v4(
port : 0,
severity : SECURITY_WARNING,
extra : report
);
exit(0);
}
else
{
audit(AUDIT_HOST_NOT, 'affected');
}
Data
Build on a solid foundation with Vulners data
We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data
Api
Power your application with Vulners API
The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access
App
Assess and manage vulnerabilities with Vulners tools
Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation
18 Oct 2026 00:00Current
6Medium risk
Vulners AI Score6
EPSS0.00155