syzbot


general protection fault in htb_qlen_notify

Status: upstream: reported C repro on 2025/07/26 11:10
Bug presence: origin:lts
[Documentation on labels]
Reported-by: syzbot+fafc29ef5e05c2781c5d@syzkaller.appspotmail.com
First crash: 11d, last: 2d05h
Bug presence (2)
Date Name Commit Repro Result
2025/07/27 lts (merge base) f2198ea7eb3e C [report] general protection fault in htb_qlen_notify
2025/07/27 upstream (ToT) ec2df4364666 C Didn't crash
Similar bugs (5)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-6.6 general protection fault in htb_qlen_notify 2 1 21d 21d 0/2 upstream: reported on 2025/07/16 10:29
linux-5.15 general protection fault in htb_qlen_notify origin:lts-only 8 C 9 25d 26d 0/3 upstream: reported C repro on 2025/07/10 18:58
android-5-15 general protection fault in htb_qlen_notify 2 13 16d 23d 0/2 premoderation: reported on 2025/07/14 13:36
upstream general protection fault in htb_qlen_notify net 10 C done 166 24d 34d 28/29 upstream: reported C repro on 2025/07/03 08:17
linux-6.1 general protection fault in htb_qlen_notify origin:lts-only 2 C 4 25d 26d 0/3 upstream: reported C repro on 2025/07/10 18:56

Sample crash report:
netlink: 4 bytes leftover after parsing attributes in process `syz-executor309'.
general protection fault, probably for non-canonical address 0xdffffc0000000037: 0000 [#1] PREEMPT SMP KASAN
KASAN: null-ptr-deref in range [0x00000000000001b8-0x00000000000001bf]
CPU: 1 PID: 290 Comm: syz-executor309 Not tainted 6.1.145-syzkaller-00015-g2ff414a09808 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025
RIP: 0010:htb_deactivate net/sched/sch_htb.c:610 [inline]
RIP: 0010:htb_qlen_notify+0x30/0xc0 net/sched/sch_htb.c:1495
Code: 41 56 41 55 41 54 53 49 89 f6 49 89 ff 49 bc 00 00 00 00 00 fc ff df e8 4e 0f 6f fd 4d 8d ae b8 01 00 00 4c 89 eb 48 c1 eb 03 <42> 0f b6 04 23 84 c0 75 56 45 8b 65 00 31 ff 44 89 e6 e8 49 13 6f
RSP: 0018:ffffc90000e86ea8 EFLAGS: 00010202
RAX: ffffffff8400ef52 RBX: 0000000000000037 RCX: ffff88810e63d100
RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffff88810d8d4000
RBP: ffffc90000e86ed0 R08: ffff88810e63d100 R09: 0000000000000002
R10: 0000000000000000 R11: ffffffff8400ef30 R12: dffffc0000000000
R13: 00000000000001b8 R14: 0000000000000000 R15: ffff88810d8d4000
FS:  000055555666f380(0000) GS:ffff8881f7100000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000055e2d58c4eb8 CR3: 0000000121829000 CR4: 00000000003506a0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 qdisc_tree_reduce_backlog+0x20a/0x360 net/sched/sch_api.c:808
 sfq_change net/sched/sch_sfq.c:740 [inline]
 sfq_init+0x1b59/0x2870 net/sched/sch_sfq.c:804
 qdisc_create+0x7f3/0x1040 net/sched/sch_api.c:1311
 tc_modify_qdisc+0x8ea/0x1900 net/sched/sch_api.c:-1
 rtnetlink_rcv_msg+0x9f4/0xcf0 net/core/rtnetlink.c:6153
 netlink_rcv_skb+0x1f2/0x440 net/netlink/af_netlink.c:2503
 rtnetlink_rcv+0x1c/0x20 net/core/rtnetlink.c:6171
 netlink_unicast_kernel net/netlink/af_netlink.c:1312 [inline]
 netlink_unicast+0x8b1/0xa30 net/netlink/af_netlink.c:1338
 netlink_sendmsg+0x8aa/0xbc0 net/netlink/af_netlink.c:1860
 sock_sendmsg_nosec net/socket.c:716 [inline]
 __sock_sendmsg net/socket.c:728 [inline]
 ____sys_sendmsg+0x5a9/0x990 net/socket.c:2509
 ___sys_sendmsg+0x21c/0x290 net/socket.c:2563
 __sys_sendmsg net/socket.c:2592 [inline]
 __do_sys_sendmsg net/socket.c:2601 [inline]
 __se_sys_sendmsg net/socket.c:2599 [inline]
 __x64_sys_sendmsg+0x1f0/0x2c0 net/socket.c:2599
 x64_sys_call+0x171/0x9a0 arch/x86/include/generated/asm/syscalls_64.h:47
 do_syscall_x64 arch/x86/entry/common.c:51 [inline]
 do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:81
 entry_SYSCALL_64_after_hwframe+0x68/0xd2
RIP: 0033:0x7f422506a6a9
Code: 48 83 c4 28 c3 e8 37 17 00 00 0f 1f 80 00 00 00 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 b8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007ffc1254dcb8 EFLAGS: 00000246 ORIG_RAX: 000000000000002e
RAX: ffffffffffffffda RBX: 00007ffc1254de88 RCX: 00007f422506a6a9
RDX: 0000000000004000 RSI: 0000200000000040 RDI: 0000000000000006
RBP: 00007f42250dd610 R08: 000000000000000a R09: 00007ffc1254de88
R10: 0000000000000002 R11: 0000000000000246 R12: 0000000000000001
R13: 00007ffc1254de78 R14: 0000000000000001 R15: 0000000000000001
 </TASK>
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:htb_deactivate net/sched/sch_htb.c:610 [inline]
RIP: 0010:htb_qlen_notify+0x30/0xc0 net/sched/sch_htb.c:1495
Code: 41 56 41 55 41 54 53 49 89 f6 49 89 ff 49 bc 00 00 00 00 00 fc ff df e8 4e 0f 6f fd 4d 8d ae b8 01 00 00 4c 89 eb 48 c1 eb 03 <42> 0f b6 04 23 84 c0 75 56 45 8b 65 00 31 ff 44 89 e6 e8 49 13 6f
RSP: 0018:ffffc90000e86ea8 EFLAGS: 00010202
RAX: ffffffff8400ef52 RBX: 0000000000000037 RCX: ffff88810e63d100
RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffff88810d8d4000
RBP: ffffc90000e86ed0 R08: ffff88810e63d100 R09: 0000000000000002
R10: 0000000000000000 R11: ffffffff8400ef30 R12: dffffc0000000000
R13: 00000000000001b8 R14: 0000000000000000 R15: ffff88810d8d4000
FS:  000055555666f380(0000) GS:ffff8881f7100000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000055e2d58c4eb8 CR3: 0000000121829000 CR4: 00000000003506a0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
----------------
Code disassembly (best guess):
   0:	41 56                	push   %r14
   2:	41 55                	push   %r13
   4:	41 54                	push   %r12
   6:	53                   	push   %rbx
   7:	49 89 f6             	mov    %rsi,%r14
   a:	49 89 ff             	mov    %rdi,%r15
   d:	49 bc 00 00 00 00 00 	movabs $0xdffffc0000000000,%r12
  14:	fc ff df
  17:	e8 4e 0f 6f fd       	call   0xfd6f0f6a
  1c:	4d 8d ae b8 01 00 00 	lea    0x1b8(%r14),%r13
  23:	4c 89 eb             	mov    %r13,%rbx
  26:	48 c1 eb 03          	shr    $0x3,%rbx
* 2a:	42 0f b6 04 23       	movzbl (%rbx,%r12,1),%eax <-- trapping instruction
  2f:	84 c0                	test   %al,%al
  31:	75 56                	jne    0x89
  33:	45 8b 65 00          	mov    0x0(%r13),%r12d
  37:	31 ff                	xor    %edi,%edi
  39:	44 89 e6             	mov    %r12d,%esi
  3c:	e8                   	.byte 0xe8
  3d:	49                   	rex.WB
  3e:	13                   	.byte 0x13
  3f:	6f                   	outsl  %ds:(%rsi),(%dx)

Crashes (21):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2025/07/26 11:19 android14-6.1 2ff414a09808 fb8f743d .config strace log report syz / log C [disk image] [vmlinux] [kernel image] ci2-android-6-1 general protection fault in htb_qlen_notify
2025/07/26 10:59 android14-6.1 2ff414a09808 fb8f743d .config strace log report syz / log C [disk image] [vmlinux] [kernel image] ci2-android-6-1 general protection fault in htb_qlen_notify
2025/08/04 12:53 android14-6.1 3b4ff5af8d36 7368264b .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 general protection fault in htb_qlen_notify
2025/08/04 09:10 android14-6.1 3b4ff5af8d36 7368264b .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 general protection fault in htb_qlen_notify
2025/08/04 08:56 android14-6.1 3b4ff5af8d36 7368264b .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 general protection fault in htb_qlen_notify
2025/08/03 21:06 android14-6.1 3b4ff5af8d36 7368264b .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 general protection fault in htb_qlen_notify
2025/08/03 06:58 android14-6.1 3b4ff5af8d36 7368264b .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 general protection fault in htb_qlen_notify
2025/08/02 15:55 android14-6.1 3b4ff5af8d36 7368264b .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 general protection fault in htb_qlen_notify
2025/08/02 15:38 android14-6.1 3b4ff5af8d36 7368264b .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 general protection fault in htb_qlen_notify
2025/08/02 15:38 android14-6.1 3b4ff5af8d36 7368264b .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 general protection fault in htb_qlen_notify
2025/08/02 15:36 android14-6.1 3b4ff5af8d36 7368264b .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 general protection fault in htb_qlen_notify
2025/08/02 15:35 android14-6.1 3b4ff5af8d36 7368264b .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 general protection fault in htb_qlen_notify
2025/08/01 10:17 android14-6.1 42472e1a4913 0c075d67 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 general protection fault in htb_qlen_notify
2025/08/01 10:16 android14-6.1 42472e1a4913 0c075d67 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 general protection fault in htb_qlen_notify
2025/07/29 07:14 android14-6.1 2487417fb86a c4a95487 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 general protection fault in htb_qlen_notify
2025/07/29 07:14 android14-6.1 2487417fb86a c4a95487 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 general protection fault in htb_qlen_notify
2025/07/29 07:14 android14-6.1 2487417fb86a c4a95487 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 general protection fault in htb_qlen_notify
2025/07/29 07:13 android14-6.1 2487417fb86a c4a95487 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 general protection fault in htb_qlen_notify
2025/07/28 13:09 android14-6.1 80964585855f fb8f743d .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 general protection fault in htb_qlen_notify
2025/07/26 08:08 android14-6.1 2ff414a09808 fb8f743d .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 general protection fault in htb_qlen_notify
2025/07/26 08:07 android14-6.1 2ff414a09808 fb8f743d .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 general protection fault in htb_qlen_notify
* Struck through repros no longer work on HEAD.