CVE-2024-58098
Linux Kernel vulnerability analysis and mitigation

Overview

A vulnerability (CVE-2024-58098) was identified in the Linux kernel's BPF subsystem related to tracking the changes_pkt_data property for global functions. The issue was discovered and disclosed on May 5, 2025, affecting the Linux kernel's BPF verifier component (NVD, Wiz).

Technical details

The vulnerability exists in the BPF verifier's handling of packet data pointers after calls to global functions. When processing helper function calls, the verifier invalidates packet pointers but fails to traverse global sub-programs during the verification process. This means that calls to helpers made from global sub-programs do not properly invalidate pointers in the caller state, leading to potential unsafe operations. The issue specifically affects the bpf_helper_changes_pkt_data() function in filter.c. According to Red Hat's assessment, this vulnerability has been assigned a CVSS v3 score of 5.5, indicating moderate severity (Red Hat).

Impact

The vulnerability could allow unsafe use of packet pointers after certain BPF helper calls, potentially leading to memory corruption or other security issues. The issue affects various Linux distributions including Red Hat Enterprise Linux 9, Ubuntu, and Debian systems (Red Hat).

Mitigation and workarounds

The vulnerability has been resolved by implementing proper tracking of the changes_pkt_data property for global functions. The fix involves computing the bpf_subprog_info->changes_pkt_data field for each sub-program before the main verification pass, ensuring that packet pointer invalidation is properly propagated through global function calls (Wiz).

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-2025-71142N/AN/A
  • Linux KernelLinux Kernel
  • kernel-64k-debug-devel-matched
NoNoJan 14, 2026
CVE-2025-71137N/AN/A
  • Linux KernelLinux Kernel
  • linux-gcp
NoYesJan 14, 2026
CVE-2025-71135N/AN/A
  • Linux KernelLinux Kernel
  • kernel-debug-core
NoNoJan 14, 2026
CVE-2025-71134N/AN/A
  • Linux KernelLinux Kernel
  • kernel-uki-virt
NoNoJan 14, 2026
CVE-2025-71133N/AN/A
  • Linux KernelLinux Kernel
  • kernel-modules-extra
NoYesJan 14, 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