{"id":"CVE-2026-99395","aliases":[],"cve":{"records":[{"id":"CVE-2026-99395","source":"Linux","state":"PUBLISHED","reasons":[],"replacements":[],"disputed":false,"unsupportedWhenAssigned":false,"reserved":"2026-09-25T10:25:14.412Z","published":"2026-11-19T14:23:33.347Z","modified":"2026-11-22T11:08:03.955Z"}],"publishers":[{"name":"Linux","role":"CNA","organizationId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","modified":"2026-11-22T11:08:03.955Z"}],"references":[{"url":"https://git.kernel.org/stable/c/af559d87fdd921b90c86125f78d8b97d754432dd","tags":[],"source":"Linux"},{"url":"https://git.kernel.org/stable/c/f2cc5001ffcc1d8e5e16607ce4b6920ea30c2cfe","tags":[],"source":"Linux"},{"url":"https://git.kernel.org/stable/c/e2768e65a5f2f942c831e3df3b06ad7332d423e6","tags":[],"source":"Linux"},{"url":"https://git.kernel.org/stable/c/9232301894a06e664d8de2da97175cf98419bd16","tags":[],"source":"Linux"}],"weaknesses":[],"applicability":[{"source":"Linux","statements":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.8","versionEndExcluding":"6.12.117"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.8","versionEndExcluding":"6.18.61"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.8","versionEndExcluding":"7.3.2"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.8","versionEndExcluding":"7.4-rc1"}]}]}]}],"prioritization":[]},"title":"xfs: bound inode fork length against the fork size during log recovery","titleSource":"Linux","descriptionSource":"Linux","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nxfs: bound inode fork length against the fork size during log recovery\n\nxlog_recover_inode_commit_pass2() copies an inode log item's data/attr\nfork region into the inode buffer using the on-log region length without\nbounding it against the fork capacity, e.g.:\n\n\tlen = item->ri_buf[2].iov_len;\n\tmemcpy(XFS_DFORK_DPTR(dip), src, len);\n\nThe only guard is an ASSERT, which is a no-op on production kernels\n(CONFIG_XFS_DEBUG off), and xfs_dinode_verify() runs only after the copy.\nA crafted image with a dirty log can therefore drive a heap out-of-bounds\nwrite at mount time. The XFS_ILOG_DBROOT sibling already passes\nXFS_DFORK_DSIZE as a bound; the DDATA/DEXT and ADATA/AEXT memcpy paths\ndid not.\n\nBound each logged fork region against the destination fork size before\ncopying it, and reject the log item with -EFSCORRUPTED when it does not\nfit. Because the recovered inode is only verified after the fork data has\nbeen copied in, the checks are done up front, before any memcpy into the\non-disk inode.","score":7.8,"severity":"high","published":"2026-11-19T14:23:33.347Z","modified":"2026-11-22T11:08:03.955Z","withdrawn":false,"knownExploited":false,"affected":[],"products":[{"vendor":"Linux","name":"Linux","platforms":[],"versions":[{"version":"658fa68b6f34f73c7e4023489accd34c1db91cb1","status":"affected","lessThan":"af559d87fdd921b90c86125f78d8b97d754432dd","versionType":"git"},{"version":"658fa68b6f34f73c7e4023489accd34c1db91cb1","status":"affected","lessThan":"f2cc5001ffcc1d8e5e16607ce4b6920ea30c2cfe","versionType":"git"},{"version":"658fa68b6f34f73c7e4023489accd34c1db91cb1","status":"affected","lessThan":"e2768e65a5f2f942c831e3df3b06ad7332d423e6","versionType":"git"},{"version":"658fa68b6f34f73c7e4023489accd34c1db91cb1","status":"affected","lessThan":"9232301894a06e664d8de2da97175cf98419bd16","versionType":"git"}],"defaultStatus":"unaffected","cpes":[],"source":"Linux","url":"https://www.cve.org/CVERecord?id=CVE-2026-99395"},{"vendor":"Linux","name":"Linux","platforms":[],"versions":[{"version":"5.8","status":"affected"},{"version":"0","status":"unaffected","lessThan":"5.8","versionType":"semver"},{"version":"6.12.117","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.61","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.3.2","status":"unaffected","lessThanOrEqual":"7.3.*","versionType":"semver"},{"version":"7.4-rc1","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"defaultStatus":"affected","cpes":[],"source":"Linux","url":"https://www.cve.org/CVERecord?id=CVE-2026-99395"}],"remediation":[],"references":["https://git.kernel.org/stable/c/af559d87fdd921b90c86125f78d8b97d754432dd","https://git.kernel.org/stable/c/f2cc5001ffcc1d8e5e16607ce4b6920ea30c2cfe","https://git.kernel.org/stable/c/e2768e65a5f2f942c831e3df3b06ad7332d423e6","https://git.kernel.org/stable/c/9232301894a06e664d8de2da97175cf98419bd16"],"sources":[{"name":"CVE","id":"CVE-2026-99395","modified":"2026-11-22T11:08:03.955Z","url":"https://www.cve.org/CVERecord?id=CVE-2026-99395"}],"assessments":[{"source":"Linux","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","score":7.8}],"sourceAffected":[],"observedAt":"2026-11-22T11:21:08.744Z","kev":{"status":"not-listed","checkedAt":"2026-11-22T13:10:33.356Z"},"coverage":[{"source":"NVD","status":"available","checkedAt":"2026-11-22T06:05:33.635Z","attemptedAt":"2026-11-22T06:05:33.635Z"},{"source":"GHSA","status":"available","checkedAt":"2026-11-22T05:50:35.331Z","attemptedAt":"2026-11-22T05:50:35.331Z"},{"source":"EUVD","status":"available","checkedAt":"2026-11-22T05:30:33.181Z","attemptedAt":"2026-11-22T05:30:33.181Z"},{"source":"EPSS","status":"available","checkedAt":"2026-11-22T05:05:43.429Z","attemptedAt":"2026-11-22T05:05:43.429Z"}],"evidence":[{"source":"FIRST EPSS","id":"CVE-2026-99395","url":"https://www.first.org/epss/","probability":0.00224,"percentile":0.13111,"date":"2026-11-21","checkedAt":"2026-11-22T05:05:43.429Z"},{"source":"ENISA EUVD","id":"EUVD-2026-130053","url":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-130053","modified":"Nov 19, 2026, 2:39:26 PM","checkedAt":"2026-11-22T05:30:33.181Z"},{"source":"GitHub Advisory Database","id":"GHSA-x676-f66f-47c4","url":"https://github.com/advisories/GHSA-x676-f66f-47c4","modified":"2026-11-19T15:31:35Z","checkedAt":"2026-11-22T05:50:35.331Z"},{"source":"NVD","id":"CVE-2026-99395","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-99395","modified":"2026-11-19T15:17:51.913","checkedAt":"2026-11-22T06:05:33.635Z"}],"aiSummary":null}