CVE-2025-21867
published high CVSS 3.1 · 7.8bpf, test_run: Fix use-after-free issue in eth_skb_pkt_type()
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linuxbe3d72a2896cb24090f268dce4aa8a304d40bc23 to < f615fccfc689cb48977d275ac2e391297b52392b · be3d72a2896cb24090f268dce4aa8a304d40bc23 to < d56d8a23d95100b65f40438639dd82db2af81c11 · be3d72a2896cb24090f268dce4aa8a304d40bc23 to < 972bafed67ca73ad9a56448384281eb5fd5c0ba3 · be3d72a2896cb24090f268dce4aa8a304d40bc23 to < 1a9e1284e87d59b1303b69d1808d310821d6e5f7 · be3d72a2896cb24090f268dce4aa8a304d40bc23 to < 6b3d638ca897e099fa99bd6d02189d3176f80a47 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux5.18 (affected) · 0 to < 5.18 (unaffected · semver) · 6.1.130 through 6.1.* (unaffected · semver) · 6.6.80 through 6.6.* (unaffected · semver) · 6.12.17 through 6.12.* (unaffected · semver) · 6.13.5 through 6.13.* (unaffected · semver) · 6.14 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Siemens | — | SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AB0)V3.1.6 and later · Other versions: unknown | Affected | Not stated | siemens-SADP |
| Siemens | — | SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AB0)V3.1.7 and later · Other versions: unknown | Affected | Not stated | siemens-SADP |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| AlmaLinux | 10 | kernel-abi-stablelists | Advisory build | 6.12.0-55.28.1.el10_0 | ALSA-2025:14009 |
| Debian | bookworm | linux | Advisory build | 6.1.133-1 | DSA-5900-1 |
Show 107 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Siemens | — | SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AC0)V3.1.6 and later · Other versions: unknown | Affected | Not stated | siemens-SADP |
| Siemens | — | SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AC0)V3.1.7 and later · Other versions: unknown | Affected | Not stated | siemens-SADP |
| Siemens | — | SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP (6ES7518-4FX00-1AB0)V3.1.6 and later · Other versions: unknown | Affected | Not stated | siemens-SADP |
| Siemens | — | SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP (6ES7518-4FX00-1AB0)V3.1.7 and later · Other versions: unknown | Affected | Not stated | siemens-SADP |
| Siemens | — | SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP (6ES7518-4FX00-1AC0)V3.1.6 and later · Other versions: unknown | Affected | Not stated | siemens-SADP |
| Siemens | — | SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP (6ES7518-4FX00-1AC0)V3.1.7 and later · Other versions: unknown | Affected | Not stated | siemens-SADP |
| Siemens | — | SIPLUS S7-1500 CPU 1518-4 PN/DP MFP (6AG1518-4AX00-4AC0)V3.1.6 and later · Other versions: unknown | Affected | Not stated | siemens-SADP |
| Siemens | — | SIPLUS S7-1500 CPU 1518-4 PN/DP MFP (6AG1518-4AX00-4AC0)V3.1.7 and later · Other versions: unknown | Affected | Not stated | siemens-SADP |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2025-901 | Fixed | Not stated | Amazon Linux assessment |
| Oracle Linux | 10 | kernelx86_64 | Advisory build | 0:6.12.0-55.28.1.0.1.el10_0 | ELSA-2025-14009 |
| AlmaLinux | 10 | kernel-doc | Advisory build | 6.12.0-55.28.1.el10_0 | ALSA-2025:14009 |
| AlmaLinux | 9 | kernel | Advisory build | 5.14.0-570.35.1.el9_6 | ALSA-2025:13962 |
| AlmaLinux | 9 | kernel-64k | Advisory build | 5.14.0-570.35.1.el9_6 | ALSA-2025:13962 |
| AlmaLinux | 9 | kernel-64k-core | Advisory build | 5.14.0-570.35.1.el9_6 | ALSA-2025:13962 |
| AlmaLinux | 9 | kernel-64k-debug | Advisory build | 5.14.0-570.35.1.el9_6 | ALSA-2025:13962 |
| AlmaLinux | 9 | kernel-64k-debug-core | Advisory build | 5.14.0-570.35.1.el9_6 | ALSA-2025:13962 |
| AlmaLinux | 9 | kernel-64k-debug-devel | Advisory build | 5.14.0-570.35.1.el9_6 | ALSA-2025:13962 |
| AlmaLinux | 9 | kernel-64k-debug-devel-matched | Advisory build | 5.14.0-570.35.1.el9_6 | ALSA-2025:13962 |
| AlmaLinux | 9 | kernel-64k-debug-modules | Advisory build | 5.14.0-570.35.1.el9_6 | ALSA-2025:13962 |
| AlmaLinux | 9 | kernel-64k-debug-modules-core | Advisory build | 5.14.0-570.35.1.el9_6 | ALSA-2025:13962 |
| AlmaLinux | 9 | kernel-64k-debug-modules-extra | Advisory build | 5.14.0-570.35.1.el9_6 | ALSA-2025:13962 |
| AlmaLinux | 9 | kernel-64k-devel | Advisory build | 5.14.0-570.35.1.el9_6 | ALSA-2025:13962 |
| AlmaLinux | 9 | kernel-64k-devel-matched | Advisory build | 5.14.0-570.35.1.el9_6 | ALSA-2025:13962 |
| AlmaLinux | 9 | kernel-64k-modules | Advisory build | 5.14.0-570.35.1.el9_6 | ALSA-2025:13962 |
| AlmaLinux | 9 | kernel-64k-modules-core | Advisory build | 5.14.0-570.35.1.el9_6 | ALSA-2025:13962 |
| AlmaLinux | 9 | kernel-64k-modules-extra | Advisory build | 5.14.0-570.35.1.el9_6 | ALSA-2025:13962 |
| AlmaLinux | 9 | kernel-abi-stablelists | Advisory build | 5.14.0-570.35.1.el9_6 | ALSA-2025:13962 |
| AlmaLinux | 9 | kernel-core | Advisory build | 5.14.0-570.35.1.el9_6 | ALSA-2025:13962 |
| AlmaLinux | 9 | kernel-cross-headers | Advisory build | 5.14.0-570.35.1.el9_6 | ALSA-2025:13962 |
| AlmaLinux | 9 | kernel-debug | Advisory build | 5.14.0-570.35.1.el9_6 | ALSA-2025:13962 |
| AlmaLinux | 9 | kernel-debug-core | Advisory build | 5.14.0-570.35.1.el9_6 | ALSA-2025:13962 |
| AlmaLinux | 9 | kernel-debug-devel | Advisory build | 5.14.0-570.35.1.el9_6 | ALSA-2025:13962 |
| AlmaLinux | 9 | kernel-debug-devel-matched | Advisory build | 5.14.0-570.35.1.el9_6 | ALSA-2025:13962 |
| AlmaLinux | 9 | kernel-debug-modules | Advisory build | 5.14.0-570.35.1.el9_6 | ALSA-2025:13962 |
| AlmaLinux | 9 | kernel-debug-modules-core | Advisory build | 5.14.0-570.35.1.el9_6 | ALSA-2025:13962 |
| AlmaLinux | 9 | kernel-debug-modules-extra | Advisory build | 5.14.0-570.35.1.el9_6 | ALSA-2025:13962 |
| AlmaLinux | 9 | kernel-debug-uki-virt | Advisory build | 5.14.0-570.35.1.el9_6 | ALSA-2025:13962 |
| AlmaLinux | 9 | kernel-devel | Advisory build | 5.14.0-570.35.1.el9_6 | ALSA-2025:13962 |
| AlmaLinux | 9 | kernel-devel-matched | Advisory build | 5.14.0-570.35.1.el9_6 | ALSA-2025:13962 |
| AlmaLinux | 9 | kernel-doc | Advisory build | 5.14.0-570.35.1.el9_6 | ALSA-2025:13962 |
| AlmaLinux | 9 | kernel-headers | Advisory build | 5.14.0-570.35.1.el9_6 | ALSA-2025:13962 |
| AlmaLinux | 9 | kernel-modules | Advisory build | 5.14.0-570.35.1.el9_6 | ALSA-2025:13962 |
| AlmaLinux | 9 | kernel-modules-core | Advisory build | 5.14.0-570.35.1.el9_6 | ALSA-2025:13962 |
| AlmaLinux | 9 | kernel-modules-extra | Advisory build | 5.14.0-570.35.1.el9_6 | ALSA-2025:13962 |
| AlmaLinux | 9 | kernel-rt | Advisory build | 5.14.0-570.35.1.el9_6 | ALSA-2025:13962 |
| AlmaLinux | 9 | kernel-rt-64k | Advisory build | 5.14.0-570.35.1.el9_6 | ALSA-2025:13962 |
| AlmaLinux | 9 | kernel-rt-64k-core | Advisory build | 5.14.0-570.35.1.el9_6 | ALSA-2025:13962 |
| AlmaLinux | 9 | kernel-rt-64k-debug | Advisory build | 5.14.0-570.35.1.el9_6 | ALSA-2025:13962 |
| AlmaLinux | 9 | kernel-rt-64k-debug-core | Advisory build | 5.14.0-570.35.1.el9_6 | ALSA-2025:13962 |
| AlmaLinux | 9 | kernel-rt-64k-debug-devel | Advisory build | 5.14.0-570.35.1.el9_6 | ALSA-2025:13962 |
| AlmaLinux | 9 | kernel-rt-64k-debug-modules | Advisory build | 5.14.0-570.35.1.el9_6 | ALSA-2025:13962 |
| AlmaLinux | 9 | kernel-rt-64k-debug-modules-core | Advisory build | 5.14.0-570.35.1.el9_6 | ALSA-2025:13962 |
| AlmaLinux | 9 | kernel-rt-64k-debug-modules-extra | Advisory build | 5.14.0-570.35.1.el9_6 | ALSA-2025:13962 |
| AlmaLinux | 9 | kernel-rt-64k-devel | Advisory build | 5.14.0-570.35.1.el9_6 | ALSA-2025:13962 |
| AlmaLinux | 9 | kernel-rt-64k-modules | Advisory build | 5.14.0-570.35.1.el9_6 | ALSA-2025:13962 |
| AlmaLinux | 9 | kernel-rt-64k-modules-core | Advisory build | 5.14.0-570.35.1.el9_6 | ALSA-2025:13962 |
| AlmaLinux | 9 | kernel-rt-64k-modules-extra | Advisory build | 5.14.0-570.35.1.el9_6 | ALSA-2025:13962 |
| AlmaLinux | 9 | kernel-rt-core | Advisory build | 5.14.0-570.35.1.el9_6 | ALSA-2025:13962 |
| AlmaLinux | 9 | kernel-rt-debug | Advisory build | 5.14.0-570.35.1.el9_6 | ALSA-2025:13962 |
| AlmaLinux | 9 | kernel-rt-debug-core | Advisory build | 5.14.0-570.35.1.el9_6 | ALSA-2025:13962 |
| AlmaLinux | 9 | kernel-rt-debug-devel | Advisory build | 5.14.0-570.35.1.el9_6 | ALSA-2025:13962 |
| AlmaLinux | 9 | kernel-rt-debug-kvm | Advisory build | 5.14.0-570.35.1.el9_6 | ALSA-2025:13962 |
| AlmaLinux | 9 | kernel-rt-debug-modules | Advisory build | 5.14.0-570.35.1.el9_6 | ALSA-2025:13962 |
| AlmaLinux | 9 | kernel-rt-debug-modules-core | Advisory build | 5.14.0-570.35.1.el9_6 | ALSA-2025:13962 |
| AlmaLinux | 9 | kernel-rt-debug-modules-extra | Advisory build | 5.14.0-570.35.1.el9_6 | ALSA-2025:13962 |
| AlmaLinux | 9 | kernel-rt-devel | Advisory build | 5.14.0-570.35.1.el9_6 | ALSA-2025:13962 |
| AlmaLinux | 9 | kernel-rt-kvm | Advisory build | 5.14.0-570.35.1.el9_6 | ALSA-2025:13962 |
| AlmaLinux | 9 | kernel-rt-modules | Advisory build | 5.14.0-570.35.1.el9_6 | ALSA-2025:13962 |
| AlmaLinux | 9 | kernel-rt-modules-core | Advisory build | 5.14.0-570.35.1.el9_6 | ALSA-2025:13962 |
| AlmaLinux | 9 | kernel-rt-modules-extra | Advisory build | 5.14.0-570.35.1.el9_6 | ALSA-2025:13962 |
| AlmaLinux | 9 | kernel-tools | Advisory build | 5.14.0-570.35.1.el9_6 | ALSA-2025:13962 |
| AlmaLinux | 9 | kernel-tools-libs | Advisory build | 5.14.0-570.35.1.el9_6 | ALSA-2025:13962 |
| AlmaLinux | 9 | kernel-tools-libs-devel | Advisory build | 5.14.0-570.35.1.el9_6 | ALSA-2025:13962 |
| AlmaLinux | 9 | kernel-uki-virt | Advisory build | 5.14.0-570.35.1.el9_6 | ALSA-2025:13962 |
| AlmaLinux | 9 | kernel-uki-virt-addons | Advisory build | 5.14.0-570.35.1.el9_6 | ALSA-2025:13962 |
| AlmaLinux | 9 | kernel-zfcpdump | Advisory build | 5.14.0-570.35.1.el9_6 | ALSA-2025:13962 |
| AlmaLinux | 9 | kernel-zfcpdump-core | Advisory build | 5.14.0-570.35.1.el9_6 | ALSA-2025:13962 |
| AlmaLinux | 9 | kernel-zfcpdump-devel | Advisory build | 5.14.0-570.35.1.el9_6 | ALSA-2025:13962 |
| AlmaLinux | 9 | kernel-zfcpdump-devel-matched | Advisory build | 5.14.0-570.35.1.el9_6 | ALSA-2025:13962 |
| AlmaLinux | 9 | kernel-zfcpdump-modules | Advisory build | 5.14.0-570.35.1.el9_6 | ALSA-2025:13962 |
| AlmaLinux | 9 | kernel-zfcpdump-modules-core | Advisory build | 5.14.0-570.35.1.el9_6 | ALSA-2025:13962 |
| AlmaLinux | 9 | kernel-zfcpdump-modules-extra | Advisory build | 5.14.0-570.35.1.el9_6 | ALSA-2025:13962 |
| AlmaLinux | 9 | libperf | Advisory build | 5.14.0-570.35.1.el9_6 | ALSA-2025:13962 |
| AlmaLinux | 9 | perf | Advisory build | 5.14.0-570.35.1.el9_6 | ALSA-2025:13962 |
| AlmaLinux | 9 | python3-perf | Advisory build | 5.14.0-570.35.1.el9_6 | ALSA-2025:13962 |
| AlmaLinux | 9 | rtla | Advisory build | 5.14.0-570.35.1.el9_6 | ALSA-2025:13962 |
| AlmaLinux | 9 | rv | Advisory build | 5.14.0-570.35.1.el9_6 | ALSA-2025:13962 |
| Debian | bullseye | linux-6.1 | Advisory build | 6.1.137-1~deb11u1 | DLA-4193-1 |
| Oracle Linux | 10 | kernel-abi-stablelistsx86_64 | Advisory build | 0:6.12.0-55.28.1.0.1.el10_0 | ELSA-2025-14009 |
| Oracle Linux | 10 | kernel-corex86_64 | Advisory build | 0:6.12.0-55.28.1.0.1.el10_0 | ELSA-2025-14009 |
| Oracle Linux | 10 | kernel-cross-headersaarch64 | Advisory build | 0:6.12.0-55.28.1.0.1.el10_0 | ELSA-2025-14009 |
| Oracle Linux | 10 | kernel-cross-headersx86_64 | Advisory build | 0:6.12.0-55.28.1.0.1.el10_0 | ELSA-2025-14009 |
| Oracle Linux | 10 | kernel-debugx86_64 | Advisory build | 0:6.12.0-55.28.1.0.1.el10_0 | ELSA-2025-14009 |
| Oracle Linux | 10 | kernel-debug-corex86_64 | Advisory build | 0:6.12.0-55.28.1.0.1.el10_0 | ELSA-2025-14009 |
| Oracle Linux | 10 | kernel-debug-develx86_64 | Advisory build | 0:6.12.0-55.28.1.0.1.el10_0 | ELSA-2025-14009 |
| Oracle Linux | 10 | kernel-debug-devel-matchedx86_64 | Advisory build | 0:6.12.0-55.28.1.0.1.el10_0 | ELSA-2025-14009 |
| Oracle Linux | 10 | kernel-debug-modulesx86_64 | Advisory build | 0:6.12.0-55.28.1.0.1.el10_0 | ELSA-2025-14009 |
| Oracle Linux | 10 | kernel-debug-modules-corex86_64 | Advisory build | 0:6.12.0-55.28.1.0.1.el10_0 | ELSA-2025-14009 |
| Oracle Linux | 10 | kernel-debug-modules-extrax86_64 | Advisory build | 0:6.12.0-55.28.1.0.1.el10_0 | ELSA-2025-14009 |
| Oracle Linux | 10 | kernel-debug-uki-virtx86_64 | Advisory build | 0:6.12.0-55.28.1.0.1.el10_0 | ELSA-2025-14009 |
| Oracle Linux | 10 | kernel-develx86_64 | Advisory build | 0:6.12.0-55.28.1.0.1.el10_0 | ELSA-2025-14009 |
| Oracle Linux | 10 | kernel-devel-matchedx86_64 | Advisory build | 0:6.12.0-55.28.1.0.1.el10_0 | ELSA-2025-14009 |
| Oracle Linux | 10 | kernel-docx86_64 | Advisory build | 0:6.12.0-55.28.1.0.1.el10_0 | ELSA-2025-14009 |
| Oracle Linux | 10 | kernel-headersaarch64 | Advisory build | 0:6.12.0-55.28.1.0.1.el10_0 | ELSA-2025-14009 |
| Oracle Linux | 10 | kernel-headersx86_64 | Advisory build | 0:6.12.0-55.28.1.0.1.el10_0 | ELSA-2025-14009 |
| Oracle Linux | 10 | kernel-modulesx86_64 | Advisory build | 0:6.12.0-55.28.1.0.1.el10_0 | ELSA-2025-14009 |
| Oracle Linux | 10 | kernel-modules-corex86_64 | Advisory build | 0:6.12.0-55.28.1.0.1.el10_0 | ELSA-2025-14009 |
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, test_run: Fix use-after-free issue in eth_skb_pkt_type() KMSAN reported a use-after-free issue in eth_skb_pkt_type()[1]. The cause of the issue was that eth_skb_pkt_type() accessed skb's data that didn't contain an Ethernet header. This occurs when bpf_prog_test_run_xdp() passes an invalid value as the user_data argument to bpf_test_init(). Fix this by returning an error when user_data is less than ETH_HLEN in bpf_test_init(). Additionally, remove the check for "if (user_size > size)" as it is unnecessary. [1] BUG: KMSAN: use-after-free in eth_skb_pkt_type include/linux/etherdevice.h:627 [inline] BUG: KMSAN: use-after-free in eth_type_trans+0x4ee/0x980 net/ethernet/eth.c:165 eth_skb_pkt_type include/linux/etherdevice.h:627 [inline] eth_type_trans+0x4ee/0x980 net/ethernet/eth.c:165 __xdp_build_skb_from_frame+0x5a8/0xa50 net/core/xdp.c:635 xdp_recv_frames net/bpf/test_run.c:272 [inline] xdp_test_run_batch net/bpf/test_run.c:361 [inline] bpf_test_run_xdp_live+0x2954/0x3330 net/bpf/test_run.c:390 bpf_prog_test_run_xdp+0x148e/0x1b10 net/bpf/test_run.c:1318 bpf_prog_test_run+0x5b7/0xa30 kernel/bpf/syscall.c:4371 __sys_bpf+0x6a6/0xe20 kernel/bpf/syscall.c:5777 __do_sys_bpf kernel/bpf/syscall.c:5866 [inline] __se_sys_bpf kernel/bpf/syscall.c:5864 [inline] __x64_sys_bpf+0xa4/0xf0 kernel/bpf/syscall.c:5864 x64_sys_call+0x2ea0/0x3d90 arch/x86/include/generated/asm/syscalls_64.h:322 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xd9/0x1d0 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f Uninit was created at: free_pages_prepare mm/page_alloc.c:1056 [inline] free_unref_page+0x156/0x1320 mm/page_alloc.c:2657 __free_pages+0xa3/0x1b0 mm/page_alloc.c:4838 bpf_ringbuf_free kernel/bpf/ringbuf.c:226 [inline] ringbuf_map_free+0xff/0x1e0 kernel/bpf/ringbuf.c:235 bpf_map_free kernel/bpf/syscall.c:838 [inline] bpf_map_free_deferred+0x17c/0x310 kernel/bpf/syscall.c:862 process_one_work kernel/workqueue.c:3229 [inline] process_scheduled_works+0xa2b/0x1b60 kernel/workqueue.c:3310 worker_thread+0xedf/0x1550 kernel/workqueue.c:3391 kthread+0x535/0x6b0 kernel/kthread.c:389 ret_from_fork+0x6e/0x90 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244 CPU: 1 UID: 0 PID: 17276 Comm: syz.1.16450 Not tainted 6.12.0-05490-g9bb88c659673 #8 Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.16.3-3.fc41 04/01/2014
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 vulnerability is triggered through the local `bpf(BPF_PROG_TEST_RUN)` syscall with `BPF_F_TEST_XDP_LIVE_FRAMES` and a short `data_size_in`; no network input reaches this code. Per kernel scoring guidance, BPF syscall-reachable bugs are Local. AC:L - The attacker fully controls `data_size_in`, `batch_size`, `repeat` and the XDP program, so the out-of-range read is triggered deterministically on every invocation with no race to win. Page-pool pages are freshly allocated non-zeroed pages, and the attacker can groom which freed pages get recycled by freeing chosen content immediately beforehand. PR:L - `bpf_prog_test_run()` performs no capability check whatsoever — the only gate is possession of an XDP program fd, which an unprivileged process can obtain via a delegated BPF token (`bpf_token_capable()` falls back to `ns_capable(token->userns, ...)`) or a bpffs pin, since `bpf_obj_do_get()` checks only file permissions. Loading a fresh XDP program needs CAP_BPF+CAP_NET_ADMIN, but that is a container/namespace-level privilege rather than real init-namespace root, so Low is the appropriate and higher-severity choice. UI:N - The attacker performs the entire sequence itself via the `bpf()` syscall; no victim action, mount, or file open is needed. The XDP frames are looped straight back into the local receive path by the test-run machinery. S:U - The stale-memory read, the disclosed data, and the resulting malformed skb all remain within the kernel's own security authority. No hypervisor, IOMMU, or sandbox boundary is crossed. C:H - `eth_skb_pkt_type()`/`eth_type_trans()` read the contents of a previously-freed page, and the derived `skb->protocol` and `skb->pkt_type` are directly readable by an `AF_PACKET` observer on loopback, giving a repeatable, unbounded oracle over recycled kernel memory that may contain pointers, keys, or user data. Per guidance, use-after-free reads of freed memory are scored High. I:H - Contents of freed memory — which the attacker can influence through heap grooming — become the Ethernet header that determines `skb->protocol` and `skb->pkt_type` for a frame injected into the local network stack via `netif_receive_skb_list()`, corrupting packet classification and delivery. Per guidance, use-after-free conditions are scored High for integrity. A:H - The kernel dereferences memory beyond the initialized frame and hands a geometrically invalid skb (`skb->len < ETH_HLEN`, `mac_header == network_header`, `mac_len == 0`) to protocol handlers that assume `eth_type_trans()` pulled the header, and on hardened/KASAN/KMSAN builds the freed-page access itself is a fatal memory-error report. Per guidance, any use-after-free is scored High for availability.
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 7.8 | high | CISA-ADP · adp | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | be3d72a2896cb24090f268dce4aa8a304d40bc23 to < f615fccfc689cb48977d275ac2e391297b52392b (affected · git)be3d72a2896cb24090f268dce4aa8a304d40bc23 to < d56d8a23d95100b65f40438639dd82db2af81c11 (affected · git)be3d72a2896cb24090f268dce4aa8a304d40bc23 to < 972bafed67ca73ad9a56448384281eb5fd5c0ba3 (affected · git)be3d72a2896cb24090f268dce4aa8a304d40bc23 to < 1a9e1284e87d59b1303b69d1808d310821d6e5f7 (affected · git)be3d72a2896cb24090f268dce4aa8a304d40bc23 to < 6b3d638ca897e099fa99bd6d02189d3176f80a47 (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 5.18 (affected)0 to < 5.18 (unaffected · semver)6.1.130 through 6.1.* (unaffected · semver)6.6.80 through 6.6.* (unaffected · semver)6.12.17 through 6.12.* (unaffected · semver)6.13.5 through 6.13.* (unaffected · semver)6.14 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
| Siemens | SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AB0) | V3.1.6 and later (affected · custom)Default: unknown | siemens-SADP · adp |
| Siemens | SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AB0) | V3.1.7 and later (affected · custom)Default: unknown | siemens-SADP · adp |
| Siemens | SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AC0) | V3.1.6 and later (affected · custom)Default: unknown | siemens-SADP · adp |
| Siemens | SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AC0) | V3.1.7 and later (affected · custom)Default: unknown | siemens-SADP · adp |
| Siemens | SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP (6ES7518-4FX00-1AB0) | V3.1.6 and later (affected · custom)Default: unknown | siemens-SADP · adp |
| Siemens | SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP (6ES7518-4FX00-1AB0) | V3.1.7 and later (affected · custom)Default: unknown | siemens-SADP · adp |
| Siemens | SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP (6ES7518-4FX00-1AC0) | V3.1.6 and later (affected · custom)Default: unknown | siemens-SADP · adp |
| Siemens | SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP (6ES7518-4FX00-1AC0) | V3.1.7 and later (affected · custom)Default: unknown | siemens-SADP · adp |
| Siemens | SIPLUS S7-1500 CPU 1518-4 PN/DP MFP (6AG1518-4AX00-4AC0) | V3.1.6 and later (affected · custom)Default: unknown | siemens-SADP · adp |
| Siemens | SIPLUS S7-1500 CPU 1518-4 PN/DP MFP (6AG1518-4AX00-4AC0) | V3.1.7 and later (affected · custom)Default: unknown | siemens-SADP · adp |
Weaknesses
1- CWE-416 CWE-416 Use After Free
References
8- https://cert-portal.siemens.com/productcert/html/ssa-019113.html
- https://cert-portal.siemens.com/productcert/html/ssa-457936.html
- https://git.kernel.org/stable/c/1a9e1284e87d59b1303b69d1808d310821d6e5f7
- https://git.kernel.org/stable/c/6b3d638ca897e099fa99bd6d02189d3176f80a47
- https://git.kernel.org/stable/c/972bafed67ca73ad9a56448384281eb5fd5c0ba3
- https://git.kernel.org/stable/c/d56d8a23d95100b65f40438639dd82db2af81c11
- https://git.kernel.org/stable/c/f615fccfc689cb48977d275ac2e391297b52392b
- https://lists.debian.org/debian-lts-announce/2025/05/msg00045.html
Provider assertions
4Linux · cna
bpf, test_run: Fix use-after-free issue in eth_skb_pkt_type()
siemens-SADP · adp
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- aa1a08f864867ee9b6ad804e00b5204d30a92d48e79c5272836db388384961be
- Ingested
- 10 Nov 2026, 12:40:45 UTC
- Source record
- Official CVE record