Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2023-53577

published high CVSS 3.1 · 7.8

bpf, cpumap: Make sure kthread is running before map update returns

Published
04 Oct 2025, 15:17:16 UTC
Updated
05 Aug 2026, 09:14:55 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Linux — Linux6710e1126934d8b4372b4d2f9ae1646cd3f151bf to < b44d28b98f185d2f2348aa3c3636838c316f889e · 6710e1126934d8b4372b4d2f9ae1646cd3f151bf to < 7a1178a3671b40746830d355836b72e47ceb2490 · 6710e1126934d8b4372b4d2f9ae1646cd3f151bf to < ecb45b852af5e88257020b88bea5ff0798d72aca · 6710e1126934d8b4372b4d2f9ae1646cd3f151bf to < 640a604585aa30f93e39b17d4d6ba69fcb1e66c9 · Other versions: unaffected Affected Not stated Linux
Linux — Linux4.15 (affected) · 0 to < 4.15 (unaffected · semver) · 5.15.126 through 5.15.* (unaffected · semver) · 6.1.45 through 6.1.* (unaffected · semver) · 6.4.10 through 6.4.* (unaffected · semver) · 6.5 and later (unaffected · original_commit_for_fix) · Other versions: affected Version-specific Not stated Linux
Amazon Linux AL2 Release evaluation Not Affected; No Fix Planned Not stated Amazon Linux assessment
Amazon Linux AL2 Release evaluationALAS2KERNEL-5.15-2023-026 Fixed Not stated Amazon Linux assessment
Amazon Linux AL2023 Release evaluation Not Affected Not required Amazon Linux assessment
Amazon Linux AL2023 Release evaluationALAS2023-2023-330 Fixed Not stated Amazon Linux assessment
Red Hat Enterprise Linux RHEL-8 bpftoolaarch64 Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 bpftoolppc64le Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Show 98 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Red Hat Enterprise Linux RHEL-8 bpftools390x Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 bpftoolx86_64 Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 bpftool-debuginfoaarch64 Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 bpftool-debuginfoppc64le Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 bpftool-debuginfos390x Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 bpftool-debuginfox86_64 Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 kernelaarch64 Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 kernelppc64le Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 kernels390x Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 kernelsrc Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 kernelx86_64 Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 kernel-abi-stablelistsnoarch Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 kernel-coreaarch64 Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 kernel-coreppc64le Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 kernel-cores390x Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 kernel-corex86_64 Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 kernel-debugaarch64 Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 kernel-debugppc64le Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 kernel-debugs390x Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 kernel-debugx86_64 Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 kernel-debug-coreaarch64 Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 kernel-debug-coreppc64le Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 kernel-debug-cores390x Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 kernel-debug-corex86_64 Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 kernel-debug-debuginfoaarch64 Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 kernel-debug-debuginfoppc64le Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 kernel-debug-debuginfos390x Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 kernel-debug-debuginfox86_64 Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 kernel-debug-develaarch64 Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 kernel-debug-develppc64le Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 kernel-debug-devels390x Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 kernel-debug-develx86_64 Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 kernel-debug-modulesaarch64 Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 kernel-debug-modulesppc64le Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 kernel-debug-moduless390x Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 kernel-debug-modulesx86_64 Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 kernel-debug-modules-extraaarch64 Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 kernel-debug-modules-extrappc64le Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 kernel-debug-modules-extras390x Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 kernel-debug-modules-extrax86_64 Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 kernel-debuginfoaarch64 Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 kernel-debuginfoppc64le Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 kernel-debuginfos390x Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 kernel-debuginfox86_64 Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 kernel-debuginfo-common-aarch64aarch64 Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 kernel-debuginfo-common-ppc64leppc64le Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 kernel-debuginfo-common-s390xs390x Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 kernel-debuginfo-common-x86_64x86_64 Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 kernel-develaarch64 Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 kernel-develppc64le Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 kernel-devels390x Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 kernel-develx86_64 Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 kernel-docnoarch Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 kernel-modulesaarch64 Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 kernel-modulesppc64le Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 kernel-moduless390x Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 kernel-modulesx86_64 Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 kernel-modules-extraaarch64 Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 kernel-modules-extrappc64le Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 kernel-modules-extras390x Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 kernel-modules-extrax86_64 Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 kernel-toolsaarch64 Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 kernel-toolsppc64le Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 kernel-toolss390x Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 kernel-toolsx86_64 Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 kernel-tools-debuginfoaarch64 Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 kernel-tools-debuginfoppc64le Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 kernel-tools-debuginfos390x Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 kernel-tools-debuginfox86_64 Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 kernel-tools-libsaarch64 Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 kernel-tools-libsppc64le Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 kernel-tools-libsx86_64 Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 kernel-tools-libs-develaarch64 Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 kernel-tools-libs-develppc64le Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 kernel-tools-libs-develx86_64 Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 kernel-zfcpdumps390x Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 kernel-zfcpdump-cores390x Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 kernel-zfcpdump-debuginfos390x Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 kernel-zfcpdump-devels390x Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 kernel-zfcpdump-moduless390x Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 kernel-zfcpdump-modules-extras390x Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 perfaarch64 Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 perfppc64le Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 perfs390x Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 perfx86_64 Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 perf-debuginfoaarch64 Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 perf-debuginfoppc64le Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 perf-debuginfos390x Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 perf-debuginfox86_64 Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 python3-perfaarch64 Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 python3-perfppc64le Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 python3-perfs390x Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 python3-perfx86_64 Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 python3-perf-debuginfoaarch64 Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 python3-perf-debuginfoppc64le Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 python3-perf-debuginfos390x Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 python3-perf-debuginfox86_64 Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-9 bpftoolaarch64 Advisory build 7.3.0-427.13.1.el9_4 RHSA-2024:2394

Package entries are limited to the first 100 builds and 100 linked advisories.

Description

In the Linux kernel, the following vulnerability has been resolved: bpf, cpumap: Make sure kthread is running before map update returns The following warning was reported when running stress-mode enabled xdp_redirect_cpu with some RT threads: ------------[ cut here ]------------ WARNING: CPU: 4 PID: 65 at kernel/bpf/cpumap.c:135 CPU: 4 PID: 65 Comm: kworker/4:1 Not tainted 6.5.0-rc2+ #1 Hardware name: QEMU Standard PC (i440FX + PIIX, 1996) Workqueue: events cpu_map_kthread_stop RIP: 0010:put_cpu_map_entry+0xda/0x220 ...... Call Trace: <TASK> ? show_regs+0x65/0x70 ? __warn+0xa5/0x240 ...... ? put_cpu_map_entry+0xda/0x220 cpu_map_kthread_stop+0x41/0x60 process_one_work+0x6b0/0xb80 worker_thread+0x96/0x720 kthread+0x1a5/0x1f0 ret_from_fork+0x3a/0x70 ret_from_fork_asm+0x1b/0x30 </TASK> The root cause is the same as commit 436901649731 ("bpf: cpumap: Fix memory leak in cpu_map_update_elem"). The kthread is stopped prematurely by kthread_stop() in cpu_map_kthread_stop(), and kthread() doesn't call cpu_map_kthread_run() at all but XDP program has already queued some frames or skbs into ptr_ring. So when __cpu_map_ring_cleanup() checks the ptr_ring, it will find it was not emptied and report a warning. An alternative fix is to use __cpu_map_ring_cleanup() to drop these pending frames or skbs when kthread_stop() returns -EINTR, but it may confuse the user, because these frames or skbs have been handled correctly by XDP program. So instead of dropping these frames or skbs, just make sure the per-cpu kthread is running before __cpu_map_entry_alloc() returns. After apply the fix, the error handle for kthread_stop() will be unnecessary because it will always return 0, so just remove it.

en · Linux · cna

Vendor advisories explicitly linked to this CVE.

14

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
7.8 / 10
Severity
high
Provider
Linux · cna
Vector string
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Scenarios
en: AV:L - Triggering requires local `bpf()` syscall access to create a `BPF_MAP_TYPE_CPUMAP` and repeatedly update/delete its entries, plus attaching an XDP program — all local operations. Per kernel scoring guidance BPF map manipulation is Local. AC:L - The attacker drives both sides of the race: it produces the queued frames/skbs (self-generated traffic through a generic-mode XDP redirect on a veth/lo it controls) and issues the map update that calls `kthread_stop()`, and it chooses the CPU the kthread is bound to so it can starve it with spinner threads or a softirq flood. No special kernel config is required, and the update/delete loop can be repeated indefinitely until the race is won. PR:L - Creating the cpumap needs `bpf_capable()` and the XDP program needs `CAP_NET_ADMIN`, but these are delegatable non-root capabilities routinely granted to unprivileged XDP dataplane daemons/containers, not administrative control over the kernel. Consistent with kernel CNA scoring of comparable CAP_BPF/CAP_NET_ADMIN XDP and devmap/cpumap issues (e.g. CVE-2026-23294, CVE-2025-21808). UI:N - The entire sequence — map create, XDP attach, traffic generation, and the update/delete that races the kthread — is performed by the attacker's own process. No victim action is involved. S:U - The corruption and crash occur inside the kernel itself, within the same security authority as the vulnerable component. There is no VM, IOMMU, or sandbox boundary crossed. C:H - In generic/skb XDP mode the leftover ring entries are tagged `sk_buff` pointers passed to `xdp_return_frame()` as `struct xdp_frame *`; when the misread `flags` field sets `XDP_FLAGS_HAS_FRAGS`, `xdp_get_shared_info_from_frame()` builds a wild pointer from misread `data`/`frame_sz` and reads `sinfo->nr_frags` and the frag array out of bounds. This type confusion yields an uncontrolled kernel-memory read primitive whose results feed `page_address()`/`__xdp_return()`. I:H - The same type confusion drives `__xdp_return()` with a garbage `mem.type` and garbage `data`, reaching `page_frag_free()`, `put_page()`, or `page_pool_put_full_page()` on uncontrolled pointers — arbitrary page refcount decrements that can prematurely free live pages and be leveraged into a write primitive. Type confusion / memory corruption of this class is scored High. A:H - The bug reliably produces a `WARN_ON_ONCE` splat in `__cpu_map_ring_cleanup()` (kernel panic under `panic_on_warn`), and the follow-on wild-pointer dereference in `xdp_return_frame()`/`__xdp_return()` causes a GPF/oops. It also leaks the pending skbs on every occurrence.

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Linux Linux 6710e1126934d8b4372b4d2f9ae1646cd3f151bf to < b44d28b98f185d2f2348aa3c3636838c316f889e (affected · git)6710e1126934d8b4372b4d2f9ae1646cd3f151bf to < 7a1178a3671b40746830d355836b72e47ceb2490 (affected · git)6710e1126934d8b4372b4d2f9ae1646cd3f151bf to < ecb45b852af5e88257020b88bea5ff0798d72aca (affected · git)6710e1126934d8b4372b4d2f9ae1646cd3f151bf to < 640a604585aa30f93e39b17d4d6ba69fcb1e66c9 (affected · git)Default: unaffected Linux · cna
Linux Linux 4.15 (affected)0 to < 4.15 (unaffected · semver)5.15.126 through 5.15.* (unaffected · semver)6.1.45 through 6.1.* (unaffected · semver)6.4.10 through 6.4.* (unaffected · semver)6.5 and later (unaffected · original_commit_for_fix)Default: affected Linux · cna

Weaknesses

0

No weakness assertions.

References

4

Provider assertions

1

Linux · cna

bpf, cpumap: Make sure kthread is running before map update returns

Provenance

Schema
5.2
Searchable
yes
Content hash
f766d9ecd0a78d7540bbee45de88ff40ac3930fdc548cb4194baba97e4fd4c29
Ingested
23 Sep 2026, 08:14:56 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected