{"id":"CVE-2026-98045","summary":"bpf: Mark faultable stack helpers as sleepable","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nbpf: Mark faultable stack helpers as sleepable\n\nThe faultable variants of bpf_get_stack() and bpf_get_task_stack() pass\nmay_fault=true into the common stack collection code. Resolving user-space\nbuild IDs may then call build_id_parse_file() and block on filesystem\nreads.\n\nNeither helper prototype sets might_sleep. Since prototype selection uses\nthe sleepability of the whole program, the verifier can still allow these\nhelpers from a non-sleepable region within that program, such as an\nexplicit RCU or preemption-disabled region. The task-stack helper can also\nbe called from a non-sleepable timer callback of a sleepable program.\n\nMark both faultable prototypes as sleepable. The existing helper context\ncheck then rejects these calls while continuing to allow them in genuinely\nsleepable contexts.","modified":"2026-09-26T03:48:31.745703756Z","published":"2026-09-25T10:23:56.089Z","database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/98xxx/CVE-2026-98045.json"},"references":[{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"},{"type":"WEB","url":"https://git.kernel.org/stable/c/19e8d5a98afd071d8c1c5adeccf92b3c42eddc70"},{"type":"WEB","url":"https://git.kernel.org/stable/c/3014e8a8bdad55075d89836ad9c10710a9a69837"},{"type":"WEB","url":"https://git.kernel.org/stable/c/44b8d370f2725bad215da3e67668e98ba96671bd"},{"type":"WEB","url":"https://git.kernel.org/stable/c/9d02927fdf4e930893c92e35fed01a2704496900"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/98xxx/CVE-2026-98045.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-98045"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"d4dd9775ec242425576af93daadb80a34083a53c"},{"fixed":"44b8d370f2725bad215da3e67668e98ba96671bd"},{"fixed":"3014e8a8bdad55075d89836ad9c10710a9a69837"},{"fixed":"19e8d5a98afd071d8c1c5adeccf92b3c42eddc70"},{"fixed":"9d02927fdf4e930893c92e35fed01a2704496900"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-98045.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"6.12.0"},{"fixed":"6.12.111"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.13.0"},{"fixed":"6.18.53"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"7.2.7"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-98045.json"}}],"schema_version":"1.9.0"}