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: 8043 Comm: udevd Not tainted 5.0.0-rc3+ #17 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 7a e0 ee 09 48 89 f9 48 2d 20 57 32 8b 44 8b 15 ca de 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:ffff8880ae707110 EFLAGS: 00010007 RAX: 0000000001d336a3 RBX: ffffed1015ce0e3b RCX: 0000000000000002 RDX: 1ffff11015ce0e37 RSI: 0000000000000001 RDI: 0000000000000010 RBP: ffff8880ae707240 R08: 0000000000000001 R09: 1ffff11015ce0e3b R10: 000000000001980b R11: 0000000000002ea2 R12: dffffc0000000000 R13: ffffffff8b300110 R14: ffff8880ae707218 R15: 0000000000000000 FS: 00007fce706147a0(0000) GS:ffff8880ae700000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ffc000ae678 CR3: 0000000093543000 CR4: 00000000001406e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __bfs_forwards kernel/locking/lockdep.c:1063 [inline] find_usage_forwards kernel/locking/lockdep.c:1363 [inline] check_usage_forwards+0x164/0x3e0 kernel/locking/lockdep.c:2575 mark_lock_irq kernel/locking/lockdep.c:2690 [inline] mark_lock+0x519/0x1cd0 kernel/locking/lockdep.c:3062 mark_irqflags kernel/locking/lockdep.c:2940 [inline] __lock_acquire+0x139c/0x4a30 kernel/locking/lockdep.c:3295 lock_acquire+0x1db/0x570 kernel/locking/lockdep.c:3841 __raw_spin_lock include/linux/spinlock_api_smp.h:142 [inline] _raw_spin_lock+0x2f/0x40 kernel/locking/spinlock.c:144 spin_lock include/linux/spinlock.h:329 [inline] __queue_work+0xbfc/0x1450 kernel/workqueue.c:1414 delayed_work_timer_fn+0x5d/0x90 kernel/workqueue.c:1500 call_timer_fn+0x254/0x900 kernel/time/timer.c:1325 expire_timers kernel/time/timer.c:1358 [inline] __run_timers+0x4a2/0xd50 kernel/time/timer.c:1681 run_timer_softirq+0x52/0xb0 kernel/time/timer.c:1694 __do_softirq+0x30b/0xb11 kernel/softirq.c:292 invoke_softirq kernel/softirq.c:373 [inline] irq_exit+0x180/0x1d0 kernel/softirq.c:413 exiting_irq arch/x86/include/asm/apic.h:536 [inline] smp_apic_timer_interrupt+0x1b7/0x760 arch/x86/kernel/apic/apic.c:1062 apic_timer_interrupt+0xf/0x20 arch/x86/entry/entry_64.S:807 RIP: 0010:__sanitizer_cov_trace_pc+0x1/0x50 kernel/kcov.c:94 Code: fe ff ff 48 c7 05 6b 0c d5 09 00 00 00 00 48 89 85 68 fe ff ff e9 85 df ff ff 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 55 <48> 89 e5 48 8b 75 08 65 48 8b 04 25 40 ee 01 00 65 8b 15 c8 ee 7f RSP: 0018:ffff88809b0e7718 EFLAGS: 00000246 ORIG_RAX: ffffffffffffff13 RAX: 0000000000000000 RBX: 0000000000000000 RCX: ffffffff8357dc7f RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000007 RBP: ffff88809b0e7800 R08: ffff8880963ba680 R09: ffffed10129b5d81 R10: ffffed10129b5d80 R11: ffff888094daec03 R12: ffff8880aa1bebf0 R13: 1ffff1101361ceeb R14: ffff88809f627340 R15: ffff88809b0e77d8 security_file_alloc+0x69/0xb0 security/security.c:908 __alloc_file+0x128/0x480 fs/file_table.c:105 alloc_empty_file+0x72/0x170 fs/file_table.c:150 path_openat+0x112/0x5650 fs/namei.c:3523 do_filp_open+0x26f/0x370 fs/namei.c:3564 do_sys_open+0x59a/0x7c0 fs/open.c:1063 __do_sys_open fs/open.c:1081 [inline] __se_sys_open fs/open.c:1076 [inline] __x64_sys_open+0x7e/0xc0 fs/open.c:1076 do_syscall_64+0x1a3/0x800 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x7fce6fd1c120 Code: 48 8b 15 1b 4d 2b 00 f7 d8 64 89 02 83 c8 ff c3 90 90 90 90 90 90 90 90 90 90 83 3d d5 a4 2b 00 00 75 10 b8 02 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 31 c3 48 83 ec 08 e8 5e 8c 01 00 48 89 04 24 RSP: 002b:00007ffc000ae5c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000002 RAX: ffffffffffffffda RBX: 000000000150a4d0 RCX: 00007fce6fd1c120 RDX: 00000000000001b6 RSI: 0000000000080000 RDI: 00007ffc000ae6a0 RBP: 00007ffc000ae640 R08: 0000000000000008 R09: 0000000000000001 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000008 R13: 000000000041f57a R14: 00000000014f1250 R15: 000000000000000b Modules linked in: ---[ end trace b868c36d98a37c19 ]--- 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 7a e0 ee 09 48 89 f9 48 2d 20 57 32 8b 44 8b 15 ca de 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:ffff8880ae707110 EFLAGS: 00010007 RAX: 0000000001d336a3 RBX: ffffed1015ce0e3b RCX: 0000000000000002 RDX: 1ffff11015ce0e37 RSI: 0000000000000001 RDI: 0000000000000010 RBP: ffff8880ae707240 R08: 0000000000000001 R09: 1ffff11015ce0e3b R10: 000000000001980b R11: 0000000000002ea2 R12: dffffc0000000000 R13: ffffffff8b300110 R14: ffff8880ae707218 R15: 0000000000000000 FS: 00007fce706147a0(0000) GS:ffff8880ae700000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ffc000ae678 CR3: 0000000093543000 CR4: 00000000001406e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400