CVE-2026-45951
Linux · Kernel
A use-after-free vulnerability exists in the Linux kernel's BPF subsystem due to incorrect reference counting within the check_pseudo_btf_id function.
Executive summary
A use-after-free vulnerability in the Linux kernel BPF subsystem could allow a local attacker to trigger memory corruption or system instability.
Vulnerability
This vulnerability involves incorrect reference counting logic in the check_pseudo_btf_id() function, which can lead to a use-after-free condition when the function is invoked with a zero-refcounted BTF object. An authenticated user with sufficient privileges to interact with BPF could potentially exploit this to cause a kernel crash.
Business impact
Successful exploitation of this flaw could result in a kernel panic, leading to unplanned downtime and service interruption for critical infrastructure. While the CVSS score of 7.8 indicates high severity, the primary risk is system instability and potential local privilege escalation, which threatens the integrity and availability of the affected host.
Remediation
Immediate Action: Update the Linux kernel to the latest stable release provided by your distribution vendor that includes the fix for this BPF refcounting issue.
Proactive Monitoring: Monitor system logs for kernel oops or crash reports that coincide with BPF-related operations.
Compensating Controls: Restrict access to BPF functionality by limiting CAP_BPF and CAP_SYS_ADMIN privileges to trusted users only.
Exploitation status
Public Exploit Available: false
Analyst recommendation
This vulnerability represents a significant risk to system stability. Administrators should prioritize patching their kernels to ensure that the BPF subsystem is protected against this use-after-free condition. Apply the vendor-supplied security updates as soon as they become available in your distribution's repository.