Use of uninitialized resource in Linux kernel - CVE-2026-98540

 

Use of uninitialized resource in Linux kernel - CVE-2026-98540

Published: October 22, 2026


Vulnerability identifier: #VU156842
CSH Severity: Low
CVSS v4: 4.8 [CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:L/VA:L/SC:N/SI:N/SA:N]
CVE-ID: CVE-2026-98540
CWE-ID: CWE-908
Exploitation vector: Local access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a local user to cause unintended execution of kernel tracing exit handlers.

The vulnerability exists due to use of uninitialized memory in the Linux kernel fprobe subsystem when processing a partially populated list of shadow stack entries. A local user can trigger traced function calls that leave reserved entries unused to cause fprobe_return() to interpret stale data as headers and invoke an exit handler twice or despite its entry handler requesting that it be skipped.


Affected software

Linux kernel

How to mitigate CVE-2026-98540

Install security update from vendor's repository.

Linux kernel - update to 7.0 rc3

External References

Related Security Bulletins