CVE-2025-40078
Linux Kernel vulnerability analysis and mitigation

Overview

CVE-2025-40078 is a vulnerability discovered in the Linux kernel related to improper access validation in the bpfsockaddr functionality. The vulnerability was disclosed on October 28, 2025, and affects the BPF (Berkeley Packet Filter) subsystem (NVD).

Technical details

The vulnerability stems from insufficient validation of accesses to bpfsockaddr in the Linux kernel. Specifically, the issue occurs when accessing offset 60 in bpfsockaddr, which corresponds to an implicit padding of 4 bytes after msgsrcip4. The access to this padding isn't properly rejected in sockaddrisvalidaccess, leading to a verifier bug during ctx access conversion. The vulnerability has been assigned a CVSS v3.1 base score of 5.5 with the vector string CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H (Red Hat).

Impact

The vulnerability can result in a kernel warning when exploited, potentially leading to system availability issues. The CVSS metrics indicate that while there is no impact on confidentiality or integrity, there is a high impact on system availability (Red Hat).

Mitigation and workarounds

The vulnerability has been addressed through patches that explicitly check the various fields of bpfsockaddr in sockaddrisvalidaccess. Red Hat has marked this as 'Fix deferred' for Red Hat Enterprise Linux versions 8, 9, and 10, while version 7 is not affected (Red Hat).

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-40082N/AN/A
  • Linux KernelLinux Kernel
  • linux
NoNoOct 28, 2025
CVE-2025-40081N/AN/A
  • Linux KernelLinux Kernel
  • kernel-64k-debug-modules-partner
NoNoOct 28, 2025
CVE-2025-40080N/AN/A
  • Linux KernelLinux Kernel
  • kernel-devel-matched
NoNoOct 28, 2025
CVE-2025-40078N/AN/A
  • Linux KernelLinux Kernel
  • kernel-devel
NoNoOct 28, 2025
CVE-2025-40075N/AN/A
  • Linux KernelLinux Kernel
  • kernel-tools
NoNoOct 28, 2025

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