CyberSecBulletin
CVE-2025-22039NVD status: Modified

Linux: Out-of-bounds Read

CVE-2025-22039 is a high-severity out-of-bounds read vulnerability in Linux, with a CVSS 3.1 base score of 7.1 out of 10. It can be exploited with local access to the system by an attacker with a low-privileged account, without any action from a user. The record lists versions abbb4ec41867f2cd1c971258e493893bf43bcbd3, 8483d7b532be1d1bc149556a2fedf903868c6303, 73f074fb5e139cd42ad75089abe4e28a49a30003 as the first without the flaw, so updating Linux to one of those releases or later removes the exposure. There is no confirmed exploitation so far. EPSS estimates a 0.8% chance of exploitation within 30 days, higher than 57% of scored CVEs.

Next patch cycle

High severity with no evidence of exploitation so far.

What to do

  1. Update Linux to abbb4ec41867f2cd1c971258e493893bf43bcbd3 or 8483d7b532be1d1bc149556a2fedf903868c6303 or 73f074fb5e139cd42ad75089abe4e28a49a30003 or 6a9cd9ff0fa2bcc30b2bfb8bdb161eb20e44b9dc, whichever matches your release line, or a later version.
  2. Update Linux Kernel to 6.12.23 or 6.13.11 or 6.14.2, whichever matches your release line, or a later version.

Affected products and versions

VendorProductAffected versionsFixed in
LinuxLinux0626e6641f6b467447c81dd7678a69c66f7746cf up to, but not including, abbb4ec41867f2cd1c971258e493893bf43bcbd3; 0626e6641f6b467447c81dd7678a69c66f7746cf up to, but not including, 8483d7b532be1d1bc149556a2fedf903868c6303; 0626e6641f6b467447c81dd7678a69c66f7746cf up to, but not including, 73f074fb5e139cd42ad75089abe4e28a49a30003; 0626e6641f6b467447c81dd7678a69c66f7746cf up to, but not including, 6a9cd9ff0fa2bcc30b2bfb8bdb161eb20e44b9dc; 0626e6641f6b467447c81dd7678a69c66f7746cf up to, but not including, 6b8d379048b168a0dff5ab1acb975b933f368514; 0626e6641f6b467447c81dd7678a69c66f7746cf up to, but not including, 443b373a4df5a2cb9f7b8c4658b2afedeb16397f; 0626e6641f6b467447c81dd7678a69c66f7746cf up to, but not including, beff0bc9d69bc8e733f9bca28e2d3df5b3e10e42; 5.15abbb4ec41867f2cd1c971258e493893bf43bcbd3, 8483d7b532be1d1bc149556a2fedf903868c6303, 73f074fb5e139cd42ad75089abe4e28a49a30003, 6a9cd9ff0fa2bcc30b2bfb8bdb161eb20e44b9dc, 6b8d379048b168a0dff5ab1acb975b933f368514, 443b373a4df5a2cb9f7b8c4658b2afedeb16397f
LinuxLinux Kernel5.15 up to, but not including, 6.12.23; 6.13 up to, but not including, 6.13.11; 6.14 up to, but not including, 6.14.26.12.23, 6.13.11, 6.14.2

Version data comes from the organisation that assigned the CVE. Confirm against the vendor advisory before deciding you are unaffected.

How the severity score breaks down

Attack vector
LocalThe attacker needs local access or must trick a user into running something.
Attack complexity
LowNo special conditions are needed; the attack works reliably.
Privileges required
LowA basic user account is enough.
User interaction
NoneNo action by a victim is required.
Scope
UnchangedImpact stays within the vulnerable component.
Confidentiality
HighAll data handled by the component can be read.
Integrity
NoneNothing can be modified.
Availability
HighThe component can be taken down completely.

Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H. Scored by NVD.

Scoring systemScoreSeverityScored by
CVSS 3.18.8HighCNA
CVSS 3.17.1HighNVD

Official description

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 and bypass the existing bounds check in both smb_check_perm_dacl() and smb_inherit_dacl(). This could result in out-of-bounds memory access and a kernel crash when dereferencing the DACL pointer. This patch converts dacloffset to unsigned int and uses check_add_overflow() to validate access to the DACL.

Source: the CVE record as published by its numbering authority, via NVD and CVE.org.

The underlying weakness: Out-of-bounds Read

The product reads data past the end, or before the beginning, of the intended buffer.

How developers prevent this class of flaw

  • Use a language that provides appropriate memory abstractions.

More Out-of-bounds Read vulnerabilities (CWE-125)

Timeline

  1. CVE record published.
  2. Record last changed materially (score, affected products, status or references).

References

Recent Out-of-bounds Read vulnerabilities

Spotted an error? Tell us.