Linux
slimbus: messaging: Free transaction ID in delayed interrupt scenario
In the Linux kernel, the following vulnerability has been resolved: slimbus: messaging: Free transaction ID in delayed interrupt scenario In case of interrupt delay for any reason, slim_do_transfer() returns timeout error but the transaction ID (TID) is not freed. This results into invalid memory access inside qcom_slim_ngd_rx_msgq_cb() due to invalid TID. Fix the issue by freeing the TID in slim_do_transfer() before returning timeout error to avoid invalid memory access. Call trace: __memcpy_fromio+0x20/0x190 qcom_slim_ngd_rx_msgq_cb+0x130/0x290 [slim_qcom_ngd_ctrl] vchan_complete+0x2a0/0x4a0 tasklet_action_common+0x274/0x700 tasklet_action+0x28/0x3c _stext+0x188/0x620 run_ksoftirqd+0x34/0x74 smpboot_thread_fn+0x1d8/0x464 kthread+0x178/0x238 ret_from_fork+0x10/0x20 Code: aa0003e8 91000429 f100044a 3940002b (3800150b) ---[ end trace 0fe00bec2b975c99 ]--- Kernel panic - not syncing: Oops: Fatal exception in interrupt.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= afbdcc7c384b0d446da08b1e0901dc176b41b9e0, < cec8c0ac173fe5321f03fdb1a09a9cb69bc9a9fe
- >= afbdcc7c384b0d446da08b1e0901dc176b41b9e0, < a32e5198a9134772eb03f7b72a7849094c55bda9
- >= afbdcc7c384b0d446da08b1e0901dc176b41b9e0, < 09d34c4cbc38485c7514069f25348e439555b282
- >= afbdcc7c384b0d446da08b1e0901dc176b41b9e0, < 18ae4cee05c310c299ba75d7477dcf34be67aa16
- >= afbdcc7c384b0d446da08b1e0901dc176b41b9e0, < faac8e894014e8167471a8e4a5eb35a8fefbb82a
- >= afbdcc7c384b0d446da08b1e0901dc176b41b9e0, < 6abf3d8bb51cbaf886c3f08109a0462890b10db6
- >= afbdcc7c384b0d446da08b1e0901dc176b41b9e0, < 0c541c8f6da23e0b92f0a6216d899659a7572074
- >= afbdcc7c384b0d446da08b1e0901dc176b41b9e0, < dcb0d43ba8eb9517e70b1a0e4b0ae0ab657a0e5a
Fixed in cec8c0ac173fe5321f03fdb1a09a9cb69bc9a9fe, a32e5198a9134772eb03f7b72a7849094c55bda9, 09d34c4cbc38485c7514069f25348e439555b282, 18ae4cee05c310c299ba75d7477dcf34be67aa16, faac8e894014e8167471a8e4a5eb35a8fefbb82a, 6abf3d8bb51cbaf886c3f08109a0462890b10db6, 0c541c8f6da23e0b92f0a6216d899659a7572074, dcb0d43ba8eb9517e70b1a0e4b0ae0ab657a0e5a
- 4.16
Fixed in 0, 5.4.291, 5.10.235, 5.15.179, 6.1.131, 6.6.83, 6.12.19, 6.13.7, 6.14
Mitigation
Upgrade Linux to cec8c0ac173fe5321f03fdb1a09a9cb69bc9a9fe or a32e5198a9134772eb03f7b72a7849094c55bda9 or 09d34c4cbc38485c7514069f25348e439555b282 or 18ae4cee05c310c299ba75d7477dcf34be67aa16 or faac8e894014e8167471a8e4a5eb35a8fefbb82a or 6abf3d8bb51cbaf886c3f08109a0462890b10db6 or 0c541c8f6da23e0b92f0a6216d899659a7572074 or dcb0d43ba8eb9517e70b1a0e4b0ae0ab657a0e5a or later.
Upgrade Linux to 0 or 5.4.291 or 5.10.235 or 5.15.179 or 6.1.131 or 6.6.83 or 6.12.19 or 6.13.7 or 6.14 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.