CVE-2024-35917
publisheds390/bpf: Fix bpf_plt pointer arithmetic
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linuxf1d5df84cd8c3ec6460c78f5b86be7c84577a83f to < c3062bdb859b6e2567e7f5c8cde20c0250bb130f · f1d5df84cd8c3ec6460c78f5b86be7c84577a83f to < d3d74e45a060d218fe4b0c9174f0a77517509d8e · f1d5df84cd8c3ec6460c78f5b86be7c84577a83f to < 7ded842b356d151ece8ac4985940438e6d3998bb · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux6.3 (affected) · 0 to < 6.3 (unaffected · semver) · 6.6.26 through 6.6.* (unaffected · semver) · 6.8.5 through 6.8.* (unaffected · semver) · 6.9 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-SP6 | cluster-md-kmp-defaultaarch64 | Advisory build | 6.4.0-150600.23.7.3 | SUSE-SU-2024:2203-1 |
| SUSE / openSUSE | SLE-15-SP6 | cluster-md-kmp-defaultppc64le | Advisory build | 6.4.0-150600.23.7.3 | SUSE-SU-2024:2203-1 |
| SUSE / openSUSE | SLE-15-SP6 | cluster-md-kmp-defaults390x | Advisory build | 6.4.0-150600.23.7.3 | SUSE-SU-2024:2203-1 |
| SUSE / openSUSE | SLE-15-SP6 | cluster-md-kmp-defaultx86_64 | Advisory build | 6.4.0-150600.23.7.3 | SUSE-SU-2024:2203-1 |
Show 96 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| SUSE / openSUSE | SLE-15-SP6 | cluster-md-kmp-rtx86_64 | Advisory build | 6.4.0-150600.10.5.1 | SUSE-SU-2024:2973-1 |
| SUSE / openSUSE | SLE-15-SP6 | dlm-kmp-defaultaarch64 | Advisory build | 6.4.0-150600.23.7.3 | SUSE-SU-2024:2203-1 |
| SUSE / openSUSE | SLE-15-SP6 | dlm-kmp-defaultppc64le | Advisory build | 6.4.0-150600.23.7.3 | SUSE-SU-2024:2203-1 |
| SUSE / openSUSE | SLE-15-SP6 | dlm-kmp-defaults390x | Advisory build | 6.4.0-150600.23.7.3 | SUSE-SU-2024:2203-1 |
| SUSE / openSUSE | SLE-15-SP6 | dlm-kmp-defaultx86_64 | Advisory build | 6.4.0-150600.23.7.3 | SUSE-SU-2024:2203-1 |
| SUSE / openSUSE | SLE-15-SP6 | dlm-kmp-rtx86_64 | Advisory build | 6.4.0-150600.10.5.1 | SUSE-SU-2024:2973-1 |
| SUSE / openSUSE | SLE-15-SP6 | gfs2-kmp-defaultaarch64 | Advisory build | 6.4.0-150600.23.7.3 | SUSE-SU-2024:2203-1 |
| SUSE / openSUSE | SLE-15-SP6 | gfs2-kmp-defaultppc64le | Advisory build | 6.4.0-150600.23.7.3 | SUSE-SU-2024:2203-1 |
| SUSE / openSUSE | SLE-15-SP6 | gfs2-kmp-defaults390x | Advisory build | 6.4.0-150600.23.7.3 | SUSE-SU-2024:2203-1 |
| SUSE / openSUSE | SLE-15-SP6 | gfs2-kmp-defaultx86_64 | Advisory build | 6.4.0-150600.23.7.3 | SUSE-SU-2024:2203-1 |
| SUSE / openSUSE | SLE-15-SP6 | gfs2-kmp-rtx86_64 | Advisory build | 6.4.0-150600.10.5.1 | SUSE-SU-2024:2973-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-64kbaarch64 | Advisory build | 6.4.0-150600.23.7.3 | SUSE-SU-2024:2203-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-64kb-develaarch64 | Advisory build | 6.4.0-150600.23.7.3 | SUSE-SU-2024:2203-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-azureaarch64 | Advisory build | 6.4.0-150600.8.5.4 | SUSE-SU-2024:2135-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-azurex86_64 | Advisory build | 6.4.0-150600.8.5.4 | SUSE-SU-2024:2135-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-azure-develaarch64 | Advisory build | 6.4.0-150600.8.5.4 | SUSE-SU-2024:2135-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-azure-develx86_64 | Advisory build | 6.4.0-150600.8.5.4 | SUSE-SU-2024:2135-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-defaultaarch64 | Advisory build | 6.4.0-150600.23.7.3 | SUSE-SU-2024:2203-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-defaultppc64le | Advisory build | 6.4.0-150600.23.7.3 | SUSE-SU-2024:2203-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-defaults390x | Advisory build | 6.4.0-150600.23.7.3 | SUSE-SU-2024:2203-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-defaultx86_64 | Advisory build | 6.4.0-150600.23.7.3 | SUSE-SU-2024:2203-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-default-baseaarch64 | Advisory build | 6.4.0-150600.23.7.3.150600.12.2.7 | SUSE-SU-2024:2203-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-default-baseppc64le | Advisory build | 6.4.0-150600.23.7.3.150600.12.2.7 | SUSE-SU-2024:2203-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-default-basex86_64 | Advisory build | 6.4.0-150600.23.7.3.150600.12.2.7 | SUSE-SU-2024:2203-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-default-develaarch64 | Advisory build | 6.4.0-150600.23.7.3 | SUSE-SU-2024:2203-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-default-develppc64le | Advisory build | 6.4.0-150600.23.7.3 | SUSE-SU-2024:2203-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-default-devels390x | Advisory build | 6.4.0-150600.23.7.3 | SUSE-SU-2024:2203-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-default-develx86_64 | Advisory build | 6.4.0-150600.23.7.3 | SUSE-SU-2024:2203-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-default-extrax86_64 | Advisory build | 6.4.0-150600.23.7.3 | SUSE-SU-2024:2203-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-default-livepatchppc64le | Advisory build | 6.4.0-150600.23.7.3 | SUSE-SU-2024:2203-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-default-livepatchs390x | Advisory build | 6.4.0-150600.23.7.3 | SUSE-SU-2024:2203-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-default-livepatchx86_64 | Advisory build | 6.4.0-150600.23.7.3 | SUSE-SU-2024:2203-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-default-livepatch-develppc64le | Advisory build | 6.4.0-150600.23.7.3 | SUSE-SU-2024:2203-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-default-livepatch-devels390x | Advisory build | 6.4.0-150600.23.7.3 | SUSE-SU-2024:2203-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-default-livepatch-develx86_64 | Advisory build | 6.4.0-150600.23.7.3 | SUSE-SU-2024:2203-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-develnoarch | Advisory build | 6.4.0-150600.23.7.2 | SUSE-SU-2024:2203-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-devel-azurenoarch | Advisory build | 6.4.0-150600.8.5.4 | SUSE-SU-2024:2135-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-devel-rtnoarch | Advisory build | 6.4.0-150600.10.5.1 | SUSE-SU-2024:2973-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-docsnoarch | Advisory build | 6.4.0-150600.23.7.4 | SUSE-SU-2024:2203-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-livepatch-6_4_0-150600_10_5-rtx86_64 | Advisory build | 1-150600.1.5.1 | SUSE-SU-2024:2973-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-livepatch-6_4_0-150600_23_7-defaultppc64le | Advisory build | 1-150600.13.3.7 | SUSE-SU-2024:2203-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-livepatch-6_4_0-150600_23_7-defaults390x | Advisory build | 1-150600.13.3.7 | SUSE-SU-2024:2203-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-livepatch-6_4_0-150600_23_7-defaultx86_64 | Advisory build | 1-150600.13.3.7 | SUSE-SU-2024:2203-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-macrosnoarch | Advisory build | 6.4.0-150600.23.7.2 | SUSE-SU-2024:2203-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-obs-buildaarch64 | Advisory build | 6.4.0-150600.23.7.3 | SUSE-SU-2024:2203-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-obs-buildppc64le | Advisory build | 6.4.0-150600.23.7.3 | SUSE-SU-2024:2203-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-obs-builds390x | Advisory build | 6.4.0-150600.23.7.3 | SUSE-SU-2024:2203-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-obs-buildx86_64 | Advisory build | 6.4.0-150600.23.7.3 | SUSE-SU-2024:2203-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-rtx86_64 | Advisory build | 6.4.0-150600.10.5.1 | SUSE-SU-2024:2973-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-rt-develx86_64 | Advisory build | 6.4.0-150600.10.5.1 | SUSE-SU-2024:2973-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-rt_debugx86_64 | Advisory build | 6.4.0-150600.10.5.1 | SUSE-SU-2024:2973-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-rt_debug-develx86_64 | Advisory build | 6.4.0-150600.10.5.1 | SUSE-SU-2024:2973-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-sourcenoarch | Advisory build | 6.4.0-150600.23.7.2 | SUSE-SU-2024:2203-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-source-azurenoarch | Advisory build | 6.4.0-150600.8.5.4 | SUSE-SU-2024:2135-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-source-rtnoarch | Advisory build | 6.4.0-150600.10.5.1 | SUSE-SU-2024:2973-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-symsaarch64 | Advisory build | 6.4.0-150600.23.7.1 | SUSE-SU-2024:2203-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-symsppc64le | Advisory build | 6.4.0-150600.23.7.1 | SUSE-SU-2024:2203-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-symss390x | Advisory build | 6.4.0-150600.23.7.1 | SUSE-SU-2024:2203-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-symsx86_64 | Advisory build | 6.4.0-150600.23.7.1 | SUSE-SU-2024:2203-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-syms-azureaarch64 | Advisory build | 6.4.0-150600.8.5.1 | SUSE-SU-2024:2135-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-syms-azurex86_64 | Advisory build | 6.4.0-150600.8.5.1 | SUSE-SU-2024:2135-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-syms-rtx86_64 | Advisory build | 6.4.0-150600.10.5.1 | SUSE-SU-2024:2973-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-zfcpdumps390x | Advisory build | 6.4.0-150600.23.7.3 | SUSE-SU-2024:2203-1 |
| SUSE / openSUSE | SLE-15-SP6 | ocfs2-kmp-defaultaarch64 | Advisory build | 6.4.0-150600.23.7.3 | SUSE-SU-2024:2203-1 |
| SUSE / openSUSE | SLE-15-SP6 | ocfs2-kmp-defaultppc64le | Advisory build | 6.4.0-150600.23.7.3 | SUSE-SU-2024:2203-1 |
| SUSE / openSUSE | SLE-15-SP6 | ocfs2-kmp-defaults390x | Advisory build | 6.4.0-150600.23.7.3 | SUSE-SU-2024:2203-1 |
| SUSE / openSUSE | SLE-15-SP6 | ocfs2-kmp-defaultx86_64 | Advisory build | 6.4.0-150600.23.7.3 | SUSE-SU-2024:2203-1 |
| SUSE / openSUSE | SLE-15-SP6 | ocfs2-kmp-rtx86_64 | Advisory build | 6.4.0-150600.10.5.1 | SUSE-SU-2024:2973-1 |
| SUSE / openSUSE | SLE-15-SP6 | reiserfs-kmp-defaultaarch64 | Advisory build | 6.4.0-150600.23.7.3 | SUSE-SU-2024:2203-1 |
| SUSE / openSUSE | SLE-15-SP6 | reiserfs-kmp-defaultppc64le | Advisory build | 6.4.0-150600.23.7.3 | SUSE-SU-2024:2203-1 |
| SUSE / openSUSE | SLE-15-SP6 | reiserfs-kmp-defaults390x | Advisory build | 6.4.0-150600.23.7.3 | SUSE-SU-2024:2203-1 |
| SUSE / openSUSE | SLE-15-SP6 | reiserfs-kmp-defaultx86_64 | Advisory build | 6.4.0-150600.23.7.3 | SUSE-SU-2024:2203-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | cluster-md-kmp-64kbaarch64 | Advisory build | 6.4.0-150600.23.7.3 | SUSE-SU-2024:2203-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | cluster-md-kmp-azureaarch64 | Advisory build | 6.4.0-150600.8.5.4 | SUSE-SU-2024:2135-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | cluster-md-kmp-azurex86_64 | Advisory build | 6.4.0-150600.8.5.4 | SUSE-SU-2024:2135-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | cluster-md-kmp-defaultaarch64 | Advisory build | 6.4.0-150600.23.7.3 | SUSE-SU-2024:2203-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | cluster-md-kmp-defaultppc64le | Advisory build | 6.4.0-150600.23.7.3 | SUSE-SU-2024:2203-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | cluster-md-kmp-defaults390x | Advisory build | 6.4.0-150600.23.7.3 | SUSE-SU-2024:2203-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | cluster-md-kmp-defaultx86_64 | Advisory build | 6.4.0-150600.23.7.3 | SUSE-SU-2024:2203-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | cluster-md-kmp-rtx86_64 | Advisory build | 6.4.0-150600.10.5.1 | SUSE-SU-2024:2973-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | dlm-kmp-64kbaarch64 | Advisory build | 6.4.0-150600.23.7.3 | SUSE-SU-2024:2203-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | dlm-kmp-azureaarch64 | Advisory build | 6.4.0-150600.8.5.4 | SUSE-SU-2024:2135-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | dlm-kmp-azurex86_64 | Advisory build | 6.4.0-150600.8.5.4 | SUSE-SU-2024:2135-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | dlm-kmp-defaultaarch64 | Advisory build | 6.4.0-150600.23.7.3 | SUSE-SU-2024:2203-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | dlm-kmp-defaultppc64le | Advisory build | 6.4.0-150600.23.7.3 | SUSE-SU-2024:2203-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | dlm-kmp-defaults390x | Advisory build | 6.4.0-150600.23.7.3 | SUSE-SU-2024:2203-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | dlm-kmp-defaultx86_64 | Advisory build | 6.4.0-150600.23.7.3 | SUSE-SU-2024:2203-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | dlm-kmp-rtx86_64 | Advisory build | 6.4.0-150600.10.5.1 | SUSE-SU-2024:2973-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | dtb-allwinneraarch64 | Advisory build | 6.4.0-150600.23.7.1 | SUSE-SU-2024:2203-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | dtb-alteraaarch64 | Advisory build | 6.4.0-150600.23.7.1 | SUSE-SU-2024:2203-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | dtb-amazonaarch64 | Advisory build | 6.4.0-150600.23.7.1 | SUSE-SU-2024:2203-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | dtb-amdaarch64 | Advisory build | 6.4.0-150600.23.7.1 | SUSE-SU-2024:2203-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | dtb-amlogicaarch64 | Advisory build | 6.4.0-150600.23.7.1 | SUSE-SU-2024:2203-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | dtb-apmaarch64 | Advisory build | 6.4.0-150600.23.7.1 | SUSE-SU-2024:2203-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | dtb-appleaarch64 | Advisory build | 6.4.0-150600.23.7.1 | SUSE-SU-2024:2203-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | dtb-armaarch64 | Advisory build | 6.4.0-150600.23.7.1 | SUSE-SU-2024:2203-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: s390/bpf: Fix bpf_plt pointer arithmetic Kui-Feng Lee reported a crash on s390x triggered by the dummy_st_ops/dummy_init_ptr_arg test [1]: [<0000000000000002>] 0x2 [<00000000009d5cde>] bpf_struct_ops_test_run+0x156/0x250 [<000000000033145a>] __sys_bpf+0xa1a/0xd00 [<00000000003319dc>] __s390x_sys_bpf+0x44/0x50 [<0000000000c4382c>] __do_syscall+0x244/0x300 [<0000000000c59a40>] system_call+0x70/0x98 This is caused by GCC moving memcpy() after assignments in bpf_jit_plt(), resulting in NULL pointers being written instead of the return and the target addresses. Looking at the GCC internals, the reordering is allowed because the alias analysis thinks that the memcpy() destination and the assignments' left-hand-sides are based on different objects: new_plt and bpf_plt_ret/bpf_plt_target respectively, and therefore they cannot alias. This is in turn due to a violation of the C standard: When two pointers are subtracted, both shall point to elements of the same array object, or one past the last element of the array object ... From the C's perspective, bpf_plt_ret and bpf_plt are distinct objects and cannot be subtracted. In the practical terms, doing so confuses the GCC's alias analysis. The code was written this way in order to let the C side know a few offsets defined in the assembly. While nice, this is by no means necessary. Fix the noncompliance by hardcoding these offsets. [1] https://lore.kernel.org/bpf/[email protected]/
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | f1d5df84cd8c3ec6460c78f5b86be7c84577a83f to < c3062bdb859b6e2567e7f5c8cde20c0250bb130f (affected · git)f1d5df84cd8c3ec6460c78f5b86be7c84577a83f to < d3d74e45a060d218fe4b0c9174f0a77517509d8e (affected · git)f1d5df84cd8c3ec6460c78f5b86be7c84577a83f to < 7ded842b356d151ece8ac4985940438e6d3998bb (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 6.3 (affected)0 to < 6.3 (unaffected · semver)6.6.26 through 6.6.* (unaffected · semver)6.8.5 through 6.8.* (unaffected · semver)6.9 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
3Provider assertions
3Linux · cna
s390/bpf: Fix bpf_plt pointer arithmetic
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- af44eb3c6dcf0cc123c82c21c6a18ebf62e34e72c2fa5f40d3488f5b2283cb60
- Ingested
- 23 Sep 2026, 08:23:51 UTC
- Source record
- Official CVE record