CVE-2026-99395Linux
NVDCVSS scored by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Vulnerability Summary
In the Linux kernel, the following vulnerability has been resolved:
xfs: bound inode fork length against the fork size during log recovery
xlog_recover_inode_commit_pass2() copies an inode log item's data/attr
fork region into the inode buffer using the on-log region length without
bounding it against the fork capacity, e.g.:
len = item->ri_buf[2].iov_len;
memcpy(XFS_DFORK_DPTR(dip), src, len);
The only guard is an ASSERT, which is a no-op on production kernels
(CONFIG_XFS_DEBUG off), and xfs_dinode_verify() runs only after the copy.
A crafted image with a dirty log can therefore drive a heap out-of-bounds
write at mount time. The XFS_ILOG_DBROOT sibling already passes
XFS_DFORK_DSIZE as a bound; the DDATA/DEXT and ADATA/AEXT memcpy paths
did not.
Bound each logged fork region against the destination fork size before
copying it, and reject the log item with -EFSCORRUPTED when it does not
fit. Because the recovered inode is only verified after the fork data has
been copied in, the checks are done up front, before any memcpy into the
on-disk inode.
xfs: bound inode fork length against the fork size during log recovery
xlog_recover_inode_commit_pass2() copies an inode log item's data/attr
fork region into the inode buffer using the on-log region length without
bounding it against the fork capacity, e.g.:
len = item->ri_buf[2].iov_len;
memcpy(XFS_DFORK_DPTR(dip), src, len);
The only guard is an ASSERT, which is a no-op on production kernels
(CONFIG_XFS_DEBUG off), and xfs_dinode_verify() runs only after the copy.
A crafted image with a dirty log can therefore drive a heap out-of-bounds
write at mount time. The XFS_ILOG_DBROOT sibling already passes
XFS_DFORK_DSIZE as a bound; the DDATA/DEXT and ADATA/AEXT memcpy paths
did not.
Bound each logged fork region against the destination fork size before
copying it, and reject the log item with -EFSCORRUPTED when it does not
fit. Because the recovered inode is only verified after the fork data has
been copied in, the checks are done up front, before any memcpy into the
on-disk inode.
CVSS v3.1 Base Metrics — Score 7.8 (HIGH)
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:HAttack VectorLocal
Attack ComplexityLow
Privileges RequiredNone
User InteractionRequired
ScopeUnchanged
ConfidentialityHigh
IntegrityHigh
AvailabilityHigh
Affected & Patched Versions
- Linux >= 658fa68b6f34f73c7e4023489accd34c1db91cb1 and < 738959d93ca51be0d9d3d15f9b5b84ac4d39fe8a
- Linux >= 658fa68b6f34f73c7e4023489accd34c1db91cb1 and < f9827d457addf4a7fb089124fff01f10de83d557
- Linux >= 658fa68b6f34f73c7e4023489accd34c1db91cb1 and < 287bb7a11fe1053d78172f874e16873d4b20d6e5
- Linux >= 658fa68b6f34f73c7e4023489accd34c1db91cb1 and < af559d87fdd921b90c86125f78d8b97d754432dd
- Linux >= 658fa68b6f34f73c7e4023489accd34c1db91cb1 and < f2cc5001ffcc1d8e5e16607ce4b6920ea30c2cfe
- Linux >= 658fa68b6f34f73c7e4023489accd34c1db91cb1 and < e2768e65a5f2f942c831e3df3b06ad7332d423e6
- Linux >= 658fa68b6f34f73c7e4023489accd34c1db91cb1 and < 9232301894a06e664d8de2da97175cf98419bd16
- Linux 5.8
- Linux 738959d93ca51be0d9d3d15f9b5b84ac4d39fe8a
- Linux f9827d457addf4a7fb089124fff01f10de83d557
- Linux 287bb7a11fe1053d78172f874e16873d4b20d6e5
- Linux af559d87fdd921b90c86125f78d8b97d754432dd
- Linux f2cc5001ffcc1d8e5e16607ce4b6920ea30c2cfe
- Linux e2768e65a5f2f942c831e3df3b06ad7332d423e6
- Linux 9232301894a06e664d8de2da97175cf98419bd16
What to do
Plan remediation soon. No exploitation is confirmed yet, but the severity is high.
- Check whether you run Linux and which version.
- Update to a patched version listed above, then confirm the new version.
Timeline
- Nov 19, 2026Published
- Nov 22, 2026CVSS score changed: 0.0 to 7.8
- Nov 22, 2026Severity changed to HIGH
- Nov 23, 2026Record last modified
Score, severity and exploitation changes are tracked from the day Watchtower started logging them.
Get notified about new Linux CVEsYou are reading CVE-2026-99395. Get an email when KEV listings, exploits or new CVEs match your stack.
Set up CVE alertsExternal References
- Referencehttps://git.kernel.org/stable/c/287bb7a11fe1053d78172f874e16873d4b20d6e5
- Referencehttps://git.kernel.org/stable/c/738959d93ca51be0d9d3d15f9b5b84ac4d39fe8a
- Referencehttps://git.kernel.org/stable/c/9232301894a06e664d8de2da97175cf98419bd16
- Referencehttps://git.kernel.org/stable/c/af559d87fdd921b90c86125f78d8b97d754432dd
- Referencehttps://git.kernel.org/stable/c/e2768e65a5f2f942c831e3df3b06ad7332d423e6
- Referencehttps://git.kernel.org/stable/c/f2cc5001ffcc1d8e5e16607ce4b6920ea30c2cfe
- Referencehttps://git.kernel.org/stable/c/f9827d457addf4a7fb089124fff01f10de83d557
Data last checked: Nov 24, 2026 15:13 UTC