Skip to main content
Vulnerability Database/CVE-2026-97901

CVE-2026-97901: Linux Kernel Privilege Escalation Vulnerability

CVE-2026-97901 is a privilege escalation flaw in the Linux kernel genetlink controller that could allow unauthorized access elevation. This post explains the technical details, affected versions, impact, and mitigation steps.

Published:

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

CVE-2026-97901 Overview

CVE-2026-97901 is a use-after-free vulnerability in the Linux kernel's generic netlink (genetlink) subsystem. The controller's policy dump retains pointers to a target family's operation and policy tables inside its callback state. Netlink pins the module owning the dump callback, which is the controller's owner rather than the target family's owner. As a result, the target family can unregister and its module can unload while a policy dump remains pending across multiple socket buffers. Advancing the dump then dereferences policy memory from the unloaded module, producing a use-after-free condition in kernel space.

Critical Impact

A local user triggering a split genetlink policy dump concurrent with a module unload can cause kernel memory corruption, denial of service, or potential privilege escalation.

Affected Products

  • Linux kernel versions containing the generic netlink controller policy dump implementation prior to the referenced stable commits
  • Distributions shipping affected upstream kernels until patched stable releases are integrated
  • Systems permitting unprivileged use of genetlink and loadable kernel modules exposing genetlink families

Discovery Timeline

  • 2026-09-25 - CVE-2026-97901 published to the National Vulnerability Database
  • 2026-09-25 - Last updated in NVD database

Technical Details for CVE-2026-97901

Vulnerability Analysis

The generic netlink controller implements a policy dump operation that walks a target family's ops and policy tables. Netlink dumps are stateful and can span multiple skb responses, with callback state preserved between invocations. The controller stores raw pointers to the target family's tables in that callback state.

Netlink's module pinning logic takes a reference on the module that owns the dump callback. For policy dumps, that owner is the generic netlink controller module, not the target family's module. Nothing prevents the target family from unregistering and its backing module from being unloaded while the dump is still pending. Subsequent dump resumption dereferences freed policy memory in kernel context.

The upstream fix takes an explicit reference on the target family's module when the dump starts and releases it on the error and done paths. This aligns module lifetime with the duration the dump context retains pointers into family-owned memory.

Root Cause

The root cause is a lifetime mismatch between the dump callback state and the backing module. The controller caches pointers into another module's data structures without pinning that module, violating the invariant that referenced memory must outlive its references.

Attack Vector

An unprivileged local user with the ability to send netlink messages can initiate a CTRL_CMD_GETPOLICY dump against a target family. If the target family is implemented by an unloadable module and the module unloads before the dump completes, the next read of the dump socket triggers access to freed memory. Exploitation requires local access and the ability to influence module unload, so realistic attack surface depends on system configuration.

No verified public exploit code is available for CVE-2026-97901. See the upstream commits 508387ad95ef, 6a1094c34d17, and 6d8e653fcf1c for the fix.

Detection Methods for CVE-2026-97901

Indicators of Compromise

  • Kernel oops or panic entries referencing genl_dump_policy, genl_dumpit, or netlink_dump in dmesg or /var/log/kern.log
  • KASAN use-after-free reports in kernel logs mentioning generic netlink policy structures
  • Unexpected process termination for userspace tools performing policy dumps immediately after a module unload event

Detection Strategies

  • Monitor kernel ring buffers for crash signatures involving netlink dump callbacks and freed-slab access patterns
  • Correlate init_module/delete_module syscall activity with concurrent genetlink dump operations from unprivileged processes
  • Audit kernel version strings across the fleet against the patched stable releases referenced in the kernel.org commits

Monitoring Recommendations

  • Enable auditd rules for init_module, finit_module, and delete_module syscalls to establish a baseline of module churn
  • Collect kernel logs centrally and alert on BUG:, KASAN:, and general protection fault entries involving netlink symbols
  • Track uname -r inventory via endpoint telemetry to confirm patch deployment status across Linux hosts

How to Mitigate CVE-2026-97901

Immediate Actions Required

  • Update Linux kernels to stable releases containing commits 508387ad95ef, 6a1094c34d17, or 6d8e653fcf1c as published by the upstream maintainers
  • Apply distribution kernel updates as soon as they are released by your vendor
  • Restrict unprivileged access to module loading and unloading operations through standard capability controls

Patch Information

The fix is distributed across three upstream stable commits that take a module reference on the target family at dump start and release it on error and done paths: 508387ad95ef, 6a1094c34d17, and 6d8e653fcf1c. Rebuild and reboot into the patched kernel to apply the fix.

Workarounds

  • Disable automatic unloading of genetlink-exposing kernel modules by removing them from autoremove policies
  • Restrict CAP_SYS_MODULE so that only trusted administrators can unload modules while a patched kernel is being prepared
  • Where feasible, build genetlink families as built-in rather than loadable modules to eliminate the unload race
bash
# Confirm running kernel and compare against patched stable release
uname -r

# Restrict module unload capability on systemd-managed hosts
echo 'kernel.modules_disabled = 1' | sudo tee /etc/sysctl.d/99-cve-2026-97901.conf
sudo sysctl --system

# Audit module load/unload activity
sudo auditctl -w /sbin/insmod -p x -k module_load
sudo auditctl -w /sbin/rmmod  -p x -k module_unload

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.