CVE-2023-53441
published medium CVSS 3.1 · 5.5bpf: cpumap: Fix memory leak in cpu_map_update_elem
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linux6710e1126934d8b4372b4d2f9ae1646cd3f151bf to < d26299f50f5ea8f0aeb5d49e659c31f64233c816 · 6710e1126934d8b4372b4d2f9ae1646cd3f151bf to < b11a9b4f28cb6ff69ef7e69809e5f7fffeac9030 · 6710e1126934d8b4372b4d2f9ae1646cd3f151bf to < a957ac8e0b5ffb5797382a6adbafd005a5f72851 · 6710e1126934d8b4372b4d2f9ae1646cd3f151bf to < 4369016497319a9635702da010d02af1ebb1849d · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux4.15 (affected) · 0 to < 4.15 (unaffected · semver) · 5.15.121 through 5.15.* (unaffected · semver) · 6.1.40 through 6.1.* (unaffected · semver) · 6.4.5 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-025 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2023-299 | 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 / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| 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: Fix memory leak in cpu_map_update_elem Syzkaller reported a memory leak as follows: BUG: memory leak unreferenced object 0xff110001198ef748 (size 192): comm "syz-executor.3", pid 17672, jiffies 4298118891 (age 9.906s) hex dump (first 32 bytes): 00 00 00 00 4a 19 00 00 80 ad e3 e4 fe ff c0 00 ....J........... 00 b2 d3 0c 01 00 11 ff 28 f5 8e 19 01 00 11 ff ........(....... backtrace: [<ffffffffadd28087>] __cpu_map_entry_alloc+0xf7/0xb00 [<ffffffffadd28d8e>] cpu_map_update_elem+0x2fe/0x3d0 [<ffffffffadc6d0fd>] bpf_map_update_value.isra.0+0x2bd/0x520 [<ffffffffadc7349b>] map_update_elem+0x4cb/0x720 [<ffffffffadc7d983>] __se_sys_bpf+0x8c3/0xb90 [<ffffffffb029cc80>] do_syscall_64+0x30/0x40 [<ffffffffb0400099>] entry_SYSCALL_64_after_hwframe+0x61/0xc6 BUG: memory leak unreferenced object 0xff110001198ef528 (size 192): comm "syz-executor.3", pid 17672, jiffies 4298118891 (age 9.906s) hex dump (first 32 bytes): 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ backtrace: [<ffffffffadd281f0>] __cpu_map_entry_alloc+0x260/0xb00 [<ffffffffadd28d8e>] cpu_map_update_elem+0x2fe/0x3d0 [<ffffffffadc6d0fd>] bpf_map_update_value.isra.0+0x2bd/0x520 [<ffffffffadc7349b>] map_update_elem+0x4cb/0x720 [<ffffffffadc7d983>] __se_sys_bpf+0x8c3/0xb90 [<ffffffffb029cc80>] do_syscall_64+0x30/0x40 [<ffffffffb0400099>] entry_SYSCALL_64_after_hwframe+0x61/0xc6 BUG: memory leak unreferenced object 0xff1100010fd93d68 (size 8): comm "syz-executor.3", pid 17672, jiffies 4298118891 (age 9.906s) hex dump (first 8 bytes): 00 00 00 00 00 00 00 00 ........ backtrace: [<ffffffffade5db3e>] kvmalloc_node+0x11e/0x170 [<ffffffffadd28280>] __cpu_map_entry_alloc+0x2f0/0xb00 [<ffffffffadd28d8e>] cpu_map_update_elem+0x2fe/0x3d0 [<ffffffffadc6d0fd>] bpf_map_update_value.isra.0+0x2bd/0x520 [<ffffffffadc7349b>] map_update_elem+0x4cb/0x720 [<ffffffffadc7d983>] __se_sys_bpf+0x8c3/0xb90 [<ffffffffb029cc80>] do_syscall_64+0x30/0x40 [<ffffffffb0400099>] entry_SYSCALL_64_after_hwframe+0x61/0xc6 In the cpu_map_update_elem flow, when kthread_stop is called before calling the threadfn of rcpu->kthread, since the KTHREAD_SHOULD_STOP bit of kthread has been set by kthread_stop, the threadfn of rcpu->kthread will never be executed, and rcpu->refcnt will never be 0, which will lead to the allocated rcpu, rcpu->queue and rcpu->queue->queue cannot be released. Calling kthread_stop before executing kthread's threadfn will return -EINTR. We can complete the release of memory resources in this state.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 5.5 / 10
- Severity
- medium
- Provider
- CISA-ADP · adp
- Vector string
- CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | 6710e1126934d8b4372b4d2f9ae1646cd3f151bf to < d26299f50f5ea8f0aeb5d49e659c31f64233c816 (affected · git)6710e1126934d8b4372b4d2f9ae1646cd3f151bf to < b11a9b4f28cb6ff69ef7e69809e5f7fffeac9030 (affected · git)6710e1126934d8b4372b4d2f9ae1646cd3f151bf to < a957ac8e0b5ffb5797382a6adbafd005a5f72851 (affected · git)6710e1126934d8b4372b4d2f9ae1646cd3f151bf to < 4369016497319a9635702da010d02af1ebb1849d (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 4.15 (affected)0 to < 4.15 (unaffected · semver)5.15.121 through 5.15.* (unaffected · semver)6.1.40 through 6.1.* (unaffected · semver)6.4.5 through 6.4.* (unaffected · semver)6.5 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
1- CWE-401 CWE-401 Missing Release of Memory after Effective Lifetime
References
4Provider assertions
2Linux · cna
bpf: cpumap: Fix memory leak in cpu_map_update_elem
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 721b36bcfa434e359f532aa149945693cd284a27aa29bdf478ab1c97812d40e5
- Ingested
- 23 Sep 2026, 08:14:56 UTC
- Source record
- Official CVE record