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-99448

published high CVSS 3.1 · 7.8

ufs: use u64 for directory size in ufs_last_byte

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

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Linux — Linuxb71034e5e67d1577424cebe7bbb7d0ce134a4cd8 to < c43f74f9a7418790f4e28bb94c1423be3ed6b22d · b71034e5e67d1577424cebe7bbb7d0ce134a4cd8 to < 119344a21852412d867c499457b4111a0fb967f1 · b71034e5e67d1577424cebe7bbb7d0ce134a4cd8 to < 36b76a83cd622dfd52878c67437d6c3f55c44667 · b71034e5e67d1577424cebe7bbb7d0ce134a4cd8 to < 627b432794b1114ab2934f6ae6199d789842cb37 · b71034e5e67d1577424cebe7bbb7d0ce134a4cd8 to < ae50223c56b9a1c27d4f824c9e2fbbefc8686891 · b71034e5e67d1577424cebe7bbb7d0ce134a4cd8 to < c792858491ee39e8f6e1547c45422595cf25b415 · b71034e5e67d1577424cebe7bbb7d0ce134a4cd8 to < ac2859c61ecf52a9e39b44b35c981dbfeb8ad54b · b71034e5e67d1577424cebe7bbb7d0ce134a4cd8 to < 1eff23433e73d7da4f9e3529d2701e34962b161f · Other versions: unaffected Affected Not stated Linux
Linux — Linux2.6.18 (affected) · 0 to < 2.6.18 (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
Amazon Linux AL2 Release evaluation Pending Fix Not stated Amazon Linux assessment
Amazon Linux AL2023 Release evaluation Pending Fix Not stated Amazon Linux assessment
Amazon Linux AL2023 Release evaluationALAS2023-2026-3538 Fixed Not stated Amazon Linux assessment
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
Amazon Linux AL2023 kernel6.18aarch64 Listed in advisory Not stated ALAS2023-2026-3538
Show 17 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
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
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
Amazon Linux AL2023 kernel6.18src Listed in advisory Not stated ALAS2023-2026-3538
Amazon Linux AL2023 kernel6.18x86_64 Listed in advisory Not stated ALAS2023-2026-3538

Description

In the Linux kernel, the following vulnerability has been resolved: ufs: use u64 for directory size in ufs_last_byte ufs1_read_inode() and ufs2_read_inode() copy the untrusted 64-bit on-disk size into inode->i_size. ufs_last_byte() then truncates that value to an unsigned int before calculating the valid extent of a directory folio. A directory size of exactly 4 GiB is truncated to zero. In ufs_find_entry(), subtracting the requested record length from that zero forms an endpoint almost 4 GiB beyond the mapped folio. A crafted UFS2 image produces: BUG: KASAN: use-after-free in ufs_find_entry+0x583/0x6e0 [ufs] Read of size 1 ... ufs_find_entry ufs_inode_by_name ufs_lookup __lookup_slow path_lookupat The KASAN classification reflects that the adjacent physical page was free; the source-level operation is an out-of-folio read. A controlled UFS1 test with CONFIG_UFS_FS_WRITE enabled also made ufs_find_entry() return a directory entry from an adjacent anonymous page. unlink() then passed that pointer to ufs_delete_entry(), which cleared the adjacent page's 3 2-bit d_ino. This write result reproduced three out of three times. UFS normally requires a privileged mount path. A relevant boundary is a privileged automounter or image-processing service handling an attacker-supplied filesystem. The write primitive additionally requires UFS1 to be mounted read-write with CONFIG_UFS_FS_WRITE enabled; the read is reachable with read-only UFS2. Keep the intermediate size arithmetic at 64 bits so non-final pages are bounded at PAGE_SIZE. With this change, the same controlled tests reach the real on-disk directory entry and produce no adjacent-page write or KASAN report. A reproducer and full validation logs are available on request. The vulnerable helper is present in v7.2-rc3, v7.1, v6.18.38, v6.12.95, v6.6.111, and upstream master at 1229e2e57a5c. Runtime reproduction and fix validation were performed in an x86-64 QEMU guest running v7.2-rc3 with generic KASAN.

en · Linux · cna

Vendor advisories explicitly linked to this CVE.

3

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 on-disk directory ui_size is copied into inode->i_size by ufs1_read_inode() or ufs2_read_inode() from the inode block read with sb_bread(). ufs_last_byte() is reached from path_lookupat() through ufs_lookup(), ufs_inode_by_name() and ufs_find_entry(), or from getdents() through ufs_readdir(). AC:L - A directory ui_size of 4294967296 makes ufs_last_byte() truncate inode->i_size to unsigned 0 on page 0, and ufs_find_entry() adds the unsigned wrap of 0 minus UFS_DIR_REC_LEN(namelen) to the folio address. The image supplies that ui_size and a check-passing directory block, so the first lookup takes this path. PR:N - The party who supplies the image has no host credentials. ufs_fs_type.fs_flags is FS_REQUIRES_DEV, so mount_capable() requires capable(CAP_SYS_ADMIN) of the mounting process; ufs_lookup() then only applies may_lookup() to the ui_mode loaded by ufs1_read_inode(). UI:R - ufs_fill_super() reaches ufs_iget(UFS_ROOTINO) and d_make_root(). The ufs_last_byte() underflow runs when a person mounts the crafted image and looks up a name or calls getdents on that directory. S:U - The folio overrun in ufs_find_entry() and the dir->d_ino store in ufs_delete_entry() both affect memory of the same kernel that mounted the volume. C:H - After the unsigned wrap, the ufs_find_entry() and ufs_readdir() end pointer lies almost 4GiB past the address from ufs_get_folio(). The loops parse the next physical page as ufs_dir_entry records, and ufs_readdir() passes de->d_name and ufs_get_de_namlen() to dir_emit() when d_ino is nonzero. I:H - ufs_unlink() passes the ufs_find_entry() pointer to ufs_delete_entry(), which stores 0 to dir->d_ino. With a 4GiB directory that pointer addresses the next physical page; the reported UFS1 run with CONFIG_UFS_FS_WRITE cleared that adjacent 32-bit d_ino on three of three tries. A:H - The read is the KASAN use-after-free in ufs_find_entry() reached from path_lookupat(). If the following dirent's d_reclen is 0, ufs_next_entry() returns the same pointer and the ufs_find_entry() loop does not reach its endpoint.

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Linux Linux b71034e5e67d1577424cebe7bbb7d0ce134a4cd8 to < c43f74f9a7418790f4e28bb94c1423be3ed6b22d (affected · git)b71034e5e67d1577424cebe7bbb7d0ce134a4cd8 to < 119344a21852412d867c499457b4111a0fb967f1 (affected · git)b71034e5e67d1577424cebe7bbb7d0ce134a4cd8 to < 36b76a83cd622dfd52878c67437d6c3f55c44667 (affected · git)b71034e5e67d1577424cebe7bbb7d0ce134a4cd8 to < 627b432794b1114ab2934f6ae6199d789842cb37 (affected · git)b71034e5e67d1577424cebe7bbb7d0ce134a4cd8 to < ae50223c56b9a1c27d4f824c9e2fbbefc8686891 (affected · git)b71034e5e67d1577424cebe7bbb7d0ce134a4cd8 to < c792858491ee39e8f6e1547c45422595cf25b415 (affected · git)b71034e5e67d1577424cebe7bbb7d0ce134a4cd8 to < ac2859c61ecf52a9e39b44b35c981dbfeb8ad54b (affected · git)b71034e5e67d1577424cebe7bbb7d0ce134a4cd8 to < 1eff23433e73d7da4f9e3529d2701e34962b161f (affected · git)Default: unaffected Linux · cna
Linux Linux 2.6.18 (affected)0 to < 2.6.18 (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

ufs: use u64 for directory size in ufs_last_byte

Provenance

Schema
5.2
Searchable
yes
Content hash
ad0c3d85205d10c60cf3627616fedba4ac1c4c97517547eafe25c0b95a82f89d
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