# CVE-2026-53024: greybus: raw: fix use-after-free if write is called after disconnect

> 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.17% (percentile 4, 2026-11-28)
- **CWE:** CWE-416
- **Published:** 2026-06-24T16:29:33.184Z
- **Modified:** 2026-10-30T13:19:08.853Z

## Who should check

- Anyone running Linux \>= e806c7fb8e9bae87fc23958c3789f2c2f96f54a4, \< 5a6ce05ccd9eca653b09d67eb59026821ffaf61b; \>= e806c7fb8e9bae87fc23958c3789f2c2f96f54a4, \< 966b941ca469fb794637a0803670454f68515e40; \>= e806c7fb8e9bae87fc23958c3789f2c2f96f54a4, \< 2b46f07913a80521ecfe60b229c84bdd7dfb15ab; \>= e806c7fb8e9bae87fc23958c3789f2c2f96f54a4, \< 48d6c32bc049abd114e8f0836c0e7d7cbfba7827; \>= e806c7fb8e9bae87fc23958c3789f2c2f96f54a4, \< 84265cbd96b97058ef67e3f8be3933667a000835
- Anyone running Linux 4.9

## Description

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

greybus: raw: fix use-after-free if write is called after disconnect

If a user writes to the chardev after disconnect has been called, the
kernel panics with the following trace (with
CONFIG\_INIT\_ON\_FREE\_DEFAULT\_ON=y):

        BUG: kernel NULL pointer dereference, address: 0000000000000218
         ...
        Call Trace:
         \<TASK\>
         gb\_operation\_create\_common+0x61/0x180
         gb\_operation\_create\_flags+0x28/0xa0
         gb\_operation\_sync\_timeout+0x6f/0x100
         raw\_write+0x7b/0xc7 \[gb\_raw\]
         vfs\_write+0xcf/0x420
         ? task\_mm\_cid\_work+0x136/0x220
         ksys\_write+0x63/0xe0
         do\_syscall\_64+0xa4/0x290
         entry\_SYSCALL\_64\_after\_hwframe+0x77/0x7f

Disconnect calls gb\_connection\_destroy, which ends up freeing the
connection object. When gb\_operation\_sync is called in the write file
operations, its gets a freed connection as parameter and the kernel
panics.

The gb\_connection\_destroy cannot be moved out of the disconnect
function, as the Greybus subsystem expect all connections belonging to a
bundle to be destroyed when disconnect returns.

To prevent this bug, use a rw lock to synchronize access between write
and disconnect. This guarantees that the write function doesn't try
to use a disconnected connection.

## Affected and fixed versions

- Linux: \>= e806c7fb8e9bae87fc23958c3789f2c2f96f54a4, \< 5a6ce05ccd9eca653b09d67eb59026821ffaf61b; \>= e806c7fb8e9bae87fc23958c3789f2c2f96f54a4, \< 966b941ca469fb794637a0803670454f68515e40; \>= e806c7fb8e9bae87fc23958c3789f2c2f96f54a4, \< 2b46f07913a80521ecfe60b229c84bdd7dfb15ab; \>= e806c7fb8e9bae87fc23958c3789f2c2f96f54a4, \< 48d6c32bc049abd114e8f0836c0e7d7cbfba7827; \>= e806c7fb8e9bae87fc23958c3789f2c2f96f54a4, \< 84265cbd96b97058ef67e3f8be3933667a000835 (cvelist)
- Linux: 4.9 (cvelist)

## Mitigation

- Upgrade Linux to 84265cbd96b97058ef67e3f8be3933667a000835 or later.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2026-53024.md
Affected: Linux >= e806c7fb8e9bae87fc23958c3789f2c2f96f54a4, < 5a6ce05ccd9eca653b09d67eb59026821ffaf61b; >= e806c7fb8e9bae87fc23958c3789f2c2f96f54a4, < 966b941ca469fb794637a0803670454f68515e40; >= e806c7fb8e9bae87fc23958c3789f2c2f96f54a4, < 2b46f07913a80521ecfe60b229c84bdd7dfb15ab; >= e806c7fb8e9bae87fc23958…
Fixed in: Linux 5a6ce05ccd9eca653b09d67eb59026821ffaf61b, Linux 966b941ca469fb794637a0803670454f68515e40, Linux 2b46f07913a80521ecfe60b229c84bdd7dfb15ab, Linux 48d6c32bc049abd114e8f0836c0e7d7cbfba7827, Linux 84265cbd96b97058ef67e3f8be3933667a000835

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-2026-53024 being exploited?

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

### How serious is CVE-2026-53024?

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

### Which versions are affected by CVE-2026-53024?

Linux \>= e806c7fb8e9bae87fc23958c3789f2c2f96f54a4, \< 5a6ce05ccd9eca653b09d67eb59026821ffaf61b; \>= e806c7fb8e9bae87fc23958c3789f2c2f96f54a4, \< 966b941ca469fb794637a0803670454f68515e40; \>= e806c7fb8e9bae87fc23958c3789f2c2f96f54a4, \< 2b46f07913a80521ecfe60b229c84bdd7dfb15ab; \>= e806c7fb8e9bae87fc23958c3789f2c2f96f54a4, \< 48d6c32bc049abd114e8f0836c0e7d7cbfba7827; \>= e806c7fb8e9bae87fc23958c3789f2c2f96f54a4, \< 84265cbd96b97058ef67e3f8be3933667a000835; Linux 4.9.

### Is there a fix for CVE-2026-53024?

Yes. Fixed in Linux 5a6ce05ccd9eca653b09d67eb59026821ffaf61b, Linux 966b941ca469fb794637a0803670454f68515e40, Linux 2b46f07913a80521ecfe60b229c84bdd7dfb15ab, Linux 48d6c32bc049abd114e8f0836c0e7d7cbfba7827, Linux 84265cbd96b97058ef67e3f8be3933667a000835. Upgrade Linux to 84265cbd96b97058ef67e3f8be3933667a000835 or later.

### How do I check if I'm affected by CVE-2026-53024?

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/48d6c32bc049abd114e8f0836c0e7d7cbfba7827>
- patch: <https://git.kernel.org/stable/c/84265cbd96b97058ef67e3f8be3933667a000835>
- other: <https://git.kernel.org/stable/c/5a6ce05ccd9eca653b09d67eb59026821ffaf61b>
- other: <https://git.kernel.org/stable/c/966b941ca469fb794637a0803670454f68515e40>
- other: <https://git.kernel.org/stable/c/2b46f07913a80521ecfe60b229c84bdd7dfb15ab>

## 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-2026-53024>

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