In the Linux kernel, the following vulnerability has been resolved: fprobe: Terminate the fgraph_data list when the reservation is not filled… (CVE-2026-98540)
Description
A vulnerability in the Linux kernel's fprobe component was resolved involving improper termination of the fgraph_data list when a reservation is not filled. The issue caused fprobe_return() to misinterpret unused shadow stack space as valid headers, potentially causing an exit handler to run twice or run despite being skipped. The fix involves writing a zero word after the last entry to properly terminate the list and prevent incorrect parsing.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The Linux kernel's fprobe_fgraph_entry() function reserves shadow stack space for every fprobe with an exit handler but only fills it when the entry handler returns 0. Because fgraph_reserve_data() does not clear this reserved area, fprobe_return() may parse leftover data as valid headers, leading to an exit handler executing twice or executing despite being skipped. The vulnerability is mitigated by writing a zero word after the last valid entry to terminate the list, ensuring that read_fprobe_header() returns NULL for zeroed slots and preventing erroneous handler execution.
Potential Impact
This vulnerability could cause an fprobe exit handler to execute twice or execute when it should be skipped, potentially leading to unexpected behavior in kernel tracing or monitoring functions. There is no indication of direct security compromise such as privilege escalation or code execution from the provided data.
Mitigation Recommendations
A fix has been implemented that writes a zero word after the last valid fgraph_data entry to terminate the list properly. Users should apply the official Linux kernel update that includes this fix once available. Patch status is not explicitly confirmed in the provided data; check the vendor advisory for current remediation guidance.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-9jj3-9f6g-g6xw
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2026-98540"]
Threat ID: 6ad520af2cdf04f656993acb
Added to database: 10/18/2026, 19:40:31 UTC
Last enriched: 10/18/2026, 20:34:26 UTC
Last updated: 10/18/2026, 22:02:57 UTC
Views: 2
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.