{"id":33267,"date":"2026-10-06T20:31:39","date_gmt":"2026-10-06T12:31:39","guid":{"rendered":"https:\/\/www.54iter.cn\/?vuln=cve-2026-98198"},"modified":"2026-10-06T20:31:39","modified_gmt":"2026-10-06T12:31:39","slug":"cve-2026-98198","status":"publish","type":"vuln","link":"https:\/\/www.54iter.cn\/?vuln=cve-2026-98198","title":{"rendered":"CVE-2026-98198 &#8211; In the Linux kernel, the following vulnerability has been resolved:\n\nhwmon: (pwm-fan) Stop"},"content":{"rendered":"<p>In the Linux kernel, the following vulnerability has been resolved:<\/p>\n<p>hwmon: (pwm-fan) Stop RPM timer before freeing tach data<\/p>\n<p>sample_timer() rearms the RPM timer and accesses the devm-managed<br \/>\nctx-&gt;tachs and ctx-&gt;pulses_per_revolution arrays. The cleanup action<br \/>\nwhich stops the timer is registered before those arrays are allocated.<\/p>\n<p>Since devres releases entries in reverse order, driver detach can free<br \/>\nthe arrays before pwm_fan_cleanup() shuts down the timer. A timer expiry<br \/>\nin that window accesses the freed tach data.<\/p>\n<p>With a KASAN kernel, a test-only kprobe delayed entry to<br \/>\npwm_fan_cleanup() while normal sysfs unbind ran. Each of three runs<br \/>\nreported three four-byte reads and two four-byte writes in sample_timer()<br \/>\nafter its backing devm allocations had been freed. The helper did not<br \/>\ninvoke the timer callback, cleanup actions or free functions.<\/p>\n<p>With the fix, three matching unbind runs completed without KASAN, BUG,<br \/>\nWARNING, Oops or panic. Instrumentation confirmed that timer retirement<br \/>\ncompleted before the first timer backing allocation was released.<\/p>\n<p>Split timer retirement from the power cleanup and register its devres<br \/>\naction after the timer backing data and IRQ actions are installed. This<br \/>\npreserves the early power rollback action while ensuring the timer is<br \/>\nretired before its backing data is released. Use timer_shutdown_sync()<br \/>\nbecause the callback can rearm itself.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In the Linux kernel, the following vulnerability has been resolved:<\/p>\n<p>hwmon: (pwm-fan) Stop RPM timer before freeing tach data<\/p>\n<p>sample_timer() rearms the RPM timer and accesses the devm-managed<br \/>\nctx-&gt;ta<\/p>\n","protected":false},"template":"","meta":[],"categories":[],"tags":[],"class_list":["post-33267","vuln","type-vuln","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=\/wp\/v2\/vuln\/33267","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=33267"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=33267"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=33267"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}