# CVE-2023-53587: linux: In the Linux kernel, the following vulnerability has been resolved:  ring-buffer: Sync IRQ works before buffer destru...

CVE-2023-53587 is fixed in 20 products on 1 platform, first by ALAS2023-2023-184, released May 25, 2023. It is not reported as exploited. Patch Radar priority: High.

- Web page: https://patchblox.com/security/cve/CVE-2023-53587
- Priority: High
- CVSS: 7.8 (high)
- EPSS: 0.0017
- CISA KEV: not listed
- Exploited (vendor report): no
- Publicly disclosed: no
- Published: May 25, 2023

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

## Where it's fixed

| Platform | Product | Fixed in | Fix | Released |
|---|---|---|---|---|
| Linux | bpftool amzn 2023 | 6.1.29-47.49.amzn2023 | [ALAS2023-2023-184](https://patchblox.com/security/data/fix/linux/alas2023-2023-184.md) | May 25, 2023 |
| Linux | bpftool-debuginfo amzn 2023 | 6.1.29-47.49.amzn2023 | [ALAS2023-2023-184](https://patchblox.com/security/data/fix/linux/alas2023-2023-184.md) | May 25, 2023 |
| Linux | kernel amzn 2023 | 6.1.29-47.49.amzn2023 | [ALAS2023-2023-184](https://patchblox.com/security/data/fix/linux/alas2023-2023-184.md) | May 25, 2023 |
| Linux | kernel-debuginfo amzn 2023 | 6.1.29-47.49.amzn2023 | [ALAS2023-2023-184](https://patchblox.com/security/data/fix/linux/alas2023-2023-184.md) | May 25, 2023 |
| Linux | kernel-debuginfo-common-aarch64 amzn 2023 | 6.1.29-47.49.amzn2023 | [ALAS2023-2023-184](https://patchblox.com/security/data/fix/linux/alas2023-2023-184.md) | May 25, 2023 |
| Linux | kernel-debuginfo-common-x86_64 amzn 2023 | 6.1.29-47.49.amzn2023 | [ALAS2023-2023-184](https://patchblox.com/security/data/fix/linux/alas2023-2023-184.md) | May 25, 2023 |
| Linux | kernel-devel amzn 2023 | 6.1.29-47.49.amzn2023 | [ALAS2023-2023-184](https://patchblox.com/security/data/fix/linux/alas2023-2023-184.md) | May 25, 2023 |
| Linux | kernel-headers amzn 2023 | 6.1.29-47.49.amzn2023 | [ALAS2023-2023-184](https://patchblox.com/security/data/fix/linux/alas2023-2023-184.md) | May 25, 2023 |
| Linux | kernel-libbpf amzn 2023 | 6.1.29-47.49.amzn2023 | [ALAS2023-2023-184](https://patchblox.com/security/data/fix/linux/alas2023-2023-184.md) | May 25, 2023 |
| Linux | kernel-libbpf-devel amzn 2023 | 6.1.29-47.49.amzn2023 | [ALAS2023-2023-184](https://patchblox.com/security/data/fix/linux/alas2023-2023-184.md) | May 25, 2023 |
| Linux | kernel-libbpf-static amzn 2023 | 6.1.29-47.49.amzn2023 | [ALAS2023-2023-184](https://patchblox.com/security/data/fix/linux/alas2023-2023-184.md) | May 25, 2023 |
| Linux | kernel-livepatch-6.1.29-47.49 amzn 2023 | 1.0-0.amzn2023 | [ALAS2023-2023-184](https://patchblox.com/security/data/fix/linux/alas2023-2023-184.md) | May 25, 2023 |
| Linux | kernel-tools amzn 2023 | 6.1.29-47.49.amzn2023 | [ALAS2023-2023-184](https://patchblox.com/security/data/fix/linux/alas2023-2023-184.md) | May 25, 2023 |
| Linux | kernel-tools-debuginfo amzn 2023 | 6.1.29-47.49.amzn2023 | [ALAS2023-2023-184](https://patchblox.com/security/data/fix/linux/alas2023-2023-184.md) | May 25, 2023 |
| Linux | kernel-tools-devel amzn 2023 | 6.1.29-47.49.amzn2023 | [ALAS2023-2023-184](https://patchblox.com/security/data/fix/linux/alas2023-2023-184.md) | May 25, 2023 |
| Linux | linux Debian 12.15 (bookworm) | 6.1.37-1 | [DEBIAN-CVE-2023-53587](https://patchblox.com/security/data/fix/linux/debian-cve-2023-53587.md) | Oct 4, 2025 |
| Linux | linux Debian 13.5 (trixie) | 6.3.7-1 | [DEBIAN-CVE-2023-53587](https://patchblox.com/security/data/fix/linux/debian-cve-2023-53587.md) | Oct 4, 2025 |
| Linux | linux Debian 14 | 6.3.7-1 | [DEBIAN-CVE-2023-53587](https://patchblox.com/security/data/fix/linux/debian-cve-2023-53587.md) | Oct 4, 2025 |
| Linux | perf amzn 2023 | 6.1.29-47.49.amzn2023 | [ALAS2023-2023-184](https://patchblox.com/security/data/fix/linux/alas2023-2023-184.md) | May 25, 2023 |
| Linux | perf-debuginfo amzn 2023 | 6.1.29-47.49.amzn2023 | [ALAS2023-2023-184](https://patchblox.com/security/data/fix/linux/alas2023-2023-184.md) | May 25, 2023 |
| Linux | python3-perf amzn 2023 | 6.1.29-47.49.amzn2023 | [ALAS2023-2023-184](https://patchblox.com/security/data/fix/linux/alas2023-2023-184.md) | May 25, 2023 |
| Linux | python3-perf-debuginfo amzn 2023 | 6.1.29-47.49.amzn2023 | [ALAS2023-2023-184](https://patchblox.com/security/data/fix/linux/alas2023-2023-184.md) | May 25, 2023 |

---

Data as of 2026-11-08T13:06:02Z UTC. Source: Patchblox Patch Radar (https://patchblox.com/security/patch-radar). Patchblox finds out-of-date software on Windows, macOS and Linux and updates it through release rings: https://patchblox.com/demo

Free to use with attribution: show "Data: Patchblox Patch Radar" with a link to https://patchblox.com/security/patch-radar. Terms, including what needs a written agreement: https://patchblox.com/security/patch-radar/use-the-data

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.
