CVE-2022-48940
published high CVSS 3.1 · 7.8bpf: Fix crash due to incorrect copy_map_value
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linux68134668c17f31f51930478f75495b552a411550 to < 719d1c2524c89ada78c4c9202641c1d9e942a322 · 68134668c17f31f51930478f75495b552a411550 to < eca9bd215d2233de79d930fa97aefbce03247a98 · 68134668c17f31f51930478f75495b552a411550 to < a8abb0c3dc1e28454851a00f8b7333d9695d566c · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux5.15 (affected) · 0 to < 5.15 (unaffected · semver) · 5.15.26 through 5.15.* (unaffected · semver) · 5.16.12 through 5.16.* (unaffected · semver) · 5.17 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 |
| SUSE / openSUSE | SLE-15-SP5 | cluster-md-kmp-defaultaarch64 | Advisory build | 5.14.21-150500.55.80.2 | SUSE-SU-2024:3483-1 |
| SUSE / openSUSE | SLE-15-SP5 | cluster-md-kmp-defaultppc64le | Advisory build | 5.14.21-150500.55.80.2 | SUSE-SU-2024:3483-1 |
| SUSE / openSUSE | SLE-15-SP5 | cluster-md-kmp-defaults390x | Advisory build | 5.14.21-150500.55.80.2 | SUSE-SU-2024:3483-1 |
| SUSE / openSUSE | SLE-15-SP5 | cluster-md-kmp-defaultx86_64 | Advisory build | 5.14.21-150500.55.80.2 | SUSE-SU-2024:3483-1 |
Show 96 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| SUSE / openSUSE | SLE-15-SP5 | cluster-md-kmp-rtx86_64 | Advisory build | 5.14.21-150500.13.67.3 | SUSE-SU-2024:3209-1 |
| SUSE / openSUSE | SLE-15-SP5 | dlm-kmp-defaultaarch64 | Advisory build | 5.14.21-150500.55.80.2 | SUSE-SU-2024:3483-1 |
| SUSE / openSUSE | SLE-15-SP5 | dlm-kmp-defaultppc64le | Advisory build | 5.14.21-150500.55.80.2 | SUSE-SU-2024:3483-1 |
| SUSE / openSUSE | SLE-15-SP5 | dlm-kmp-defaults390x | Advisory build | 5.14.21-150500.55.80.2 | SUSE-SU-2024:3483-1 |
| SUSE / openSUSE | SLE-15-SP5 | dlm-kmp-defaultx86_64 | Advisory build | 5.14.21-150500.55.80.2 | SUSE-SU-2024:3483-1 |
| SUSE / openSUSE | SLE-15-SP5 | dlm-kmp-rtx86_64 | Advisory build | 5.14.21-150500.13.67.3 | SUSE-SU-2024:3209-1 |
| SUSE / openSUSE | SLE-15-SP5 | gfs2-kmp-defaultaarch64 | Advisory build | 5.14.21-150500.55.80.2 | SUSE-SU-2024:3483-1 |
| SUSE / openSUSE | SLE-15-SP5 | gfs2-kmp-defaultppc64le | Advisory build | 5.14.21-150500.55.80.2 | SUSE-SU-2024:3483-1 |
| SUSE / openSUSE | SLE-15-SP5 | gfs2-kmp-defaults390x | Advisory build | 5.14.21-150500.55.80.2 | SUSE-SU-2024:3483-1 |
| SUSE / openSUSE | SLE-15-SP5 | gfs2-kmp-defaultx86_64 | Advisory build | 5.14.21-150500.55.80.2 | SUSE-SU-2024:3483-1 |
| SUSE / openSUSE | SLE-15-SP5 | gfs2-kmp-rtx86_64 | Advisory build | 5.14.21-150500.13.67.3 | SUSE-SU-2024:3209-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-64kbaarch64 | Advisory build | 5.14.21-150500.55.80.2 | SUSE-SU-2024:3483-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-64kb-develaarch64 | Advisory build | 5.14.21-150500.55.80.2 | SUSE-SU-2024:3483-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-azureaarch64 | Advisory build | 5.14.21-150500.33.66.1 | SUSE-SU-2024:3190-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-azurex86_64 | Advisory build | 5.14.21-150500.33.66.1 | SUSE-SU-2024:3190-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-azure-develaarch64 | Advisory build | 5.14.21-150500.33.66.1 | SUSE-SU-2024:3190-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-azure-develx86_64 | Advisory build | 5.14.21-150500.33.66.1 | SUSE-SU-2024:3190-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-defaultaarch64 | Advisory build | 5.14.21-150500.55.80.2 | SUSE-SU-2024:3483-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-defaultppc64le | Advisory build | 5.14.21-150500.55.80.2 | SUSE-SU-2024:3483-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-defaults390x | Advisory build | 5.14.21-150500.55.80.2 | SUSE-SU-2024:3483-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-defaultx86_64 | Advisory build | 5.14.21-150500.55.80.2 | SUSE-SU-2024:3483-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-default-baseaarch64 | Advisory build | 5.14.21-150500.55.80.2.150500.6.35.6 | SUSE-SU-2024:3483-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-default-baseppc64le | Advisory build | 5.14.21-150500.55.80.2.150500.6.35.6 | SUSE-SU-2024:3483-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-default-basex86_64 | Advisory build | 5.14.21-150500.55.80.2.150500.6.35.6 | SUSE-SU-2024:3483-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-default-develaarch64 | Advisory build | 5.14.21-150500.55.80.2 | SUSE-SU-2024:3483-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-default-develppc64le | Advisory build | 5.14.21-150500.55.80.2 | SUSE-SU-2024:3483-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-default-devels390x | Advisory build | 5.14.21-150500.55.80.2 | SUSE-SU-2024:3483-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-default-develx86_64 | Advisory build | 5.14.21-150500.55.80.2 | SUSE-SU-2024:3483-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-default-extrax86_64 | Advisory build | 5.14.21-150500.55.80.2 | SUSE-SU-2024:3483-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-default-livepatchppc64le | Advisory build | 5.14.21-150500.55.80.2 | SUSE-SU-2024:3483-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-default-livepatchs390x | Advisory build | 5.14.21-150500.55.80.2 | SUSE-SU-2024:3483-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-default-livepatchx86_64 | Advisory build | 5.14.21-150500.55.80.2 | SUSE-SU-2024:3483-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-default-livepatch-develppc64le | Advisory build | 5.14.21-150500.55.80.2 | SUSE-SU-2024:3483-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-default-livepatch-devels390x | Advisory build | 5.14.21-150500.55.80.2 | SUSE-SU-2024:3483-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-default-livepatch-develx86_64 | Advisory build | 5.14.21-150500.55.80.2 | SUSE-SU-2024:3483-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-develnoarch | Advisory build | 5.14.21-150500.55.80.2 | SUSE-SU-2024:3483-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-devel-azurenoarch | Advisory build | 5.14.21-150500.33.66.1 | SUSE-SU-2024:3190-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-devel-rtnoarch | Advisory build | 5.14.21-150500.13.67.3 | SUSE-SU-2024:3209-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-docsnoarch | Advisory build | 5.14.21-150500.55.80.2 | SUSE-SU-2024:3483-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-livepatch-5_14_21-150500_13_67-rtx86_64 | Advisory build | 1-150500.11.3.2 | SUSE-SU-2024:3209-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-livepatch-5_14_21-150500_55_80-defaultppc64le | Advisory build | 1-150500.11.3.2 | SUSE-SU-2024:3483-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-livepatch-5_14_21-150500_55_80-defaults390x | Advisory build | 1-150500.11.3.2 | SUSE-SU-2024:3483-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-livepatch-5_14_21-150500_55_80-defaultx86_64 | Advisory build | 1-150500.11.3.2 | SUSE-SU-2024:3483-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-macrosnoarch | Advisory build | 5.14.21-150500.55.80.2 | SUSE-SU-2024:3483-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-obs-buildaarch64 | Advisory build | 5.14.21-150500.55.80.1 | SUSE-SU-2024:3483-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-obs-buildppc64le | Advisory build | 5.14.21-150500.55.80.1 | SUSE-SU-2024:3483-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-obs-builds390x | Advisory build | 5.14.21-150500.55.80.1 | SUSE-SU-2024:3483-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-obs-buildx86_64 | Advisory build | 5.14.21-150500.55.80.1 | SUSE-SU-2024:3483-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-rtx86_64 | Advisory build | 5.14.21-150500.13.67.3 | SUSE-SU-2024:3209-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-rt-develx86_64 | Advisory build | 5.14.21-150500.13.67.3 | SUSE-SU-2024:3209-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-rt-vdsox86_64 | Advisory build | 5.14.21-150500.13.67.3 | SUSE-SU-2024:3209-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-rt_debugx86_64 | Advisory build | 5.14.21-150500.13.67.3 | SUSE-SU-2024:3209-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-rt_debug-develx86_64 | Advisory build | 5.14.21-150500.13.67.3 | SUSE-SU-2024:3209-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-rt_debug-vdsox86_64 | Advisory build | 5.14.21-150500.13.67.3 | SUSE-SU-2024:3209-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-sourcenoarch | Advisory build | 5.14.21-150500.55.80.2 | SUSE-SU-2024:3483-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-source-azurenoarch | Advisory build | 5.14.21-150500.33.66.1 | SUSE-SU-2024:3190-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-source-rtnoarch | Advisory build | 5.14.21-150500.13.67.3 | SUSE-SU-2024:3209-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-symsaarch64 | Advisory build | 5.14.21-150500.55.80.1 | SUSE-SU-2024:3483-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-symsppc64le | Advisory build | 5.14.21-150500.55.80.1 | SUSE-SU-2024:3483-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-symss390x | Advisory build | 5.14.21-150500.55.80.1 | SUSE-SU-2024:3483-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-symsx86_64 | Advisory build | 5.14.21-150500.55.80.1 | SUSE-SU-2024:3483-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-syms-azureaarch64 | Advisory build | 5.14.21-150500.33.66.1 | SUSE-SU-2024:3190-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-syms-azurex86_64 | Advisory build | 5.14.21-150500.33.66.1 | SUSE-SU-2024:3190-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-syms-rtx86_64 | Advisory build | 5.14.21-150500.13.67.1 | SUSE-SU-2024:3209-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-zfcpdumps390x | Advisory build | 5.14.21-150500.55.80.2 | SUSE-SU-2024:3483-1 |
| SUSE / openSUSE | SLE-15-SP5 | ocfs2-kmp-defaultaarch64 | Advisory build | 5.14.21-150500.55.80.2 | SUSE-SU-2024:3483-1 |
| SUSE / openSUSE | SLE-15-SP5 | ocfs2-kmp-defaultppc64le | Advisory build | 5.14.21-150500.55.80.2 | SUSE-SU-2024:3483-1 |
| SUSE / openSUSE | SLE-15-SP5 | ocfs2-kmp-defaults390x | Advisory build | 5.14.21-150500.55.80.2 | SUSE-SU-2024:3483-1 |
| SUSE / openSUSE | SLE-15-SP5 | ocfs2-kmp-defaultx86_64 | Advisory build | 5.14.21-150500.55.80.2 | SUSE-SU-2024:3483-1 |
| SUSE / openSUSE | SLE-15-SP5 | ocfs2-kmp-rtx86_64 | Advisory build | 5.14.21-150500.13.67.3 | SUSE-SU-2024:3209-1 |
| SUSE / openSUSE | SLE-15-SP5 | reiserfs-kmp-defaultaarch64 | Advisory build | 5.14.21-150500.55.80.2 | SUSE-SU-2024:3483-1 |
| SUSE / openSUSE | SLE-15-SP5 | reiserfs-kmp-defaultppc64le | Advisory build | 5.14.21-150500.55.80.2 | SUSE-SU-2024:3483-1 |
| SUSE / openSUSE | SLE-15-SP5 | reiserfs-kmp-defaults390x | Advisory build | 5.14.21-150500.55.80.2 | SUSE-SU-2024:3483-1 |
| SUSE / openSUSE | SLE-15-SP5 | reiserfs-kmp-defaultx86_64 | Advisory build | 5.14.21-150500.55.80.2 | SUSE-SU-2024:3483-1 |
| SUSE / openSUSE | SLE-5 | kernel-defaultaarch64 | Advisory build | 5.14.21-150500.55.80.2 | SUSE-SU-2024:3483-1 |
| SUSE / openSUSE | SLE-5 | kernel-defaultppc64le | Advisory build | 5.14.21-150500.55.80.2 | SUSE-SU-2024:3483-1 |
| SUSE / openSUSE | SLE-5 | kernel-defaults390x | Advisory build | 5.14.21-150500.55.80.2 | SUSE-SU-2024:3483-1 |
| SUSE / openSUSE | SLE-5 | kernel-defaultx86_64 | Advisory build | 5.14.21-150500.55.80.2 | SUSE-SU-2024:3483-1 |
| SUSE / openSUSE | SLE-5 | kernel-default-baseaarch64 | Advisory build | 5.14.21-150500.55.80.2.150500.6.35.6 | SUSE-SU-2024:3483-1 |
| SUSE / openSUSE | SLE-5 | kernel-default-basex86_64 | Advisory build | 5.14.21-150500.55.80.2.150500.6.35.6 | SUSE-SU-2024:3483-1 |
| SUSE / openSUSE | SLE-5 | kernel-rtx86_64 | Advisory build | 5.14.21-150500.13.67.3 | SUSE-SU-2024:3209-1 |
| SUSE / openSUSE | SLE-5 | kernel-source-rtnoarch | Advisory build | 5.14.21-150500.13.67.3 | SUSE-SU-2024:3209-1 |
| SUSE / openSUSE | openSUSE-Leap-15.5 | cluster-md-kmp-64kbaarch64 | Advisory build | 5.14.21-150500.55.80.2 | SUSE-SU-2024:3483-1 |
| SUSE / openSUSE | openSUSE-Leap-15.5 | cluster-md-kmp-azureaarch64 | Advisory build | 5.14.21-150500.33.66.1 | SUSE-SU-2024:3190-1 |
| SUSE / openSUSE | openSUSE-Leap-15.5 | cluster-md-kmp-azurex86_64 | Advisory build | 5.14.21-150500.33.66.1 | SUSE-SU-2024:3190-1 |
| SUSE / openSUSE | openSUSE-Leap-15.5 | cluster-md-kmp-defaultaarch64 | Advisory build | 5.14.21-150500.55.80.2 | SUSE-SU-2024:3483-1 |
| SUSE / openSUSE | openSUSE-Leap-15.5 | cluster-md-kmp-defaultppc64le | Advisory build | 5.14.21-150500.55.80.2 | SUSE-SU-2024:3483-1 |
| SUSE / openSUSE | openSUSE-Leap-15.5 | cluster-md-kmp-defaults390x | Advisory build | 5.14.21-150500.55.80.2 | SUSE-SU-2024:3483-1 |
| SUSE / openSUSE | openSUSE-Leap-15.5 | cluster-md-kmp-defaultx86_64 | Advisory build | 5.14.21-150500.55.80.2 | SUSE-SU-2024:3483-1 |
| SUSE / openSUSE | openSUSE-Leap-15.5 | cluster-md-kmp-rtx86_64 | Advisory build | 5.14.21-150500.13.67.3 | SUSE-SU-2024:3209-1 |
| SUSE / openSUSE | openSUSE-Leap-15.5 | dlm-kmp-64kbaarch64 | Advisory build | 5.14.21-150500.55.80.2 | SUSE-SU-2024:3483-1 |
| SUSE / openSUSE | openSUSE-Leap-15.5 | dlm-kmp-azureaarch64 | Advisory build | 5.14.21-150500.33.66.1 | SUSE-SU-2024:3190-1 |
| SUSE / openSUSE | openSUSE-Leap-15.5 | dlm-kmp-azurex86_64 | Advisory build | 5.14.21-150500.33.66.1 | SUSE-SU-2024:3190-1 |
| SUSE / openSUSE | openSUSE-Leap-15.5 | dlm-kmp-defaultaarch64 | Advisory build | 5.14.21-150500.55.80.2 | SUSE-SU-2024:3483-1 |
| SUSE / openSUSE | openSUSE-Leap-15.5 | dlm-kmp-defaultppc64le | Advisory build | 5.14.21-150500.55.80.2 | SUSE-SU-2024:3483-1 |
| SUSE / openSUSE | openSUSE-Leap-15.5 | dlm-kmp-defaults390x | Advisory build | 5.14.21-150500.55.80.2 | SUSE-SU-2024:3483-1 |
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: Fix crash due to incorrect copy_map_value When both bpf_spin_lock and bpf_timer are present in a BPF map value, copy_map_value needs to skirt both objects when copying a value into and out of the map. However, the current code does not set both s_off and t_off in copy_map_value, which leads to a crash when e.g. bpf_spin_lock is placed in map value with bpf_timer, as bpf_map_update_elem call will be able to overwrite the other timer object. When the issue is not fixed, an overwriting can produce the following splat: [root@(none) bpf]# ./test_progs -t timer_crash [ 15.930339] bpf_testmod: loading out-of-tree module taints kernel. [ 16.037849] ================================================================== [ 16.038458] BUG: KASAN: user-memory-access in __pv_queued_spin_lock_slowpath+0x32b/0x520 [ 16.038944] Write of size 8 at addr 0000000000043ec0 by task test_progs/325 [ 16.039399] [ 16.039514] CPU: 0 PID: 325 Comm: test_progs Tainted: G OE 5.16.0+ #278 [ 16.039983] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS ArchLinux 1.15.0-1 04/01/2014 [ 16.040485] Call Trace: [ 16.040645] <TASK> [ 16.040805] dump_stack_lvl+0x59/0x73 [ 16.041069] ? __pv_queued_spin_lock_slowpath+0x32b/0x520 [ 16.041427] kasan_report.cold+0x116/0x11b [ 16.041673] ? __pv_queued_spin_lock_slowpath+0x32b/0x520 [ 16.042040] __pv_queued_spin_lock_slowpath+0x32b/0x520 [ 16.042328] ? memcpy+0x39/0x60 [ 16.042552] ? pv_hash+0xd0/0xd0 [ 16.042785] ? lockdep_hardirqs_off+0x95/0xd0 [ 16.043079] __bpf_spin_lock_irqsave+0xdf/0xf0 [ 16.043366] ? bpf_get_current_comm+0x50/0x50 [ 16.043608] ? jhash+0x11a/0x270 [ 16.043848] bpf_timer_cancel+0x34/0xe0 [ 16.044119] bpf_prog_c4ea1c0f7449940d_sys_enter+0x7c/0x81 [ 16.044500] bpf_trampoline_6442477838_0+0x36/0x1000 [ 16.044836] __x64_sys_nanosleep+0x5/0x140 [ 16.045119] do_syscall_64+0x59/0x80 [ 16.045377] ? lock_is_held_type+0xe4/0x140 [ 16.045670] ? irqentry_exit_to_user_mode+0xa/0x40 [ 16.046001] ? mark_held_locks+0x24/0x90 [ 16.046287] ? asm_exc_page_fault+0x1e/0x30 [ 16.046569] ? asm_exc_page_fault+0x8/0x30 [ 16.046851] ? lockdep_hardirqs_on+0x7e/0x100 [ 16.047137] entry_SYSCALL_64_after_hwframe+0x44/0xae [ 16.047405] RIP: 0033:0x7f9e4831718d [ 16.047602] Code: b4 0c 00 0f 05 eb a9 66 0f 1f 44 00 00 f3 0f 1e fa 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 b3 6c 0c 00 f7 d8 64 89 01 48 [ 16.048764] RSP: 002b:00007fff488086b8 EFLAGS: 00000206 ORIG_RAX: 0000000000000023 [ 16.049275] RAX: ffffffffffffffda RBX: 00007f9e48683740 RCX: 00007f9e4831718d [ 16.049747] RDX: 0000000000000000 RSI: 0000000000000000 RDI: 00007fff488086d0 [ 16.050225] RBP: 00007fff488086f0 R08: 00007fff488085d7 R09: 00007f9e4cb594a0 [ 16.050648] R10: 0000000000000000 R11: 0000000000000206 R12: 00007f9e484cde30 [ 16.051124] R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 [ 16.051608] </TASK> [ 16.051762] ==================================================================
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 bug is triggered through the local bpf() syscall (BPF_BTF_LOAD, BPF_MAP_CREATE, BPF_MAP_UPDATE_ELEM) into copy_map_value and array_map_update_elem; BPF is a local syscall interface, not reachable via network packets or adjacent protocols. AC:L - Creating an ARRAY/HASH map whose BTF value contains both bpf_spin_lock and bpf_timer, then calling BPF_MAP_UPDATE_ELEM with a crafted value, deterministically overwrites the timer object and invokes bpf_timer_cancel_and_free; no race or attacker-uncontrollable state is required. PR:L - On affected 5.15 kernels, unprivileged BPF was enabled by default (BPF_UNPRIV_DEFAULT_OFF lacked default y until 5.16), and map_check_btf imposed no bpf_capable() gate for timer+spin_lock maps, so an unprivileged local user can create the map and update elements via bpf() alone. UI:N - The attacker performs BTF load, map create, and map update themselves; no victim action such as mounting a filesystem or opening a device is required. S:U - Memory corruption is confined to the host kernel’s security authority (local privilege escalation via kernel heap corruption); this is not a VM escape, IOMMU bypass, or sandbox boundary crossing. C:H - Overwriting bpf_timer_kern with attacker-controlled bytes yields a corrupted kernel pointer passed into bpf_timer_cancel_and_free/hrtimer paths, a memory-corruption primitive that can be leveraged for arbitrary kernel reads. I:H - The same overwrite gives a controlled pointer into bpf_timer_cancel_and_free (hrtimer_cancel and kfree on attacker-chosen addresses), a classic arbitrary-free/write primitive suitable for control-flow hijacking. A:H - The demonstrated effect is a kernel oops/KASAN crash (user-memory-access in spinlock paths on the corrupted timer), and the resulting memory corruption can panic the system and is re-triggerable at will.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | 68134668c17f31f51930478f75495b552a411550 to < 719d1c2524c89ada78c4c9202641c1d9e942a322 (affected · git)68134668c17f31f51930478f75495b552a411550 to < eca9bd215d2233de79d930fa97aefbce03247a98 (affected · git)68134668c17f31f51930478f75495b552a411550 to < a8abb0c3dc1e28454851a00f8b7333d9695d566c (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 5.15 (affected)0 to < 5.15 (unaffected · semver)5.15.26 through 5.15.* (unaffected · semver)5.16.12 through 5.16.* (unaffected · semver)5.17 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
3Provider assertions
2Linux · cna
bpf: Fix crash due to incorrect copy_map_value
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 8e89a1fde3b9142eb15085d64d73338f7d7ddfbb34074439c3dea85d59fe37fd
- Ingested
- 23 Sep 2026, 08:04:03 UTC
- Source record
- Official CVE record