Bug 2513447 (CVE-2026-68340) - CVE-2026-68340 kernel: hwmon: occ: validate poll response sensor blocks
Summary: CVE-2026-68340 kernel: hwmon: occ: validate poll response sensor blocks
Keywords:
Status: NEW
Alias: CVE-2026-68340
Product: Security Response
Classification: Other
Component: vulnerability-draft
Version: unspecified
Hardware: All
OS: Linux
unspecified
unspecified
Target Milestone: ---
Assignee: Product Security
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-08-10 12:37 UTC by OSIDB Bzimport
Modified: 2026-08-11 12:03 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-08-10 12:37:53 UTC
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.

Comment 1 Mauro Matteo Cascella 2026-08-11 12:00:14 UTC
Upstream advisory:
https://lore.kernel.org/linux-cve-announce/2026081037-CVE-2026-68340-beaa@gregkh/T


Note You need to log in before you can comment on or make changes to this bug.