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 Modules linked in: CPU: 0 PID: 26282 Comm: syz-executor.2 Not tainted 4.14.182-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 task: ffff888092c84540 task.stack: ffff88820d1a0000 RIP: 0010:trace_event_get_offsets_lock_acquire include/trace/events/lock.h:13 [inline] RIP: 0010:perf_trace_lock_acquire+0xb2/0x4b0 include/trace/events/lock.h:13 audit: type=1804 audit(1591080780.601:359): pid=26290 uid=0 auid=0 ses=4 subj=system_u:system_r:kernel_t:s0 op="invalid_pcr" cause="ToMToU" comm="syz-executor.0" name="/root/syzkaller-testdir699024945/syzkaller.VK5R0e/440/file0/file0" dev="ramfs" ino=80503 res=1 RSP: 0018:ffff8880aec07828 EFLAGS: 00010003 RAX: dffffc0000000000 RBX: ffff88808dc18f28 RCX: 0000000000000000 RDX: 00e0e0e0e0e0e116 RSI: 070707070707089f RDI: ffffffff87b6eec0 RBP: ffff8880aec078e8 R08: 0000000000000002 R09: 0000000000000001 R10: 0000000000000000 R11: 0000000000000000 R12: ffffffff87b6ee40 R13: 070707070707089f R14: ffff8880aec078c0 R15: 0000000000000000 FS: 00007f3316841700(0000) GS:ffff8880aec00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fd0389c8db8 CR3: 00000000a562e000 CR4: 00000000001426f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: trace_lock_acquire include/trace/events/lock.h:13 [inline] lock_acquire+0x2b8/0x3f0 kernel/locking/lockdep.c:3997 __raw_read_lock_bh include/linux/rwlock_api_smp.h:176 [inline] _raw_read_lock_bh+0x32/0x40 kernel/locking/spinlock.c:248 ipv6_chk_acast_dev+0x8d/0x230 net/ipv6/anycast.c:377 ipv6_chk_acast_addr+0x143/0x1f0 net/ipv6/anycast.c:400 icmp6_send+0x806/0x1ee0 net/ipv6/icmp.c:458 icmpv6_send+0xa6/0x1a0 net/ipv6/ip6_icmp.c:43 ip6_link_failure+0x24/0x410 net/ipv6/route.c:1440 dst_link_failure include/net/dst.h:445 [inline] ndisc_error_report+0xa7/0x180 net/ipv6/ndisc.c:687 neigh_invalidate+0x217/0x510 net/core/neighbour.c:897 neigh_timer_handler+0x823/0xa50 net/core/neighbour.c:983 call_timer_fn+0x14a/0x650 kernel/time/timer.c:1279 expire_timers+0x233/0x4d0 kernel/time/timer.c:1318 __run_timers kernel/time/timer.c:1636 [inline] run_timer_softirq+0x1d8/0x5b0 kernel/time/timer.c:1649 __do_softirq+0x254/0x9bf kernel/softirq.c:288 invoke_softirq kernel/softirq.c:368 [inline] irq_exit+0x15b/0x1a0 kernel/softirq.c:409 exiting_irq arch/x86/include/asm/apic.h:648 [inline] smp_apic_timer_interrupt+0x141/0x5f0 arch/x86/kernel/apic/apic.c:1102 apic_timer_interrupt+0x93/0xa0 arch/x86/entry/entry_64.S:793 RIP: 0010:arch_local_irq_restore arch/x86/include/asm/paravirt.h:779 [inline] RIP: 0010:__raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:160 [inline] RIP: 0010:_raw_spin_unlock_irqrestore+0xa3/0xe0 kernel/locking/spinlock.c:192 RSP: 0018:ffff88820d1a7828 EFLAGS: 00000282 ORIG_RAX: ffffffffffffff10 RAX: 1ffffffff0f62c99 RBX: 0000000000000282 RCX: 1ffff110125909c2 RDX: dffffc0000000000 RSI: ffff888092c84e18 RDI: 0000000000000282 RBP: ffff88809501bd80 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000001 R13: 0000000000000001 R14: 00000000000000c3 R15: 1ffff11041a34f0a spin_unlock_irqrestore include/linux/spinlock.h:372 [inline] __wake_up_common_lock+0xcd/0x140 kernel/sched/wait.c:126 sock_def_readable+0xf3/0x3f0 net/core/sock.c:2628 __netlink_sendskb+0x78/0x90 net/netlink/af_netlink.c:1234 netlink_broadcast_deliver net/netlink/af_netlink.c:1358 [inline] do_one_broadcast net/netlink/af_netlink.c:1443 [inline] netlink_broadcast_filtered+0x5ca/0x9d0 net/netlink/af_netlink.c:1487 kobject_uevent_env+0x819/0xc50 lib/kobject_uevent.c:495 device_add+0x9f9/0x13f0 drivers/base/core.c:1916 device_create_groups_vargs+0x1dc/0x250 drivers/base/core.c:2513 device_create_vargs+0x3a/0x50 drivers/base/core.c:2553 bdi_register_va.part.0+0x35/0x650 mm/backing-dev.c:879 bdi_register_va+0x63/0x80 mm/backing-dev.c:895 super_setup_bdi_name+0x123/0x220 fs/super.c:1297 ceph_setup_bdi fs/ceph/super.c:995 [inline] ceph_mount+0x121c/0x181c fs/ceph/super.c:1061 mount_fs+0x92/0x2a0 fs/super.c:1237 vfs_kern_mount.part.0+0x5b/0x3c0 fs/namespace.c:1046 vfs_kern_mount fs/namespace.c:1036 [inline] do_new_mount fs/namespace.c:2549 [inline] do_mount+0x3c9/0x25e0 fs/namespace.c:2879 SYSC_mount fs/namespace.c:3095 [inline] SyS_mount+0xa8/0x120 fs/namespace.c:3072 do_syscall_64+0x1d5/0x640 arch/x86/entry/common.c:292 entry_SYSCALL_64_after_hwframe+0x46/0xbb RIP: 0033:0x45ca69 RSP: 002b:00007f3316840c78 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00000000004f62c0 RCX: 000000000045ca69 RDX: 0000000020000040 RSI: 00000000200000c0 RDI: 0000000020000580 RBP: 000000000078bf00 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00000000ffffffff R13: 0000000000000751 R14: 00000000004ca3ea R15: 00007f33168416d4 Code: 00 0f 85 37 03 00 00 49 8d 45 18 4d 8b bc 24 80 00 00 00 48 89 c2 48 89 85 58 ff ff ff 48 b8 00 00 00 00 00 fc ff df 48 c1 ea 03 <80> 3c 02 00 0f 85 1d 03 00 00 49 8b 7d 18 48 85 ff 0f 84 c3 02 RIP: trace_event_get_offsets_lock_acquire include/trace/events/lock.h:13 [inline] RSP: ffff8880aec07828 RIP: perf_trace_lock_acquire+0xb2/0x4b0 include/trace/events/lock.h:13 RSP: ffff8880aec07828 ---[ end trace df7e2acec1070589 ]---