CVE-2026-98540

published 18 Oct 2026 · updated 19 Oct 2026

fprobe: Terminate the fgraph_data list when the reservation is not filled

5.0MediumEPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 1d653a183973f5283a3db5a38cd5e195eb152244 and Kernel b7459fddcb27a4b7d01067678172afa362cf660d.

In the Linux kernel, the following vulnerability has been resolved: fprobe: Terminate the fgraph_data list when the reservation is not filled fprobe_fgraph_entry() reserves shadow stack space for every fprobe with an exit handler, but only fills it for those whose entry handler returns 0. fgraph_reserve_data() does not clear the area, so fprobe_return() parses the unused tail as headers left over from an earlier call, and an exit handler can run twice or despite its entry handler asking to skip it. Write a zero word after the last entry to terminate the walk. A zeroed slot does not decode to a NULL fprobe on the arches that encode the header into one unsigned long, since arch_decode_fprobe_header_fp() ORs in FPROBE_HEADER_MSB_PATTERN, so make read_fprobe_header() return NULL for a zeroed slot.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel=7.1, >=e0a384434ae1bdfb03954c46c464e3dbd3223ad6 <1d653a183973f5283a3db5a38cd5e195eb152244, >=e0a384434ae1bdfb03954c46c464e3dbd3223ad6 <b7459fddcb27a4b7d01067678172afa362cf660d1d653a183973f5283a3db5a38cd5e195eb152244, b7459fddcb27a4b7d01067678172afa362cf660d

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-98540 severity on Zeptric[![CVE-2026-98540](https://zeptric.io/badge/cve/CVE-2026-98540.svg)](https://zeptric.io/cve/CVE-2026-98540)