CVE-2024-35917
Linux Kernel vulnerability analysis and mitigation

Overview

CVE-2024-35917 affects the Linux kernel's s390/bpf subsystem. The vulnerability was discovered by Kui-Feng Lee who reported a crash on s390x triggered by the dummy_st_ops/dummy_init_ptr_arg test. The issue was identified in March 2024 and involves pointer arithmetic in the bpf_plt functionality (Kernel Commit).

Technical details

The vulnerability stems from GCC's behavior of moving memcpy() operations after assignments in bpf_jit_plt(), which results in NULL pointers being written instead of the return and target addresses. This occurs because GCC's alias analysis incorrectly assumes that the memcpy() destination and the assignments' left-hand-sides are based on different objects (new_plt and bpf_plt_ret/bpf_plt_target). The root cause is a violation of the C standard regarding pointer subtraction, where both pointers must point to elements of the same array object (Kernel Commit).

Impact

The vulnerability can cause system crashes when executing certain BPF operations on s390x architecture systems. The issue specifically manifests during the execution of the dummy_st_ops/dummy_init_ptr_arg test, leading to system instability (Kernel Commit).

Mitigation and workarounds

The issue has been fixed by restructuring the code to avoid the problematic pointer arithmetic. The fix involves hardcoding offsets instead of relying on pointer subtraction between distinct objects. The patch has been implemented in the Linux kernel through multiple commits (Kernel Commit, Stable Commit 1, Stable Commit 2).

Additional resources


SourceThis report was generated using AI

Related Linux Kernel vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-68480NONEN/A
  • Linux Kernel logoLinux Kernel
  • kernel-64k-debug-devel-matched
NoYesAug 06, 2026
CVE-2026-64582NONEN/A
  • Linux Kernel logoLinux Kernel
  • kernel-zfcpdump-modules-extra
NoYesAug 05, 2026
CVE-2026-64579NONEN/A
  • Linux Kernel logoLinux Kernel
  • kernel-rt-modules-internal
NoYesAug 05, 2026
CVE-2026-64576NONEN/A
  • Linux Kernel logoLinux Kernel
  • kernel-rt
NoYesAug 05, 2026
CVE-2026-64575NONEN/A
  • Linux Kernel logoLinux Kernel
  • linux-gcp-6.17
NoYesAug 05, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management