Kernel Vulnerability in Linux Packages: Out-of-Bounds Memory Access Due to DACL Overflow

linux Updated 02 Oct 2025

Summary

16/04/2025
N/A
No i
Unrated
Not published

CVE-2025-22039: In the Linux kernel, the following vulnerability has been resolved: ksmbd: fix overflow in dacloffset bounds check The dacloffset field was originally typed as int and used in an unchecked addition, which could overflow... Affects linux versions 6.1.106-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 Devnack Your last release was probably never penetration tested Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

The Linux kernel is a core component of many operating systems, providing essential services for hardware management, process scheduling, and system calls. It is widely used in various distributions, including Debian. The kernel's stability and security are paramount, as vulnerabilities can lead to severe system crashes or unauthorized access. This specific vulnerability affects the kernel's handling of Discretionary Access Control Lists (DACLs), which are critical for managing permissions and access rights.

Vulnerability Detail

The vulnerability identified as CVE-2025-22039 arises from an unchecked addition involving the dacloffset field, originally typed as int. This oversight can lead to an overflow, allowing attackers to bypass existing bounds checks in the functions smb_check_perm_dacl() and smb_inherit_dacl(). The consequence of this flaw is a potential out-of-bounds memory access, which could crash the kernel when the DACL pointer is dereferenced, posing a significant risk to system stability and security.

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

As a temporary measure, users can limit access to the affected functionalities or disable the use of DACLs until the patch is applied. However, this may not be feasible for all environments, and applying the patch is strongly recommended.

Conclusion

CVE-2025-22039 is a critical vulnerability in the Linux kernel that can lead to serious security risks. It is essential for users to update their systems to the patched version to mitigate these risks. Regular monitoring for vulnerabilities using tools like Vulert can help maintain system security.

See every vulnerability recorded for linux →

Share this vulnerability

FAQ

CVE-2025-22039 is a vulnerability in the Linux kernel that allows for out-of-bounds memory access due to an overflow in the dacloffset bounds check.

This vulnerability can lead to kernel crashes and potential unauthorized access, compromising system stability and security.

The vulnerability affects Linux packages in Debian 11, 12, and 13.

You can use Vulert's playground at Vulert Scanner to check if your application is affected by this vulnerability without requiring any signup.

If immediate updates are not possible, consider limiting access to the affected functionalities or disabling DACLs as a temporary workaround.

Related vulnerabilities

Recent vulnerabilities recorded for linux.

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