CVE-2024-50063
published high CVSS 3.1 · 7.8bpf: Prevent tail call between progs attached to different hooks
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linuxf1b9509c2fb0ef4db8d22dac9aef8e856a5d81f6 to < d9a807fb7cbfad4328824186e2e4bee28f72169b · f1b9509c2fb0ef4db8d22dac9aef8e856a5d81f6 to < 5d5e3b4cbe8ee16b7bf96fd73a421c92a9da3ca1 · f1b9509c2fb0ef4db8d22dac9aef8e856a5d81f6 to < 88c2a10e6c176c2860cd0659f4c0e9d20b3f64d1 · f1b9509c2fb0ef4db8d22dac9aef8e856a5d81f6 to < 28ead3eaabc16ecc907cfb71876da028080f6356 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux5.5 (affected) · 0 to < 5.5 (unaffected · semver) · 6.1.135 through 6.1.* (unaffected · semver) · 6.6.57 through 6.6.* (unaffected · semver) · 6.11.4 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; No Fix Planned | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2025-1050 | Fixed | Not stated | Amazon Linux assessment |
| Debian | bookworm | linux | Advisory build | 6.1.135-1 | DSA-5907-1 |
| SUSE / openSUSE | SLE-15-SP5 | cluster-md-kmp-defaultaarch64 | Advisory build | 5.14.21-150500.55.88.1 | SUSE-SU-2024:4364-1 |
Show 106 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 |
| Debian | bullseye | linux-6.1 | Advisory build | 6.1.137-1~deb11u1 | DLA-4193-1 |
| SUSE / openSUSE | SLE-15-SP5 | cluster-md-kmp-defaultppc64le | Advisory build | 5.14.21-150500.55.88.1 | SUSE-SU-2024:4364-1 |
| SUSE / openSUSE | SLE-15-SP5 | cluster-md-kmp-defaults390x | Advisory build | 5.14.21-150500.55.88.1 | SUSE-SU-2024:4364-1 |
| SUSE / openSUSE | SLE-15-SP5 | cluster-md-kmp-defaultx86_64 | Advisory build | 5.14.21-150500.55.88.1 | SUSE-SU-2024:4364-1 |
| SUSE / openSUSE | SLE-15-SP5 | cluster-md-kmp-rtx86_64 | Advisory build | 5.14.21-150500.13.76.1 | SUSE-SU-2024:3985-1 |
| SUSE / openSUSE | SLE-15-SP5 | dlm-kmp-defaultaarch64 | Advisory build | 5.14.21-150500.55.88.1 | SUSE-SU-2024:4364-1 |
| SUSE / openSUSE | SLE-15-SP5 | dlm-kmp-defaultppc64le | Advisory build | 5.14.21-150500.55.88.1 | SUSE-SU-2024:4364-1 |
| SUSE / openSUSE | SLE-15-SP5 | dlm-kmp-defaults390x | Advisory build | 5.14.21-150500.55.88.1 | SUSE-SU-2024:4364-1 |
| SUSE / openSUSE | SLE-15-SP5 | dlm-kmp-defaultx86_64 | Advisory build | 5.14.21-150500.55.88.1 | SUSE-SU-2024:4364-1 |
| SUSE / openSUSE | SLE-15-SP5 | dlm-kmp-rtx86_64 | Advisory build | 5.14.21-150500.13.76.1 | SUSE-SU-2024:3985-1 |
| SUSE / openSUSE | SLE-15-SP5 | gfs2-kmp-defaultaarch64 | Advisory build | 5.14.21-150500.55.88.1 | SUSE-SU-2024:4364-1 |
| SUSE / openSUSE | SLE-15-SP5 | gfs2-kmp-defaultppc64le | Advisory build | 5.14.21-150500.55.88.1 | SUSE-SU-2024:4364-1 |
| SUSE / openSUSE | SLE-15-SP5 | gfs2-kmp-defaults390x | Advisory build | 5.14.21-150500.55.88.1 | SUSE-SU-2024:4364-1 |
| SUSE / openSUSE | SLE-15-SP5 | gfs2-kmp-defaultx86_64 | Advisory build | 5.14.21-150500.55.88.1 | SUSE-SU-2024:4364-1 |
| SUSE / openSUSE | SLE-15-SP5 | gfs2-kmp-rtx86_64 | Advisory build | 5.14.21-150500.13.76.1 | SUSE-SU-2024:3985-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-64kbaarch64 | Advisory build | 5.14.21-150500.55.88.1 | SUSE-SU-2024:4364-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-64kb-develaarch64 | Advisory build | 5.14.21-150500.55.88.1 | SUSE-SU-2024:4364-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-azureaarch64 | Advisory build | 5.14.21-150500.33.72.1 | SUSE-SU-2024:3983-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-azurex86_64 | Advisory build | 5.14.21-150500.33.72.1 | SUSE-SU-2024:3983-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-azure-develaarch64 | Advisory build | 5.14.21-150500.33.72.1 | SUSE-SU-2024:3983-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-azure-develx86_64 | Advisory build | 5.14.21-150500.33.72.1 | SUSE-SU-2024:3983-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-defaultaarch64 | Advisory build | 5.14.21-150500.55.88.1 | SUSE-SU-2024:4364-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-defaultppc64le | Advisory build | 5.14.21-150500.55.88.1 | SUSE-SU-2024:4364-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-defaults390x | Advisory build | 5.14.21-150500.55.88.1 | SUSE-SU-2024:4364-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-defaultx86_64 | Advisory build | 5.14.21-150500.55.88.1 | SUSE-SU-2024:4364-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-default-baseaarch64 | Advisory build | 5.14.21-150500.55.88.1.150500.6.39.4 | SUSE-SU-2024:4364-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-default-baseppc64le | Advisory build | 5.14.21-150500.55.88.1.150500.6.39.4 | SUSE-SU-2024:4364-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-default-basex86_64 | Advisory build | 5.14.21-150500.55.88.1.150500.6.39.4 | SUSE-SU-2024:4364-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-default-develaarch64 | Advisory build | 5.14.21-150500.55.88.1 | SUSE-SU-2024:4364-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-default-develppc64le | Advisory build | 5.14.21-150500.55.88.1 | SUSE-SU-2024:4364-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-default-devels390x | Advisory build | 5.14.21-150500.55.88.1 | SUSE-SU-2024:4364-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-default-develx86_64 | Advisory build | 5.14.21-150500.55.88.1 | SUSE-SU-2024:4364-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-default-livepatchppc64le | Advisory build | 5.14.21-150500.55.88.1 | SUSE-SU-2024:4364-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-default-livepatchs390x | Advisory build | 5.14.21-150500.55.88.1 | SUSE-SU-2024:4364-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-default-livepatchx86_64 | Advisory build | 5.14.21-150500.55.88.1 | SUSE-SU-2024:4364-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-default-livepatch-develppc64le | Advisory build | 5.14.21-150500.55.88.1 | SUSE-SU-2024:4364-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-default-livepatch-devels390x | Advisory build | 5.14.21-150500.55.88.1 | SUSE-SU-2024:4364-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-default-livepatch-develx86_64 | Advisory build | 5.14.21-150500.55.88.1 | SUSE-SU-2024:4364-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-develnoarch | Advisory build | 5.14.21-150500.55.88.1 | SUSE-SU-2024:4364-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-devel-azurenoarch | Advisory build | 5.14.21-150500.33.72.1 | SUSE-SU-2024:3983-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-devel-rtnoarch | Advisory build | 5.14.21-150500.13.76.1 | SUSE-SU-2024:3985-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-docsnoarch | Advisory build | 5.14.21-150500.55.88.1 | SUSE-SU-2024:4364-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-livepatch-5_14_21-150500_13_76-rtx86_64 | Advisory build | 1-150500.11.3.1 | SUSE-SU-2024:3985-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-livepatch-5_14_21-150500_55_88-defaultppc64le | Advisory build | 1-150500.11.5.1 | SUSE-SU-2024:4364-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-livepatch-5_14_21-150500_55_88-defaults390x | Advisory build | 1-150500.11.5.1 | SUSE-SU-2024:4364-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-livepatch-5_14_21-150500_55_88-defaultx86_64 | Advisory build | 1-150500.11.5.1 | SUSE-SU-2024:4364-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-macrosnoarch | Advisory build | 5.14.21-150500.55.88.1 | SUSE-SU-2024:4364-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-obs-buildaarch64 | Advisory build | 5.14.21-150500.55.88.1 | SUSE-SU-2024:4364-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-obs-buildppc64le | Advisory build | 5.14.21-150500.55.88.1 | SUSE-SU-2024:4364-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-obs-builds390x | Advisory build | 5.14.21-150500.55.88.1 | SUSE-SU-2024:4364-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-obs-buildx86_64 | Advisory build | 5.14.21-150500.55.88.1 | SUSE-SU-2024:4364-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-rtx86_64 | Advisory build | 5.14.21-150500.13.76.1 | SUSE-SU-2024:3985-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-rt-develx86_64 | Advisory build | 5.14.21-150500.13.76.1 | SUSE-SU-2024:3985-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-rt-vdsox86_64 | Advisory build | 5.14.21-150500.13.76.1 | SUSE-SU-2024:3985-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-rt_debugx86_64 | Advisory build | 5.14.21-150500.13.76.1 | SUSE-SU-2024:3985-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-rt_debug-develx86_64 | Advisory build | 5.14.21-150500.13.76.1 | SUSE-SU-2024:3985-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-rt_debug-vdsox86_64 | Advisory build | 5.14.21-150500.13.76.1 | SUSE-SU-2024:3985-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-sourcenoarch | Advisory build | 5.14.21-150500.55.88.1 | SUSE-SU-2024:4364-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-source-azurenoarch | Advisory build | 5.14.21-150500.33.72.1 | SUSE-SU-2024:3983-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-source-rtnoarch | Advisory build | 5.14.21-150500.13.76.1 | SUSE-SU-2024:3985-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-symsaarch64 | Advisory build | 5.14.21-150500.55.88.1 | SUSE-SU-2024:4364-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-symsppc64le | Advisory build | 5.14.21-150500.55.88.1 | SUSE-SU-2024:4364-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-symss390x | Advisory build | 5.14.21-150500.55.88.1 | SUSE-SU-2024:4364-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-symsx86_64 | Advisory build | 5.14.21-150500.55.88.1 | SUSE-SU-2024:4364-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-syms-azureaarch64 | Advisory build | 5.14.21-150500.33.72.1 | SUSE-SU-2024:3983-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-syms-azurex86_64 | Advisory build | 5.14.21-150500.33.72.1 | SUSE-SU-2024:3983-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-syms-rtx86_64 | Advisory build | 5.14.21-150500.13.76.1 | SUSE-SU-2024:3985-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-zfcpdumps390x | Advisory build | 5.14.21-150500.55.88.1 | SUSE-SU-2024:4364-1 |
| SUSE / openSUSE | SLE-15-SP5 | ocfs2-kmp-defaultaarch64 | Advisory build | 5.14.21-150500.55.88.1 | SUSE-SU-2024:4364-1 |
| SUSE / openSUSE | SLE-15-SP5 | ocfs2-kmp-defaultppc64le | Advisory build | 5.14.21-150500.55.88.1 | SUSE-SU-2024:4364-1 |
| SUSE / openSUSE | SLE-15-SP5 | ocfs2-kmp-defaults390x | Advisory build | 5.14.21-150500.55.88.1 | SUSE-SU-2024:4364-1 |
| SUSE / openSUSE | SLE-15-SP5 | ocfs2-kmp-defaultx86_64 | Advisory build | 5.14.21-150500.55.88.1 | SUSE-SU-2024:4364-1 |
| SUSE / openSUSE | SLE-15-SP5 | ocfs2-kmp-rtx86_64 | Advisory build | 5.14.21-150500.13.76.1 | SUSE-SU-2024:3985-1 |
| SUSE / openSUSE | SLE-15-SP5 | reiserfs-kmp-defaultaarch64 | Advisory build | 5.14.21-150500.55.88.1 | SUSE-SU-2024:4364-1 |
| SUSE / openSUSE | SLE-15-SP5 | reiserfs-kmp-defaultppc64le | Advisory build | 5.14.21-150500.55.88.1 | SUSE-SU-2024:4364-1 |
| SUSE / openSUSE | SLE-15-SP5 | reiserfs-kmp-defaults390x | Advisory build | 5.14.21-150500.55.88.1 | SUSE-SU-2024:4364-1 |
| SUSE / openSUSE | SLE-15-SP5 | reiserfs-kmp-defaultx86_64 | Advisory build | 5.14.21-150500.55.88.1 | SUSE-SU-2024:4364-1 |
| SUSE / openSUSE | SLE-15-SP6 | cluster-md-kmp-defaultaarch64 | Advisory build | 6.4.0-150600.23.30.1 | SUSE-SU-2024:4318-1 |
| SUSE / openSUSE | SLE-15-SP6 | cluster-md-kmp-defaultppc64le | Advisory build | 6.4.0-150600.23.30.1 | SUSE-SU-2024:4318-1 |
| SUSE / openSUSE | SLE-15-SP6 | cluster-md-kmp-defaults390x | Advisory build | 6.4.0-150600.23.30.1 | SUSE-SU-2024:4318-1 |
| SUSE / openSUSE | SLE-15-SP6 | cluster-md-kmp-defaultx86_64 | Advisory build | 6.4.0-150600.23.30.1 | SUSE-SU-2024:4318-1 |
| SUSE / openSUSE | SLE-15-SP6 | cluster-md-kmp-rtx86_64 | Advisory build | 6.4.0-150600.10.17.1 | SUSE-SU-2024:3986-1 |
| SUSE / openSUSE | SLE-15-SP6 | dlm-kmp-defaultaarch64 | Advisory build | 6.4.0-150600.23.30.1 | SUSE-SU-2024:4318-1 |
| SUSE / openSUSE | SLE-15-SP6 | dlm-kmp-defaultppc64le | Advisory build | 6.4.0-150600.23.30.1 | SUSE-SU-2024:4318-1 |
| SUSE / openSUSE | SLE-15-SP6 | dlm-kmp-defaults390x | Advisory build | 6.4.0-150600.23.30.1 | SUSE-SU-2024:4318-1 |
| SUSE / openSUSE | SLE-15-SP6 | dlm-kmp-defaultx86_64 | Advisory build | 6.4.0-150600.23.30.1 | SUSE-SU-2024:4318-1 |
| SUSE / openSUSE | SLE-15-SP6 | dlm-kmp-rtx86_64 | Advisory build | 6.4.0-150600.10.17.1 | SUSE-SU-2024:3986-1 |
| SUSE / openSUSE | SLE-15-SP6 | gfs2-kmp-defaultaarch64 | Advisory build | 6.4.0-150600.23.30.1 | SUSE-SU-2024:4318-1 |
| SUSE / openSUSE | SLE-15-SP6 | gfs2-kmp-defaultppc64le | Advisory build | 6.4.0-150600.23.30.1 | SUSE-SU-2024:4318-1 |
| SUSE / openSUSE | SLE-15-SP6 | gfs2-kmp-defaults390x | Advisory build | 6.4.0-150600.23.30.1 | SUSE-SU-2024:4318-1 |
| SUSE / openSUSE | SLE-15-SP6 | gfs2-kmp-defaultx86_64 | Advisory build | 6.4.0-150600.23.30.1 | SUSE-SU-2024:4318-1 |
| SUSE / openSUSE | SLE-15-SP6 | gfs2-kmp-rtx86_64 | Advisory build | 6.4.0-150600.10.17.1 | SUSE-SU-2024:3986-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-64kbaarch64 | Advisory build | 6.4.0-150600.23.30.1 | SUSE-SU-2024:4318-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-64kb-develaarch64 | Advisory build | 6.4.0-150600.23.30.1 | SUSE-SU-2024:4318-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-azureaarch64 | Advisory build | 6.4.0-150600.8.17.2 | SUSE-SU-2024:3984-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-azurex86_64 | Advisory build | 6.4.0-150600.8.17.2 | SUSE-SU-2024:3984-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-azure-develaarch64 | Advisory build | 6.4.0-150600.8.17.2 | SUSE-SU-2024:3984-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-azure-develx86_64 | Advisory build | 6.4.0-150600.8.17.2 | SUSE-SU-2024:3984-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: Prevent tail call between progs attached to different hooks bpf progs can be attached to kernel functions, and the attached functions can take different parameters or return different return values. If prog attached to one kernel function tail calls prog attached to another kernel function, the ctx access or return value verification could be bypassed. For example, if prog1 is attached to func1 which takes only 1 parameter and prog2 is attached to func2 which takes two parameters. Since verifier assumes the bpf ctx passed to prog2 is constructed based on func2's prototype, verifier allows prog2 to access the second parameter from the bpf ctx passed to it. The problem is that verifier does not prevent prog1 from passing its bpf ctx to prog2 via tail call. In this case, the bpf ctx passed to prog2 is constructed from func1 instead of func2, that is, the assumption for ctx access verification is bypassed. Another example, if BPF LSM prog1 is attached to hook file_alloc_security, and BPF LSM prog2 is attached to hook bpf_lsm_audit_rule_known. Verifier knows the return value rules for these two hooks, e.g. it is legal for bpf_lsm_audit_rule_known to return positive number 1, and it is illegal for file_alloc_security to return positive number. So verifier allows prog2 to return positive number 1, but does not allow prog1 to return positive number. The problem is that verifier does not prevent prog1 from calling prog2 via tail call. In this case, prog2's return value 1 will be used as the return value for prog1's hook file_alloc_security. That is, the return value rule is bypassed. This patch adds restriction for tail call to prevent such bypasses.
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 local `bpf()` syscall — loading two programs, populating a `BPF_MAP_TYPE_PROG_ARRAY` via `bpf_map_update_elem()`, and attaching one to a hook. Per kernel scoring convention BPF bugs are Local; no network or adjacent-network path exists. AC:L - Triggering is fully deterministic and entirely attacker-constructed: load prog A on hook X and prog B on hook Y, insert B into the prog array, attach A, then invoke hook X (e.g. any `open()` for `file_permission`/`file_alloc_security`, or any fentry-traced function). There is no race, no dependence on uncontrolled memory layout, and BTF/trampoline/fentry support plus `CONFIG_BPF_LSM` are enabled by default in mainstream distro kernels. PR:L - The attacker needs `CAP_BPF`+`CAP_PERFMON`, which were deliberately split out of `CAP_SYS_ADMIN` precisely so BPF tracing could be granted to non-administrative principals — observability agents, sidecars, and containers routinely hold them without root, and verifier soundness is the stated boundary they rely on. `bpf_token_capable()` further resolves to `ns_capable(token->userns, ...)`, so with a delegating bpffs mount a user-namespace-confined, non-root principal can load TRACING/LSM programs; this is a constrained delegated privilege, not administrative control over the kernel. UI:N - The attacker performs every step in its own processes — load, map update, attach, and trigger. No victim action, mount, or file open by another user is required. S:U - Both the flawed component (BPF verifier/prog-array compatibility check) and the impacted component (kernel memory and LSM decisions) are the kernel itself, under one security authority. No VM, IOMMU, or hypervisor boundary is crossed. C:H - The callee reads ctx slots the verifier typed from a different hook's prototype, giving out-of-bounds reads of the caller's trampoline frame (traced return value, saved frame pointer — kernel stack and text disclosure defeating KASLR) and, in the same-arity case, a verifier-trusted `PTR_TO_BTF_ID` of the wrong struct type. Because `PTR_TO_BTF_ID` loads are compiled to fault-safe `BPF_PROBE_MEM`, this is a reliable arbitrary kernel-memory read oracle whose results can be exfiltrated through any BPF map. I:H - The forged trusted pointer passes `KF_TRUSTED_ARGS` kfunc checks (`bpf_task_release`, `bpf_sk_release`, `bpf_cgroup_release`), so a refcount field is decremented at an attacker-chosen offset inside an unrelated object — a use-after-free that is the standard route to an arbitrary kernel write and control-flow hijack. Independently, the return-value bypass lets a BPF LSM hook return a value outside its contract, so `security_file_alloc()` yields `ERR_PTR(1)` that `IS_ERR()` misses and the VFS uses as a `struct file *`, and it also lets access-control verdicts be forged. A:H - The companion fix 5d99e198be27 documents that a positive `file_alloc_security` return "makes kernel panic" because the filesystem dereferences it as a file pointer — this CVE re-opens exactly that path through tail calls, from an ordinary `open()`. The type-confused trusted pointer likewise causes oopses and use-after-free crashes when consumed by kfuncs that do not use probe-read semantics.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | f1b9509c2fb0ef4db8d22dac9aef8e856a5d81f6 to < d9a807fb7cbfad4328824186e2e4bee28f72169b (affected · git)f1b9509c2fb0ef4db8d22dac9aef8e856a5d81f6 to < 5d5e3b4cbe8ee16b7bf96fd73a421c92a9da3ca1 (affected · git)f1b9509c2fb0ef4db8d22dac9aef8e856a5d81f6 to < 88c2a10e6c176c2860cd0659f4c0e9d20b3f64d1 (affected · git)f1b9509c2fb0ef4db8d22dac9aef8e856a5d81f6 to < 28ead3eaabc16ecc907cfb71876da028080f6356 (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 5.5 (affected)0 to < 5.5 (unaffected · semver)6.1.135 through 6.1.* (unaffected · semver)6.6.57 through 6.6.* (unaffected · semver)6.11.4 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/28ead3eaabc16ecc907cfb71876da028080f6356
- https://git.kernel.org/stable/c/5d5e3b4cbe8ee16b7bf96fd73a421c92a9da3ca1
- https://git.kernel.org/stable/c/88c2a10e6c176c2860cd0659f4c0e9d20b3f64d1
- https://git.kernel.org/stable/c/d9a807fb7cbfad4328824186e2e4bee28f72169b
- https://lists.debian.org/debian-lts-announce/2025/05/msg00045.html
Provider assertions
4Linux · cna
bpf: Prevent tail call between progs attached to different hooks
siemens-SADP · adp
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- e7a7405dd5b945dd4db8b8eff5a0d8003fb9ffba67e1be7450de2f1ab88af569
- Ingested
- 10 Nov 2026, 12:40:45 UTC
- Source record
- Official CVE record