# CVE-2023-53587: ring-buffer: Sync IRQ works before buffer destruction

> 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.24% (percentile 9, 2026-11-26)
- **CWE:** CWE-416
- **Published:** 2025-10-04T15:44:02.679Z
- **Modified:** 2026-10-15T22:17:43.343Z

## Who should check

- Anyone running Linux \>= 15693458c4bc0693fd63a50d60f35b628fcf4e29, \< 372c5ee537b8366b64b691ba29e9335525e1655e; \>= 15693458c4bc0693fd63a50d60f35b628fcf4e29, \< 2702b67f59d455072a08dc40312f9b090d4dec04; \>= 15693458c4bc0693fd63a50d60f35b628fcf4e29, \< 2399b1fda025e939b6fb1ac94505bcf718534e65; \>= 15693458c4bc0693fd63a50d60f35b628fcf4e29, \< 1c99f65d6af2a454bfd5207b4f6a97c8474a1191; \>= 15693458c4bc0693fd63a50d60f35b628fcf4e29, \< c63741e872fcfb10e153517750f7908f0c00f60d; \>= 15693458c4bc0693fd63a50d60f35b628fcf4e29, \< d9834abd8b24d1fe8092859e436fe1e0fd467c61; \>= 15693458c4bc0693fd63a50d60f35b628fcf4e29, \< fc6858b7f8e1221f62ce8c6ff8a13a349c32cd76; \>= 15693458c4bc0693fd63a50d60f35b628fcf4e29, \< 0a65165bd24ee9231191597b7c232376fcd70cdb; \>= 15693458c4bc0693fd63a50d60f35b628fcf4e29, \< 675751bb20634f981498c7d66161584080cc061e
- Anyone running Linux 3.10

## Description

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

ring-buffer: Sync IRQ works before buffer destruction

If something was written to the buffer just before destruction,
it may be possible (maybe not in a real system, but it did
happen in ARCH=um with time-travel) to destroy the ringbuffer
before the IRQ work ran, leading this KASAN report (or a crash
without KASAN):

    BUG: KASAN: slab-use-after-free in irq\_work\_run\_list+0x11a/0x13a
    Read of size 8 at addr 000000006d640a48 by task swapper/0

    CPU: 0 PID: 0 Comm: swapper Tainted: G        W  O       6.3.0-rc1 \#7
    Stack:
     60c4f20f 0c203d48 41b58ab3 60f224fc
     600477fa 60f35687 60c4f20f 601273dd
     00000008 6101eb00 6101eab0 615be548
    Call Trace:
     \[\<60047a58\>\] show\_stack+0x25e/0x282
     \[\<60c609e0\>\] dump\_stack\_lvl+0x96/0xfd
     \[\<60c50d4c\>\] print\_report+0x1a7/0x5a8
     \[\<603078d3\>\] kasan\_report+0xc1/0xe9
     \[\<60308950\>\] \_\_asan\_report\_load8\_noabort+0x1b/0x1d
     \[\<60232844\>\] irq\_work\_run\_list+0x11a/0x13a
     \[\<602328b4\>\] irq\_work\_tick+0x24/0x34
     \[\<6017f9dc\>\] update\_process\_times+0x162/0x196
     \[\<6019f335\>\] tick\_sched\_handle+0x1a4/0x1c3
     \[\<6019fd9e\>\] tick\_sched\_timer+0x79/0x10c
     \[\<601812b9\>\] \_\_hrtimer\_run\_queues.constprop.0+0x425/0x695
     \[\<60182913\>\] hrtimer\_interrupt+0x16c/0x2c4
     \[\<600486a3\>\] um\_timer+0x164/0x183
     \[...\]

    Allocated by task 411:
     save\_stack\_trace+0x99/0xb5
     stack\_trace\_save+0x81/0x9b
     kasan\_save\_stack+0x2d/0x54
     kasan\_set\_track+0x34/0x3e
     kasan\_save\_alloc\_info+0x25/0x28
     \_\_\_\_kasan\_kmalloc+0x8b/0x97
     \_\_kasan\_kmalloc+0x10/0x12
     \_\_kmalloc+0xb2/0xe8
     load\_elf\_phdrs+0xee/0x182
     \[...\]

    The buggy address belongs to the object at 000000006d640800
     which belongs to the cache kmalloc-1k of size 1024
    The buggy address is located 584 bytes inside of
     freed 1024-byte region \[000000006d640800, 000000006d640c00)

Add the appropriate irq\_work\_sync() so the work finishes before
the buffers are destroyed.

Prior to the commit in the Fixes tag below, there was only a
single global IRQ work, so this issue didn't exist.

## Affected and fixed versions

- Linux: \>= 15693458c4bc0693fd63a50d60f35b628fcf4e29, \< 372c5ee537b8366b64b691ba29e9335525e1655e; \>= 15693458c4bc0693fd63a50d60f35b628fcf4e29, \< 2702b67f59d455072a08dc40312f9b090d4dec04; \>= 15693458c4bc0693fd63a50d60f35b628fcf4e29, \< 2399b1fda025e939b6fb1ac94505bcf718534e65; \>= 15693458c4bc0693fd63a50d60f35b628fcf4e29, \< 1c99f65d6af2a454bfd5207b4f6a97c8474a1191; \>= 15693458c4bc0693fd63a50d60f35b628fcf4e29, \< c63741e872fcfb10e153517750f7908f0c00f60d; \>= 15693458c4bc0693fd63a50d60f35b628fcf4e29, \< d9834abd8b24d1fe8092859e436fe1e0fd467c61; \>= 15693458c4bc0693fd63a50d60f35b628fcf4e29, \< fc6858b7f8e1221f62ce8c6ff8a13a349c32cd76; \>= 15693458c4bc0693fd63a50d60f35b628fcf4e29, \< 0a65165bd24ee9231191597b7c232376fcd70cdb; \>= 15693458c4bc0693fd63a50d60f35b628fcf4e29, \< 675751bb20634f981498c7d66161584080cc061e (cvelist)
- Linux: 3.10 (cvelist)

## Mitigation

- Upgrade Linux to 675751bb20634f981498c7d66161584080cc061e or later.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2023-53587.md
Affected: Linux >= 15693458c4bc0693fd63a50d60f35b628fcf4e29, < 372c5ee537b8366b64b691ba29e9335525e1655e; >= 15693458c4bc0693fd63a50d60f35b628fcf4e29, < 2702b67f59d455072a08dc40312f9b090d4dec04; >= 15693458c4bc0693fd63a50d60f35b628fcf4e29, < 2399b1fda025e939b6fb1ac94505bcf718534e65; >= 15693458c4bc0693fd63a50…
Fixed in: Linux 372c5ee537b8366b64b691ba29e9335525e1655e, Linux 2702b67f59d455072a08dc40312f9b090d4dec04, Linux 2399b1fda025e939b6fb1ac94505bcf718534e65, Linux 1c99f65d6af2a454bfd5207b4f6a97c8474a1191, Linux 0a65165bd24ee9231191597b7c232376fcd70cdb, Linux 675751bb20634f981498c7d66161584080cc061e

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-2023-53587 being exploited?

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

### How serious is CVE-2023-53587?

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

### Which versions are affected by CVE-2023-53587?

Linux \>= 15693458c4bc0693fd63a50d60f35b628fcf4e29, \< 372c5ee537b8366b64b691ba29e9335525e1655e; \>= 15693458c4bc0693fd63a50d60f35b628fcf4e29, \< 2702b67f59d455072a08dc40312f9b090d4dec04; \>= 15693458c4bc0693fd63a50d60f35b628fcf4e29, \< 2399b1fda025e939b6fb1ac94505bcf718534e65; \>= 15693458c4bc0693fd63a50d60f35b628fcf4e29, \< 1c99f65d6af2a454bfd5207b4f6a97c8474a1191; \>= 15693458c4bc0693fd63a50d60f35b628fcf4e29, \< c63741e872fcfb10e153517750f7908f0c00f60d; \>= 15693458c4bc0693fd63a50d60f35b628fcf4e29, \< d9834abd8b24d1fe8092859e436fe1e0fd467c61; \>= 15693458c4bc0693fd63a50d60f35b628fcf4e29, \< fc6858b7f8e1221f62ce8c6ff8a13a349c32cd76; \>= 15693458c4bc0693fd63a50d60f35b628fcf4e29, \< 0a65165bd24ee9231191597b7c232376fcd70cdb; \>= 15693458c4bc0693fd63a50d60f35b628fcf4e29, \< 675751bb20634f981498c7d66161584080cc061e; Linux 3.10.

### Is there a fix for CVE-2023-53587?

Yes. Fixed in Linux 372c5ee537b8366b64b691ba29e9335525e1655e, Linux 2702b67f59d455072a08dc40312f9b090d4dec04, Linux 2399b1fda025e939b6fb1ac94505bcf718534e65, Linux 1c99f65d6af2a454bfd5207b4f6a97c8474a1191, Linux 0a65165bd24ee9231191597b7c232376fcd70cdb, Linux 675751bb20634f981498c7d66161584080cc061e. Upgrade Linux to 675751bb20634f981498c7d66161584080cc061e or later.

### How do I check if I'm affected by CVE-2023-53587?

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/372c5ee537b8366b64b691ba29e9335525e1655e>
- patch: <https://git.kernel.org/stable/c/2702b67f59d455072a08dc40312f9b090d4dec04>
- patch: <https://git.kernel.org/stable/c/2399b1fda025e939b6fb1ac94505bcf718534e65>
- patch: <https://git.kernel.org/stable/c/1c99f65d6af2a454bfd5207b4f6a97c8474a1191>
- patch: <https://git.kernel.org/stable/c/c63741e872fcfb10e153517750f7908f0c00f60d>
- patch: <https://git.kernel.org/stable/c/d9834abd8b24d1fe8092859e436fe1e0fd467c61>
- patch: <https://git.kernel.org/stable/c/fc6858b7f8e1221f62ce8c6ff8a13a349c32cd76>
- patch: <https://git.kernel.org/stable/c/0a65165bd24ee9231191597b7c232376fcd70cdb>
- patch: <https://git.kernel.org/stable/c/675751bb20634f981498c7d66161584080cc061e>

## 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-2023-53587>

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