CVE-2025-21914

slimbus: messaging: Free transaction ID in delayed interrupt scenario

State
Published
Severity
7.8 High
Published
Apr 1, 2025
Updated
Aug 5, 2026
Reserved
Dec 29, 2024

Read the record on cve.org

Description

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.

Scores

CVSSScoreVectorSource
3.17.8 HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HLinux

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • afbdcc7c384b0d446da08b1e0901dc176b41b9e0 to before cec8c0ac173fe5321f03fdb1a09a9cb69bc9a9feAffected
  • afbdcc7c384b0d446da08b1e0901dc176b41b9e0 to before a32e5198a9134772eb03f7b72a7849094c55bda9Affected
  • afbdcc7c384b0d446da08b1e0901dc176b41b9e0 to before 09d34c4cbc38485c7514069f25348e439555b282Affected
  • afbdcc7c384b0d446da08b1e0901dc176b41b9e0 to before 18ae4cee05c310c299ba75d7477dcf34be67aa16Affected
  • afbdcc7c384b0d446da08b1e0901dc176b41b9e0 to before faac8e894014e8167471a8e4a5eb35a8fefbb82aAffected
  • afbdcc7c384b0d446da08b1e0901dc176b41b9e0 to before 6abf3d8bb51cbaf886c3f08109a0462890b10db6Affected
  • afbdcc7c384b0d446da08b1e0901dc176b41b9e0 to before 0c541c8f6da23e0b92f0a6216d899659a7572074Affected
  • afbdcc7c384b0d446da08b1e0901dc176b41b9e0 to before dcb0d43ba8eb9517e70b1a0e4b0ae0ab657a0e5aAffected
LinuxLinux
  • 4.16Affected
  • before 4.16Not affected
  • 5.4.291 through 5.4.*Not affected
  • 5.10.235 through 5.10.*Not affected
  • 5.15.179 through 5.15.*Not affected
  • 6.1.131 through 6.1.*Not affected
  • 6.6.83 through 6.6.*Not affected
  • 6.12.19 through 6.12.*Not affected
  • 6.13.7 through 6.13.*Not affected
  • 6.14 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.