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: 0 PID: 12739 Comm: syz-executor5 Not tainted 4.20.0+ #12 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:lock_accessed kernel/locking/lockdep.c:968 [inline] RIP: 0010:__bfs kernel/locking/lockdep.c:1035 [inline] RIP: 0010:__bfs+0x2ce/0x7a0 kernel/locking/lockdep.c:989 Code: 49 01 00 00 49 8d 7f 10 4c 89 f8 4c 8b 1d ea c7 ee 09 48 89 f9 48 2d 20 37 32 8b 44 8b 15 3a c6 61 09 48 c1 e9 03 48 c1 f8 06 <42> 80 3c 21 00 0f 85 2c 03 00 00 49 8b 77 10 4c 8d 46 2c 4c 89 c1 RSP: 0018:ffff88808cca6d90 EFLAGS: 00010003 RAX: 0000000001d33723 RBX: ffffed1011994dcb RCX: 0000000000000002 RDX: 1ffff11011994dc7 RSI: 0000000000000000 RDI: 0000000000000010 RBP: ffff88808cca6ec0 R08: 0000000000000000 R09: 1ffff11011994dcb R10: 000000000001d4dc R11: 00000000000033e8 R12: dffffc0000000000 R13: ffffffff8b256420 R14: ffff88808cca6e98 R15: 0000000000000000 FS: 00007f0b875ae700(0000) GS:ffff8880ae600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000000000 CR3: 000000002d511000 CR4: 00000000001406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __bfs_backwards kernel/locking/lockdep.c:1072 [inline] find_usage_backwards kernel/locking/lockdep.c:1386 [inline] check_usage_backwards+0x161/0x3e0 kernel/locking/lockdep.c:2599 mark_lock_irq kernel/locking/lockdep.c:2690 [inline] mark_lock+0x519/0x1cd0 kernel/locking/lockdep.c:3062 mark_irqflags kernel/locking/lockdep.c:2954 [inline] __lock_acquire+0xc55/0x4a30 kernel/locking/lockdep.c:3295 lock_acquire+0x1db/0x570 kernel/locking/lockdep.c:3841 __raw_write_lock_bh include/linux/rwlock_api_smp.h:203 [inline] _raw_write_lock_bh+0x33/0x50 kernel/locking/spinlock.c:312 sock_orphan include/net/sock.h:1796 [inline] nr_release+0x6a/0x3c0 net/netrom/af_netrom.c:524 __sock_release+0xd3/0x250 net/socket.c:579 sock_close+0x1b/0x30 net/socket.c:1141 __fput+0x3c5/0xb10 fs/file_table.c:278 ____fput+0x16/0x20 fs/file_table.c:309 task_work_run+0x1f4/0x2b0 kernel/task_work.c:113 exit_task_work include/linux/task_work.h:22 [inline] do_exit+0x19d6/0x2650 kernel/exit.c:867 do_group_exit+0x177/0x430 kernel/exit.c:970 get_signal+0x8b4/0x19b0 kernel/signal.c:2517 do_signal+0x91/0x1ea0 arch/x86/kernel/signal.c:816 exit_to_usermode_loop+0x2f7/0x3b0 arch/x86/entry/common.c:162 prepare_exit_to_usermode arch/x86/entry/common.c:197 [inline] syscall_return_slowpath arch/x86/entry/common.c:268 [inline] do_syscall_64+0x696/0x800 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x457ec9 Code: 6d 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 3b b7 fb ff c3 66 2e 0f 1f 84 00 00 00 00 RSP: 002b:00007f0b875adcf8 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca RAX: fffffffffffffe00 RBX: 000000000073bfa8 RCX: 0000000000457ec9 RDX: 0000000000000000 RSI: 0000000000000080 RDI: 000000000073bfa8 RBP: 000000000073bfa0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000073bfac R13: 00007fff07f0dfaf R14: 00007f0b875ae9c0 R15: 000000000073bfac Modules linked in: ---[ end trace 54dce24167f0a43e ]--- RIP: 0010:lock_accessed kernel/locking/lockdep.c:968 [inline] RIP: 0010:__bfs kernel/locking/lockdep.c:1035 [inline] RIP: 0010:__bfs+0x2ce/0x7a0 kernel/locking/lockdep.c:989 Code: 49 01 00 00 49 8d 7f 10 4c 89 f8 4c 8b 1d ea c7 ee 09 48 89 f9 48 2d 20 37 32 8b 44 8b 15 3a c6 61 09 48 c1 e9 03 48 c1 f8 06 <42> 80 3c 21 00 0f 85 2c 03 00 00 49 8b 77 10 4c 8d 46 2c 4c 89 c1 RSP: 0018:ffff88808cca6d90 EFLAGS: 00010003 RAX: 0000000001d33723 RBX: ffffed1011994dcb RCX: 0000000000000002 RDX: 1ffff11011994dc7 RSI: 0000000000000000 RDI: 0000000000000010 RBP: ffff88808cca6ec0 R08: 0000000000000000 R09: 1ffff11011994dcb R10: 000000000001d4dc R11: 00000000000033e8 R12: dffffc0000000000 R13: ffffffff8b256420 R14: ffff88808cca6e98 R15: 0000000000000000 FS: 00007f0b875ae700(0000) GS:ffff8880ae600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000000000 CR3: 000000002d511000 CR4: 00000000001406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400