Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2026-99400

published high CVSS 3.1 · 7.8

xfs: reject out-of-range attribute value lengths in xfs_attr_copy_value

Published
19 Nov 2026, 14:23:37 UTC
Updated
23 Nov 2026, 08:02:21 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Linux — Linux9df243a1a9e607e7cf5d20ee46edd5ec84b7e400 to < 42db3bdf727398cb0e5020fbfec8fc0afca9deb8 · 9df243a1a9e607e7cf5d20ee46edd5ec84b7e400 to < b3f78fa60d4be346df7d5dfcbde7a3c05a7a1975 · 9df243a1a9e607e7cf5d20ee46edd5ec84b7e400 to < e32f3a262c5739128506f0dad08471dfee06a3e0 · 9df243a1a9e607e7cf5d20ee46edd5ec84b7e400 to < 655cb24f3852b41a9ddbf0d228f483537832b075 · 9df243a1a9e607e7cf5d20ee46edd5ec84b7e400 to < 91d0cf6244280e67bdc2787a60a10f635ac064c0 · 9df243a1a9e607e7cf5d20ee46edd5ec84b7e400 to < c2cd6b3b480ef2ae9752ed924a2199c8c90569a1 · 9df243a1a9e607e7cf5d20ee46edd5ec84b7e400 to < c5c34a0a5a80ecd8fea9fff960907b2924d18cd9 · 9df243a1a9e607e7cf5d20ee46edd5ec84b7e400 to < 0643549ffecaeb716c0b75590a9b76dfa5eb35b3 · Other versions: unaffected Affected Not stated Linux
Linux — Linux5.4 (affected) · 0 to < 5.4 (unaffected · semver) · 5.10.275 through 5.10.* (unaffected · semver) · 5.15.226 through 5.15.* (unaffected · semver) · 6.1.193 through 6.1.* (unaffected · semver) · 6.6.163 through 6.6.* (unaffected · semver) · 6.12.117 through 6.12.* (unaffected · semver) · 6.18.61 through 6.18.* (unaffected · semver) · 7.3.2 through 7.3.* (unaffected · semver) · 7.4-rc1 and later (unaffected · original_commit_for_fix) · Other versions: affected Version-specific Not stated Linux
Debian bookworm linux-6.12 Advisory build 6.12.117-1~deb12u1 DLA-4927-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-develaarch64 Advisory build 7.3.6-2.1 OPENSUSE-SU-2026:12733-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-develppc64le Advisory build 7.3.6-2.1 OPENSUSE-SU-2026:12733-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-devels390x Advisory build 7.3.6-2.1 OPENSUSE-SU-2026:12733-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-develx86_64 Advisory build 7.3.6-2.1 OPENSUSE-SU-2026:12733-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-macrosaarch64 Advisory build 7.3.6-2.1 OPENSUSE-SU-2026:12733-1
Show 11 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
SUSE / openSUSE openSUSE-Tumbleweed kernel-macrosppc64le Advisory build 7.3.6-2.1 OPENSUSE-SU-2026:12733-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-macross390x Advisory build 7.3.6-2.1 OPENSUSE-SU-2026:12733-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-macrosx86_64 Advisory build 7.3.6-2.1 OPENSUSE-SU-2026:12733-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-sourceaarch64 Advisory build 7.3.6-2.1 OPENSUSE-SU-2026:12733-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-sourceppc64le Advisory build 7.3.6-2.1 OPENSUSE-SU-2026:12733-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-sources390x Advisory build 7.3.6-2.1 OPENSUSE-SU-2026:12733-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-sourcex86_64 Advisory build 7.3.6-2.1 OPENSUSE-SU-2026:12733-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-source-vanillaaarch64 Advisory build 7.3.6-2.1 OPENSUSE-SU-2026:12733-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-source-vanillappc64le Advisory build 7.3.6-2.1 OPENSUSE-SU-2026:12733-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-source-vanillas390x Advisory build 7.3.6-2.1 OPENSUSE-SU-2026:12733-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-source-vanillax86_64 Advisory build 7.3.6-2.1 OPENSUSE-SU-2026:12733-1

Description

In the Linux kernel, the following vulnerability has been resolved: xfs: reject out-of-range attribute value lengths in xfs_attr_copy_value xfs_attr_copy_value() takes the value length as a signed int and, for a remote xattr, is handed args->rmtvaluelen. That field is filled from the on-disk __be32 xfs_attr_leaf_name_remote.valuelen in xfs_attr3_leaf_getvalue(), so a crafted length such as 0x80000000 is stored into the signed rmtvaluelen as a negative number. The "buffer too small" guard in xfs_attr_copy_value() is a signed comparison: if (args->valuelen < valuelen) return -ERANGE; A negative valuelen therefore compares as smaller than the caller's buffer size, skips the -ERANGE path, and is then used as a copy length, leading to an out-of-bounds copy of a full remote block into a small getxattr(2) buffer on a mounted crafted image. Reject a value length that is negative or larger than the maximum xattr size before it is used, so a bogus on-disk length can no longer slip through the value copier.

