CVE-2026-98540
Last modified
CVE-2026-98540 is a vulnerability of currently unknown severity. 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.
Description
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 Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | >= e0a384434ae1bdfb03954c46c464e3dbd3223ad6, < b7459fddcb27a4b7d01067678172afa362cf660d; >= e0a384434ae1bdfb03954c46c464e3dbd3223ad6, < 1d653a183973f5283a3db5a38cd5e195eb152244 |
| Linux | Linux | 7.1 |
References
Timeline
- Published
- Last Modified
- Status
- Received
Frequently Asked Questions
What is CVE-2026-98540?
How severe is CVE-2026-98540?
How do I fix CVE-2026-98540?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-98535In the Linux kernel, the following vulnerability has been re…
- CVE-2026-98536In the Linux kernel, the following vulnerability has been re…
- CVE-2026-98537In the Linux kernel, the following vulnerability has been re…
- CVE-2026-98538In the Linux kernel, the following vulnerability has been re…
- CVE-2026-98539In the Linux kernel, the following vulnerability has been re…
- CVE-2026-9854A vulnerability exists in SYS600 RBAC mechanism where users …7.8
- CVE-2026-98541In the Linux kernel, the following vulnerability has been re…
- CVE-2026-98542In the Linux kernel, the following vulnerability has been re…
- CVE-2026-98543In the Linux kernel, the following vulnerability has been re…7.3
- CVE-2026-98544In the Linux kernel, the following vulnerability has been re…
- CVE-2026-98545In the Linux kernel, the following vulnerability has been re…
- CVE-2026-98546In the Linux kernel, the following vulnerability has been re…
Are you affected by CVE-2026-98540?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
