Linux
accel/qaic: Address potential out-of-bounds read in resp_worker()
In the Linux kernel, the following vulnerability has been resolved: accel/qaic: Address potential out-of-bounds read in resp_worker() Although 'commit 2feec5ae5df7 ("accel/qaic: Handle DBC deactivation if the owner went away")' fixes the scenario it was intended for by walking the message and only decoding QAIC_TRANS_DEACTIVATE_FROM_DEV, if present, it skipped over the bounds checking code that is included in decode_message(). This could lead to issues such as reading past the slab allocation's end, infinite loops or kernel panics. For those issues to happen, a malformed wire message is needed to be sent from the device. Instead of duplicating the bounds checking code already present in decode_message(), use the function inside resp_worker().
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 2dd67966f39a2abf8ccb4865031c722e40e01b7f, < 5807a65f301b6c0e73a2dc03dd6f5e80a2861b72
- >= 08021f2d4a557d6491e3bcc288e96425f50aa3cf, < f4b64488f3deca63f7fbc7d7c3835b2e668003f9
- >= f403094d9075d7c565a3d81002b781c325cb3c07, < 12deeade460d47031267256ba07add51cc7eabd0
- >= 2feec5ae5df785658924ab6bd91280dc3926507c, < c72e81ee46bdd4c221114d6e9515e9b4647616d7
- >= 2feec5ae5df785658924ab6bd91280dc3926507c, < ab243f74ab4084ca5c8dec608cb5b0deb27db067
- ee0180e77e6c8482644569632065411de844c515
- >= 6.6.134, < 6.6.158
- >= 6.12.81, < 6.12.111
- >= 6.18.22, < 6.18.53
- >= 6.19.12, < 6.20
Fixed in 5807a65f301b6c0e73a2dc03dd6f5e80a2861b72, f4b64488f3deca63f7fbc7d7c3835b2e668003f9, 12deeade460d47031267256ba07add51cc7eabd0, c72e81ee46bdd4c221114d6e9515e9b4647616d7, ab243f74ab4084ca5c8dec608cb5b0deb27db067, 6.6.158, 6.12.111, 6.18.53, 6.20
- 7.0
Fixed in 0, 6.6.158, 6.12.111, 6.18.53, 7.2.7, 7.3
Mitigation
Upgrade Linux to 5807a65f301b6c0e73a2dc03dd6f5e80a2861b72 or f4b64488f3deca63f7fbc7d7c3835b2e668003f9 or 12deeade460d47031267256ba07add51cc7eabd0 or c72e81ee46bdd4c221114d6e9515e9b4647616d7 or ab243f74ab4084ca5c8dec608cb5b0deb27db067 or 6.6.158 or 6.12.111 or 6.18.53 or 6.20 or later.
Upgrade Linux to 0 or 6.6.158 or 6.12.111 or 6.18.53 or 7.2.7 or 7.3 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.