CVE-2026-98862
audit: fix exe mark UAF in kill_rules()
Check your servers for CVE-2026-98862
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2026-98862 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
Description
In the Linux kernel, the following vulnerability has been resolved:
audit: fix exe mark UAF in kill_rules()
kill_rules() removes mixed AUDIT_DIR and AUDIT_EXE rules when an audit tree is pruned. It drops entry->rule.exe before removing the rule from the RCU-visible filter lists.
After a rule has been installed with AUDIT_ADD_RULE, which requires CAP_AUDIT_CONTROL, removing the watched directory can race with another task that is still evaluating the rule. In that case, fsnotify can free the executable mark before the reader reaches audit_mark_compare(), causing a use-after-free.
KASAN reports:
BUG: KASAN: slab-use-after-free in audit_mark_compare+0x8d/0xa0
Unlink the published rules from the RCU-visible lists and retain them on tree->rules for cleanup. If any rule has an executable mark, wait for a single RCU grace period before removing the marks and scheduling the entries for freeing. Otherwise, call_rcu() already provides the required deferred freeing without a synchronous wait.
Exploitation
EPSS 0.20%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 10.6% of all scored CVEs. Scores of 1 Dec 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from 34d99af52ad40bd498ba66970579a5bc1fb1a3bc, before 8d9c97fb262067933ff4452db19e692d26622352 affected from 34d99af52ad40bd498ba66970579a5bc1fb1a3bc, before 11715656540360906235d724fde5349631425073 affected from 34d99af52ad40bd498ba66970579a5bc1fb1a3bc, before 0afb9202c1fb88387d0577524bf9785664bdd802 affected from 34d99af52ad40bd498ba66970579a5bc1fb1a3bc, before 9aee3caeff4dd4126d84f67607b95cec8719b867 affected from 34d99af52ad40bd498ba66970579a5bc1fb1a3bc, before 304960900991157e6883bdf0b39782b690545ee8 affected from 34d99af52ad40bd498ba66970579a5bc1fb1a3bc, before 88633025f20ba9c32ccdb3efc86eafdf98cb825c affected from 34d99af52ad40bd498ba66970579a5bc1fb1a3bc, before f2cc5462b78559c7628a9f8ac9a9592e7783183a affected from 34d99af52ad40bd498ba66970579a5bc1fb1a3bc, before aa650d87a498844060eecb1d336f4d46f4d1b0b3
Other versions: unaffected
|
| Linux |
affected 4.3 unaffected before 4.3 unaffected from 5.10.273 up to and including 5.10.* unaffected from 5.15.224 up to and including 5.15.* unaffected from 6.1.191 up to and including 6.1.* unaffected from 6.6.160 up to and including 6.6.* unaffected from 6.12.113 up to and including 6.12.* unaffected from 6.18.56 up to and including 6.18.* unaffected from 7.2.10 up to and including 7.2.* unaffected 7.3 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2026-98862 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-98862
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2026-98862
trivy image --scanners vuln IMAGE | grep CVE-2026-98862
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/8d9c97fb262067933ff4452db19e692d26622352 git.kernel.org
- https://git.kernel.org/stable/c/11715656540360906235d724fde5349631425073 git.kernel.org
- https://git.kernel.org/stable/c/0afb9202c1fb88387d0577524bf9785664bdd802 git.kernel.org
- https://git.kernel.org/stable/c/9aee3caeff4dd4126d84f67607b95cec8719b867 git.kernel.org
- https://git.kernel.org/stable/c/304960900991157e6883bdf0b39782b690545ee8 git.kernel.org
- https://git.kernel.org/stable/c/88633025f20ba9c32ccdb3efc86eafdf98cb825c git.kernel.org
- https://git.kernel.org/stable/c/f2cc5462b78559c7628a9f8ac9a9592e7783183a git.kernel.org
- https://git.kernel.org/stable/c/aa650d87a498844060eecb1d336f4d46f4d1b0b3 git.kernel.org
Source: the record CVE-2026-98862 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse