{"id":29213,"date":"2026-09-25T20:32:09","date_gmt":"2026-09-25T12:32:09","guid":{"rendered":"https:\/\/www.54iter.cn\/?vuln=cve-2026-98058"},"modified":"2026-09-25T20:32:09","modified_gmt":"2026-09-25T12:32:09","slug":"cve-2026-98058","status":"publish","type":"vuln","link":"https:\/\/www.54iter.cn\/?vuln=cve-2026-98058","title":{"rendered":"CVE-2026-98058 &#8211; In the Linux kernel, the following vulnerability has been resolved:\n\nbpf: Mark syscall hel"},"content":{"rendered":"<p>In the Linux kernel, the following vulnerability has been resolved:<\/p>\n<p>bpf: Mark syscall helpers as sleepable<\/p>\n<p>bpf_sys_bpf() executes the bpf(2) syscall body, which can take mutexes,<br \/>\nallocate with GFP_KERNEL, and wait for an RCU grace period.<br \/>\nbpf_sys_close() reaches close_fd() and filp_close(), which can sleep as<br \/>\nwell.<\/p>\n<p>Both helpers are limited to BPF_PROG_TYPE_SYSCALL, whose main program is<br \/>\nsleepable. That does not make every callback sleepable: a syscall program<br \/>\ncan register a bpf_timer callback, and the verifier checks that callback<br \/>\nin a non-sleepable context while retaining the syscall helper set.<\/p>\n<p>Without .might_sleep on the prototypes, such a callback can invoke<br \/>\nbpf_sys_bpf() from hrtimer softirq context and trigger a<br \/>\nscheduling-while-atomic failure. bpf_sys_close() is exposed through the<br \/>\nsame missing context check.<\/p>\n<p>Set .might_sleep on both prototypes so the existing helper-context check<br \/>\nrejects them from timer callbacks and other atomic regions. Calls from the<br \/>\nsleepable main body remain valid.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In the Linux kernel, the following vulnerability has been resolved:<\/p>\n<p>bpf: Mark syscall helpers as sleepable<\/p>\n<p>bpf_sys_bpf() executes the bpf(2) syscall body, which can take mutexes,<br \/>\nallocate with GFP_K<\/p>\n","protected":false},"template":"","meta":[],"categories":[],"tags":[],"class_list":["post-29213","vuln","type-vuln","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=\/wp\/v2\/vuln\/29213","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=\/wp\/v2\/vuln"}],"about":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=\/wp\/v2\/types\/vuln"}],"wp:attachment":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=29213"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=29213"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=29213"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}