{"id":"CVE-2026-99399","aliases":[],"title":"xfs: reject remote xattr entries with an out-of-range value length","originalDescription":"In the Linux kernel, the following vulnerability has been resolved:\n\nxfs: reject remote xattr entries with an out-of-range value length\n\nxfs_attr3_leaf_verify_entry() validates a remote attribute entry's name\nbut never bounds its on-disk value length (xfs_attr_leaf_name_remote.\nvaluelen, a __be32). A crafted leaf with valuelen = 0x80000000 passes\nthe verifier and the CRC.\n\nThat length is later assigned into the signed int args->rmtvaluelen\n(xfs_attr3_leaf_getvalue), becoming negative, which slips past the signed\n-ERANGE check in xfs_attr_copy_value(); a getxattr() with a small buffer\nthen memcpy()s a full remote block into the small kvalue buffer\n(xfs_attr_rmtval_copyout) -- a heap out-of-bounds write with\nattacker-controlled content, from an unprivileged getxattr(2) on a\nmounted crafted image.\n\nReject remote entries whose value length exceeds XFS_XATTR_SIZE_MAX in\nthe leaf verifier, so the malicious block is rejected at read time.","severity":{"cvss":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","label":"high"},"exploitation":{"kev":null,"epss":{"score":0.0021,"percentile":0.1184},"exploitDb":null},"affected":[{"ecosystem":"vendor","name":"Linux","range":">=c84760659dcf237902d4cc997cd5f55cb3b2807f, <1481b4644cd640f0a603d97ced300a1fbd7d3a94","fixed":"1481b4644cd640f0a603d97ced300a1fbd7d3a94"},{"ecosystem":"vendor","name":"Linux","range":">=c84760659dcf237902d4cc997cd5f55cb3b2807f, <15ccd92a782a0253f4a17895f3d3f71e5c1d1973","fixed":"15ccd92a782a0253f4a17895f3d3f71e5c1d1973"},{"ecosystem":"vendor","name":"Linux","range":">=c84760659dcf237902d4cc997cd5f55cb3b2807f, <1bec5e735e51d840268ed43b3829b3b0b7ff2953","fixed":"1bec5e735e51d840268ed43b3829b3b0b7ff2953"},{"ecosystem":"vendor","name":"Linux","range":">=c84760659dcf237902d4cc997cd5f55cb3b2807f, <56b701b3c272f143bb5f6a346bfbb1fe28ee14b1","fixed":"56b701b3c272f143bb5f6a346bfbb1fe28ee14b1"},{"ecosystem":"vendor","name":"Linux","range":">=c84760659dcf237902d4cc997cd5f55cb3b2807f, <97b85a593188f63e133883525c9159f77e660197","fixed":"97b85a593188f63e133883525c9159f77e660197"},{"ecosystem":"vendor","name":"Linux","range":">=c84760659dcf237902d4cc997cd5f55cb3b2807f, <a15646a4d5a2c15b9cd809cd531a412501349624","fixed":"a15646a4d5a2c15b9cd809cd531a412501349624"},{"ecosystem":"vendor","name":"Linux","range":">=c84760659dcf237902d4cc997cd5f55cb3b2807f, <cb6dcf2e5a339bf83683186652f7149e0a4c03d9","fixed":"cb6dcf2e5a339bf83683186652f7149e0a4c03d9"},{"ecosystem":"vendor","name":"Linux","range":">=c84760659dcf237902d4cc997cd5f55cb3b2807f, <e16b8078e804cc190e7f03bdfc0569595b541238","fixed":"e16b8078e804cc190e7f03bdfc0569595b541238"}],"references":[{"url":"https://git.kernel.org/stable/c/56b701b3c272f143bb5f6a346bfbb1fe28ee14b1","type":"other"},{"url":"https://git.kernel.org/stable/c/97b85a593188f63e133883525c9159f77e660197","type":"other"},{"url":"https://git.kernel.org/stable/c/1481b4644cd640f0a603d97ced300a1fbd7d3a94","type":"other"},{"url":"https://git.kernel.org/stable/c/15ccd92a782a0253f4a17895f3d3f71e5c1d1973","type":"other"},{"url":"https://git.kernel.org/stable/c/cb6dcf2e5a339bf83683186652f7149e0a4c03d9","type":"other"},{"url":"https://git.kernel.org/stable/c/e16b8078e804cc190e7f03bdfc0569595b541238","type":"other"},{"url":"https://git.kernel.org/stable/c/1bec5e735e51d840268ed43b3829b3b0b7ff2953","type":"other"},{"url":"https://git.kernel.org/stable/c/a15646a4d5a2c15b9cd809cd531a412501349624","type":"other"}],"sources":[{"name":"nvd","at":"2026-11-23T08:46:27.113Z","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-99399","license":"NVD terms of use","firstSeenAt":"2026-11-19T15:43:47.958Z"},{"name":"cvelistV5","at":"2026-11-23T21:30:53.118Z","url":"https://www.cve.org/CVERecord?id=CVE-2026-99399","license":"CVE Terms of Use","firstSeenAt":"2026-11-19T15:00:35.302Z"}],"firstSeenAt":"2026-11-19T15:00:35.302Z","publishedAt":"2026-11-19T14:23:36.794Z","modifiedAt":"2026-11-23T08:17:44.090Z"}