syzbot
memory leak in new_inode_pseudo (2)
Status:
auto-obsoleted due to no activity on 2022/11/10 16:48
Reported-by: syzbot+e682cca30bc101a4d9d9@syzkaller.appspotmail.com
First crash: 2582d, last: 1571d
▶
▼
Last patch testing requests (11)
Sample crash report:
Warning: Permanently added '10.128.1.56' (ECDSA) to the list of known hosts.
executing program
executing program
BUG: memory leak
unreferenced object 0xffff88810ffc12a0 (size 608):
comm "kworker/u4:6", pid 8374, jiffies 4294943260 (age 13.000s)
hex dump (first 32 bytes):
80 11 04 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ................
backtrace:
[<ffffffff8157b7be>] alloc_inode+0xbe/0x100 fs/inode.c:236
[<ffffffff8157d823>] new_inode_pseudo+0x13/0x70 fs/inode.c:928
[<ffffffff81559afb>] get_pipe_inode fs/pipe.c:855 [inline]
[<ffffffff81559afb>] create_pipe_files+0x2b/0x2e0 fs/pipe.c:895
[<ffffffff8126c86d>] umd_setup+0xad/0x220 kernel/usermode_driver.c:115
[<ffffffff812535d4>] call_usermodehelper_exec_async+0xb4/0x1b0 kernel/umh.c:101
[<ffffffff8100227f>] ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:294
BUG: memory leak
unreferenced object 0xffff88811209f318 (size 24):
comm "kworker/u4:6", pid 8374, jiffies 4294943260 (age 13.000s)
hex dump (first 24 bytes):
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
00 00 00 00 00 00 00 00 ........
backtrace:
[<ffffffff820e0aea>] kmem_cache_zalloc include/linux/slab.h:674 [inline]
[<ffffffff820e0aea>] lsm_inode_alloc security/security.c:590 [inline]
[<ffffffff820e0aea>] security_inode_alloc+0x2a/0xb0 security/security.c:973
[<ffffffff815792e4>] inode_init_always+0x114/0x250 fs/inode.c:171
[<ffffffff8157b744>] alloc_inode+0x44/0x100 fs/inode.c:241
[<ffffffff8157d823>] new_inode_pseudo+0x13/0x70 fs/inode.c:928
[<ffffffff81559afb>] get_pipe_inode fs/pipe.c:855 [inline]
[<ffffffff81559afb>] create_pipe_files+0x2b/0x2e0 fs/pipe.c:895
[<ffffffff8126c86d>] umd_setup+0xad/0x220 kernel/usermode_driver.c:115
[<ffffffff812535d4>] call_usermodehelper_exec_async+0xb4/0x1b0 kernel/umh.c:101
[<ffffffff8100227f>] ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:294
BUG: memory leak
unreferenced object 0xffff88810e110a80 (size 192):
comm "kworker/u4:6", pid 8374, jiffies 4294943260 (age 13.000s)
hex dump (first 32 bytes):
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
90 0a 11 0e 81 88 ff ff 90 0a 11 0e 81 88 ff ff ................
backtrace:
[<ffffffff815590cf>] kmalloc include/linux/slab.h:554 [inline]
[<ffffffff815590cf>] kzalloc include/linux/slab.h:684 [inline]
[<ffffffff815590cf>] alloc_pipe_info+0x8f/0x320 fs/pipe.c:774
[<ffffffff81559b1d>] get_pipe_inode fs/pipe.c:863 [inline]
[<ffffffff81559b1d>] create_pipe_files+0x4d/0x2e0 fs/pipe.c:895
[<ffffffff8126c86d>] umd_setup+0xad/0x220 kernel/usermode_driver.c:115
[<ffffffff812535d4>] call_usermodehelper_exec_async+0xb4/0x1b0 kernel/umh.c:101
[<ffffffff8100227f>] ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:294
BUG: memory leak
unreferenced object 0xffff888110c51800 (size 1024):
comm "kworker/u4:6", pid 8374, jiffies 4294943260 (age 13.000s)
hex dump (first 32 bytes):
c0 99 38 04 00 ea ff ff 28 00 00 00 00 00 00 00 ..8.....(.......
00 00 00 00 00 00 00 00 10 00 00 00 00 00 00 00 ................
backtrace:
[<ffffffff81559194>] kcalloc include/linux/slab.h:623 [inline]
[<ffffffff81559194>] alloc_pipe_info+0x154/0x320 fs/pipe.c:791
[<ffffffff81559b1d>] get_pipe_inode fs/pipe.c:863 [inline]
[<ffffffff81559b1d>] create_pipe_files+0x4d/0x2e0 fs/pipe.c:895
[<ffffffff8126c86d>] umd_setup+0xad/0x220 kernel/usermode_driver.c:115
[<ffffffff812535d4>] call_usermodehelper_exec_async+0xb4/0x1b0 kernel/umh.c:101
[<ffffffff8100227f>] ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:294
BUG: memory leak
unreferenced object 0xffff88810ffd5e40 (size 192):
comm "kworker/u4:6", pid 8374, jiffies 4294943260 (age 13.000s)
hex dump (first 32 bytes):
00 00 50 40 02 00 00 00 00 00 00 00 00 00 00 00 ..P@............
00 00 00 00 00 00 00 00 40 5e fd 0f 81 88 ff ff ........@^......
backtrace:
[<ffffffff81572d4a>] __d_alloc+0x2a/0x270 fs/dcache.c:1742
[<ffffffff815779e9>] d_alloc_pseudo+0x19/0x40 fs/dcache.c:1871
[<ffffffff8154b4bf>] alloc_file_pseudo+0x5f/0x140 fs/file_table.c:225
[<ffffffff81559c08>] create_pipe_files+0x138/0x2e0 fs/pipe.c:911
[<ffffffff8126c86d>] umd_setup+0xad/0x220 kernel/usermode_driver.c:115
[<ffffffff812535d4>] call_usermodehelper_exec_async+0xb4/0x1b0 kernel/umh.c:101
[<ffffffff8100227f>] ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:294
BUG: memory leak
unreferenced object 0xffff888110c17c00 (size 232):
comm "kworker/u4:6", pid 8374, jiffies 4294943260 (age 13.000s)
hex dump (first 32 bytes):
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
e0 e7 04 01 81 88 ff ff 40 5e fd 0f 81 88 ff ff ........@^......
backtrace:
[<ffffffff8154aabf>] kmem_cache_zalloc include/linux/slab.h:674 [inline]
[<ffffffff8154aabf>] __alloc_file+0x1f/0xf0 fs/file_table.c:101
[<ffffffff8154b1f9>] alloc_empty_file+0x69/0x120 fs/file_table.c:150
[<ffffffff8154b2e3>] alloc_file+0x33/0x1b0 fs/file_table.c:192
[<ffffffff8154b612>] alloc_file_clone+0x22/0x70 fs/file_table.c:244
[<ffffffff81559c52>] create_pipe_files+0x182/0x2e0 fs/pipe.c:922
[<ffffffff8126c86d>] umd_setup+0xad/0x220 kernel/usermode_driver.c:115
[<ffffffff812535d4>] call_usermodehelper_exec_async+0xb4/0x1b0 kernel/umh.c:101
[<ffffffff8100227f>] ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:294
* Struck through repros no longer work on HEAD.