general protection fault: 0000 [#1] PREEMPT SMP KASAN CPU: 0 PID: 18183 Comm: syz-executor.4 Not tainted 4.19.80 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:__read_once_size include/linux/compiler.h:193 [inline] RIP: 0010:__read_seqcount_begin include/linux/seqlock.h:113 [inline] RIP: 0010:raw_read_seqcount_begin include/linux/seqlock.h:148 [inline] RIP: 0010:hrtimer_active+0x11e/0x230 kernel/time/hrtimer.c:1327 Code: 48 39 c3 0f 84 d3 00 00 00 e8 2e 22 0f 00 48 8b 45 c8 80 38 00 0f 85 06 01 00 00 49 8b 5d 30 4c 8d 63 10 4c 89 e0 48 c1 e8 03 <42> 0f b6 14 38 4c 89 e0 83 e0 07 83 c0 03 38 d0 7c 08 84 d2 0f 85 RSP: 0018:ffff888049e6f350 EFLAGS: 00010202 RAX: 0000000000000002 RBX: 0000000000000000 RCX: ffffc9000e6bb000 RDX: 00000000000008b2 RSI: ffffffff815ba512 RDI: ffff8880901dabc0 RBP: ffff888049e6f3a8 R08: ffff88804809a600 R09: 0000000000000000 R10: ffffed101203b52c R11: ffff8880901da967 R12: 0000000000000010 R13: ffff8880901dabc0 R14: ffff88805c3c0340 R15: dffffc0000000000 FS: 00007f5d849ad700(0000) GS:ffff8880ae800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00000000014659f8 CR3: 00000000a9074000 CR4: 00000000001406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: hrtimer_try_to_cancel+0x74/0x5b0 kernel/time/hrtimer.c:1144 hrtimer_cancel+0x20/0x40 kernel/time/hrtimer.c:1170 qdisc_watchdog_cancel+0x16/0x20 net/sched/sch_api.c:632 cbs_destroy+0x5e/0xd0 net/sched/sch_cbs.c:377 qdisc_create+0xaa6/0x1230 net/sched/sch_api.c:1203 tc_modify_qdisc+0x51b/0x1bdc net/sched/sch_api.c:1571 rtnetlink_rcv_msg+0x463/0xb00 net/core/rtnetlink.c:4747 netlink_rcv_skb+0x17d/0x460 net/netlink/af_netlink.c:2454 rtnetlink_rcv+0x1d/0x30 net/core/rtnetlink.c:4765 netlink_unicast_kernel net/netlink/af_netlink.c:1317 [inline] netlink_unicast+0x537/0x720 net/netlink/af_netlink.c:1343 netlink_sendmsg+0x8ae/0xd70 net/netlink/af_netlink.c:1908 sock_sendmsg_nosec net/socket.c:622 [inline] sock_sendmsg+0xd7/0x130 net/socket.c:632 ___sys_sendmsg+0x803/0x920 net/socket.c:2115 __sys_sendmsg+0x105/0x1d0 net/socket.c:2153 __do_sys_sendmsg net/socket.c:2162 [inline] __se_sys_sendmsg net/socket.c:2160 [inline] __x64_sys_sendmsg+0x78/0xb0 net/socket.c:2160 do_syscall_64+0xfd/0x620 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x459a59 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:00007f5d849acc78 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 0000000000459a59 RDX: 0000000000000000 RSI: 0000000020000280 RDI: 0000000000000007 RBP: 000000000075bf20 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007f5d849ad6d4 R13: 00000000004c7c0c R14: 00000000004ddad8 R15: 00000000ffffffff Modules linked in: kobject: 'loop2' (000000009706d43f): kobject_uevent_env kobject: 'loop2' (000000009706d43f): fill_kobj_path: path = '/devices/virtual/block/loop2' kobject: 'loop1' (00000000c8c0354a): kobject_uevent_env audit: type=1804 audit(1571600471.343:167): pid=18077 uid=0 auid=4294967295 ses=4294967295 subj=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 op=invalid_pcr cause=ToMToU comm="syz-executor.1" name="/root/syzkaller-testdir131704720/syzkaller.CApYmc/23/file0/bus" dev="sda1" ino=16612 res=1 kobject: 'loop1' (00000000c8c0354a): fill_kobj_path: path = '/devices/virtual/block/loop1' kobject: 'loop1' (00000000c8c0354a): kobject_uevent_env kobject: 'loop1' (00000000c8c0354a): fill_kobj_path: path = '/devices/virtual/block/loop1' audit: type=1800 audit(1571600472.093:168): pid=18208 uid=0 auid=4294967295 ses=4294967295 subj=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 op=collect_data cause=failed(directio) comm="syz-executor.4" name="file0" dev="sda1" ino=16722 res=0 ---[ end trace 9a9a6fe880f624ed ]--- RIP: 0010:__read_once_size include/linux/compiler.h:193 [inline] RIP: 0010:__read_seqcount_begin include/linux/seqlock.h:113 [inline] RIP: 0010:raw_read_seqcount_begin include/linux/seqlock.h:148 [inline] RIP: 0010:hrtimer_active+0x11e/0x230 kernel/time/hrtimer.c:1327 Code: 48 39 c3 0f 84 d3 00 00 00 e8 2e 22 0f 00 48 8b 45 c8 80 38 00 0f 85 06 01 00 00 49 8b 5d 30 4c 8d 63 10 4c 89 e0 48 c1 e8 03 <42> 0f b6 14 38 4c 89 e0 83 e0 07 83 c0 03 38 d0 7c 08 84 d2 0f 85 kobject: 'loop3' (00000000c3ee9962): kobject_uevent_env RSP: 0018:ffff888049e6f350 EFLAGS: 00010202 RAX: 0000000000000002 RBX: 0000000000000000 RCX: ffffc9000e6bb000 RDX: 00000000000008b2 RSI: ffffffff815ba512 RDI: ffff8880901dabc0 RBP: ffff888049e6f3a8 R08: ffff88804809a600 R09: 0000000000000000 kobject: 'loop3' (00000000c3ee9962): fill_kobj_path: path = '/devices/virtual/block/loop3' R10: ffffed101203b52c R11: ffff8880901da967 R12: 0000000000000010 kobject: 'loop3' (00000000c3ee9962): kobject_uevent_env kobject: 'loop3' (00000000c3ee9962): fill_kobj_path: path = '/devices/virtual/block/loop3' R13: ffff8880901dabc0 R14: ffff88805c3c0340 R15: dffffc0000000000 kobject: 'loop2' (000000009706d43f): kobject_uevent_env FS: 00007f5d849ad700(0000) GS:ffff8880ae800000(0000) knlGS:0000000000000000 kobject: 'loop2' (000000009706d43f): fill_kobj_path: path = '/devices/virtual/block/loop2' CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000002198b80 CR3: 00000000a9074000 CR4: 00000000001406f0 kobject: 'loop1' (00000000c8c0354a): kobject_uevent_env kobject: 'loop1' (00000000c8c0354a): fill_kobj_path: path = '/devices/virtual/block/loop1' DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 kobject: 'loop2' (000000009706d43f): kobject_uevent_env kobject: 'loop2' (000000009706d43f): fill_kobj_path: path = '/devices/virtual/block/loop2'