Linux Kernel up to 6.17-rc3 xfs xfs_attr_leaf_get escape output

CVSS Meta Temp Score
CVSS is a standardized scoring system to determine possibilities of attacks. The Temp Score considers temporal factors like disclosure, exploit and countermeasures. The unique Meta Score calculates the average score of different sources to provide a normalized scoring system.
Current Exploit Price (≈)
Our analysts are monitoring exploit markets and are in contact with vulnerability brokers. The range indicates the observed or calculated exploit price to be seen on exploit markets. A good indicator to understand the monetary effort required for and the popularity of an attack.
CTI Interest Score
Our Cyber Threat Intelligence team is monitoring different web sites, mailing lists, exploit markets and social media networks. The CTI Interest Score identifies the interest of attackers and the security community for this specific vulnerability in real-time. A high score indicates an elevated risk to be targeted for this vulnerability.
6.5$0-$5k0.00

Summaryinfo

A vulnerability, which was classified as critical, has been found in Linux Kernel up to 6.17-rc3. Affected by this vulnerability is the function xfs_attr_leaf_get of the component xfs. Performing a manipulation results in escape output. This vulnerability was named CVE-2025-39835. There is no available exploit. It is advisable to upgrade the affected component.

Detailsinfo

A vulnerability classified as critical has been found in Linux Kernel up to 6.17-rc3. This affects the function xfs_attr_leaf_get of the component xfs. The manipulation with an unknown input leads to a escape output vulnerability. CWE is classifying the issue as CWE-116. The product prepares a structured message for communication with another component, but encoding or escaping of the data is either missing or done incorrectly. As a result, the intended structure of the message is not preserved. The impact remains unknown. The summary by CVE is:

In the Linux kernel, the following vulnerability has been resolved: xfs: do not propagate ENODATA disk errors into xattr code ENODATA (aka ENOATTR) has a very specific meaning in the xfs xattr code; namely, that the requested attribute name could not be found. However, a medium error from disk may also return ENODATA. At best, this medium error may escape to userspace as "attribute not found" when in fact it's an IO (disk) error. At worst, we may oops in xfs_attr_leaf_get() when we do: error = xfs_attr_leaf_hasname(args, &bp); if (error == -ENOATTR) { xfs_trans_brelse(args->trans, bp); return error; } because an ENODATA/ENOATTR error from disk leaves us with a null bp, and the xfs_trans_brelse will then null-deref it. As discussed on the list, we really need to modify the lower level IO functions to trap all disk errors and ensure that we don't let unique errors like this leak up into higher xfs functions - many like this should be remapped to EIO. However, this patch directly addresses a reported bug in the xattr code, and should be safe to backport to stable kernels. A larger-scope patch to handle more unique errors at lower levels can follow later. (Note, prior to 07120f1abdff we did not oops, but we did return the wrong error code to userspace.)

It is possible to read the advisory at git.kernel.org. This vulnerability is uniquely identified as CVE-2025-39835 since 04/16/2025. Technical details of the vulnerability are known, but there is no available exploit. The pricing for an exploit might be around USD $0-$5k at the moment (estimation calculated on 01/16/2026).

The vulnerability scanner Nessus provides a plugin with the ID 265198 (Linux Distros Unpatched Vulnerability : CVE-2025-39835), which helps to determine the existence of the flaw in a target environment.

Upgrading to version 5.10.242, 5.15.191, 6.1.150, 6.6.104, 6.12.45, 6.16.5 or 6.17-rc4 eliminates this vulnerability. Applying the patch 157ddfb05961c68ab7d457a462822a698e4e4bf4/90bae69c2959c39912f0c2f07a9a7894f3fc49f5/e358d4b6225e4c1eb208686a05e360ef8df59e07/d3cc7476b89fb45b7e00874f4f56f6b928467c60/dcdf36f1b67884c722abce9b8946e34ffb9f67c8/39fc2742ca14f7fbc621ce9b43bcbd00248cb9a8/ae668cd567a6a7622bc813ee0bb61c42bed61ba7 is able to eliminate this problem. The bugfix is ready for download at git.kernel.org. The best possible mitigation is suggested to be upgrading to the latest version.

