CVE-2026-98540
publishedfprobe: Terminate the fgraph_data list when the reservation is not filled
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linuxe0a384434ae1bdfb03954c46c464e3dbd3223ad6 to < b7459fddcb27a4b7d01067678172afa362cf660d · e0a384434ae1bdfb03954c46c464e3dbd3223ad6 to < 1d653a183973f5283a3db5a38cd5e195eb152244 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux7.1 (affected) · 0 to < 7.1 (unaffected · semver) · 7.2.9 through 7.2.* (unaffected · semver) · 7.3 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | e0a384434ae1bdfb03954c46c464e3dbd3223ad6 to < b7459fddcb27a4b7d01067678172afa362cf660d (affected · git)e0a384434ae1bdfb03954c46c464e3dbd3223ad6 to < 1d653a183973f5283a3db5a38cd5e195eb152244 (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 7.1 (affected)0 to < 7.1 (unaffected · semver)7.2.9 through 7.2.* (unaffected · semver)7.3 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
2Provider assertions
1Linux · cna
fprobe: Terminate the fgraph_data list when the reservation is not filled
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 3237796d19defe699e64ade7d20a5b1c537fba1c797532cc2e2f891ca0e5481a
- Ingested
- 19 Oct 2026, 09:36:29 UTC
- Source record
- Official CVE record