CVE Catalog

CVE-2026-98540

Low risk· EPSS 8%
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.19%

8th percentile - higher than 8% of all known CVEs

Summary

In the Linux kernel, 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. Because fgraph_reserve_data() does not clear the area, fprobe_return() parses the unused tail as headers left over from an earlier call, which can cause an exit handler to run twice or despite its entry handler asking to skip it.

Risk Assessment

Incorrect execution of the fprobe exit handler may lead to unpredictable kernel behavior, including data corruption or system instability during function instrumentation.

Recommendation

Update the Linux kernel to a version containing the fix that writes a zero word to terminate the fgraph_data list and makes read_fprobe_header() return NULL for a zeroed slot.

Other vulnerabilities in Linux kernel

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS