CVE-2024-43910
published high CVSS 3.1 · 7.8bpf: add missing check_func_arg_reg_off() to prevent out-of-bounds memory accesses
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linuxa64bfe618665ea9c722f922cba8c6e3234eac5ac to < 13663a7c644bf1dedaf461d07252db5d76c8759a · a64bfe618665ea9c722f922cba8c6e3234eac5ac to < ec2b9a5e11e51fea1bb04c1e7e471952e887e874 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux6.8 (affected) · 0 to < 6.8 (unaffected · semver) · 6.10.5 through 6.10.* (unaffected · semver) · 6.11 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Oracle Linux | 9 | bpftoolaarch64 | Advisory build | 0:7.5.0-802.el9_6 | ELSA-2025-6966 |
| Red Hat Enterprise Linux | RHEL-9 | kernelaarch64 | Advisory build | 5.14.0-570.12.1.el9_6 | RHSA-2025:6966 |
| Oracle Linux | 9 | bpftoolx86_64 | Advisory build | 0:7.5.0-802.el9_6 | ELSA-2025-6966 |
| Oracle Linux | 9 | kernelx86_64 | Advisory build | 0:5.14.0-570.12.1.0.1.el9_6 | ELSA-2025-6966 |
Show 96 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Oracle Linux | 9 | kernel-abi-stablelistsx86_64 | Advisory build | 0:5.14.0-570.12.1.0.1.el9_6 | ELSA-2025-6966 |
| Oracle Linux | 9 | kernel-coreaarch64 | Advisory build | 0:5.14.0-570.12.1.0.1.el9_6 | ELSA-2025-6966 |
| Oracle Linux | 9 | kernel-corex86_64 | Advisory build | 0:5.14.0-570.12.1.0.1.el9_6 | ELSA-2025-6966 |
| Oracle Linux | 9 | kernel-cross-headersaarch64 | Advisory build | 0:5.14.0-570.12.1.0.1.el9_6 | ELSA-2025-6966 |
| Oracle Linux | 9 | kernel-cross-headersx86_64 | Advisory build | 0:5.14.0-570.12.1.0.1.el9_6 | ELSA-2025-6966 |
| Oracle Linux | 9 | kernel-debugx86_64 | Advisory build | 0:5.14.0-570.12.1.0.1.el9_6 | ELSA-2025-6966 |
| Oracle Linux | 9 | kernel-debug-corex86_64 | Advisory build | 0:5.14.0-570.12.1.0.1.el9_6 | ELSA-2025-6966 |
| Oracle Linux | 9 | kernel-debug-develx86_64 | Advisory build | 0:5.14.0-570.12.1.0.1.el9_6 | ELSA-2025-6966 |
| Oracle Linux | 9 | kernel-debug-devel-matchedx86_64 | Advisory build | 0:5.14.0-570.12.1.0.1.el9_6 | ELSA-2025-6966 |
| Oracle Linux | 9 | kernel-debug-modulesx86_64 | Advisory build | 0:5.14.0-570.12.1.0.1.el9_6 | ELSA-2025-6966 |
| Oracle Linux | 9 | kernel-debug-modules-corex86_64 | Advisory build | 0:5.14.0-570.12.1.0.1.el9_6 | ELSA-2025-6966 |
| Oracle Linux | 9 | kernel-debug-modules-extrax86_64 | Advisory build | 0:5.14.0-570.12.1.0.1.el9_6 | ELSA-2025-6966 |
| Oracle Linux | 9 | kernel-debug-uki-virtx86_64 | Advisory build | 0:5.14.0-570.12.1.0.1.el9_6 | ELSA-2025-6966 |
| Oracle Linux | 9 | kernel-develaarch64 | Advisory build | 0:5.14.0-570.12.1.0.1.el9_6 | ELSA-2025-6966 |
| Oracle Linux | 9 | kernel-develx86_64 | Advisory build | 0:5.14.0-570.12.1.0.1.el9_6 | ELSA-2025-6966 |
| Oracle Linux | 9 | kernel-devel-matchedx86_64 | Advisory build | 0:5.14.0-570.12.1.0.1.el9_6 | ELSA-2025-6966 |
| Oracle Linux | 9 | kernel-docx86_64 | Advisory build | 0:5.14.0-570.12.1.0.1.el9_6 | ELSA-2025-6966 |
| Oracle Linux | 9 | kernel-headersaarch64 | Advisory build | 0:5.14.0-570.12.1.0.1.el9_6 | ELSA-2025-6966 |
| Oracle Linux | 9 | kernel-headersx86_64 | Advisory build | 0:5.14.0-570.12.1.0.1.el9_6 | ELSA-2025-6966 |
| Oracle Linux | 9 | kernel-modulesx86_64 | Advisory build | 0:5.14.0-570.12.1.0.1.el9_6 | ELSA-2025-6966 |
| Oracle Linux | 9 | kernel-modules-coreaarch64 | Advisory build | 0:5.14.0-570.12.1.0.1.el9_6 | ELSA-2025-6966 |
| Oracle Linux | 9 | kernel-modules-corex86_64 | Advisory build | 0:5.14.0-570.12.1.0.1.el9_6 | ELSA-2025-6966 |
| Oracle Linux | 9 | kernel-modules-extrax86_64 | Advisory build | 0:5.14.0-570.12.1.0.1.el9_6 | ELSA-2025-6966 |
| Oracle Linux | 9 | kernel-toolsaarch64 | Advisory build | 0:5.14.0-570.12.1.0.1.el9_6 | ELSA-2025-6966 |
| Oracle Linux | 9 | kernel-toolsx86_64 | Advisory build | 0:5.14.0-570.12.1.0.1.el9_6 | ELSA-2025-6966 |
| Oracle Linux | 9 | kernel-tools-libsaarch64 | Advisory build | 0:5.14.0-570.12.1.0.1.el9_6 | ELSA-2025-6966 |
| Oracle Linux | 9 | kernel-tools-libsx86_64 | Advisory build | 0:5.14.0-570.12.1.0.1.el9_6 | ELSA-2025-6966 |
| Oracle Linux | 9 | kernel-tools-libs-develaarch64 | Advisory build | 0:5.14.0-570.12.1.0.1.el9_6 | ELSA-2025-6966 |
| Oracle Linux | 9 | kernel-tools-libs-develx86_64 | Advisory build | 0:5.14.0-570.12.1.0.1.el9_6 | ELSA-2025-6966 |
| Oracle Linux | 9 | kernel-uki-virtx86_64 | Advisory build | 0:5.14.0-570.12.1.0.1.el9_6 | ELSA-2025-6966 |
| Oracle Linux | 9 | kernel-uki-virt-addonsx86_64 | Advisory build | 0:5.14.0-570.12.1.0.1.el9_6 | ELSA-2025-6966 |
| Oracle Linux | 9 | libperfaarch64 | Advisory build | 0:5.14.0-570.12.1.0.1.el9_6 | ELSA-2025-6966 |
| Oracle Linux | 9 | libperfx86_64 | Advisory build | 0:5.14.0-570.12.1.0.1.el9_6 | ELSA-2025-6966 |
| Oracle Linux | 9 | perfaarch64 | Advisory build | 0:5.14.0-570.12.1.0.1.el9_6 | ELSA-2025-6966 |
| Oracle Linux | 9 | perfx86_64 | Advisory build | 0:5.14.0-570.12.1.0.1.el9_6 | ELSA-2025-6966 |
| Oracle Linux | 9 | python3-perfaarch64 | Advisory build | 0:5.14.0-570.12.1.0.1.el9_6 | ELSA-2025-6966 |
| Oracle Linux | 9 | python3-perfx86_64 | Advisory build | 0:5.14.0-570.12.1.0.1.el9_6 | ELSA-2025-6966 |
| Oracle Linux | 9 | rtlaaarch64 | Advisory build | 0:5.14.0-570.12.1.0.1.el9_6 | ELSA-2025-6966 |
| Oracle Linux | 9 | rtlax86_64 | Advisory build | 0:5.14.0-570.12.1.0.1.el9_6 | ELSA-2025-6966 |
| Oracle Linux | 9 | rvaarch64 | Advisory build | 0:5.14.0-570.12.1.0.1.el9_6 | ELSA-2025-6966 |
| Oracle Linux | 9 | rvx86_64 | Advisory build | 0:5.14.0-570.12.1.0.1.el9_6 | ELSA-2025-6966 |
| Red Hat Enterprise Linux | RHEL-9 | kernelppc64le | Advisory build | 5.14.0-570.12.1.el9_6 | RHSA-2025:6966 |
| Red Hat Enterprise Linux | RHEL-9 | kernels390x | Advisory build | 5.14.0-570.12.1.el9_6 | RHSA-2025:6966 |
| Red Hat Enterprise Linux | RHEL-9 | kernelsrc | Advisory build | 5.14.0-570.12.1.el9_6 | RHSA-2025:6966 |
| Red Hat Enterprise Linux | RHEL-9 | kernelx86_64 | Advisory build | 5.14.0-570.12.1.el9_6 | RHSA-2025:6966 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-64kaarch64 | Advisory build | 5.14.0-570.12.1.el9_6 | RHSA-2025:6966 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-64k-coreaarch64 | Advisory build | 5.14.0-570.12.1.el9_6 | RHSA-2025:6966 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-64k-debugaarch64 | Advisory build | 5.14.0-570.12.1.el9_6 | RHSA-2025:6966 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-64k-debug-coreaarch64 | Advisory build | 5.14.0-570.12.1.el9_6 | RHSA-2025:6966 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-64k-debug-debuginfoaarch64 | Advisory build | 5.14.0-570.12.1.el9_6 | RHSA-2025:6966 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-64k-debug-develaarch64 | Advisory build | 5.14.0-570.12.1.el9_6 | RHSA-2025:6966 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-64k-debug-devel-matchedaarch64 | Advisory build | 5.14.0-570.12.1.el9_6 | RHSA-2025:6966 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-64k-debug-modulesaarch64 | Advisory build | 5.14.0-570.12.1.el9_6 | RHSA-2025:6966 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-64k-debug-modules-coreaarch64 | Advisory build | 5.14.0-570.12.1.el9_6 | RHSA-2025:6966 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-64k-debug-modules-extraaarch64 | Advisory build | 5.14.0-570.12.1.el9_6 | RHSA-2025:6966 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-64k-debuginfoaarch64 | Advisory build | 5.14.0-570.12.1.el9_6 | RHSA-2025:6966 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-64k-develaarch64 | Advisory build | 5.14.0-570.12.1.el9_6 | RHSA-2025:6966 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-64k-devel-matchedaarch64 | Advisory build | 5.14.0-570.12.1.el9_6 | RHSA-2025:6966 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-64k-modulesaarch64 | Advisory build | 5.14.0-570.12.1.el9_6 | RHSA-2025:6966 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-64k-modules-coreaarch64 | Advisory build | 5.14.0-570.12.1.el9_6 | RHSA-2025:6966 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-64k-modules-extraaarch64 | Advisory build | 5.14.0-570.12.1.el9_6 | RHSA-2025:6966 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-abi-stablelistsnoarch | Advisory build | 5.14.0-570.12.1.el9_6 | RHSA-2025:6966 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-coreaarch64 | Advisory build | 5.14.0-570.12.1.el9_6 | RHSA-2025:6966 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-coreppc64le | Advisory build | 5.14.0-570.12.1.el9_6 | RHSA-2025:6966 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-cores390x | Advisory build | 5.14.0-570.12.1.el9_6 | RHSA-2025:6966 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-corex86_64 | Advisory build | 5.14.0-570.12.1.el9_6 | RHSA-2025:6966 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debugaarch64 | Advisory build | 5.14.0-570.12.1.el9_6 | RHSA-2025:6966 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debugppc64le | Advisory build | 5.14.0-570.12.1.el9_6 | RHSA-2025:6966 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debugs390x | Advisory build | 5.14.0-570.12.1.el9_6 | RHSA-2025:6966 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debugx86_64 | Advisory build | 5.14.0-570.12.1.el9_6 | RHSA-2025:6966 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-coreaarch64 | Advisory build | 5.14.0-570.12.1.el9_6 | RHSA-2025:6966 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-coreppc64le | Advisory build | 5.14.0-570.12.1.el9_6 | RHSA-2025:6966 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-cores390x | Advisory build | 5.14.0-570.12.1.el9_6 | RHSA-2025:6966 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-corex86_64 | Advisory build | 5.14.0-570.12.1.el9_6 | RHSA-2025:6966 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-debuginfoaarch64 | Advisory build | 5.14.0-570.12.1.el9_6 | RHSA-2025:6966 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-debuginfoppc64le | Advisory build | 5.14.0-570.12.1.el9_6 | RHSA-2025:6966 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-debuginfos390x | Advisory build | 5.14.0-570.12.1.el9_6 | RHSA-2025:6966 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-debuginfox86_64 | Advisory build | 5.14.0-570.12.1.el9_6 | RHSA-2025:6966 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-develaarch64 | Advisory build | 5.14.0-570.12.1.el9_6 | RHSA-2025:6966 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-develppc64le | Advisory build | 5.14.0-570.12.1.el9_6 | RHSA-2025:6966 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-devels390x | Advisory build | 5.14.0-570.12.1.el9_6 | RHSA-2025:6966 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-develx86_64 | Advisory build | 5.14.0-570.12.1.el9_6 | RHSA-2025:6966 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-devel-matchedaarch64 | Advisory build | 5.14.0-570.12.1.el9_6 | RHSA-2025:6966 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-devel-matchedppc64le | Advisory build | 5.14.0-570.12.1.el9_6 | RHSA-2025:6966 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-devel-matcheds390x | Advisory build | 5.14.0-570.12.1.el9_6 | RHSA-2025:6966 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-devel-matchedx86_64 | Advisory build | 5.14.0-570.12.1.el9_6 | RHSA-2025:6966 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-modulesaarch64 | Advisory build | 5.14.0-570.12.1.el9_6 | RHSA-2025:6966 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-modulesppc64le | Advisory build | 5.14.0-570.12.1.el9_6 | RHSA-2025:6966 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-moduless390x | Advisory build | 5.14.0-570.12.1.el9_6 | RHSA-2025:6966 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-modulesx86_64 | Advisory build | 5.14.0-570.12.1.el9_6 | RHSA-2025:6966 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-modules-coreaarch64 | Advisory build | 5.14.0-570.12.1.el9_6 | RHSA-2025:6966 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-modules-coreppc64le | Advisory build | 5.14.0-570.12.1.el9_6 | RHSA-2025:6966 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-modules-cores390x | Advisory build | 5.14.0-570.12.1.el9_6 | RHSA-2025:6966 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-modules-corex86_64 | Advisory build | 5.14.0-570.12.1.el9_6 | RHSA-2025:6966 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-modules-extraaarch64 | Advisory build | 5.14.0-570.12.1.el9_6 | RHSA-2025:6966 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-modules-extrappc64le | Advisory build | 5.14.0-570.12.1.el9_6 | RHSA-2025:6966 |
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: add missing check_func_arg_reg_off() to prevent out-of-bounds memory accesses Currently, it's possible to pass in a modified CONST_PTR_TO_DYNPTR to a global function as an argument. The adverse effects of this is that BPF helpers can continue to make use of this modified CONST_PTR_TO_DYNPTR from within the context of the global function, which can unintentionally result in out-of-bounds memory accesses and therefore compromise overall system stability i.e. [ 244.157771] BUG: KASAN: slab-out-of-bounds in bpf_dynptr_data+0x137/0x140 [ 244.161345] Read of size 8 at addr ffff88810914be68 by task test_progs/302 [ 244.167151] CPU: 0 PID: 302 Comm: test_progs Tainted: G O E 6.10.0-rc3-00131-g66b586715063 #533 [ 244.174318] Call Trace: [ 244.175787] <TASK> [ 244.177356] dump_stack_lvl+0x66/0xa0 [ 244.179531] print_report+0xce/0x670 [ 244.182314] ? __virt_addr_valid+0x200/0x3e0 [ 244.184908] kasan_report+0xd7/0x110 [ 244.187408] ? bpf_dynptr_data+0x137/0x140 [ 244.189714] ? bpf_dynptr_data+0x137/0x140 [ 244.192020] bpf_dynptr_data+0x137/0x140 [ 244.194264] bpf_prog_b02a02fdd2bdc5fa_global_call_bpf_dynptr_data+0x22/0x26 [ 244.198044] bpf_prog_b0fe7b9d7dc3abde_callback_adjust_bpf_dynptr_reg_off+0x1f/0x23 [ 244.202136] bpf_user_ringbuf_drain+0x2c7/0x570 [ 244.204744] ? 0xffffffffc0009e58 [ 244.206593] ? __pfx_bpf_user_ringbuf_drain+0x10/0x10 [ 244.209795] bpf_prog_33ab33f6a804ba2d_user_ringbuf_callback_const_ptr_to_dynptr_reg_off+0x47/0x4b [ 244.215922] bpf_trampoline_6442502480+0x43/0xe3 [ 244.218691] __x64_sys_prlimit64+0x9/0xf0 [ 244.220912] do_syscall_64+0xc1/0x1d0 [ 244.223043] entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 244.226458] RIP: 0033:0x7ffa3eb8f059 [ 244.228582] Code: 08 89 e8 5b 5d c3 66 2e 0f 1f 84 00 00 00 00 00 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d 8f 1d 0d 00 f7 d8 64 89 01 48 [ 244.241307] RSP: 002b:00007ffa3e9c6eb8 EFLAGS: 00000206 ORIG_RAX: 000000000000012e [ 244.246474] RAX: ffffffffffffffda RBX: 00007ffa3e9c7cdc RCX: 00007ffa3eb8f059 [ 244.250478] RDX: 00007ffa3eb162b4 RSI: 0000000000000000 RDI: 00007ffa3e9c7fb0 [ 244.255396] RBP: 00007ffa3e9c6ed0 R08: 00007ffa3e9c76c0 R09: 0000000000000000 [ 244.260195] R10: 0000000000000000 R11: 0000000000000206 R12: ffffffffffffff80 [ 244.264201] R13: 000000000000001c R14: 00007ffc5d6b4260 R15: 00007ffa3e1c7000 [ 244.268303] </TASK> Add a check_func_arg_reg_off() to the path in which the BPF verifier verifies the arguments of global function arguments, specifically those which take an argument of type ARG_PTR_TO_DYNPTR | MEM_RDONLY. Also, process_dynptr_func() doesn't appear to perform any explicit and strict type matching on the supplied register type, so let's also enforce that a register either type PTR_TO_STACK or CONST_PTR_TO_DYNPTR is by the caller.
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
- 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 - The only trigger is `BPF_BTF_LOAD` plus `BPF_PROG_LOAD` on the `bpf(2)` syscall followed by running the program; no remote or adjacent peer data reaches `btf_check_func_arg_match()`. This matches the standard BPF-subsystem classification of Local. AC:L - The attacker supplies the offset himself as a `BPF_ALU64_IMM(BPF_ADD, R1, K)` immediate, which `can_skip_alu_sanitation()` exempts from all speculative masking and `adjust_ptr_min_max_vals()` folds verbatim into `dst_reg->off`, so every precondition is chosen at program-authoring time. There is no race, no memory-layout luck, and no non-default config — global subprogs and dynptrs are ordinary CO-RE/libbpf features. PR:L - Reaching the path needs CAP_BPF, which is not root and which `bpf_token_capable()` deliberately grants at `ns_capable()` level through a delegated bpffs BPF token — a feature present throughout the affected 6.8–6.10 range — so an unprivileged user in a container or a non-root CAP_BPF service account qualifies. CAP_BPF is specifically not supposed to confer kernel memory access; the verifier is the boundary being broken here. UI:N - The attacker loads and triggers his own BPF program end to end via the `bpf(2)` syscall and a self-attached hook. No victim action of any kind is involved. S:U - The forged dynptr corrupts kernel memory within the same kernel security authority that the BPF program already runs under. No hypervisor, IOMMU, or other authority boundary is crossed. C:H - With `data`/`size`/`offset` read out of an attacker-placed fake `struct bpf_dynptr_kern`, `bpf_dynptr_read()` performs a `memcpy` from `ptr->data + ptr->offset` into the program's stack, yielding an arbitrary kernel read of up to the 24-bit size mask; the committed KASAN report is only the mildest manifestation. I:H - `bpf_dynptr_write()` takes `ARG_PTR_TO_DYNPTR | MEM_RDONLY` and so accepts the same forged pointer inside the subprog, reaching `memmove(dst->data + dst->offset + offset, src, len)` — an arbitrary kernel write, and `bpf_dynptr_data()` additionally hands back a `PTR_TO_MEM` slice at that address. That is a direct local privilege-escalation primitive. A:H - Even without exploitation, dereferencing `real_dynptr + K` for an arbitrary `s32` K reads a wild kernel address, producing the slab-out-of-bounds splat in the commit message and, for offsets into unmapped memory, an oops that panics the kernel.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | a64bfe618665ea9c722f922cba8c6e3234eac5ac to < 13663a7c644bf1dedaf461d07252db5d76c8759a (affected · git)a64bfe618665ea9c722f922cba8c6e3234eac5ac to < ec2b9a5e11e51fea1bb04c1e7e471952e887e874 (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 6.8 (affected)0 to < 6.8 (unaffected · semver)6.10.5 through 6.10.* (unaffected · semver)6.11 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
2Provider assertions
2Linux · cna
bpf: add missing check_func_arg_reg_off() to prevent out-of-bounds memory accesses
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 62468d07a18491f1e2767217833f4022038ccc9407432949e18f7ef324d10983
- Ingested
- 23 Sep 2026, 08:27:16 UTC
- Source record
- Official CVE record