# CVE-2026-98540: fprobe: Terminate the fgraph\_data list when the reservation is not filled

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **EPSS:** 0.20% (percentile 5, 2026-11-26)
- **Published:** 2026-10-18T15:18:08.352Z
- **Modified:** 2026-10-19T10:19:09.837Z

## Who should check

- Anyone running Linux \>= e0a384434ae1bdfb03954c46c464e3dbd3223ad6, \< b7459fddcb27a4b7d01067678172afa362cf660d; \>= e0a384434ae1bdfb03954c46c464e3dbd3223ad6, \< 1d653a183973f5283a3db5a38cd5e195eb152244
- Anyone running Linux 7.1

## 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 and fixed versions

- Linux: \>= e0a384434ae1bdfb03954c46c464e3dbd3223ad6, \< b7459fddcb27a4b7d01067678172afa362cf660d; \>= e0a384434ae1bdfb03954c46c464e3dbd3223ad6, \< 1d653a183973f5283a3db5a38cd5e195eb152244 (cvelist)
- Linux: 7.1 (cvelist)

## Mitigation

- Upgrade Linux to 1d653a183973f5283a3db5a38cd5e195eb152244 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-98540. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-98540.md
Affected: Linux >= e0a384434ae1bdfb03954c46c464e3dbd3223ad6, < b7459fddcb27a4b7d01067678172afa362cf660d; >= e0a384434ae1bdfb03954c46c464e3dbd3223ad6, < 1d653a183973f5283a3db5a38cd5e195eb152244; Linux 7.1
Fixed in: Linux 1d653a183973f5283a3db5a38cd5e195eb152244

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-98540 being exploited?

There is no confirmed exploitation: CVE-2026-98540 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.20% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-98540?

It has no CVSS score yet. Unknown.

### Which versions are affected by CVE-2026-98540?

Linux \>= e0a384434ae1bdfb03954c46c464e3dbd3223ad6, \< b7459fddcb27a4b7d01067678172afa362cf660d; \>= e0a384434ae1bdfb03954c46c464e3dbd3223ad6, \< 1d653a183973f5283a3db5a38cd5e195eb152244; Linux 7.1.

### Is there a fix for CVE-2026-98540?

Yes. Fixed in Linux 1d653a183973f5283a3db5a38cd5e195eb152244. Upgrade Linux to 1d653a183973f5283a3db5a38cd5e195eb152244 or later.

### How do I check if I'm affected by CVE-2026-98540?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- other: <https://git.kernel.org/stable/c/b7459fddcb27a4b7d01067678172afa362cf660d>
- other: <https://git.kernel.org/stable/c/1d653a183973f5283a3db5a38cd5e195eb152244>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-98540>

HTML: <https://flawdb.com/CVE-2026-98540> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-98540>
