# CVE-2024-53068: firmware: arm\_scmi: Fix slab-use-after-free in scmi\_bus\_notifier()

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

- **Severity:** HIGH 7.8
- **CVSS:** 7.8 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; 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.31% (percentile 16, 2026-11-28)
- **CWE:** CWE-416
- **Published:** 2024-11-19T17:22:36.650Z
- **Modified:** 2026-10-30T13:17:42.110Z

## Who should check

- Anyone running Linux \>= ee7a9c9f67c59008b330deff2762bd8cf1407eec, \< c3c49feed980279e8342b934bf2c7f25df1b0bc1; \>= ee7a9c9f67c59008b330deff2762bd8cf1407eec, \< 15b17bbcea07d49c43d21aa700485cbd9f9d00d8; \>= ee7a9c9f67c59008b330deff2762bd8cf1407eec, \< 1e1f523b185a8ccdcba625b31ff0312d052900e2; \>= ee7a9c9f67c59008b330deff2762bd8cf1407eec, \< 295416091e44806760ccf753aeafdafc0ae268f3
- Anyone running Linux 5.6

## Description

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

firmware: arm\_scmi: Fix slab-use-after-free in scmi\_bus\_notifier()

The scmi\_dev-\>name is released prematurely in \_\_scmi\_device\_destroy(),
which causes slab-use-after-free when accessing scmi\_dev-\>name in
scmi\_bus\_notifier(). So move the release of scmi\_dev-\>name to
scmi\_device\_release() to avoid slab-use-after-free.

  \|  BUG: KASAN: slab-use-after-free in strncmp+0xe4/0xec
  \|  Read of size 1 at addr ffffff80a482bcc0 by task swapper/0/1
  \|
  \|  CPU: 1 PID: 1 Comm: swapper/0 Not tainted 6.6.38-debug \#1
  \|  Hardware name: Qualcomm Technologies, Inc. SA8775P Ride (DT)
  \|  Call trace:
  \|   dump\_backtrace+0x94/0x114
  \|   show\_stack+0x18/0x24
  \|   dump\_stack\_lvl+0x48/0x60
  \|   print\_report+0xf4/0x5b0
  \|   kasan\_report+0xa4/0xec
  \|   \_\_asan\_report\_load1\_noabort+0x20/0x2c
  \|   strncmp+0xe4/0xec
  \|   scmi\_bus\_notifier+0x5c/0x54c
  \|   notifier\_call\_chain+0xb4/0x31c
  \|   blocking\_notifier\_call\_chain+0x68/0x9c
  \|   bus\_notify+0x54/0x78
  \|   device\_del+0x1bc/0x840
  \|   device\_unregister+0x20/0xb4
  \|   \_\_scmi\_device\_destroy+0xac/0x280
  \|   scmi\_device\_destroy+0x94/0xd0
  \|   scmi\_chan\_setup+0x524/0x750
  \|   scmi\_probe+0x7fc/0x1508
  \|   platform\_probe+0xc4/0x19c
  \|   really\_probe+0x32c/0x99c
  \|   \_\_driver\_probe\_device+0x15c/0x3c4
  \|   driver\_probe\_device+0x5c/0x170
  \|   \_\_driver\_attach+0x1c8/0x440
  \|   bus\_for\_each\_dev+0xf4/0x178
  \|   driver\_attach+0x3c/0x58
  \|   bus\_add\_driver+0x234/0x4d4
  \|   driver\_register+0xf4/0x3c0
  \|   \_\_platform\_driver\_register+0x60/0x88
  \|   scmi\_driver\_init+0xb0/0x104
  \|   do\_one\_initcall+0xb4/0x664
  \|   kernel\_init\_freeable+0x3c8/0x894
  \|   kernel\_init+0x24/0x1e8
  \|   ret\_from\_fork+0x10/0x20
  \|
  \|  Allocated by task 1:
  \|   kasan\_save\_stack+0x2c/0x54
  \|   kasan\_set\_track+0x2c/0x40
  \|   kasan\_save\_alloc\_info+0x24/0x34
  \|   \_\_kasan\_kmalloc+0xa0/0xb8
  \|   \_\_kmalloc\_node\_track\_caller+0x6c/0x104
  \|   kstrdup+0x48/0x84
  \|   kstrdup\_const+0x34/0x40
  \|   \_\_scmi\_device\_create.part.0+0x8c/0x408
  \|   scmi\_device\_create+0x104/0x370
  \|   scmi\_chan\_setup+0x2a0/0x750
  \|   scmi\_probe+0x7fc/0x1508
  \|   platform\_probe+0xc4/0x19c
  \|   really\_probe+0x32c/0x99c
  \|   \_\_driver\_probe\_device+0x15c/0x3c4
  \|   driver\_probe\_device+0x5c/0x170
  \|   \_\_driver\_attach+0x1c8/0x440
  \|   bus\_for\_each\_dev+0xf4/0x178
  \|   driver\_attach+0x3c/0x58
  \|   bus\_add\_driver+0x234/0x4d4
  \|   driver\_register+0xf4/0x3c0
  \|   \_\_platform\_driver\_register+0x60/0x88
  \|   scmi\_driver\_init+0xb0/0x104
  \|   do\_one\_initcall+0xb4/0x664
  \|   kernel\_init\_freeable+0x3c8/0x894
  \|   kernel\_init+0x24/0x1e8
  \|   ret\_from\_fork+0x10/0x20
  \|
  \|  Freed by task 1:
  \|   kasan\_save\_stack+0x2c/0x54
  \|   kasan\_set\_track+0x2c/0x40
  \|   kasan\_save\_free\_info+0x38/0x5c
  \|   \_\_kasan\_slab\_free+0xe8/0x164
  \|   \_\_kmem\_cache\_free+0x11c/0x230
  \|   kfree+0x70/0x130
  \|   kfree\_const+0x20/0x40
  \|   \_\_scmi\_device\_destroy+0x70/0x280
  \|   scmi\_device\_destroy+0x94/0xd0
  \|   scmi\_chan\_setup+0x524/0x750
  \|   scmi\_probe+0x7fc/0x1508
  \|   platform\_probe+0xc4/0x19c
  \|   really\_probe+0x32c/0x99c
  \|   \_\_driver\_probe\_device+0x15c/0x3c4
  \|   driver\_probe\_device+0x5c/0x170
  \|   \_\_driver\_attach+0x1c8/0x440
  \|   bus\_for\_each\_dev+0xf4/0x178
  \|   driver\_attach+0x3c/0x58
  \|   bus\_add\_driver+0x234/0x4d4
  \|   driver\_register+0xf4/0x3c0
  \|   \_\_platform\_driver\_register+0x60/0x88
  \|   scmi\_driver\_init+0xb0/0x104
  \|   do\_one\_initcall+0xb4/0x664
  \|   kernel\_init\_freeable+0x3c8/0x894
  \|   kernel\_init+0x24/0x1e8
  \|   ret\_from\_fork+0x10/0x20

## Affected and fixed versions

- Linux: \>= ee7a9c9f67c59008b330deff2762bd8cf1407eec, \< c3c49feed980279e8342b934bf2c7f25df1b0bc1; \>= ee7a9c9f67c59008b330deff2762bd8cf1407eec, \< 15b17bbcea07d49c43d21aa700485cbd9f9d00d8; \>= ee7a9c9f67c59008b330deff2762bd8cf1407eec, \< 1e1f523b185a8ccdcba625b31ff0312d052900e2; \>= ee7a9c9f67c59008b330deff2762bd8cf1407eec, \< 295416091e44806760ccf753aeafdafc0ae268f3 (cvelist)
- Linux: 5.6 (cvelist)

## Mitigation

- Upgrade Linux to 295416091e44806760ccf753aeafdafc0ae268f3 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-53068. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2024-53068.md
Affected: Linux >= ee7a9c9f67c59008b330deff2762bd8cf1407eec, < c3c49feed980279e8342b934bf2c7f25df1b0bc1; >= ee7a9c9f67c59008b330deff2762bd8cf1407eec, < 15b17bbcea07d49c43d21aa700485cbd9f9d00d8; >= ee7a9c9f67c59008b330deff2762bd8cf1407eec, < 1e1f523b185a8ccdcba625b31ff0312d052900e2; >= ee7a9c9f67c59008b330def…
Fixed in: Linux 15b17bbcea07d49c43d21aa700485cbd9f9d00d8, Linux 1e1f523b185a8ccdcba625b31ff0312d052900e2, Linux 295416091e44806760ccf753aeafdafc0ae268f3

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-53068 being exploited?

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

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

High: CVSS 7.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

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

Linux \>= ee7a9c9f67c59008b330deff2762bd8cf1407eec, \< c3c49feed980279e8342b934bf2c7f25df1b0bc1; \>= ee7a9c9f67c59008b330deff2762bd8cf1407eec, \< 15b17bbcea07d49c43d21aa700485cbd9f9d00d8; \>= ee7a9c9f67c59008b330deff2762bd8cf1407eec, \< 1e1f523b185a8ccdcba625b31ff0312d052900e2; \>= ee7a9c9f67c59008b330deff2762bd8cf1407eec, \< 295416091e44806760ccf753aeafdafc0ae268f3; Linux 5.6.

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

Yes. Fixed in Linux 15b17bbcea07d49c43d21aa700485cbd9f9d00d8, Linux 1e1f523b185a8ccdcba625b31ff0312d052900e2, Linux 295416091e44806760ccf753aeafdafc0ae268f3. Upgrade Linux to 295416091e44806760ccf753aeafdafc0ae268f3 or later.

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

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/15b17bbcea07d49c43d21aa700485cbd9f9d00d8>
- patch: <https://git.kernel.org/stable/c/1e1f523b185a8ccdcba625b31ff0312d052900e2>
- patch: <https://git.kernel.org/stable/c/295416091e44806760ccf753aeafdafc0ae268f3>
- other: <https://git.kernel.org/stable/c/c3c49feed980279e8342b934bf2c7f25df1b0bc1>

## 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-53068>

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