Linux
media: venus: Fix OOB read due to missing payload bound check
In the Linux kernel, the following vulnerability has been resolved: media: venus: Fix OOB read due to missing payload bound check Currently, The event_seq_changed() handler processes a variable number of properties sent by the firmware. The number of properties is indicated by the firmware and used to iterate over the payload. However, the payload size is not being validated against the actual message length. This can lead to out-of-bounds memory access if the firmware provides a property count that exceeds the data available in the payload. Such a condition can result in kernel crashes or potential information leaks if memory beyond the buffer is accessed. Fix this by properly validating the remaining size of the payload before each property access and updating bounds accordingly as properties are parsed. This ensures that property parsing is safely bounded within the received message buffer and protects against malformed or malicious firmware behavior.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 09c2845e8fe4fcab942929480203f504a6e0a114, < a3eef5847603cd8a4110587907988c3f93c9605a
- >= 09c2845e8fe4fcab942929480203f504a6e0a114, < 8f274e2b05fdae7a53cee83979202b5ecb49035c
- >= 09c2845e8fe4fcab942929480203f504a6e0a114, < 6f08bfb5805637419902f3d70069fe17a404545b
- >= 09c2845e8fe4fcab942929480203f504a6e0a114, < c956c3758510b448b3d4d10d1da8230e8c9bf668
- >= 09c2845e8fe4fcab942929480203f504a6e0a114, < bed4921055dd7bb4d2eea2729852ae18cf97a2c6
- >= 09c2845e8fe4fcab942929480203f504a6e0a114, < 06d6770ff0d8cc8dfd392329a8cc03e2a83e7289
Fixed in a3eef5847603cd8a4110587907988c3f93c9605a, 8f274e2b05fdae7a53cee83979202b5ecb49035c, 6f08bfb5805637419902f3d70069fe17a404545b, c956c3758510b448b3d4d10d1da8230e8c9bf668, bed4921055dd7bb4d2eea2729852ae18cf97a2c6, 06d6770ff0d8cc8dfd392329a8cc03e2a83e7289
- 4.13
Fixed in 0, 6.1.149, 6.6.103, 6.12.43, 6.15.11, 6.16.2, 6.17
Mitigation
Upgrade Linux to a3eef5847603cd8a4110587907988c3f93c9605a or 8f274e2b05fdae7a53cee83979202b5ecb49035c or 6f08bfb5805637419902f3d70069fe17a404545b or c956c3758510b448b3d4d10d1da8230e8c9bf668 or bed4921055dd7bb4d2eea2729852ae18cf97a2c6 or 06d6770ff0d8cc8dfd392329a8cc03e2a83e7289 or later.
Upgrade Linux to 0 or 6.1.149 or 6.6.103 or 6.12.43 or 6.15.11 or 6.16.2 or 6.17 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.