CVE-2023-53988
N/A
Summary
In the Linux kernel, the following vulnerability has been resolved:
fs/ntfs3: Fix slab-out-of-bounds read in hdr_delete_de()
Here is a BUG report from syzbot:
BUG: KASAN: slab-out-of-bounds in hdr_delete_de+0xe0/0x150 fs/ntfs3/index.c:806 Read of size 16842960 at addr ffff888079cc0600 by task syz-executor934/3631
Call Trace: memmove+0x25/0x60 mm/kasan/shadow.c:54 hdr_delete_de+0xe0/0x150 fs/ntfs3/index.c:806 indx_delete_entry+0x74f/0x3670 fs/ntfs3/index.c:2193 ni_remove_name+0x27a/0x980 fs/ntfs3/frecord.c:2910 ntfs_unlink_inode+0x3d4/0x720 fs/ntfs3/inode.c:1712 ntfs_rename+0x41a/0xcb0 fs/ntfs3/namei.c:276
Before using the meta-data in struct INDEX_HDR, we need to check index header valid or not. Otherwise, the corruptedi (or malicious) fs image can cause out-of-bounds access which could make kernel panic.
Affected Software
| Vendor | Product | Version Range | Status |
|---|---|---|---|
| Linux | Linux | 82cae269cfa953032fbb8980a7d554d60fb00b17 < c58ea97aa94f033ee64a8cb6587d84a9849b6216 | affected |
| Linux | Linux | 82cae269cfa953032fbb8980a7d554d60fb00b17 < 9163a5b4ed290da4a7d23fa92533e0e81fd0166e | affected |
| Linux | Linux | 82cae269cfa953032fbb8980a7d554d60fb00b17 < 114204d25e1dffdd3a0c1cfbba219afd344f4b4f | affected |
| Linux | Linux | 82cae269cfa953032fbb8980a7d554d60fb00b17 < 4a034ece7e2877673d9085d6e7ed45e6ee40b761 | affected |
| Linux | Linux | 82cae269cfa953032fbb8980a7d554d60fb00b17 < ab84eee4c7ab929996602eda7832854c35a6dda2 | affected |
| Linux | Linux | 5.15 | affected |
| Linux | Linux | 0 < 5.15 | unaffected |
| Linux | Linux | 5.15.111 <= 5.15.* | unaffected |
| Linux | Linux | 6.1.28 <= 6.1.* | unaffected |
| Linux | Linux | 6.2.15 <= 6.2.* | unaffected |
| Linux | Linux | 6.3.2 <= 6.3.* | unaffected |
| Linux | Linux | 6.4 <= * | unaffected |
Weaknesses
References
- https://git.kernel.org/stable/c/c58ea97aa94f033ee64a8cb6587d84a9849b6216
- https://git.kernel.org/stable/c/9163a5b4ed290da4a7d23fa92533e0e81fd0166e
- https://git.kernel.org/stable/c/114204d25e1dffdd3a0c1cfbba219afd344f4b4f
- https://git.kernel.org/stable/c/4a034ece7e2877673d9085d6e7ed45e6ee40b761
- https://git.kernel.org/stable/c/ab84eee4c7ab929996602eda7832854c35a6dda2
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.