{"id":24589,"date":"2026-09-16T20:32:31","date_gmt":"2026-09-16T12:32:31","guid":{"rendered":"https:\/\/www.54iter.cn\/?vuln=cve-2026-89902"},"modified":"2026-09-16T20:32:31","modified_gmt":"2026-09-16T12:32:31","slug":"cve-2026-89902","status":"publish","type":"vuln","link":"https:\/\/www.54iter.cn\/?vuln=cve-2026-89902","title":{"rendered":"CVE-2026-89902 &#8211; In the Linux kernel, the following vulnerability has been resolved:\n\nLoongArch: Avoid pree"},"content":{"rendered":"<p>In the Linux kernel, the following vulnerability has been resolved:<\/p>\n<p>LoongArch: Avoid preempt count underflow without probe<\/p>\n<p>LoongArch uses break 11 for the breakpoint placed after an instruction<br \/>\nthat Kprobes executes out of line. Since userspace can issue the same<br \/>\nbreak instruction, do_bp() can reach kprobe_singlestep_handler() when<br \/>\nthere is no current probe.<\/p>\n<p>The handler actually returns false in this case, but it first calls<br \/>\npreempt_enable_no_resched(). The corresponding preempt_disable() is done<br \/>\nby kprobe_breakpoint_handler() on a real Kprobe hit, so it has not run<br \/>\nhere. As a result, an ordinary userspace breakpoint (code 11) underflows<br \/>\nthe current task&#8217;s preempt count.<\/p>\n<p>This also makes in_interrupt() return true until the task schedules. One<br \/>\nvisible consequence is the socket cgroup attribution: cgroup_sk_alloc()<br \/>\ntreats the allocation as interrupt context and assigns the socket to the<br \/>\nroot cgroup. A socket opened from the SIGTRAP handler can then avoid a<br \/>\nBPF_CGROUP_INET_SOCK_CREATE policy attached to the task&#8217;s own cgroup.<\/p>\n<p>Return as soon as kprobe_running() reports no active probe.<\/p>\n<p>The same check has appeared in [PATCH v10 2\/4] of the original LoongArch<br \/>\nKprobes series, but was dropped before the feature reached mainline.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In the Linux kernel, the following vulnerability has been resolved:<\/p>\n<p>LoongArch: Avoid preempt count underflow without probe<\/p>\n<p>LoongArch uses break 11 for the breakpoint placed after an instruction<br \/>\nthat<\/p>\n","protected":false},"template":"","meta":[],"categories":[],"tags":[],"class_list":["post-24589","vuln","type-vuln","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=\/wp\/v2\/vuln\/24589","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=24589"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=24589"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=24589"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}