# CVE-2023-54063: fs/ntfs3: Fix OOB read in indx_insert_into_buffer

- Severity: High 7.8 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.21%, higher than 11% of CVEs (2026-12-01)
- Published: 2025-12-24T12:23:09.346Z
- Modified: 2026-08-05T09:16:51.916Z
- Assigned by: Linux

## Description

In the Linux kernel, the following vulnerability has been resolved:

fs/ntfs3: Fix OOB read in indx_insert_into_buffer

Syzbot reported a OOB read bug:

BUG: KASAN: slab-out-of-bounds in indx_insert_into_buffer+0xaa3/0x13b0
fs/ntfs3/index.c:1755
Read of size 17168 at addr ffff8880255e06c0 by task syz-executor308/3630

Call Trace:
 <TASK>
 memmove+0x25/0x60 mm/kasan/shadow.c:54
 indx_insert_into_buffer+0xaa3/0x13b0 fs/ntfs3/index.c:1755
 indx_insert_entry+0x446/0x6b0 fs/ntfs3/index.c:1863
 ntfs_create_inode+0x1d3f/0x35c0 fs/ntfs3/inode.c:1548
 ntfs_create+0x3e/0x60 fs/ntfs3/namei.c:100
 lookup_open fs/namei.c:3413 [inline]

If the member struct INDEX_BUFFER *index of struct indx_node is
incorrect, that is, the value of __le32 used is greater than the value
of __le32 total in struct INDEX_HDR. Therefore, OOB read occurs when
memmove is called in indx_insert_into_buffer().
Fix this by adding a check in hdr_find_e().

(As written by CVE List.)

## Affected

- Linux Linux: from 82cae269cfa953032fbb8980a7d554d60fb00b17 before cd7e1d67924081717c5c96ead758a1a77867689a; from 82cae269cfa953032fbb8980a7d554d60fb00b17 before 17048287ac79abd33b275ac3b5738285d406481b; from 82cae269cfa953032fbb8980a7d554d60fb00b17 before a7e5dba10ba1402dd6c2f961a70320770865c4a5; from 82cae269cfa953032fbb8980a7d554d60fb00b17 before 4bf3b564e27a518f158a83d5e1a50064ed6136a0; from 82cae269cfa953032fbb8980a7d554d60fb00b17 before b8c44949044e5f7f864525fdffe8e95135ce9ce5; 5.15 (not affected: before 5.15; from 5.15.111 up to 5.15.*; from 6.1.28 up to 6.1.*; from 6.2.15 up to 6.2.*; from 6.3.2 up to 6.3.*; from 6.4 up to *)

## References

- <https://git.kernel.org/stable/c/cd7e1d67924081717c5c96ead758a1a77867689a>
- <https://git.kernel.org/stable/c/17048287ac79abd33b275ac3b5738285d406481b>
- <https://git.kernel.org/stable/c/a7e5dba10ba1402dd6c2f961a70320770865c4a5>
- <https://git.kernel.org/stable/c/4bf3b564e27a518f158a83d5e1a50064ed6136a0>
- <https://git.kernel.org/stable/c/b8c44949044e5f7f864525fdffe8e95135ce9ce5>

## Sources

- CVE List: [CVE-2023-54063](https://www.cve.org/CVERecord?id=CVE-2023-54063), CVE Terms of Use, modified 2026-08-05
- NVD: [CVE-2023-54063](https://nvd.nist.gov/vuln/detail/CVE-2023-54063), Public domain, modified 2026-08-04

---

Page: https://cve.day/CVE-2023-54063 · Whole record: https://cve.day/CVE-2023-54063.json · Rebuilt by cve.day 2026-11-25T22:58:35.161Z
