# CVE-2024-26893: firmware: arm\_scmi: Fix double free in SMC transport cleanup path

> 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.31% (percentile 16, 2026-11-26)
- **CWE:** CWE-415
- **Published:** 2024-04-17T10:27:45.332Z
- **Modified:** 2026-06-17T07:18:37.437Z

## Who should check

- Anyone running Linux \>= 1dc6558062dadfabd2fb3bd885fa6e92ec7196f2, \< 0d276d9f335f41d6524258d58c0c0241ef9a83a4; \>= 1dc6558062dadfabd2fb3bd885fa6e92ec7196f2, \< 857f56db8c3a71f9871922b6984ff74ad588cb2c; \>= 1dc6558062dadfabd2fb3bd885fa6e92ec7196f2, \< 8ffaa17ccb1eb1b65cf85db63225a3581c303773; \>= 1dc6558062dadfabd2fb3bd885fa6e92ec7196f2, \< ead445dd3d681020af333649a27306160eee761d; \>= 1dc6558062dadfabd2fb3bd885fa6e92ec7196f2, \< f1d71576d2c9ec8fdb822173fa7f3de79475e9bd
- Anyone running Linux 5.8

## Description

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

firmware: arm\_scmi: Fix double free in SMC transport cleanup path

When the generic SCMI code tears down a channel, it calls the chan\_free
callback function, defined by each transport. Since multiple protocols
might share the same transport\_info member, chan\_free() might want to
clean up the same member multiple times within the given SCMI transport
implementation. In this case, it is SMC transport. This will lead to a NULL
pointer dereference at the second time:

    \| scmi\_protocol scmi\_dev.1: Enabled polling mode TX channel - prot\_id:16
    \| arm-scmi firmware:scmi: SCMI Notifications - Core Enabled.
    \| arm-scmi firmware:scmi: unable to communicate with SCMI
    \| Unable to handle kernel NULL pointer dereference at virtual address 0000000000000000
    \| Mem abort info:
    \|   ESR = 0x0000000096000004
    \|   EC = 0x25: DABT (current EL), IL = 32 bits
    \|   SET = 0, FnV = 0
    \|   EA = 0, S1PTW = 0
    \|   FSC = 0x04: level 0 translation fault
    \| Data abort info:
    \|   ISV = 0, ISS = 0x00000004, ISS2 = 0x00000000
    \|   CM = 0, WnR = 0, TnD = 0, TagAccess = 0
    \|   GCS = 0, Overlay = 0, DirtyBit = 0, Xs = 0
    \| user pgtable: 4k pages, 48-bit VAs, pgdp=0000000881ef8000
    \| \[0000000000000000\] pgd=0000000000000000, p4d=0000000000000000
    \| Internal error: Oops: 0000000096000004 \[\#1\] PREEMPT SMP
    \| Modules linked in:
    \| CPU: 4 PID: 1 Comm: swapper/0 Not tainted 6.7.0-rc2-00124-g455ef3d016c9-dirty \#793
    \| Hardware name: FVP Base RevC (DT)
    \| pstate: 61400009 (nZCv daif +PAN -UAO -TCO +DIT -SSBS BTYPE=--)
    \| pc : smc\_chan\_free+0x3c/0x6c
    \| lr : smc\_chan\_free+0x3c/0x6c
    \| Call trace:
    \|  smc\_chan\_free+0x3c/0x6c
    \|  idr\_for\_each+0x68/0xf8
    \|  scmi\_cleanup\_channels.isra.0+0x2c/0x58
    \|  scmi\_probe+0x434/0x734
    \|  platform\_probe+0x68/0xd8
    \|  really\_probe+0x110/0x27c
    \|  \_\_driver\_probe\_device+0x78/0x12c
    \|  driver\_probe\_device+0x3c/0x118
    \|  \_\_driver\_attach+0x74/0x128
    \|  bus\_for\_each\_dev+0x78/0xe0
    \|  driver\_attach+0x24/0x30
    \|  bus\_add\_driver+0xe4/0x1e8
    \|  driver\_register+0x60/0x128
    \|  \_\_platform\_driver\_register+0x28/0x34
    \|  scmi\_driver\_init+0x84/0xc0
    \|  do\_one\_initcall+0x78/0x33c
    \|  kernel\_init\_freeable+0x2b8/0x51c
    \|  kernel\_init+0x24/0x130
    \|  ret\_from\_fork+0x10/0x20
    \| Code: f0004701 910a0021 aa1403e5 97b91c70 (b9400280)
    \| ---\[ end trace 0000000000000000 \]---

Simply check for the struct pointer being NULL before trying to access
its members, to avoid this situation.

This was found when a transport doesn't really work (for instance no SMC
service), the probe routines then tries to clean up, and triggers a crash.

