CVE-2026-89781
fs/ntfs3: fix out-of-bounds read in read_log_rec_buf()
Check your servers for CVE-2026-89781
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2026-89781 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
Description
In the Linux kernel, the following vulnerability has been resolved:
fs/ntfs3: fix out-of-bounds read in read_log_rec_buf()
read_log_rec_buf() copies a log record into a caller buffer starting at
u32 off = lsn_to_page_off(log, lsn) + log->record_header_len;
log->record_header_len (and log->data_off, used for the following pages) comes verbatim from the on-disk restart area and is only checked for 8-byte alignment in is_rst_area_valid(), so off can exceed log->page_size. "tail = log->page_size - off" then underflows and memcpy() reads past the page_size-sized buffer returned by read_log_page(), spilling adjacent slab memory into the replay buffer.
This is reachable by mounting a crafted NTFS image:
BUG: KASAN: slab-out-of-bounds in read_log_rec_buf+0x216/0x580 Read of size 64 at addr ffff88800a877ff8 by task exploit/127 read_log_rec_buf fs/ntfs3/fslog.c:2299 log_replay fs/ntfs3/fslog.c:4216 ntfs_loadlog_and_replay fs/ntfs3/fsntfs.c:324 ntfs_fill_super fs/ntfs3/super.c:1392 get_tree_bdev_flags fs/super.c:1694 __x64_sys_mount fs/namespace.c:4360 The buggy address is located 4088 bytes to the right of the 4096-byte region [ffff88800a876000, ffff88800a877000)
Reject an in-page offset outside the current page before the copy.
[almaz.alexandrovich@paragon-software.com: replaced the >= sign with >]
Severity (CVSS)
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Attack vector
- local: the attacker needs local access, or a user has to open a prepared file
- Attack complexity
- low: an attack works without special conditions
- Privileges required
- none: the attacker does not need an account
- User interaction
- none: nobody has to click or open anything
- Scope
- unchanged: the damage stays inside the vulnerable component
- Impact
- confidentiality high, integrity high, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)
Exploitation
EPSS 0.19%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 8.48% of all scored CVEs. Scores of 1 Dec 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from b46acd6a6a627d876898e1c84d3f84902264b445, before df099bfdb57773ba7f40f8a9dcc82e75af277922 affected from b46acd6a6a627d876898e1c84d3f84902264b445, before 1b2d31f1083beb80c55d1152249f652c1445a559 affected from b46acd6a6a627d876898e1c84d3f84902264b445, before 700973cc65db405bde0368ccf88699390150943e affected from b46acd6a6a627d876898e1c84d3f84902264b445, before 49f7cbc902b08b56eb7d2633163ecc57a0e7145a affected from b46acd6a6a627d876898e1c84d3f84902264b445, before 74a83aa05f73033af719771ab1f0c269928b4865 affected from b46acd6a6a627d876898e1c84d3f84902264b445, before 53e56f7aa1d0f950a8bc2e4cdb3ba9fe45967531 affected from b46acd6a6a627d876898e1c84d3f84902264b445, before de603b9d377fab57a5e6432fa84a9f36b32c1636
Other versions: unaffected
|
| Linux |
affected 5.15 unaffected before 5.15 unaffected from 5.15.221 up to and including 5.15.* unaffected from 6.1.188 up to and including 6.1.* unaffected from 6.6.157 up to and including 6.6.* unaffected from 6.12.110 up to and including 6.12.* unaffected from 6.18.52 up to and including 6.18.* unaffected from 7.2.6 up to and including 7.2.* unaffected 7.3 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2026-89781 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-89781
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2026-89781
trivy image --scanners vuln IMAGE | grep CVE-2026-89781
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/df099bfdb57773ba7f40f8a9dcc82e75af277922 git.kernel.org
- https://git.kernel.org/stable/c/1b2d31f1083beb80c55d1152249f652c1445a559 git.kernel.org
- https://git.kernel.org/stable/c/700973cc65db405bde0368ccf88699390150943e git.kernel.org
- https://git.kernel.org/stable/c/49f7cbc902b08b56eb7d2633163ecc57a0e7145a git.kernel.org
- https://git.kernel.org/stable/c/74a83aa05f73033af719771ab1f0c269928b4865 git.kernel.org
- https://git.kernel.org/stable/c/53e56f7aa1d0f950a8bc2e4cdb3ba9fe45967531 git.kernel.org
- https://git.kernel.org/stable/c/de603b9d377fab57a5e6432fa84a9f36b32c1636 git.kernel.org
Source: the record CVE-2026-89781 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse