{"id":"CVE-2026-89781","aliases":["CVE-2026-89781"],"related":[],"kind":"vulnerability","state":"published","title":"fs/ntfs3: fix out-of-bounds read in read_log_rec_buf()","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nfs/ntfs3: fix out-of-bounds read in read_log_rec_buf()\n\nread_log_rec_buf() copies a log record into a caller buffer starting at\n\n\tu32 off = lsn_to_page_off(log, lsn) + log->record_header_len;\n\nlog->record_header_len (and log->data_off, used for the following pages)\ncomes verbatim from the on-disk restart area and is only checked for\n8-byte alignment in is_rst_area_valid(), so off can exceed\nlog->page_size. \"tail = log->page_size - off\" then underflows and\nmemcpy() reads past the page_size-sized buffer returned by\nread_log_page(), spilling adjacent slab memory into the replay buffer.\n\nThis is reachable by mounting a crafted NTFS image:\n\n BUG: KASAN: slab-out-of-bounds in read_log_rec_buf+0x216/0x580\n Read of size 64 at addr ffff88800a877ff8 by task exploit/127\n  read_log_rec_buf fs/ntfs3/fslog.c:2299\n  log_replay fs/ntfs3/fslog.c:4216\n  ntfs_loadlog_and_replay fs/ntfs3/fsntfs.c:324\n  ntfs_fill_super fs/ntfs3/super.c:1392\n  get_tree_bdev_flags fs/super.c:1694\n  __x64_sys_mount fs/namespace.c:4360\n The buggy address is located 4088 bytes to the right of\n the 4096-byte region [ffff88800a876000, ffff88800a877000)\n\nReject an in-page offset outside the current page before the copy.\n\n[almaz.alexandrovich@paragon-software.com: replaced the >= sign with >]","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nfs/ntfs3: fix out-of-bounds read in read_log_rec_buf()\n\nread_log_rec_buf() copies a log record into a caller buffer starting at\n\n\tu32 off = lsn_to_page_off(log, lsn) + log->record_header_len;\n\nlog->record_header_len (and log->data_off, used for the following pages)\ncomes verbatim from the on-disk restart area and is only checked for\n8-byte alignment in is_rst_area_valid(), so off can exceed\nlog->page_size. \"tail = log->page_size - off\" then underflows and\nmemcpy() reads past the page_size-sized buffer returned by\nread_log_page(), spilling adjacent slab memory into the replay buffer.\n\nThis is reachable by mounting a crafted NTFS image:\n\n BUG: KASAN: slab-out-of-bounds in read_log_rec_buf+0x216/0x580\n Read of size 64 at addr ffff88800a877ff8 by task exploit/127\n  read_log_rec_buf fs/ntfs3/fslog.c:2299\n  log_replay fs/ntfs3/fslog.c:4216\n  ntfs_loadlog_and_replay fs/ntfs3/fsntfs.c:324\n  ntfs_fill_super fs/ntfs3/super.c:1392\n  get_tree_bdev_flags fs/super.c:1694\n  __x64_sys_mount fs/namespace.c:4360\n The buggy address is located 4088 bytes to the right of\n the 4096-byte region [ffff88800a876000, ffff88800a877000)\n\nReject an in-page offset outside the current page before the copy.\n\n[almaz.alexandrovich@paragon-software.com: replaced the >= sign with >]","source":"cvelist"}],"published":"2026-09-16T08:48:20.425Z","modified":"2026-10-19T09:18:21.517Z","severity":{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":8.4,"rating":"HIGH"},"severities":[{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":8.4,"rating":"HIGH"}],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"b46acd6a6a627d876898e1c84d3f84902264b445","fixed":"df099bfdb57773ba7f40f8a9dcc82e75af277922","status":"affected"},{"type":"git","introduced":"b46acd6a6a627d876898e1c84d3f84902264b445","fixed":"1b2d31f1083beb80c55d1152249f652c1445a559","status":"affected"},{"type":"git","introduced":"b46acd6a6a627d876898e1c84d3f84902264b445","fixed":"700973cc65db405bde0368ccf88699390150943e","status":"affected"},{"type":"git","introduced":"b46acd6a6a627d876898e1c84d3f84902264b445","fixed":"49f7cbc902b08b56eb7d2633163ecc57a0e7145a","status":"affected"},{"type":"git","introduced":"b46acd6a6a627d876898e1c84d3f84902264b445","fixed":"74a83aa05f73033af719771ab1f0c269928b4865","status":"affected"},{"type":"git","introduced":"b46acd6a6a627d876898e1c84d3f84902264b445","fixed":"53e56f7aa1d0f950a8bc2e4cdb3ba9fe45967531","status":"affected"},{"type":"git","introduced":"b46acd6a6a627d876898e1c84d3f84902264b445","fixed":"de603b9d377fab57a5e6432fa84a9f36b32c1636","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"5.15","status":"affected"},{"type":"semver","introduced":"0","fixed":"5.15","status":"unaffected"},{"type":"semver","introduced":"5.15.221","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.188","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.157","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.110","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.52","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.2.6","lastAffected":"7.2.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.3","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/df099bfdb57773ba7f40f8a9dcc82e75af277922","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/1b2d31f1083beb80c55d1152249f652c1445a559","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/700973cc65db405bde0368ccf88699390150943e","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/49f7cbc902b08b56eb7d2633163ecc57a0e7145a","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/74a83aa05f73033af719771ab1f0c269928b4865","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/53e56f7aa1d0f950a8bc2e4cdb3ba9fe45967531","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/de603b9d377fab57a5e6432fa84a9f36b32c1636","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-89781","url":"https://www.cve.org/CVERecord?id=CVE-2026-89781","licence":"CVE Terms of Use","modified":"2026-10-19T08:52:33.476Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-89781","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-89781","licence":"Public domain","modified":"2026-10-19T09:18:21.517Z"}],"updatedAt":"2026-11-25T22:59:38.923Z","epss":{"score":0.00185,"percentile":0.08479,"date":"2026-12-01T12:00:22.000Z"}}