{"id":"CVE-2026-98540","revision":"83d52720fbfa408cb2455ab03111f4da","records":[{"revision":"83d52720fbfa408cb2455ab03111f4da","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2026-98540","aliases":[],"title":"fprobe: Terminate the fgraph_data list when the reservation is not filled","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nfprobe: Terminate the fgraph_data list when the reservation is not filled\n\nfprobe_fgraph_entry() reserves shadow stack space for every fprobe with\nan exit handler, but only fills it for those whose entry handler returns\n0. fgraph_reserve_data() does not clear the area, so fprobe_return()\nparses the unused tail as headers left over from an earlier call, and an\nexit handler can run twice or despite its entry handler asking to skip\nit.\n\nWrite a zero word after the last entry to terminate the walk. A zeroed\nslot does not decode to a NULL fprobe on the arches that encode the\nheader into one unsigned long, since arch_decode_fprobe_header_fp() ORs\nin FPROBE_HEADER_MSB_PATTERN, so make read_fprobe_header() return NULL\nfor a zeroed slot.","state":0,"publishedAt":"2026-10-18T15:18:08.352+00:00","modifiedAt":"2026-10-19T09:21:23.633+00:00","affected":[{"ecosystem":"Vendor product","name":"Linux","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"product\": \"Linux\",\n                    \"vendor\": \"Linux\",\n                    \"defaultStatus\": \"unaffected\",\n                    \"repo\": \"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\n                    \"programFiles\": [\n                        \"kernel/trace/fprobe.c\"\n                    ],\n                    \"versions\": [\n                        {\n                            \"version\": \"e0a384434ae1bdfb03954c46c464e3dbd3223ad6\",\n                            \"lessThan\": \"b7459fddcb27a4b7d01067678172afa362cf660d\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        },\n                        {\n                            \"version\": \"e0a384434ae1bdfb03954c46c464e3dbd3223ad6\",\n                            \"lessThan\": \"1d653a183973f5283a3db5a38cd5e195eb152244\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        }\n                    ]\n                }"},{"ecosystem":"Vendor product","name":"Linux","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"product\": \"Linux\",\n                    \"vendor\": \"Linux\",\n                    \"defaultStatus\": \"affected\",\n                    \"repo\": \"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\n                    \"programFiles\": [\n                        \"kernel/trace/fprobe.c\"\n                    ],\n                    \"versions\": [\n                        {\n                            \"version\": \"7.1\",\n                            \"status\": \"affected\"\n                        },\n                        {\n                            \"version\": \"0\",\n                            \"lessThan\": \"7.1\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"7.2.9\",\n                            \"lessThanOrEqual\": \"7.2.*\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"7.3\",\n                            \"lessThanOrEqual\": \"*\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"original_commit_for_fix\"\n                        }\n                    ]\n                }"}],"metrics":[],"references":["https://git.kernel.org/stable/c/b7459fddcb27a4b7d01067678172afa362cf660d","https://git.kernel.org/stable/c/1d653a183973f5283a3db5a38cd5e195eb152244"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-98540","license":"CVE Program Terms of Use","key":"cve-program:CVE-2026-98540","identifiers":["CVE-2026-98540"]},"retained":false,"historicalAffected":[]}],"coverage":[]}