en · Linux · cna

Vendor advisories explicitly linked to this CVE.

2

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
7.8 / 10
Severity
high
Provider
Linux · cna
Vector string
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Scenarios
en: AV:L - The overflowing length is the on-disk __be32 xfs_attr_leaf_name_remote.valuelen, stored into signed args->rmtvaluelen by xfs_attr3_leaf_getvalue. getxattr(2) only passes the destination buffer size, so the malformed input is the mounted image and the vector is local. AC:L - A crafted leaf value such as 0x80000000 is negative as a signed int, so args->valuelen < valuelen in xfs_attr_copy_value is false for any positive getxattr size. xfs_attr_rmtval_copyout then memcpy's one remote block; the attacker builds that image, with no race or hardware fault. PR:N - Reading the attr needs no credential: xattr_permission() returns 0 for security.* and only inode MAY_READ for user.*, and xfs_xattr_get checks neither capability. xfs_fs_type has no FS_USERNS_MOUNT, so the CAP_SYS_ADMIN mount is the victim's action. UI:R - xfs_attr_copy_value runs only after the image is mounted, from getxattr via do_getxattr, xfs_xattr_get, xfs_attr_node_get and xfs_attr3_leaf_getvalue. Mounting the attacker-supplied image is the required victim action. S:U - The out-of-bounds write hits the mounting kernel's heap, the kvzalloc buffer in do_getxattr. The corrupted security authority is that same kernel. C:H - xfs_attr_rmtval_copyout memcpy's attacker-chosen remote-block bytes, min of the unsigned rmtvaluelen and xfs_attr3_rmt_buf_space(), into a getxattr buffer that can be a single byte. That heap overflow can disclose kernel memory. I:H - The negative rmtvaluelen skips the ERANGE guard in xfs_attr_copy_value, and xfs_attr_rmtval_copyout then writes a full remote block past the kvzalloc'd getxattr buffer. That is an attacker-controlled out-of-bounds write. A:H - Smashing heap objects beside do_getxattr's buffer, while xfs_attr_rmtval_get continues because the length converted to unsigned stays far above zero, oopses or panics the kernel.

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Linux Linux 9df243a1a9e607e7cf5d20ee46edd5ec84b7e400 to < 42db3bdf727398cb0e5020fbfec8fc0afca9deb8 (affected · git)9df243a1a9e607e7cf5d20ee46edd5ec84b7e400 to < b3f78fa60d4be346df7d5dfcbde7a3c05a7a1975 (affected · git)9df243a1a9e607e7cf5d20ee46edd5ec84b7e400 to < e32f3a262c5739128506f0dad08471dfee06a3e0 (affected · git)9df243a1a9e607e7cf5d20ee46edd5ec84b7e400 to < 655cb24f3852b41a9ddbf0d228f483537832b075 (affected · git)9df243a1a9e607e7cf5d20ee46edd5ec84b7e400 to < 91d0cf6244280e67bdc2787a60a10f635ac064c0 (affected · git)9df243a1a9e607e7cf5d20ee46edd5ec84b7e400 to < c2cd6b3b480ef2ae9752ed924a2199c8c90569a1 (affected · git)9df243a1a9e607e7cf5d20ee46edd5ec84b7e400 to < c5c34a0a5a80ecd8fea9fff960907b2924d18cd9 (affected · git)9df243a1a9e607e7cf5d20ee46edd5ec84b7e400 to < 0643549ffecaeb716c0b75590a9b76dfa5eb35b3 (affected · git)Default: unaffected Linux · cna
Linux Linux 5.4 (affected)0 to < 5.4 (unaffected · semver)5.10.275 through 5.10.* (unaffected · semver)5.15.226 through 5.15.* (unaffected · semver)6.1.193 through 6.1.* (unaffected · semver)6.6.163 through 6.6.* (unaffected · semver)6.12.117 through 6.12.* (unaffected · semver)6.18.61 through 6.18.* (unaffected · semver)7.3.2 through 7.3.* (unaffected · semver)7.4-rc1 and later (unaffected · original_commit_for_fix)Default: affected Linux · cna

Weaknesses

0

No weakness assertions.

References

8

Provider assertions

1

Linux · cna

xfs: reject out-of-range attribute value lengths in xfs_attr_copy_value

Provenance

Schema
5.2
Searchable
yes
Content hash
f930e87fa9e69c05a9674c17c7f7f37ba1ee3aec29a8d1299f16ebc216567a0f
Ingested
23 Nov 2026, 14:35:29 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected