{"id":11279,"date":"2026-09-04T18:53:08","date_gmt":"2026-09-04T10:53:08","guid":{"rendered":"https:\/\/www.54iter.cn\/?vuln=cve-2026-74711"},"modified":"2026-09-04T18:53:08","modified_gmt":"2026-09-04T10:53:08","slug":"cve-2026-74711","status":"publish","type":"vuln","link":"https:\/\/www.54iter.cn\/?vuln=cve-2026-74711","title":{"rendered":"CVE-2026-74711 [HIGH] &#8211; In the Linux kernel, the following vulnerability has been resolved:\n\nhwmon: (pmbus) Fix ty"},"content":{"rendered":"<p>In the Linux kernel, the following vulnerability has been resolved:<\/p>\n<p>hwmon: (pmbus) Fix type confusion in notification logic<\/p>\n<p>Sashiko reports:<\/p>\n<p>At the start of the loop in pmbus_notify(), the code unconditionally casts<br \/>\nevery attribute to a struct sensor_device_attribute:<\/p>\n<p>drivers\/hwmon\/pmbus\/pmbus_core.c:pmbus_notify() {<br \/>\n    for (i = 0; i num_attributes; i++) {<br \/>\n        struct device_attribute *da = to_dev_attr(data-&gt;group.attrs[i]);<br \/>\n        struct sensor_device_attribute *attr = to_sensor_dev_attr(da);<br \/>\n        int index = attr-&gt;index;<br \/>\n&#8230;<br \/>\n}<\/p>\n<p>However, data-&gt;group.attrs can contain other types like struct<br \/>\npmbus_samples_reg or struct pmbus_sensor, which only embed a base<br \/>\nstruct device_attribute.<\/p>\n<p>If da is a struct pmbus_samples_reg, dev_attr is the last member. Casting<br \/>\nit to struct sensor_device_attribute and reading the index field appears<br \/>\nto access memory past the end of the allocation, which might trigger a<br \/>\nslab-out-of-bounds read.<\/p>\n<p>Additionally, if da is a struct pmbus_sensor, casting it causes the index<br \/>\nfield to overlap with the page, phase, and reg fields. Could this produce<br \/>\na garbage mask on little-endian systems that spuriously matches the target<br \/>\nreg, page, and flags during an alert?<\/p>\n<p>Fix the problem by using struct sensor_device_attr in struct pmbus_sensor<br \/>\nand struct pmbus_label. Since those attributes never trigger a<br \/>\nnotification, set the value of attr-&gt;index to -1 for them. Use this value<br \/>\nto distinguish from boolean attributes which _can_ trigger a notification<br \/>\nand use the index field to encode mask, page, and register values.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In the Linux kernel, the following vulnerability has been resolved:<\/p>\n<p>hwmon: (pmbus) Fix type confusion in notification logic<\/p>\n<p>Sashiko reports:<\/p>\n<p>At the start of the loop in pmbus_notify(), the code unc<\/p>\n","protected":false},"template":"","meta":[],"categories":[],"tags":[],"class_list":["post-11279","vuln","type-vuln","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=\/wp\/v2\/vuln\/11279","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=11279"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=11279"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=11279"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}