CVE-2024-50164
published high CVSS 3.1 · 7.8bpf: Fix overloading of MEM_UNINIT's meaning
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linux97e6d7dab1ca4648821c790a2b7913d6d5d549db to < 43f4df339a4d375bedcad29a61ae6f0ee7a048f8 · 97e6d7dab1ca4648821c790a2b7913d6d5d549db to < 48068ccaea957469f1adf78dfd2c1c9a7e18f0fe · 97e6d7dab1ca4648821c790a2b7913d6d5d549db to < 54bc31682660810af1bed7ca7a19f182df8d3df8 · 97e6d7dab1ca4648821c790a2b7913d6d5d549db to < 8ea607330a39184f51737c6ae706db7fdca7628e · 6099a6c8a749a5c8d5f8b4c4342022a92072a02b · bfe25df63048edd4ceaf78a2fc755d5e2befc978 · 717c39718dbc4f7ebcbb7b625fb11851cd9007fe · 5d0bba8232bf22ce13747cbfc8f696318ff01a50 · 70674d11d14eeecad90be4b409a22b902112ba32 · a08d942ecbf46e23a192093f6983cb1d779f4fa8 · 5.15.45 to < 5.16 · 5.17.13 to < 5.18 · 5.18.2 to < 5.19 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux5.19 (affected) · 0 to < 5.19 (unaffected · semver) · 6.1.125 through 6.1.* (unaffected · semver) · 6.6.59 through 6.6.* (unaffected · semver) · 6.11.6 through 6.11.* (unaffected · semver) · 6.12 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 | AL2 | Release evaluationALAS2KERNEL-5.15-2025-089 | Fixed | Not stated | Amazon Linux assessment |
| Debian | bookworm | linux | Advisory build | 6.1.128-1 | DSA-5860-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-develaarch64 | Advisory build | 6.11.8-1.1 | OPENSUSE-SU-2024:14500-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-823 | Fixed | Not stated | Amazon Linux assessment |
| Ubuntu | jammy | linux-aws-6.8 | Advisory build | 6.8.0-1027.29~22.04.1 | USN-7451-1 |
| Debian | bullseye | linux-6.1 | Advisory build | 6.1.128-1~deb11u1 | DLA-4076-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-develppc64le | Advisory build | 6.11.8-1.1 | OPENSUSE-SU-2024:14500-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-devels390x | Advisory build | 6.11.8-1.1 | OPENSUSE-SU-2024:14500-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-develx86_64 | Advisory build | 6.11.8-1.1 | OPENSUSE-SU-2024:14500-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-devel-longtermaarch64 | Advisory build | 6.12.11-1.1 | OPENSUSE-SU-2025:14705-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-devel-longtermppc64le | Advisory build | 6.12.11-1.1 | OPENSUSE-SU-2025:14705-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-devel-longterms390x | Advisory build | 6.12.11-1.1 | OPENSUSE-SU-2025:14705-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-devel-longtermx86_64 | Advisory build | 6.12.11-1.1 | OPENSUSE-SU-2025:14705-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-macrosaarch64 | Advisory build | 6.11.8-1.1 | OPENSUSE-SU-2024:14500-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-macrosppc64le | Advisory build | 6.11.8-1.1 | OPENSUSE-SU-2024:14500-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-macross390x | Advisory build | 6.11.8-1.1 | OPENSUSE-SU-2024:14500-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-macrosx86_64 | Advisory build | 6.11.8-1.1 | OPENSUSE-SU-2024:14500-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-sourceaarch64 | Advisory build | 6.11.8-1.1 | OPENSUSE-SU-2024:14500-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-sourceppc64le | Advisory build | 6.11.8-1.1 | OPENSUSE-SU-2024:14500-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-sources390x | Advisory build | 6.11.8-1.1 | OPENSUSE-SU-2024:14500-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-sourcex86_64 | Advisory build | 6.11.8-1.1 | OPENSUSE-SU-2024:14500-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-source-longtermaarch64 | Advisory build | 6.12.11-1.1 | OPENSUSE-SU-2025:14705-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-source-longtermppc64le | Advisory build | 6.12.11-1.1 | OPENSUSE-SU-2025:14705-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-source-longterms390x | Advisory build | 6.12.11-1.1 | OPENSUSE-SU-2025:14705-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-source-longtermx86_64 | Advisory build | 6.12.11-1.1 | OPENSUSE-SU-2025:14705-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-source-vanillaaarch64 | Advisory build | 6.11.8-1.1 | OPENSUSE-SU-2024:14500-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-source-vanillappc64le | Advisory build | 6.11.8-1.1 | OPENSUSE-SU-2024:14500-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-source-vanillas390x | Advisory build | 6.11.8-1.1 | OPENSUSE-SU-2024:14500-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-source-vanillax86_64 | Advisory build | 6.11.8-1.1 | OPENSUSE-SU-2024:14500-1 |
| Ubuntu | jammy | linux-aws-6.8-cloud-tools-6.8.0-1027 | Advisory build | 6.8.0-1027.29~22.04.1 | USN-7451-1 |
| Ubuntu | jammy | linux-aws-6.8-headers-6.8.0-1027 | Advisory build | 6.8.0-1027.29~22.04.1 | USN-7451-1 |
| Ubuntu | jammy | linux-aws-6.8-tools-6.8.0-1027 | Advisory build | 6.8.0-1027.29~22.04.1 | USN-7451-1 |
| Ubuntu | jammy | linux-azure-6.8 | Advisory build | 6.8.0-1027.32~22.04.1 | USN-7449-1 |
| Ubuntu | jammy | linux-azure-6.8-cloud-tools-6.8.0-1027 | Advisory build | 6.8.0-1027.32~22.04.1 | USN-7449-1 |
| Ubuntu | jammy | linux-azure-6.8-headers-6.8.0-1027 | Advisory build | 6.8.0-1027.32~22.04.1 | USN-7449-1 |
| Ubuntu | jammy | linux-azure-6.8-tools-6.8.0-1027 | Advisory build | 6.8.0-1027.32~22.04.1 | USN-7449-1 |
| Ubuntu | jammy | linux-buildinfo-6.8.0-1024-oracle | Advisory build | 6.8.0-1024.25~22.04.1 | USN-7449-1 |
| Ubuntu | jammy | linux-buildinfo-6.8.0-1024-oracle-64k | Advisory build | 6.8.0-1024.25~22.04.1 | USN-7449-1 |
| Ubuntu | jammy | linux-buildinfo-6.8.0-1026-nvidia | Advisory build | 6.8.0-1026.29~22.04.1 | USN-7449-1 |
| Ubuntu | jammy | linux-buildinfo-6.8.0-1026-nvidia-64k | Advisory build | 6.8.0-1026.29~22.04.1 | USN-7449-1 |
| Ubuntu | jammy | linux-buildinfo-6.8.0-1027-aws | Advisory build | 6.8.0-1027.29~22.04.1 | USN-7451-1 |
| Ubuntu | jammy | linux-buildinfo-6.8.0-1027-azure | Advisory build | 6.8.0-1027.32~22.04.1 | USN-7449-1 |
| Ubuntu | jammy | linux-buildinfo-6.8.0-1028-gcp | Advisory build | 6.8.0-1028.30~22.04.1 | USN-7452-1 |
| Ubuntu | jammy | linux-buildinfo-6.8.0-1028-gcp-64k | Advisory build | 6.8.0-1028.30~22.04.1 | USN-7452-1 |
| Ubuntu | jammy | linux-buildinfo-6.8.0-58-generic | Advisory build | 6.8.0-58.60~22.04.1 | USN-7449-2 |
| Ubuntu | jammy | linux-buildinfo-6.8.0-58-generic-64k | Advisory build | 6.8.0-58.60~22.04.1 | USN-7449-2 |
| Ubuntu | jammy | linux-buildinfo-6.8.0-58-lowlatency | Advisory build | 6.8.0-58.60.1~22.04.1 | USN-7449-1 |
| Ubuntu | jammy | linux-buildinfo-6.8.0-58-lowlatency-64k | Advisory build | 6.8.0-58.60.1~22.04.1 | USN-7449-1 |
| Ubuntu | jammy | linux-cloud-tools-6.8.0-1027-aws | Advisory build | 6.8.0-1027.29~22.04.1 | USN-7451-1 |
| Ubuntu | jammy | linux-cloud-tools-6.8.0-1027-azure | Advisory build | 6.8.0-1027.32~22.04.1 | USN-7449-1 |
| Ubuntu | jammy | linux-cloud-tools-6.8.0-58-generic | Advisory build | 6.8.0-58.60~22.04.1 | USN-7449-2 |
| Ubuntu | jammy | linux-cloud-tools-6.8.0-58-lowlatency | Advisory build | 6.8.0-58.60.1~22.04.1 | USN-7449-1 |
| Ubuntu | jammy | linux-gcp-6.8 | Advisory build | 6.8.0-1028.30~22.04.1 | USN-7452-1 |
| Ubuntu | jammy | linux-gcp-6.8-headers-6.8.0-1028 | Advisory build | 6.8.0-1028.30~22.04.1 | USN-7452-1 |
| Ubuntu | jammy | linux-gcp-6.8-tools-6.8.0-1028 | Advisory build | 6.8.0-1028.30~22.04.1 | USN-7452-1 |
| Ubuntu | jammy | linux-headers-6.8.0-1024-oracle | Advisory build | 6.8.0-1024.25~22.04.1 | USN-7449-1 |
| Ubuntu | jammy | linux-headers-6.8.0-1024-oracle-64k | Advisory build | 6.8.0-1024.25~22.04.1 | USN-7449-1 |
| Ubuntu | jammy | linux-headers-6.8.0-1026-nvidia | Advisory build | 6.8.0-1026.29~22.04.1 | USN-7449-1 |
| Ubuntu | jammy | linux-headers-6.8.0-1026-nvidia-64k | Advisory build | 6.8.0-1026.29~22.04.1 | USN-7449-1 |
| Ubuntu | jammy | linux-headers-6.8.0-1027-aws | Advisory build | 6.8.0-1027.29~22.04.1 | USN-7451-1 |
| Ubuntu | jammy | linux-headers-6.8.0-1027-azure | Advisory build | 6.8.0-1027.32~22.04.1 | USN-7449-1 |
| Ubuntu | jammy | linux-headers-6.8.0-1028-gcp | Advisory build | 6.8.0-1028.30~22.04.1 | USN-7452-1 |
| Ubuntu | jammy | linux-headers-6.8.0-1028-gcp-64k | Advisory build | 6.8.0-1028.30~22.04.1 | USN-7452-1 |
| Ubuntu | jammy | linux-headers-6.8.0-58-generic | Advisory build | 6.8.0-58.60~22.04.1 | USN-7449-2 |
| Ubuntu | jammy | linux-headers-6.8.0-58-generic-64k | Advisory build | 6.8.0-58.60~22.04.1 | USN-7449-2 |
| Ubuntu | jammy | linux-headers-6.8.0-58-lowlatency | Advisory build | 6.8.0-58.60.1~22.04.1 | USN-7449-1 |
| Ubuntu | jammy | linux-headers-6.8.0-58-lowlatency-64k | Advisory build | 6.8.0-58.60.1~22.04.1 | USN-7449-1 |
| Ubuntu | jammy | linux-hwe-6.8 | Advisory build | 6.8.0-58.60~22.04.1 | USN-7449-2 |
| Ubuntu | jammy | linux-hwe-6.8-cloud-tools-6.8.0-58 | Advisory build | 6.8.0-58.60~22.04.1 | USN-7449-2 |
| Ubuntu | jammy | linux-hwe-6.8-headers-6.8.0-58 | Advisory build | 6.8.0-58.60~22.04.1 | USN-7449-2 |
| Ubuntu | jammy | linux-hwe-6.8-tools-6.8.0-58 | Advisory build | 6.8.0-58.60~22.04.1 | USN-7449-2 |
| Ubuntu | jammy | linux-image-6.8.0-58-generic | Advisory build | 6.8.0-58.60~22.04.1 | USN-7449-2 |
| Ubuntu | jammy | linux-image-unsigned-6.8.0-1024-oracle | Advisory build | 6.8.0-1024.25~22.04.1 | USN-7449-1 |
| Ubuntu | jammy | linux-image-unsigned-6.8.0-1024-oracle-64k | Advisory build | 6.8.0-1024.25~22.04.1 | USN-7449-1 |
| Ubuntu | jammy | linux-image-unsigned-6.8.0-1026-nvidia | Advisory build | 6.8.0-1026.29~22.04.1 | USN-7449-1 |
| Ubuntu | jammy | linux-image-unsigned-6.8.0-1026-nvidia-64k | Advisory build | 6.8.0-1026.29~22.04.1 | USN-7449-1 |
| Ubuntu | jammy | linux-image-unsigned-6.8.0-1027-aws | Advisory build | 6.8.0-1027.29~22.04.1 | USN-7451-1 |
| Ubuntu | jammy | linux-image-unsigned-6.8.0-1027-azure | Advisory build | 6.8.0-1027.32~22.04.1 | USN-7449-1 |
| Ubuntu | jammy | linux-image-unsigned-6.8.0-1028-gcp | Advisory build | 6.8.0-1028.30~22.04.1 | USN-7452-1 |
| Ubuntu | jammy | linux-image-unsigned-6.8.0-1028-gcp-64k | Advisory build | 6.8.0-1028.30~22.04.1 | USN-7452-1 |
| Ubuntu | jammy | linux-image-unsigned-6.8.0-58-generic | Advisory build | 6.8.0-58.60~22.04.1 | USN-7449-2 |
| Ubuntu | jammy | linux-image-unsigned-6.8.0-58-generic-64k | Advisory build | 6.8.0-58.60~22.04.1 | USN-7449-2 |
| Ubuntu | jammy | linux-image-unsigned-6.8.0-58-lowlatency | Advisory build | 6.8.0-58.60.1~22.04.1 | USN-7449-1 |
| Ubuntu | jammy | linux-image-unsigned-6.8.0-58-lowlatency-64k | Advisory build | 6.8.0-58.60.1~22.04.1 | USN-7449-1 |
| Ubuntu | jammy | linux-lowlatency-hwe-6.8 | Advisory build | 6.8.0-58.60.1~22.04.1 | USN-7449-1 |
| Ubuntu | jammy | linux-lowlatency-hwe-6.8-cloud-tools-6.8.0-58 | Advisory build | 6.8.0-58.60.1~22.04.1 | USN-7449-1 |
| Ubuntu | jammy | linux-lowlatency-hwe-6.8-headers-6.8.0-58 | Advisory build | 6.8.0-58.60.1~22.04.1 | USN-7449-1 |
| Ubuntu | jammy | linux-lowlatency-hwe-6.8-lib-rust-6.8.0-58-lowlatency | Advisory build | 6.8.0-58.60.1~22.04.1 | USN-7449-1 |
| Ubuntu | jammy | linux-lowlatency-hwe-6.8-tools-6.8.0-58 | Advisory build | 6.8.0-58.60.1~22.04.1 | USN-7449-1 |
| Ubuntu | jammy | linux-modules-6.8.0-1024-oracle | Advisory build | 6.8.0-1024.25~22.04.1 | USN-7449-1 |
| Ubuntu | jammy | linux-modules-6.8.0-1024-oracle-64k | Advisory build | 6.8.0-1024.25~22.04.1 | USN-7449-1 |
| Ubuntu | jammy | linux-modules-6.8.0-1026-nvidia | Advisory build | 6.8.0-1026.29~22.04.1 | USN-7449-1 |
| Ubuntu | jammy | linux-modules-6.8.0-1026-nvidia-64k | Advisory build | 6.8.0-1026.29~22.04.1 | USN-7449-1 |
| Ubuntu | jammy | linux-modules-6.8.0-1027-aws | Advisory build | 6.8.0-1027.29~22.04.1 | USN-7451-1 |
| Ubuntu | jammy | linux-modules-6.8.0-1027-azure | Advisory build | 6.8.0-1027.32~22.04.1 | USN-7449-1 |
| Ubuntu | jammy | linux-modules-6.8.0-1028-gcp | Advisory build | 6.8.0-1028.30~22.04.1 | USN-7452-1 |
| Ubuntu | jammy | linux-modules-6.8.0-1028-gcp-64k | Advisory build | 6.8.0-1028.30~22.04.1 | USN-7452-1 |
| Ubuntu | jammy | linux-modules-6.8.0-58-generic | Advisory build | 6.8.0-58.60~22.04.1 | USN-7449-2 |
| Ubuntu | jammy | linux-modules-6.8.0-58-generic-64k | Advisory build | 6.8.0-58.60~22.04.1 | USN-7449-2 |
| Ubuntu | jammy | linux-modules-6.8.0-58-lowlatency | Advisory build | 6.8.0-58.60.1~22.04.1 | USN-7449-1 |
| Ubuntu | jammy | linux-modules-6.8.0-58-lowlatency-64k | Advisory build | 6.8.0-58.60.1~22.04.1 | USN-7449-1 |
| Ubuntu | jammy | linux-modules-extra-6.8.0-1024-oracle | Advisory build | 6.8.0-1024.25~22.04.1 | USN-7449-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 overloading of MEM_UNINIT's meaning Lonial reported an issue in the BPF verifier where check_mem_size_reg() has the following code: if (!tnum_is_const(reg->var_off)) /* For unprivileged variable accesses, disable raw * mode so that the program is required to * initialize all the memory that the helper could * just partially fill up. */ meta = NULL; This means that writes are not checked when the register containing the size of the passed buffer has not a fixed size. Through this bug, a BPF program can write to a map which is marked as read-only, for example, .rodata global maps. The problem is that MEM_UNINIT's initial meaning that "the passed buffer to the BPF helper does not need to be initialized" which was added back in commit 435faee1aae9 ("bpf, verifier: add ARG_PTR_TO_RAW_STACK type") got overloaded over time with "the passed buffer is being written to". The problem however is that checks such as the above which were added later via 06c1c049721a ("bpf: allow helpers access to variable memory") set meta to NULL in order force the user to always initialize the passed buffer to the helper. Due to the current double meaning of MEM_UNINIT, this bypasses verifier write checks to the memory (not boundary checks though) and only assumes the latter memory is read instead. Fix this by reverting MEM_UNINIT back to its original meaning, and having MEM_WRITE as an annotation to BPF helpers in order to then trigger the BPF verifier checks for writing to memory. Some notes: check_arg_pair_ok() ensures that for ARG_CONST_SIZE{,_OR_ZERO} we can access fn->arg_type[arg - 1] since it must contain a preceding ARG_PTR_TO_MEM. For check_mem_reg() the meta argument can be removed altogether since we do check both BPF_READ and BPF_WRITE. Same for the equivalent check_kfunc_mem_size_reg().
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 reached through the bpf(2) syscall (BPF_MAP_CREATE/BPF_MAP_FREEZE/BPF_PROG_LOAD) by a process on the local system. Per kernel scoring guidance, BPF verifier bugs are Local. AC:L - The attacker fully authors the BPF program and the map contents; passing a non-constant size register to a helper such as bpf_skb_load_bytes() deterministically bypasses the write check every time. No race, timing window, or uncontrolled memory layout is involved. PR:L - An unprivileged local user can load a BPF_PROG_TYPE_SOCKET_FILTER program reaching bpf_skb_load_bytes() when kernel.unprivileged_bpf_disabled=0 (default on kernels without CONFIG_BPF_UNPRIV_DEFAULT_OFF, e.g. Android and many embedded builds), and CAP_BPF is delegable into unprivileged user namespaces via BPF tokens (bpf_token_capable() uses ns_capable). No real root in the init namespace is needed. UI:N - The attacker performs every step itself — creating and freezing the map, loading the program, and triggering it (e.g. by sending a packet to its own socket). No other user's action is required. S:U - The verifier bypass and its impact are both within the kernel's own security authority; this is a standard local privilege escalation with no VM, IOMMU, or hypervisor boundary crossed. C:H - Writing to a frozen BPF_F_RDONLY_PROG map desynchronizes the values the verifier constant-folded via bpf_map_direct_read()/__mark_reg_known() from the values used at runtime, so bounds the verifier proved safe become arbitrarily out-of-bounds, yielding an arbitrary kernel memory read primitive. I:H - The bug directly permits a BPF program to write into memory the verifier guarantees is immutable (.rodata global maps, PTR_TO_MAP_KEY, read-only PTR_TO_MEM/PTR_TO_BUF, and program context), and the resulting verifier invariant break escalates to an arbitrary kernel write and full privilege escalation. A:H - Out-of-bounds kernel reads and writes resulting from the broken verifier bounds reasoning readily corrupt kernel memory and panic the system, and the attacker can trigger this repeatedly.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | 97e6d7dab1ca4648821c790a2b7913d6d5d549db to < 43f4df339a4d375bedcad29a61ae6f0ee7a048f8 (affected · git)97e6d7dab1ca4648821c790a2b7913d6d5d549db to < 48068ccaea957469f1adf78dfd2c1c9a7e18f0fe (affected · git)97e6d7dab1ca4648821c790a2b7913d6d5d549db to < 54bc31682660810af1bed7ca7a19f182df8d3df8 (affected · git)97e6d7dab1ca4648821c790a2b7913d6d5d549db to < 8ea607330a39184f51737c6ae706db7fdca7628e (affected · git)6099a6c8a749a5c8d5f8b4c4342022a92072a02b (affected · git)bfe25df63048edd4ceaf78a2fc755d5e2befc978 (affected · git)717c39718dbc4f7ebcbb7b625fb11851cd9007fe (affected · git)5d0bba8232bf22ce13747cbfc8f696318ff01a50 (affected · git)70674d11d14eeecad90be4b409a22b902112ba32 (affected · git)a08d942ecbf46e23a192093f6983cb1d779f4fa8 (affected · git)5.15.45 to < 5.16 (affected · semver)5.17.13 to < 5.18 (affected · semver)5.18.2 to < 5.19 (affected · semver)Default: unaffected | Linux · cna |
| Linux | Linux | 5.19 (affected)0 to < 5.19 (unaffected · semver)6.1.125 through 6.1.* (unaffected · semver)6.6.59 through 6.6.* (unaffected · semver)6.11.6 through 6.11.* (unaffected · semver)6.12 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
0No weakness assertions.
References
7- 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/43f4df339a4d375bedcad29a61ae6f0ee7a048f8
- https://git.kernel.org/stable/c/48068ccaea957469f1adf78dfd2c1c9a7e18f0fe
- https://git.kernel.org/stable/c/54bc31682660810af1bed7ca7a19f182df8d3df8
- https://git.kernel.org/stable/c/8ea607330a39184f51737c6ae706db7fdca7628e
- https://lists.debian.org/debian-lts-announce/2025/03/msg00001.html
Provider assertions
3Linux · cna
bpf: Fix overloading of MEM_UNINIT's meaning
siemens-SADP · adp
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 3e0c07c0ca95813ab2676a3df75fbdcbebb61bbcd71dd7e507f52c9d8c5d7657
- Ingested
- 10 Nov 2026, 12:40:45 UTC
- Source record
- Official CVE record