The vulnerability is also documented in the databases at Tenable (265198) and CERT Bund (WID-SEC-2025-2077). Be aware that VulDB is the high quality source for vulnerability data.

Affected

  • Debian Linux
  • Amazon Linux 2
  • Red Hat Enterprise Linux
  • Ubuntu Linux
  • SUSE Linux
  • Oracle Linux
  • IBM QRadar SIEM
  • SUSE openSUSE
  • Open Source Linux Kernel
  • RESF Rocky Linux
  • Dell Secure Connect Gateway

Productinfo

Type

Vendor

Name

Version

License

Website

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB Vector: 🔒
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 6.6
VulDB Meta Temp Score: 6.5

VulDB Base Score: 5.5
VulDB Temp Score: 5.3
VulDB Vector: 🔒
VulDB Reliability: 🔍

NVD Base Score: 7.8
NVD Vector: 🔒

CVSSv2info

AVACAuCIA
💳💳💳💳💳💳
💳💳💳💳💳💳
💳💳💳💳💳💳
VectorComplexityAuthenticationConfidentialityIntegrityAvailability
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock

VulDB Base Score: 🔒
VulDB Temp Score: 🔒
VulDB Reliability: 🔍

Exploitinginfo

Class: Escape output
CWE: CWE-116 / CWE-74 / CWE-707
CAPEC: 🔒
ATT&CK: 🔒

Physical: Partially
Local: Yes
Remote: Partially

Availability: 🔒
Status: Not defined

EPSS Score: 🔒
EPSS Percentile: 🔒

Price Prediction: 🔍
Current Price Estimation: 🔒

0-DayUnlockUnlockUnlockUnlock
TodayUnlockUnlockUnlockUnlock

Nessus ID: 265198
Nessus Name: Linux Distros Unpatched Vulnerability : CVE-2025-39835

Threat Intelligenceinfo

Interest: 🔍
Active Actors: 🔍
Active APT Groups: 🔍

Countermeasuresinfo

Recommended: Upgrade
Status: 🔍

0-Day Time: 🔒

Upgrade: Kernel 5.10.242/5.15.191/6.1.150/6.6.104/6.12.45/6.16.5/6.17-rc4
Patch: 157ddfb05961c68ab7d457a462822a698e4e4bf4/90bae69c2959c39912f0c2f07a9a7894f3fc49f5/e358d4b6225e4c1eb208686a05e360ef8df59e07/d3cc7476b89fb45b7e00874f4f56f6b928467c60/dcdf36f1b67884c722abce9b8946e34ffb9f67c8/39fc2742ca14f7fbc621ce9b43bcbd00248cb9a8/ae668cd567a6a7622bc813ee0bb61c42bed61ba7

Timelineinfo

04/16/2025 CVE reserved
09/16/2025 +153 days Advisory disclosed
09/16/2025 +0 days VulDB entry created
01/16/2026 +122 days VulDB entry last update

Sourcesinfo

Vendor: kernel.org

Advisory: git.kernel.org
Status: Confirmed

CVE: CVE-2025-39835 (🔒)
GCVE (CVE): GCVE-0-2025-39835
GCVE (VulDB): GCVE-100-324423
CERT Bund: WID-SEC-2025-2077 - Linux Kernel: Mehrere Schwachstellen

Entryinfo

Created: 09/16/2025 16:00
Updated: 01/16/2026 23:47
Changes: 09/16/2025 16:00 (59), 09/20/2025 02:05 (2), 12/27/2025 20:44 (7), 01/16/2026 23:47 (11)
Complete: 🔍
Cache ID: 216::103

Be aware that VulDB is the high quality source for vulnerability data.

Discussion

No comments yet. Languages: en.

Please log in to comment.

Do you know our Splunk app?

Download it now for free!