{"id":"CVE-2026-99448","aliases":[],"cve":{"records":[{"id":"CVE-2026-99448","source":"Linux","state":"PUBLISHED","reasons":[],"replacements":[],"disputed":false,"unsupportedWhenAssigned":false,"reserved":"2026-09-25T10:25:14.415Z","published":"2026-11-19T14:41:37.703Z","modified":"2026-11-22T11:08:18.931Z"}],"publishers":[{"name":"Linux","role":"CNA","organizationId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","modified":"2026-11-22T11:08:18.931Z"}],"references":[{"url":"https://git.kernel.org/stable/c/ae50223c56b9a1c27d4f824c9e2fbbefc8686891","tags":[],"source":"Linux"},{"url":"https://git.kernel.org/stable/c/c792858491ee39e8f6e1547c45422595cf25b415","tags":[],"source":"Linux"},{"url":"https://git.kernel.org/stable/c/ac2859c61ecf52a9e39b44b35c981dbfeb8ad54b","tags":[],"source":"Linux"},{"url":"https://git.kernel.org/stable/c/1eff23433e73d7da4f9e3529d2701e34962b161f","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":"2.6.18","versionEndExcluding":"6.12.117"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"2.6.18","versionEndExcluding":"6.18.61"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"2.6.18","versionEndExcluding":"7.3.2"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"2.6.18","versionEndExcluding":"7.4-rc1"}]}]}]}],"prioritization":[]},"title":"ufs: use u64 for directory size in ufs_last_byte","titleSource":"Linux","descriptionSource":"Linux","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nufs: use u64 for directory size in ufs_last_byte\n\nufs1_read_inode() and ufs2_read_inode() copy the untrusted 64-bit\non-disk size into inode->i_size.  ufs_last_byte() then truncates that\nvalue to an unsigned int before calculating the valid extent of a\ndirectory folio.\n\nA directory size of exactly 4 GiB is truncated to zero.  In\nufs_find_entry(), subtracting the requested record length from that zero\nforms an endpoint almost 4 GiB beyond the mapped folio.  A crafted UFS2\nimage produces:\n\n  BUG: KASAN: use-after-free in ufs_find_entry+0x583/0x6e0 [ufs]\n  Read of size 1\n  ...\n  ufs_find_entry\n  ufs_inode_by_name\n  ufs_lookup\n  __lookup_slow\n  path_lookupat\n\nThe KASAN classification reflects that the adjacent physical page was\nfree; the source-level operation is an out-of-folio read.  A controlled\nUFS1 test with CONFIG_UFS_FS_WRITE enabled also made ufs_find_entry()\nreturn a directory entry from an adjacent anonymous page.  unlink() then\npassed that pointer to ufs_delete_entry(), which cleared the adjacent\npage's 3\n2-bit d_ino.  This write result reproduced three out of three\ntimes.\n\nUFS normally requires a privileged mount path.  A relevant boundary is\na privileged automounter or image-processing service handling an\nattacker-supplied filesystem.  The write primitive additionally requires\nUFS1 to be mounted read-write with CONFIG_UFS_FS_WRITE enabled; the read\nis reachable with read-only UFS2.\n\nKeep the intermediate size arithmetic at 64 bits so non-final pages are\nbounded at PAGE_SIZE.  With this change, the same controlled tests reach\nthe real on-disk directory entry and produce no adjacent-page write or\nKASAN report.  A reproducer and full validation logs are available on\nrequest.\n\nThe vulnerable helper is present in v7.2-rc3, v7.1, v6.18.38, v6.12.95,\nv6.6.111, and upstream master at 1229e2e57a5c.  Runtime reproduction and\nfix validation were performed in an x86-64 QEMU guest running v7.2-rc3\nwith generic KASAN.","score":7.8,"severity":"high","published":"2026-11-19T14:41:37.703Z","modified":"2026-11-22T11:08:18.931Z","withdrawn":false,"knownExploited":false,"affected":[],"products":[{"vendor":"Linux","name":"Linux","platforms":[],"versions":[{"version":"b71034e5e67d1577424cebe7bbb7d0ce134a4cd8","status":"affected","lessThan":"ae50223c56b9a1c27d4f824c9e2fbbefc8686891","versionType":"git"},{"version":"b71034e5e67d1577424cebe7bbb7d0ce134a4cd8","status":"affected","lessThan":"c792858491ee39e8f6e1547c45422595cf25b415","versionType":"git"},{"version":"b71034e5e67d1577424cebe7bbb7d0ce134a4cd8","status":"affected","lessThan":"ac2859c61ecf52a9e39b44b35c981dbfeb8ad54b","versionType":"git"},{"version":"b71034e5e67d1577424cebe7bbb7d0ce134a4cd8","status":"affected","lessThan":"1eff23433e73d7da4f9e3529d2701e34962b161f","versionType":"git"}],"defaultStatus":"unaffected","cpes":[],"source":"Linux","url":"https://www.cve.org/CVERecord?id=CVE-2026-99448"},{"vendor":"Linux","name":"Linux","platforms":[],"versions":[{"version":"2.6.18","status":"affected"},{"version":"0","status":"unaffected","lessThan":"2.6.18","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-99448"}],"remediation":[],"references":["https://git.kernel.org/stable/c/ae50223c56b9a1c27d4f824c9e2fbbefc8686891","https://git.kernel.org/stable/c/c792858491ee39e8f6e1547c45422595cf25b415","https://git.kernel.org/stable/c/ac2859c61ecf52a9e39b44b35c981dbfeb8ad54b","https://git.kernel.org/stable/c/1eff23433e73d7da4f9e3529d2701e34962b161f"],"sources":[{"name":"CVE","id":"CVE-2026-99448","modified":"2026-11-22T11:08:18.931Z","url":"https://www.cve.org/CVERecord?id=CVE-2026-99448"}],"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:27.430Z","kev":{"status":"not-listed","checkedAt":"2026-11-22T12:50:33.025Z"},"coverage":[{"source":"NVD","status":"available","checkedAt":"2026-11-22T05:05:32.458Z","attemptedAt":"2026-11-22T05:05:32.458Z"},{"source":"GHSA","status":"available","checkedAt":"2026-11-22T04:45:33.313Z","attemptedAt":"2026-11-22T04:45:33.313Z"},{"source":"EUVD","status":"available","checkedAt":"2026-11-22T04:25:35.619Z","attemptedAt":"2026-11-22T04:25:35.619Z"},{"source":"EPSS","status":"available","checkedAt":"2026-11-22T03:55:33.731Z","attemptedAt":"2026-11-22T03:55:33.731Z"}],"evidence":[{"source":"FIRST EPSS","id":"CVE-2026-99448","url":"https://www.first.org/epss/","probability":0.00176,"percentile":0.0714,"date":"2026-11-21","checkedAt":"2026-11-22T03:55:33.731Z"},{"source":"ENISA EUVD","id":"EUVD-2026-130114","url":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-130114","modified":"Nov 19, 2026, 2:41:37 PM","checkedAt":"2026-11-22T04:25:35.619Z"},{"source":"GitHub Advisory Database","id":"GHSA-989j-cc5v-2hpg","url":"https://github.com/advisories/GHSA-989j-cc5v-2hpg","modified":"2026-11-19T15:31:25Z","checkedAt":"2026-11-22T04:45:33.313Z"},{"source":"NVD","id":"CVE-2026-99448","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-99448","modified":"2026-11-19T15:17:58.543","checkedAt":"2026-11-22T05:05:32.458Z"}],"aiSummary":{"text":"The Linux kernel has a vulnerability in the ufs filesystem, where a directory size of exactly 4 GiB can cause an out-of-folio read. This affects versions including v7.2-rc3, v7.1, v6.18.38, v6.12.95, and v6.6.111. A privileged mount path is required to exploit this weakness.","model":"@cf/meta/llama-3.3-70b-instruct-fp8-fast","generatedAt":"2026-11-21T15:11:13.942Z","sources":[{"name":"CVE","url":"https://www.cve.org/CVERecord?id=CVE-2026-99448"}]}}