CVE-2025-21914
Severity CVSS v4.0:
Pending analysis
Type:
Unavailable / Other
Publication date:
01/04/2025
Last modified:
01/04/2025
Description
In the Linux kernel, the following vulnerability has been resolved:<br />
<br />
slimbus: messaging: Free transaction ID in delayed interrupt scenario<br />
<br />
In case of interrupt delay for any reason, slim_do_transfer()<br />
returns timeout error but the transaction ID (TID) is not freed.<br />
This results into invalid memory access inside<br />
qcom_slim_ngd_rx_msgq_cb() due to invalid TID.<br />
<br />
Fix the issue by freeing the TID in slim_do_transfer() before<br />
returning timeout error to avoid invalid memory access.<br />
<br />
Call trace:<br />
__memcpy_fromio+0x20/0x190<br />
qcom_slim_ngd_rx_msgq_cb+0x130/0x290 [slim_qcom_ngd_ctrl]<br />
vchan_complete+0x2a0/0x4a0<br />
tasklet_action_common+0x274/0x700<br />
tasklet_action+0x28/0x3c<br />
_stext+0x188/0x620<br />
run_ksoftirqd+0x34/0x74<br />
smpboot_thread_fn+0x1d8/0x464<br />
kthread+0x178/0x238<br />
ret_from_fork+0x10/0x20<br />
Code: aa0003e8 91000429 f100044a 3940002b (3800150b)<br />
---[ end trace 0fe00bec2b975c99 ]---<br />
Kernel panic - not syncing: Oops: Fatal exception in interrupt.
Impact
References to Advisories, Solutions, and Tools
- https://git.kernel.org/stable/c/09d34c4cbc38485c7514069f25348e439555b282
- https://git.kernel.org/stable/c/0c541c8f6da23e0b92f0a6216d899659a7572074
- https://git.kernel.org/stable/c/18ae4cee05c310c299ba75d7477dcf34be67aa16
- https://git.kernel.org/stable/c/6abf3d8bb51cbaf886c3f08109a0462890b10db6
- https://git.kernel.org/stable/c/a32e5198a9134772eb03f7b72a7849094c55bda9
- https://git.kernel.org/stable/c/cec8c0ac173fe5321f03fdb1a09a9cb69bc9a9fe
- https://git.kernel.org/stable/c/dcb0d43ba8eb9517e70b1a0e4b0ae0ab657a0e5a
- https://git.kernel.org/stable/c/faac8e894014e8167471a8e4a5eb35a8fefbb82a