Oops: general protection fault, probably for non-canonical address 0xdffffc000000005d: 0000 [#1] SMP KASAN NOPTI KASAN: null-ptr-deref in range [0x00000000000002e8-0x00000000000002ef] CPU: 2 UID: 0 PID: 8790 Comm: syz.4.757 Not tainted 6.16.0-rc5-syzkaller #0 PREEMPT(full) Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014 RIP: 0010:hfsc_qlen_notify+0x28/0x180 net/sched/sch_hfsc.c:1238 Code: 90 90 f3 0f 1e fa 41 54 55 53 48 89 f3 e8 50 19 2d f8 48 8d bb ec 02 00 00 48 b8 00 00 00 00 00 fc ff df 48 89 fa 48 c1 ea 03 <0f> b6 14 02 48 89 f8 83 e0 07 83 c0 03 38 d0 7c 08 84 d2 0f 85 08 RSP: 0018:ffffc9000c34f328 EFLAGS: 00010203 RAX: dffffc0000000000 RBX: 0000000000000000 RCX: 1ffff110053c7ab8 RDX: 000000000000005d RSI: ffffffff898ecd60 RDI: 00000000000002ec RBP: 00000000000afff2 R08: 0000000000000005 R09: 0000000000000000 R10: 00000000000afff2 R11: 0000000000000001 R12: ffffffff8ce88f60 R13: 0000000000000000 R14: ffffffff8ce88f40 R15: ffff888029e3d000 FS: 00007fb44349c6c0(0000) GS:ffff8880d6918000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000000000 CR3: 000000005f58a000 CR4: 0000000000352ef0 DR0: 0000000000000000 DR1: 0000000000000006 DR2: 0000400000000001 DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400 Call Trace: qdisc_tree_reduce_backlog+0x221/0x500 net/sched/sch_api.c:811 codel_change+0x6d9/0xc90 net/sched/sch_codel.c:153 codel_init+0x2e6/0x430 net/sched/sch_codel.c:172 qdisc_create+0x457/0xfc0 net/sched/sch_api.c:1324 __tc_modify_qdisc net/sched/sch_api.c:1749 [inline] tc_modify_qdisc+0x12bb/0x2130 net/sched/sch_api.c:1813 rtnetlink_rcv_msg+0x3c9/0xe90 net/core/rtnetlink.c:6953 netlink_rcv_skb+0x155/0x420 net/netlink/af_netlink.c:2534 netlink_unicast_kernel net/netlink/af_netlink.c:1313 [inline] netlink_unicast+0x53a/0x7f0 net/netlink/af_netlink.c:1339 netlink_sendmsg+0x8d1/0xdd0 net/netlink/af_netlink.c:1883 sock_sendmsg_nosec net/socket.c:712 [inline] __sock_sendmsg net/socket.c:727 [inline] ____sys_sendmsg+0xa95/0xc70 net/socket.c:2566 ___sys_sendmsg+0x134/0x1d0 net/socket.c:2620 __sys_sendmsg+0x16d/0x220 net/socket.c:2652 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xcd/0x4c0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fb44258e929 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 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 73 01 c3 48 c7 c1 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fb44349c038 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 00007fb4427b6080 RCX: 00007fb44258e929 RDX: 0000000000000800 RSI: 0000200000000100 RDI: 0000000000000005 RBP: 00007fb442610b39 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007fb4427b6080 R15: 00007ffcb77609b8 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:hfsc_qlen_notify+0x28/0x180 net/sched/sch_hfsc.c:1238 Code: 90 90 f3 0f 1e fa 41 54 55 53 48 89 f3 e8 50 19 2d f8 48 8d bb ec 02 00 00 48 b8 00 00 00 00 00 fc ff df 48 89 fa 48 c1 ea 03 <0f> b6 14 02 48 89 f8 83 e0 07 83 c0 03 38 d0 7c 08 84 d2 0f 85 08 RSP: 0018:ffffc9000c34f328 EFLAGS: 00010203 RAX: dffffc0000000000 RBX: 0000000000000000 RCX: 1ffff110053c7ab8 RDX: 000000000000005d RSI: ffffffff898ecd60 RDI: 00000000000002ec RBP: 00000000000afff2 R08: 0000000000000005 R09: 0000000000000000 R10: 00000000000afff2 R11: 0000000000000001 R12: ffffffff8ce88f60 R13: 0000000000000000 R14: ffffffff8ce88f40 R15: ffff888029e3d000 FS: 00007fb44349c6c0(0000) GS:ffff8880d6918000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000000000 CR3: 000000005f58a000 CR4: 0000000000352ef0 DR0: 0000000000000000 DR1: 0000000000000006 DR2: 0000400000000001 DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess): 0: 90 nop 1: 90 nop 2: f3 0f 1e fa endbr64 6: 41 54 push %r12 8: 55 push %rbp 9: 53 push %rbx a: 48 89 f3 mov %rsi,%rbx d: e8 50 19 2d f8 call 0xf82d1962 12: 48 8d bb ec 02 00 00 lea 0x2ec(%rbx),%rdi 19: 48 b8 00 00 00 00 00 movabs $0xdffffc0000000000,%rax 20: fc ff df 23: 48 89 fa mov %rdi,%rdx 26: 48 c1 ea 03 shr $0x3,%rdx * 2a: 0f b6 14 02 movzbl (%rdx,%rax,1),%edx <-- trapping instruction 2e: 48 89 f8 mov %rdi,%rax 31: 83 e0 07 and $0x7,%eax 34: 83 c0 03 add $0x3,%eax 37: 38 d0 cmp %dl,%al 39: 7c 08 jl 0x43 3b: 84 d2 test %dl,%dl 3d: 0f .byte 0xf 3e: 85 08 test %ecx,(%rax)