Skip to content
CVE PROGRAM SOURCE RECORD7.8 High

CVE-2023-53988

fs/ntfs3: Fix slab-out-of-bounds read in hdr_delete_de()

Description

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 products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Linux Linux

Default version status: unaffected

  • 82cae269cfa953032fbb8980a7d554d60fb00b17 to < c58ea97aa94f033ee64a8cb6587d84a9849b6216affected
  • 82cae269cfa953032fbb8980a7d554d60fb00b17 to < 9163a5b4ed290da4a7d23fa92533e0e81fd0166eaffected
  • 82cae269cfa953032fbb8980a7d554d60fb00b17 to < 114204d25e1dffdd3a0c1cfbba219afd344f4b4faffected
  • 82cae269cfa953032fbb8980a7d554d60fb00b17 to < 4a034ece7e2877673d9085d6e7ed45e6ee40b761affected
  • 82cae269cfa953032fbb8980a7d554d60fb00b17 to < ab84eee4c7ab929996602eda7832854c35a6dda2affected

Linux Linux

Default version status: affected

  • 5.15affected
  • 0 to < 5.15unaffected
  • 5.15.111 to ≤ 5.15.*unaffected
  • 6.1.28 to ≤ 6.1.*unaffected
  • 6.2.15 to ≤ 6.2.*unaffected
  • 6.3.2 to ≤ 6.3.*unaffected
  • 6.4 to ≤ *unaffected

References