Kernel Vulnerability in Linux Package: CVE-2025-40078 - BPF Access Check Flaw

linux Updated 04 Nov 2025

Summary

28/10/2025
N/A
No i
Unrated
Not published

DEBIAN-CVE-2025-40078: In the Linux kernel, the following vulnerability has been resolved: bpf: Explicitly check accesses to bpf_sock_addr Syzkaller found a kernel warning on the following sock_addr program: 0: r0 = 0 1: r2 = *(u32 *)(r1 +60)... Affects linux versions 5.10.103-1 – 6.9.9-1. No fix is published. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

Background

The Linux kernel is the core component of the Linux operating system, responsible for managing hardware and system resources. It provides essential services for all other parts of the operating system and is known for its stability and performance. However, vulnerabilities can arise, such as CVE-2025-40078, which affects the BPF (Berkeley Packet Filter) subsystem, specifically in the handling of socket address structures.

Vulnerability Detail

CVE-2025-40078 is a vulnerability found in the Linux kernel's BPF subsystem, where an improper access check to the bpf_sock_addr structure can lead to a kernel warning. This issue arises when accessing an implicit padding of 4 bytes after the msg_src_ip4 field, which is not correctly rejected by the sock_addr_is_valid_access function. This oversight can result in a verifier bug, potentially leading to unexpected behavior or crashes in the kernel.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Workaround

Currently, there are no specific workarounds mentioned for this vulnerability. The best course of action is to apply the patch as soon as it becomes available.

Conclusion

CVE-2025-40078 is a significant vulnerability in the Linux kernel's BPF subsystem that requires immediate attention. Users should ensure their systems are updated to the latest kernel version to mitigate the risks associated with this issue. Regular monitoring and updates are essential for maintaining system security.

See every vulnerability recorded for linux →

Share this vulnerability

FAQ

CVE-2025-40078 is a vulnerability in the Linux kernel's BPF subsystem that allows improper access to socket address structures, potentially leading to kernel warnings and crashes.

You can use the Vulert platform to monitor and alert for open-source vulnerabilities in your software. By uploading your manifest file, such as package-lock.json, you can check if your application is affected by CVE-2025-40078.

The risks include potential kernel crashes, unexpected behavior in network operations, and overall system instability, which can affect the reliability of applications running on the affected kernel.

Yes, a patch has been developed to address CVE-2025-40078. Users are advised to update their Linux kernel package to the latest version that includes this patch.

To apply the patch, update your Linux kernel package using the commands 'sudo apt update' followed by 'sudo apt upgrade linux'. Reboot your system after the update.

Related vulnerabilities

Recent vulnerabilities recorded for linux.

Sponsored Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback