CVE-2023-54063
fs/ntfs3: Fix OOB read in indx_insert_into_buffer
Check your servers for CVE-2023-54063
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-2023-54063 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 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().
Severity (CVSS)
CVSS:3.1/AV:L/AC:L/PR:L/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
- low: the attacker needs an ordinary user 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.21%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 11.8% of all scored CVEs. Scores of 1 Dec 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from 82cae269cfa953032fbb8980a7d554d60fb00b17, before cd7e1d67924081717c5c96ead758a1a77867689a affected from 82cae269cfa953032fbb8980a7d554d60fb00b17, before 17048287ac79abd33b275ac3b5738285d406481b affected from 82cae269cfa953032fbb8980a7d554d60fb00b17, before a7e5dba10ba1402dd6c2f961a70320770865c4a5 affected from 82cae269cfa953032fbb8980a7d554d60fb00b17, before 4bf3b564e27a518f158a83d5e1a50064ed6136a0 affected from 82cae269cfa953032fbb8980a7d554d60fb00b17, before b8c44949044e5f7f864525fdffe8e95135ce9ce5
Other versions: unaffected
|
| Linux |
affected 5.15 unaffected before 5.15 unaffected from 5.15.111 up to and including 5.15.* unaffected from 6.1.28 up to and including 6.1.* unaffected from 6.2.15 up to and including 6.2.* unaffected from 6.3.2 up to and including 6.3.* unaffected 6.4 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-2023-54063 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2023-54063
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-2023-54063
trivy image --scanners vuln IMAGE | grep CVE-2023-54063
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/cd7e1d67924081717c5c96ead758a1a77867689a git.kernel.org
- https://git.kernel.org/stable/c/17048287ac79abd33b275ac3b5738285d406481b git.kernel.org
- https://git.kernel.org/stable/c/a7e5dba10ba1402dd6c2f961a70320770865c4a5 git.kernel.org
- https://git.kernel.org/stable/c/4bf3b564e27a518f158a83d5e1a50064ed6136a0 git.kernel.org
- https://git.kernel.org/stable/c/b8c44949044e5f7f864525fdffe8e95135ce9ce5 git.kernel.org
Source: the record CVE-2023-54063 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