# CVE-2024-56620: scsi: ufs: qcom: Only free platform MSIs when ESI is enabled

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 5.5
- **CVSS:** 5.5 (v3.1, NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.30% (percentile 15, 2026-11-28)
- **CWE:** CWE-476
- **Published:** 2024-12-27T14:51:24.239Z
- **Modified:** 2026-06-17T08:12:34.220Z

## Who should check

- Anyone running Linux \>= 519b6274a7775f5fe00a086f189efb8f063467d1, \< f16a097047e38dcdd169a15e3eed1b2f2147a2e7; \>= 519b6274a7775f5fe00a086f189efb8f063467d1, \< f99cb5f6344ef93777fd3add7979ebf291a852df; \>= 519b6274a7775f5fe00a086f189efb8f063467d1, \< 64506b3d23a337e98a74b18dcb10c8619365f2bd
- Anyone running Linux 6.3

## Description

In the Linux kernel, the following vulnerability has been resolved:

scsi: ufs: qcom: Only free platform MSIs when ESI is enabled

Otherwise, it will result in a NULL pointer dereference as below:

Unable to handle kernel NULL pointer dereference at virtual address 0000000000000008
Call trace:
 mutex\_lock+0xc/0x54
 platform\_device\_msi\_free\_irqs\_all+0x14/0x20
 ufs\_qcom\_remove+0x34/0x48 \[ufs\_qcom\]
 platform\_remove+0x28/0x44
 device\_remove+0x4c/0x80
 device\_release\_driver\_internal+0xd8/0x178
 driver\_detach+0x50/0x9c
 bus\_remove\_driver+0x6c/0xbc
 driver\_unregister+0x30/0x60
 platform\_driver\_unregister+0x14/0x20
 ufs\_qcom\_pltform\_exit+0x18/0xb94 \[ufs\_qcom\]
 \_\_arm64\_sys\_delete\_module+0x180/0x260
 invoke\_syscall+0x44/0x100
 el0\_svc\_common.constprop.0+0xc0/0xe0
 do\_el0\_svc+0x1c/0x28
 el0\_svc+0x34/0xdc
 el0t\_64\_sync\_handler+0xc0/0xc4
 el0t\_64\_sync+0x190/0x194

## Affected and fixed versions

- Linux: \>= 519b6274a7775f5fe00a086f189efb8f063467d1, \< f16a097047e38dcdd169a15e3eed1b2f2147a2e7; \>= 519b6274a7775f5fe00a086f189efb8f063467d1, \< f99cb5f6344ef93777fd3add7979ebf291a852df; \>= 519b6274a7775f5fe00a086f189efb8f063467d1, \< 64506b3d23a337e98a74b18dcb10c8619365f2bd (cvelist)
- Linux: 6.3 (cvelist)

## Mitigation

- Upgrade Linux to 64506b3d23a337e98a74b18dcb10c8619365f2bd or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2024-56620. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2024-56620.md
Affected: Linux >= 519b6274a7775f5fe00a086f189efb8f063467d1, < f16a097047e38dcdd169a15e3eed1b2f2147a2e7; >= 519b6274a7775f5fe00a086f189efb8f063467d1, < f99cb5f6344ef93777fd3add7979ebf291a852df; >= 519b6274a7775f5fe00a086f189efb8f063467d1, < 64506b3d23a337e98a74b18dcb10c8619365f2bd; Linux 6.3
Fixed in: Linux 64506b3d23a337e98a74b18dcb10c8619365f2bd

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2024-56620 being exploited?

There is no confirmed exploitation: CVE-2024-56620 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.30% chance of exploitation in the next 30 days (as of 2026-11-28).

### How serious is CVE-2024-56620?

Medium: CVSS 5.5 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2024-56620?

Linux \>= 519b6274a7775f5fe00a086f189efb8f063467d1, \< f16a097047e38dcdd169a15e3eed1b2f2147a2e7; \>= 519b6274a7775f5fe00a086f189efb8f063467d1, \< f99cb5f6344ef93777fd3add7979ebf291a852df; \>= 519b6274a7775f5fe00a086f189efb8f063467d1, \< 64506b3d23a337e98a74b18dcb10c8619365f2bd; Linux 6.3.

### Is there a fix for CVE-2024-56620?

Yes. Fixed in Linux 64506b3d23a337e98a74b18dcb10c8619365f2bd. Upgrade Linux to 64506b3d23a337e98a74b18dcb10c8619365f2bd or later.

### How do I check if I'm affected by CVE-2024-56620?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://git.kernel.org/stable/c/f99cb5f6344ef93777fd3add7979ebf291a852df>
- patch: <https://git.kernel.org/stable/c/64506b3d23a337e98a74b18dcb10c8619365f2bd>
- other: <https://git.kernel.org/stable/c/f16a097047e38dcdd169a15e3eed1b2f2147a2e7>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2024-56620>

HTML: <https://flawdb.com/CVE-2024-56620> · JSON: <https://flawdb.com/api/v1/entries/CVE-2024-56620>