## Affected and fixed versions

- Linux: \>= 1dc6558062dadfabd2fb3bd885fa6e92ec7196f2, \< 0d276d9f335f41d6524258d58c0c0241ef9a83a4; \>= 1dc6558062dadfabd2fb3bd885fa6e92ec7196f2, \< 857f56db8c3a71f9871922b6984ff74ad588cb2c; \>= 1dc6558062dadfabd2fb3bd885fa6e92ec7196f2, \< 8ffaa17ccb1eb1b65cf85db63225a3581c303773; \>= 1dc6558062dadfabd2fb3bd885fa6e92ec7196f2, \< ead445dd3d681020af333649a27306160eee761d; \>= 1dc6558062dadfabd2fb3bd885fa6e92ec7196f2, \< f1d71576d2c9ec8fdb822173fa7f3de79475e9bd (cvelist)
- Linux: 5.8 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2024-26893.md
Affected: Linux >= 1dc6558062dadfabd2fb3bd885fa6e92ec7196f2, < 0d276d9f335f41d6524258d58c0c0241ef9a83a4; >= 1dc6558062dadfabd2fb3bd885fa6e92ec7196f2, < 857f56db8c3a71f9871922b6984ff74ad588cb2c; >= 1dc6558062dadfabd2fb3bd885fa6e92ec7196f2, < 8ffaa17ccb1eb1b65cf85db63225a3581c303773; >= 1dc6558062dadfabd2fb3bd…
Fixed in: Linux 0d276d9f335f41d6524258d58c0c0241ef9a83a4, Linux 857f56db8c3a71f9871922b6984ff74ad588cb2c, Linux 8ffaa17ccb1eb1b65cf85db63225a3581c303773

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

There is no confirmed exploitation: CVE-2024-26893 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-26).

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

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

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

Linux \>= 1dc6558062dadfabd2fb3bd885fa6e92ec7196f2, \< 0d276d9f335f41d6524258d58c0c0241ef9a83a4; \>= 1dc6558062dadfabd2fb3bd885fa6e92ec7196f2, \< 857f56db8c3a71f9871922b6984ff74ad588cb2c; \>= 1dc6558062dadfabd2fb3bd885fa6e92ec7196f2, \< 8ffaa17ccb1eb1b65cf85db63225a3581c303773; \>= 1dc6558062dadfabd2fb3bd885fa6e92ec7196f2, \< ead445dd3d681020af333649a27306160eee761d; \>= 1dc6558062dadfabd2fb3bd885fa6e92ec7196f2, \< f1d71576d2c9ec8fdb822173fa7f3de79475e9bd; Linux 5.8.

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

Yes. Fixed in Linux 0d276d9f335f41d6524258d58c0c0241ef9a83a4, Linux 857f56db8c3a71f9871922b6984ff74ad588cb2c, Linux 8ffaa17ccb1eb1b65cf85db63225a3581c303773. No fix listed yet: follow the vendor advisory.

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

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/0d276d9f335f41d6524258d58c0c0241ef9a83a4>
- patch: <https://git.kernel.org/stable/c/857f56db8c3a71f9871922b6984ff74ad588cb2c>
- patch: <https://git.kernel.org/stable/c/8ffaa17ccb1eb1b65cf85db63225a3581c303773>
- patch: <https://git.kernel.org/stable/c/ead445dd3d681020af333649a27306160eee761d>
- patch: <https://git.kernel.org/stable/c/f1d71576d2c9ec8fdb822173fa7f3de79475e9bd>

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

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