Linux
hwmon: occ: validate poll response sensor blocks
In the Linux kernel, the following vulnerability has been resolved: hwmon: occ: validate poll response sensor blocks The OCC poll response parser walks a counted list of sensor data blocks. It used the static backing-array capacity as the parse boundary, but a transport response makes only data_length bytes current and valid. A truncated response can therefore make the parser consume a block header or block extent outside the current response. Use data_length as the parent boundary, prove the fixed poll header and each current block header before reading them, and prove the complete block before advancing. Keep parsed sensor metadata local until the complete response has passed validation, then publish it. Propagate malformed-response errors before publishing the OCC as active.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= aa195fe49b033db545ad986cdb2c431c37bea557, < 6e6c72c37433640514db325408bd6913ad28fe69
- >= aa195fe49b033db545ad986cdb2c431c37bea557, < 1902e9572901d37901e3db1f3f6b0885f4e49a66
- >= aa195fe49b033db545ad986cdb2c431c37bea557, < 112525534ab5cff482d35897ca4ca11fd3a76f46
- >= aa195fe49b033db545ad986cdb2c431c37bea557, < 54cb78eceb4e286ccd5a5c01a4632157860d47f0
- >= aa195fe49b033db545ad986cdb2c431c37bea557, < 538d862cc0dbd5c732fe26d5aad98eae039e6676
- >= aa195fe49b033db545ad986cdb2c431c37bea557, < b042e538e98b939fccfffc464e2c34c29f0e96ef
- >= aa195fe49b033db545ad986cdb2c431c37bea557, < 70e76e700fc6c46afb4e17aec099a1ea089b4a22
Fixed in 6e6c72c37433640514db325408bd6913ad28fe69, 1902e9572901d37901e3db1f3f6b0885f4e49a66, 112525534ab5cff482d35897ca4ca11fd3a76f46, 54cb78eceb4e286ccd5a5c01a4632157860d47f0, 538d862cc0dbd5c732fe26d5aad98eae039e6676, b042e538e98b939fccfffc464e2c34c29f0e96ef, 70e76e700fc6c46afb4e17aec099a1ea089b4a22
- 5.0
Fixed in 0, 5.15.216, 6.1.183, 6.6.148, 6.12.101, 6.18.42, 7.1.6, 7.2
Mitigation
Upgrade Linux to 6e6c72c37433640514db325408bd6913ad28fe69 or 1902e9572901d37901e3db1f3f6b0885f4e49a66 or 112525534ab5cff482d35897ca4ca11fd3a76f46 or 54cb78eceb4e286ccd5a5c01a4632157860d47f0 or 538d862cc0dbd5c732fe26d5aad98eae039e6676 or b042e538e98b939fccfffc464e2c34c29f0e96ef or 70e76e700fc6c46afb4e17aec099a1ea089b4a22 or later.
Upgrade Linux to 0 or 5.15.216 or 6.1.183 or 6.6.148 or 6.12.101 or 6.18.42 or 7.1.6 or 7.2 or later.
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.