CVE-2023-54063
published high CVSS 3.1 · 7.8fs/ntfs3: Fix OOB read in indx_insert_into_buffer
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linux82cae269cfa953032fbb8980a7d554d60fb00b17 to < cd7e1d67924081717c5c96ead758a1a77867689a · 82cae269cfa953032fbb8980a7d554d60fb00b17 to < 17048287ac79abd33b275ac3b5738285d406481b · 82cae269cfa953032fbb8980a7d554d60fb00b17 to < a7e5dba10ba1402dd6c2f961a70320770865c4a5 · 82cae269cfa953032fbb8980a7d554d60fb00b17 to < 4bf3b564e27a518f158a83d5e1a50064ed6136a0 · 82cae269cfa953032fbb8980a7d554d60fb00b17 to < b8c44949044e5f7f864525fdffe8e95135ce9ce5 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux5.15 (affected) · 0 to < 5.15 (unaffected · semver) · 5.15.111 through 5.15.* (unaffected · semver) · 6.1.28 through 6.1.* (unaffected · semver) · 6.2.15 through 6.2.* (unaffected · semver) · 6.3.2 through 6.3.* (unaffected · semver) · 6.4 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2 | Release evaluationALAS2KERNEL-5.15-2023-021 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2023-184 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2 | kernelaarch64 | Listed in advisory | Not stated | ALAS2KERNEL-5.15-2023-021 |
| Amazon Linux | AL2 | kerneli686 | Listed in advisory | Not stated | ALAS2KERNEL-5.15-2023-021 |
Show 5 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Amazon Linux | AL2 | kernelsrc | Listed in advisory | Not stated | ALAS2KERNEL-5.15-2023-021 |
| Amazon Linux | AL2 | kernelx86_64 | Listed in advisory | Not stated | ALAS2KERNEL-5.15-2023-021 |
| Amazon Linux | AL2023 | kernelaarch64 | Listed in advisory | Not stated | ALAS2023-2023-184 |
| Amazon Linux | AL2023 | kernelsrc | Listed in advisory | Not stated | ALAS2023-2023-184 |
| Amazon Linux | AL2023 | kernelx86_64 | Listed in advisory | Not stated | ALAS2023-2023-184 |
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().
Related advisories
Vendor advisories explicitly linked to this CVE.
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:L/UI:N/S:U/C:H/I:H/A:H
- Scenarios
- en: AV:L - The vulnerability is triggered by mounting a crafted NTFS3 image and then performing an ordinary directory operation (create/mkdir/rename) on it, which is purely local — syscall/VFS access plus a block device or loop-backed image. No network-facing service parses this data. AC:L - The attacker fully authors the on-disk INDEX_ROOT that supplies the oversized `to_move`, so the overflow is deterministic and repeatable with no race, timing window, or uncontrolled memory-layout dependency. PR:L - Once the volume is mounted, the vulnerable path (`ntfs_create`/`ntfs_mkdir`/rename → `indx_insert_entry`) is reachable by any unprivileged user with write access to a directory, and on desktop/kiosk/automotive systems udisks2 or systemd automount lets an ordinary local-session user mount their own crafted NTFS media without additional privilege. UI:N - The attacker performs both steps — supplying/mounting the crafted image via automount and issuing the file-creation syscall — with no action required from any other user; this matches the established scoring for the sibling ntfs3 crafted-image CVEs. S:U - The corruption is confined to kernel slab memory within the same security authority; there is no VM, IOMMU, or sandbox boundary crossed. C:H - The `memmove()` in `indx_insert_into_buffer()` reads up to ~17 KB of adjacent kernel slab data (heap pointers, other objects) into the index buffer, which `indx_write()` then persists to disk where the attacker can read it back from their own image — a direct kernel-heap disclosure primitive. I:H - `hdr_insert_head()` performs an unchecked `memmove`/`memcpy` past the end of the `kmalloc(1u << index_bits)` index buffer with attacker-controlled length and attacker-authored entry bytes, giving a controllable slab overflow that can overwrite adjacent objects and be leveraged for arbitrary write and control-flow hijack. A:H - The out-of-bounds access produced a KASAN slab-out-of-bounds report and, on production kernels, corrupts adjacent slab objects and heap metadata, reliably leading to an oops or panic.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | 82cae269cfa953032fbb8980a7d554d60fb00b17 to < cd7e1d67924081717c5c96ead758a1a77867689a (affected · git)82cae269cfa953032fbb8980a7d554d60fb00b17 to < 17048287ac79abd33b275ac3b5738285d406481b (affected · git)82cae269cfa953032fbb8980a7d554d60fb00b17 to < a7e5dba10ba1402dd6c2f961a70320770865c4a5 (affected · git)82cae269cfa953032fbb8980a7d554d60fb00b17 to < 4bf3b564e27a518f158a83d5e1a50064ed6136a0 (affected · git)82cae269cfa953032fbb8980a7d554d60fb00b17 to < b8c44949044e5f7f864525fdffe8e95135ce9ce5 (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 5.15 (affected)0 to < 5.15 (unaffected · semver)5.15.111 through 5.15.* (unaffected · semver)6.1.28 through 6.1.* (unaffected · semver)6.2.15 through 6.2.* (unaffected · semver)6.3.2 through 6.3.* (unaffected · semver)6.4 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
5- https://git.kernel.org/stable/c/17048287ac79abd33b275ac3b5738285d406481b
- https://git.kernel.org/stable/c/4bf3b564e27a518f158a83d5e1a50064ed6136a0
- https://git.kernel.org/stable/c/a7e5dba10ba1402dd6c2f961a70320770865c4a5
- https://git.kernel.org/stable/c/b8c44949044e5f7f864525fdffe8e95135ce9ce5
- https://git.kernel.org/stable/c/cd7e1d67924081717c5c96ead758a1a77867689a
Provider assertions
1Linux · cna
fs/ntfs3: Fix OOB read in indx_insert_into_buffer
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- e11a6bee1d34a3e99104d347a58b09419fb0176928f3cd9a208d0a75c319011d
- Ingested
- 23 Sep 2026, 08:15:07 UTC
- Source record
- Official CVE record