Closed yshigeru closed 1 year ago
https://syzkaller.appspot.com/bug?extid=9ccdd15480e9d9833822
BUG: memory leak unreferenced object 0xffff8881092d8120 (size 8): comm "syz-executor271", pid 5017, jiffies 4294942948 (age 12.860s) hex dump (first 8 bytes): 65 00 00 00 00 00 00 00 e....... backtrace: [<ffffffff8157443b>] __do_kmalloc_node mm/slab_common.c:1022 [inline] [<ffffffff8157443b>] __kmalloc+0x4b/0x150 mm/slab_common.c:1036 [<ffffffff81bc99ac>] kmalloc_array include/linux/slab.h:636 [inline] [<ffffffff81bc99ac>] kcalloc include/linux/slab.h:667 [inline] [<ffffffff81bc99ac>] wnd_init+0xdc/0x140 fs/ntfs3/bitmap.c:662 [<ffffffff81c023dd>] ntfs_fill_super+0x116d/0x22f0 fs/ntfs3/super.c:1257 [<ffffffff81691a21>] get_tree_bdev+0x1b1/0x280 fs/super.c:1577 [<ffffffff8168ecda>] vfs_get_tree+0x2a/0x130 fs/super.c:1750 [<ffffffff816d44ef>] do_new_mount fs/namespace.c:3335 [inline] [<ffffffff816d44ef>] path_mount+0xc8f/0x10d0 fs/namespace.c:3662 [<ffffffff816d50e1>] do_mount fs/namespace.c:3675 [inline] [<ffffffff816d50e1>] __do_sys_mount fs/namespace.c:3884 [inline] [<ffffffff816d50e1>] __se_sys_mount fs/namespace.c:3861 [inline] [<ffffffff816d50e1>] __x64_sys_mount+0x1a1/0x1f0 fs/namespace.c:3861 [<ffffffff84b2dfa8>] do_syscall_x64 arch/x86/entry/common.c:50 [inline] [<ffffffff84b2dfa8>] do_syscall_64+0x38/0xb0 arch/x86/entry/common.c:80 [<ffffffff84c0008b>] entry_SYSCALL_64_after_hwframe+0x63/0xcd BUG: memory leak unreferenced object 0xffff88810bf880c0 (size 64): comm "syz-executor271", pid 5017, jiffies 4294942948 (age 12.860s) hex dump (first 32 bytes): 01 00 00 00 00 00 00 00 00 81 f8 0b 81 88 ff ff ................ 00 00 00 00 00 00 00 00 10 00 00 00 00 00 00 00 ................ backtrace: [<ffffffff81bc7ddc>] wnd_add_free_ext+0x6c/0x860 fs/ntfs3/bitmap.c:337 [<ffffffff81bc9640>] wnd_rescan+0x370/0x600 fs/ntfs3/bitmap.c:597 [<ffffffff81bc99c2>] wnd_init+0xf2/0x140 fs/ntfs3/bitmap.c:666 [<ffffffff81c023dd>] ntfs_fill_super+0x116d/0x22f0 fs/ntfs3/super.c:1257 [<ffffffff81691a21>] get_tree_bdev+0x1b1/0x280 fs/super.c:1577 [<ffffffff8168ecda>] vfs_get_tree+0x2a/0x130 fs/super.c:1750 [<ffffffff816d44ef>] do_new_mount fs/namespace.c:3335 [inline] [<ffffffff816d44ef>] path_mount+0xc8f/0x10d0 fs/namespace.c:3662 [<ffffffff816d50e1>] do_mount fs/namespace.c:3675 [inline] [<ffffffff816d50e1>] __do_sys_mount fs/namespace.c:3884 [inline] [<ffffffff816d50e1>] __se_sys_mount fs/namespace.c:3861 [inline] [<ffffffff816d50e1>] __x64_sys_mount+0x1a1/0x1f0 fs/namespace.c:3861 [<ffffffff84b2dfa8>] do_syscall_x64 arch/x86/entry/common.c:50 [inline] [<ffffffff84b2dfa8>] do_syscall_64+0x38/0xb0 arch/x86/entry/common.c:80 [<ffffffff84c0008b>] entry_SYSCALL_64_after_hwframe+0x63/0xcd BUG: memory leak unreferenced object 0xffff88810bf88100 (size 64): comm "syz-executor271", pid 5017, jiffies 4294942948 (age 12.860s) hex dump (first 32 bytes): c0 80 f8 0b 81 88 ff ff 00 00 00 00 00 00 00 00 ................ 00 00 00 00 00 00 00 00 21 00 00 00 00 00 00 00 ........!....... backtrace: [<ffffffff81bc7ddc>] wnd_add_free_ext+0x6c/0x860 fs/ntfs3/bitmap.c:337 [<ffffffff81bc9775>] wnd_rescan+0x4a5/0x600 fs/ntfs3/bitmap.c:621 [<ffffffff81bc99c2>] wnd_init+0xf2/0x140 fs/ntfs3/bitmap.c:666 [<ffffffff81c023dd>] ntfs_fill_super+0x116d/0x22f0 fs/ntfs3/super.c:1257 [<ffffffff81691a21>] get_tree_bdev+0x1b1/0x280 fs/super.c:1577 [<ffffffff8168ecda>] vfs_get_tree+0x2a/0x130 fs/super.c:1750 [<ffffffff816d44ef>] do_new_mount fs/namespace.c:3335 [inline] [<ffffffff816d44ef>] path_mount+0xc8f/0x10d0 fs/namespace.c:3662 [<ffffffff816d50e1>] do_mount fs/namespace.c:3675 [inline] [<ffffffff816d50e1>] __do_sys_mount fs/namespace.c:3884 [inline] [<ffffffff816d50e1>] __se_sys_mount fs/namespace.c:3861 [inline] [<ffffffff816d50e1>] __x64_sys_mount+0x1a1/0x1f0 fs/namespace.c:3861 [<ffffffff84b2dfa8>] do_syscall_x64 arch/x86/entry/common.c:50 [inline] [<ffffffff84b2dfa8>] do_syscall_64+0x38/0xb0 arch/x86/entry/common.c:80 [<ffffffff84c0008b>] entry_SYSCALL_64_after_hwframe+0x63/0xcd BUG: memory leak unreferenced object 0xffff88810a1d8b40 (size 64): comm "syz-executor271", pid 5017, jiffies 4294942948 (age 12.860s) hex dump (first 32 bytes): 00 00 00 00 01 00 00 00 47 00 00 00 00 00 00 00 ........G....... 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ backtrace: [<ffffffff815742ee>] __do_kmalloc_node mm/slab_common.c:1022 [inline] [<ffffffff815742ee>] __kmalloc_node+0x4e/0x150 mm/slab_common.c:1030 [<ffffffff81563919>] kmalloc_node include/linux/slab.h:619 [inline] [<ffffffff81563919>] kvmalloc_node+0x99/0x170 mm/util.c:607 [<ffffffff81bfd949>] kvmalloc include/linux/slab.h:737 [inline] [<ffffffff81bfd949>] run_add_entry+0x559/0x720 fs/ntfs3/run.c:389 [<ffffffff81bfee3c>] run_unpack+0x53c/0x620 fs/ntfs3/run.c:1021 [<ffffffff81bfef97>] run_unpack_ex+0x77/0x320 fs/ntfs3/run.c:1060 [<ffffffff81bee9d3>] ntfs_read_mft fs/ntfs3/inode.c:400 [inline] [<ffffffff81bee9d3>] ntfs_iget5+0x633/0x1a90 fs/ntfs3/inode.c:532 [<ffffffff81c0245d>] ntfs_fill_super+0x11ed/0x22f0 fs/ntfs3/super.c:1272 [<ffffffff81691a21>] get_tree_bdev+0x1b1/0x280 fs/super.c:1577 [<ffffffff8168ecda>] vfs_get_tree+0x2a/0x130 fs/super.c:1750 [<ffffffff816d44ef>] do_new_mount fs/namespace.c:3335 [inline] [<ffffffff816d44ef>] path_mount+0xc8f/0x10d0 fs/namespace.c:3662 [<ffffffff816d50e1>] do_mount fs/namespace.c:3675 [inline] [<ffffffff816d50e1>] __do_sys_mount fs/namespace.c:3884 [inline] [<ffffffff816d50e1>] __se_sys_mount fs/namespace.c:3861 [inline] [<ffffffff816d50e1>] __x64_sys_mount+0x1a1/0x1f0 fs/namespace.c:3861 [<ffffffff84b2dfa8>] do_syscall_x64 arch/x86/entry/common.c:50 [inline] [<ffffffff84b2dfa8>] do_syscall_64+0x38/0xb0 arch/x86/entry/common.c:80 [<ffffffff84c0008b>] entry_SYSCALL_64_after_hwframe+0x63/0xcd BUG: memory leak unreferenced object 0xffff8881092d8468 (size 8): comm "syz-executor271", pid 5017, jiffies 4294942948 (age 12.860s) hex dump (first 8 bytes): 0f 01 00 00 00 00 00 00 ........ backtrace: [<ffffffff8157443b>] __do_kmalloc_node mm/slab_common.c:1022 [inline] [<ffffffff8157443b>] __kmalloc+0x4b/0x150 mm/slab_common.c:1036 [<ffffffff81bc99ac>] kmalloc_array include/linux/slab.h:636 [inline] [<ffffffff81bc99ac>] kcalloc include/linux/slab.h:667 [inline] [<ffffffff81bc99ac>] wnd_init+0xdc/0x140 fs/ntfs3/bitmap.c:662 [<ffffffff81c02509>] ntfs_fill_super+0x1299/0x22f0 fs/ntfs3/super.c:1294 [<ffffffff81691a21>] get_tree_bdev+0x1b1/0x280 fs/super.c:1577 [<ffffffff8168ecda>] vfs_get_tree+0x2a/0x130 fs/super.c:1750 [<ffffffff816d44ef>] do_new_mount fs/namespace.c:3335 [inline] [<ffffffff816d44ef>] path_mount+0xc8f/0x10d0 fs/namespace.c:3662 [<ffffffff816d50e1>] do_mount fs/namespace.c:3675 [inline] [<ffffffff816d50e1>] __do_sys_mount fs/namespace.c:3884 [inline] [<ffffffff816d50e1>] __se_sys_mount fs/namespace.c:3861 [inline] [<ffffffff816d50e1>] __x64_sys_mount+0x1a1/0x1f0 fs/namespace.c:3861 [<ffffffff84b2dfa8>] do_syscall_x64 arch/x86/entry/common.c:50 [inline] [<ffffffff84b2dfa8>] do_syscall_64+0x38/0xb0 arch/x86/entry/common.c:80 [<ffffffff84c0008b>] entry_SYSCALL_64_after_hwframe+0x63/0xcd
Sent the patch: https://lore.kernel.org/all/20230916175852.1607269-1-syoshida@redhat.com/
No response from the maintainer.
https://syzkaller.appspot.com/bug?extid=9ccdd15480e9d9833822