syzbot


general protection fault in debugfs_remove

Status: auto-closed as invalid on 2019/11/19 00:32
Reported-by: syzbot+7fbf2243d7b40f48c70e@syzkaller.appspotmail.com
First crash: 1951d, last: 1951d
Similar bugs (4)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-4.14 general protection fault in debugfs_remove (2) 1 1682d 1682d 0/1 auto-closed as invalid on 2020/08/14 06:05
linux-4.14 general protection fault in debugfs_remove 1 1835d 1835d 0/1 auto-closed as invalid on 2020/03/13 21:23
linux-4.19 general protection fault in debugfs_remove (2) 1 1544d 1544d 0/1 auto-closed as invalid on 2020/12/30 03:06
upstream general protection fault in debugfs_remove fs 1 2049d 2040d 0/28 auto-closed as invalid on 2019/10/12 06:37

Sample crash report:
kasan: CONFIG_KASAN_INLINE enabled
kasan: GPF could be caused by NULL-ptr deref or user memory access
general protection fault: 0000 [#1] PREEMPT SMP KASAN
CPU: 1 PID: 30324 Comm: syz-executor.5 Not tainted 4.19.60 #33
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:__lock_acquire+0x1ca/0x48f0 /kernel/locking/lockdep.c:3290
Code: 28 00 00 00 0f 85 78 2e 00 00 48 8d 65 d8 5b 41 5c 41 5d 41 5e 41 5f 5d c3 48 b8 00 00 00 00 00 fc ff df 4c 89 fa 48 c1 ea 03 <80> 3c 02 00 0f 85 c7 31 00 00 49 81 3f 60 21 79 89 0f 84 55 ff ff
RSP: 0018:ffff888058dbf820 EFLAGS: 00010006
RAX: dffffc0000000000 RBX: 0000000000000000 RCX: 0000000000000000
RDX: 0000000000000027 RSI: 0000000000000000 RDI: 0000000000000001
RBP: ffff888058dbf9f0 R08: 0000000000000001 R09: 0000000000000000
kobject: 'loop3' (000000000e0f565f): kobject_uevent_env
R10: 0000000000000001 R11: 0000000000000001 R12: 0000000000000000
kobject: 'loop3' (000000000e0f565f): fill_kobj_path: path = '/devices/virtual/block/loop3'
R13: 0000000000000000 R14: ffff8880564f8180 R15: 0000000000000138
FS:  00007fd98f221700(0000) GS:ffff8880ae900000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fd98f1dedb8 CR3: 0000000080edb000 CR4: 00000000001406e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 lock_acquire+0x16f/0x3f0 /kernel/locking/lockdep.c:3900
 down_write+0x38/0x90 /kernel/locking/rwsem.c:70
 inode_lock /./include/linux/fs.h:747 [inline]
 debugfs_remove+0x94/0x130 /fs/debugfs/inode.c:688
 blk_trace_free+0x38/0x140 /kernel/trace/blktrace.c:312
 blk_trace_cleanup /kernel/trace/blktrace.c:339 [inline]
 __blk_trace_remove+0x78/0xa0 /kernel/trace/blktrace.c:352
 blk_trace_ioctl+0x239/0x300 /kernel/trace/blktrace.c:730
 blkdev_ioctl+0x126/0x1ac0 /block/ioctl.c:587
 block_ioctl+0xee/0x130 /fs/block_dev.c:1891
 vfs_ioctl /fs/ioctl.c:46 [inline]
 file_ioctl /fs/ioctl.c:501 [inline]
 do_vfs_ioctl+0xd5f/0x1380 /fs/ioctl.c:688
 ksys_ioctl+0xab/0xd0 /fs/ioctl.c:705
 __do_sys_ioctl /fs/ioctl.c:712 [inline]
 __se_sys_ioctl /fs/ioctl.c:710 [inline]
 __x64_sys_ioctl+0x73/0xb0 /fs/ioctl.c:710
 do_syscall_64+0xfd/0x620 /arch/x86/entry/common.c:293
 entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x459819
Code: fd b7 fb ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 0f 83 cb b7 fb ff c3 66 2e 0f 1f 84 00 00 00 00
RSP: 002b:00007fd98f220c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 0000000000459819
RDX: 0000000000000000 RSI: 0000000000001276 RDI: 0000000000000003
RBP: 000000000075bf20 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 00007fd98f2216d4
R13: 00000000004c0efc R14: 00000000004d3e80 R15: 00000000ffffffff
Modules linked in:
---[ end trace 6cddf8dbe7cb3f51 ]---
RIP: 0010:__lock_acquire+0x1ca/0x48f0 /kernel/locking/lockdep.c:3290
Code: 28 00 00 00 0f 85 78 2e 00 00 48 8d 65 d8 5b 41 5c 41 5d 41 5e 41 5f 5d c3 48 b8 00 00 00 00 00 fc ff df 4c 89 fa 48 c1 ea 03 <80> 3c 02 00 0f 85 c7 31 00 00 49 81 3f 60 21 79 89 0f 84 55 ff ff
RSP: 0018:ffff888058dbf820 EFLAGS: 00010006
RAX: dffffc0000000000 RBX: 0000000000000000 RCX: 0000000000000000
RDX: 0000000000000027 RSI: 0000000000000000 RDI: 0000000000000001
RBP: ffff888058dbf9f0 R08: 0000000000000001 R09: 0000000000000000
R10: 0000000000000001 R11: 0000000000000001 R12: 0000000000000000
R13: 0000000000000000 R14: ffff8880564f8180 R15: 0000000000000138
FS:  00007fd98f221700(0000) GS:ffff8880ae900000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fd98f1dedb8 CR3: 0000000080edb000 CR4: 00000000001406e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2019/07/22 00:31 linux-4.19.y be9b6782a9eb 1656845f .config console log report ci2-linux-4-19
* Struck through repros no longer work on HEAD.