Skip to content
DayZeroHub
High Not yet writtenCVSS 7.8CVE-2026-99399

CVE-2026-99399: xfs: reject remote xattr entries with an out-of-range value length

Linux Linux

Preliminary notice: published right away from the original source data, without editorial write-up. It will shortly be replaced by a written and reviewed version.

Summary

CVE-2026-99399: high-severity vulnerability (CVSS 7.8) in Linux Linux.

What happened

Original description from the source: In the Linux kernel, the following vulnerability has been resolved: xfs: reject remote xattr entries with an out-of-range value length xfs_attr3_leaf_verify_entry() validates a remote attribute entry's name but never bounds its on-disk value length (xfs_attr_leaf_name_remote. valuelen, a __be32). A crafted leaf with valuelen = 0x80000000 passes the verifier and the CRC. That length is later assigned into the signed int args->rmtvaluelen (xfs_attr3_leaf_getvalue), becoming negative, which slips past the signed -ERANGE check in xfs_attr_copy_value(); a getxattr() with a small buffer then memcpy()s a full remote block into the small kvalue buffer (xfs_attr_rmtval_copyout) -- a heap out-of-bounds write with attacker-controlled content, from an unprivileged getxattr(2) on a mounted crafted image. Reject remote entries whose value length exceeds XFS_XATTR_SIZE_MAX in the leaf verifier, so the malicious block is rejected at read time.

Why it matters

High severity, CVSS 7.8.

Affected products and versions

Linux Linux >= c84760659dcf237902d4cc997cd5f55cb3b2807f, < cb6dcf2e5a339bf83683186652f7149e0a4c03d9; Linux Linux >= c84760659dcf237902d4cc997cd5f55cb3b2807f, < e16b8078e804cc190e7f03bdfc0569595b541238; Linux Linux >= c84760659dcf237902d4cc997cd5f55cb3b2807f, < 1bec5e735e51d840268ed43b3829b3b0b7ff2953; Linux Linux >= c84760659dcf237902d4cc997cd5f55cb3b2807f, < a15646a4d5a2c15b9cd809cd531a412501349624; Linux Linux >= c84760659dcf237902d4cc997cd5f55cb3b2807f, < 56b701b3c272f143bb5f6a346bfbb1fe28ee14b1; Linux Linux >= c84760659dcf237902d4cc997cd5f55cb3b2807f, < 97b85a593188f63e133883525c9159f77e660197; Linux Linux >= c84760659dcf237902d4cc997cd5f55cb3b2807f, < 1481b4644cd640f0a603d97ced300a1fbd7d3a94; Linux Linux >= c84760659dcf237902d4cc997cd5f55cb3b2807f, < 15ccd92a782a0253f4a17895f3d3f71e5c1d1973; Linux Linux 5.5; Linux Linux < 5.5; Linux Linux 5.10.275 (fixed in 5.10.275); Linux Linux 5.15.226 (fixed in 5.15.226)

ProductVersionsFixed in
Linux Linux>= c84760659dcf237902d4cc997cd5f55cb3b2807f, < cb6dcf2e5a339bf83683186652f7149e0a4c03d9—
Linux Linux>= c84760659dcf237902d4cc997cd5f55cb3b2807f, < e16b8078e804cc190e7f03bdfc0569595b541238—
Linux Linux>= c84760659dcf237902d4cc997cd5f55cb3b2807f, < 1bec5e735e51d840268ed43b3829b3b0b7ff2953—
Linux Linux>= c84760659dcf237902d4cc997cd5f55cb3b2807f, < a15646a4d5a2c15b9cd809cd531a412501349624—
Linux Linux>= c84760659dcf237902d4cc997cd5f55cb3b2807f, < 56b701b3c272f143bb5f6a346bfbb1fe28ee14b1—
Linux Linux>= c84760659dcf237902d4cc997cd5f55cb3b2807f, < 97b85a593188f63e133883525c9159f77e660197—
Linux Linux>= c84760659dcf237902d4cc997cd5f55cb3b2807f, < 1481b4644cd640f0a603d97ced300a1fbd7d3a94—
Linux Linux>= c84760659dcf237902d4cc997cd5f55cb3b2807f, < 15ccd92a782a0253f4a17895f3d3f71e5c1d1973—
Linux Linux5.5—
Linux Linux< 5.5—
Linux Linux5.10.2755.10.275
Linux Linux5.15.2265.15.226
Linux Linux6.1.1936.1.193
Linux Linux6.6.1636.6.163
Linux Linux6.12.1176.12.117
Linux Linux6.18.616.18.61
Linux Linux7.3.27.3.2
Linux Linux7.4-rc17.4-rc1

Action recommended by the source

Upgrade to a fixed version: 5.10.275, 5.15.226, 6.1.193, 6.12.117, 6.18.61, 6.6.163, 7.3.2, 7.4-rc1.

Fixed in: 5.10.275, 5.15.226, 6.1.193, 6.12.117, 6.18.61, 6.6.163, 7.3.2, 7.4-rc1

Information taken from the source or the vendor. Verify it at the original link before acting.

Sources and references

Relevant change history

  1. Published

    Preliminary advisory published.