syzbot


general protection fault in drr_qlen_notify

Status: upstream: reported C repro on 2025/07/04 05:20
Subsystems: net
[Documentation on labels]
Reported-by: syzbot+15b96fc3aac35468fe77@syzkaller.appspotmail.com
First crash: 3d08h, last: 1h05m
Cause bisection: introduced by (bisect log) :
commit 103406b38c600fec1fe375a77b27d87e314aea09
Author: Lion Ackermann <nnamrec@gmail.com>
Date: Mon Jun 30 13:27:30 2025 +0000

  net/sched: Always pass notifications when child class becomes empty

Crash: BUG: unable to handle kernel NULL pointer dereference in drr_qlen_notify (log)
Repro: C syz .config
  
Discussions (2)
Title Replies (including bot) Last reply
[PATCH net] net/sched: Abort __tc_modify_qdisc if parent class does not exist 3 (3) 2025/07/05 14:03
[syzbot] [net?] general protection fault in drr_qlen_notify 0 (3) 2025/07/04 17:30
Last patch testing requests (1)
Created Duration User Patch Repo Result
2025/07/04 06:33 33m lizhi.xu@windriver.com patch upstream OK log

Sample crash report:
Oops: general protection fault, probably for non-canonical address 0xdffffc000000000b: 0000 [#1] SMP KASAN NOPTI
KASAN: null-ptr-deref in range [0x0000000000000058-0x000000000000005f]
CPU: 1 UID: 0 PID: 5817 Comm: syz-executor457 Not tainted 6.16.0-rc4-syzkaller-00108-g17bbde2e1716 #0 PREEMPT(full) 
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025
RIP: 0010:__list_del_entry_valid_or_report+0x20/0x200 lib/list_debug.c:49
Code: 90 90 90 90 90 90 90 90 90 90 f3 0f 1e fa 48 b8 00 00 00 00 00 fc ff df 41 54 55 53 48 89 fb 48 83 c7 08 48 89 fa 48 c1 ea 03 <80> 3c 02 00 0f 85 8b 01 00 00 48 89 da 48 8b 6b 08 48 b8 00 00 00
RSP: 0018:ffffc9000410f2e8 EFLAGS: 00010202
RAX: dffffc0000000000 RBX: 0000000000000050 RCX: 1ffff1100f97af5c
RDX: 000000000000000b RSI: ffffffff898bef4c RDI: 0000000000000058
RBP: 0000000000000050 R08: 0000000000000005 R09: 0000000000000000
R10: 00000000000a0000 R11: 0000000000000001 R12: ffffffff8ce802e0
R13: 0000000000000058 R14: ffffffff8ce802c0 R15: ffff88807cbd7800
FS:  000055557a6d4380(0000) GS:ffff888124852000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000200000001fc0 CR3: 00000000721d4000 CR4: 00000000003526f0
Call Trace:
 <TASK>
 __list_del_entry_valid include/linux/list.h:124 [inline]
 __list_del_entry include/linux/list.h:215 [inline]
 list_del_init include/linux/list.h:287 [inline]
 drr_qlen_notify+0x24/0x150 net/sched/sch_drr.c:238
 qdisc_tree_reduce_backlog+0x221/0x500 net/sched/sch_api.c:811
 pie_change+0x86e/0xe70 net/sched/sch_pie.c:204
 pie_init+0x364/0x470 net/sched/sch_pie.c:456
 qdisc_create+0x454/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+0x3c6/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+0x53d/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+0xa98/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:0x7f9cedcdb669
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:00007ffd67f881b8 EFLAGS: 00000246 ORIG_RAX: 000000000000002e
RAX: ffffffffffffffda RBX: 00007ffd67f88388 RCX: 00007f9cedcdb669
RDX: 0000000000004000 RSI: 0000200000000280 RDI: 0000000000000006
RBP: 00007f9cedd4e610 R08: 0000000000000004 R09: 00007ffd67f88388
R10: 0000000000000001 R11: 0000000000000246 R12: 0000000000000001
R13: 00007ffd67f88378 R14: 0000000000000001 R15: 0000000000000001
 </TASK>
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:__list_del_entry_valid_or_report+0x20/0x200 lib/list_debug.c:49
Code: 90 90 90 90 90 90 90 90 90 90 f3 0f 1e fa 48 b8 00 00 00 00 00 fc ff df 41 54 55 53 48 89 fb 48 83 c7 08 48 89 fa 48 c1 ea 03 <80> 3c 02 00 0f 85 8b 01 00 00 48 89 da 48 8b 6b 08 48 b8 00 00 00
RSP: 0018:ffffc9000410f2e8 EFLAGS: 00010202
RAX: dffffc0000000000 RBX: 0000000000000050 RCX: 1ffff1100f97af5c
RDX: 000000000000000b RSI: ffffffff898bef4c RDI: 0000000000000058
RBP: 0000000000000050 R08: 0000000000000005 R09: 0000000000000000
R10: 00000000000a0000 R11: 0000000000000001 R12: ffffffff8ce802e0
R13: 0000000000000058 R14: ffffffff8ce802c0 R15: ffff88807cbd7800
FS:  000055557a6d4380(0000) GS:ffff888124852000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000200000001fc0 CR3: 00000000721d4000 CR4: 00000000003526f0
----------------
Code disassembly (best guess):
   0:	90                   	nop
   1:	90                   	nop
   2:	90                   	nop
   3:	90                   	nop
   4:	90                   	nop
   5:	90                   	nop
   6:	90                   	nop
   7:	90                   	nop
   8:	90                   	nop
   9:	90                   	nop
   a:	f3 0f 1e fa          	endbr64
   e:	48 b8 00 00 00 00 00 	movabs $0xdffffc0000000000,%rax
  15:	fc ff df
  18:	41 54                	push   %r12
  1a:	55                   	push   %rbp
  1b:	53                   	push   %rbx
  1c:	48 89 fb             	mov    %rdi,%rbx
  1f:	48 83 c7 08          	add    $0x8,%rdi
  23:	48 89 fa             	mov    %rdi,%rdx
  26:	48 c1 ea 03          	shr    $0x3,%rdx
* 2a:	80 3c 02 00          	cmpb   $0x0,(%rdx,%rax,1) <-- trapping instruction
  2e:	0f 85 8b 01 00 00    	jne    0x1bf
  34:	48 89 da             	mov    %rbx,%rdx
  37:	48 8b 6b 08          	mov    0x8(%rbx),%rbp
  3b:	48                   	rex.W
  3c:	b8                   	.byte 0xb8
  3d:	00 00                	add    %al,(%rax)

Crashes (64):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2025/07/04 03:05 upstream 17bbde2e1716 76ad128c .config strace log report syz / log C [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-selinux-root general protection fault in drr_qlen_notify
2025/07/06 23:51 upstream d7b8f8e20813 4f67c4ae .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-selinux-root general protection fault in drr_qlen_notify
2025/07/06 16:54 upstream 1f988d0788f5 4f67c4ae .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root general protection fault in drr_qlen_notify
2025/07/06 15:44 upstream 1f988d0788f5 4f67c4ae .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce general protection fault in drr_qlen_notify
2025/07/06 15:39 upstream 1f988d0788f5 4f67c4ae .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-selinux-root general protection fault in drr_qlen_notify
2025/07/06 15:39 upstream 1f988d0788f5 4f67c4ae .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-selinux-root general protection fault in drr_qlen_notify
2025/07/06 05:26 upstream 05df91921da6 4f67c4ae .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-selinux-root general protection fault in drr_qlen_notify
2025/07/05 18:49 upstream a79a588fc176 4f67c4ae .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root general protection fault in drr_qlen_notify
2025/07/05 07:12 upstream a79a588fc176 4f67c4ae .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-selinux-root general protection fault in drr_qlen_notify
2025/07/05 01:37 upstream 4c06e63b9203 d869b261 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root general protection fault in drr_qlen_notify
2025/07/04 18:13 upstream 4c06e63b9203 d869b261 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root general protection fault in drr_qlen_notify
2025/07/04 17:52 upstream 4c06e63b9203 d869b261 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-selinux-root general protection fault in drr_qlen_notify
2025/07/04 10:28 upstream 17bbde2e1716 76ad128c .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-selinux-root general protection fault in drr_qlen_notify
2025/07/04 04:57 upstream 17bbde2e1716 76ad128c .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-selinux-root general protection fault in drr_qlen_notify
2025/07/04 04:55 upstream 17bbde2e1716 76ad128c .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-selinux-root general protection fault in drr_qlen_notify
2025/07/04 04:55 upstream 17bbde2e1716 76ad128c .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-selinux-root general protection fault in drr_qlen_notify
2025/07/04 00:38 upstream 17bbde2e1716 76ad128c .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-selinux-root general protection fault in drr_qlen_notify
2025/07/04 00:06 upstream 17bbde2e1716 76ad128c .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root general protection fault in drr_qlen_notify
2025/07/03 22:55 upstream 17bbde2e1716 115ceea7 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-badwrites-root general protection fault in drr_qlen_notify
2025/07/03 19:20 upstream 17bbde2e1716 115ceea7 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root general protection fault in drr_qlen_notify
2025/07/03 18:39 upstream 17bbde2e1716 115ceea7 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-selinux-root general protection fault in drr_qlen_notify
2025/07/05 22:54 upstream 05df91921da6 4f67c4ae .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-386 general protection fault in drr_qlen_notify
2025/07/05 22:52 upstream 05df91921da6 4f67c4ae .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-386 general protection fault in drr_qlen_notify
2025/07/05 22:52 upstream 05df91921da6 4f67c4ae .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-386 general protection fault in drr_qlen_notify
2025/07/04 18:28 upstream 4c06e63b9203 d869b261 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-386 general protection fault in drr_qlen_notify
2025/07/04 00:20 upstream 17bbde2e1716 76ad128c .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-386 general protection fault in drr_qlen_notify
2025/07/03 20:24 upstream 17bbde2e1716 115ceea7 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-386 general protection fault in drr_qlen_notify
2025/07/05 23:52 upstream a79a588fc176 4f67c4ae .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream general protection fault in drr_qlen_notify
2025/07/05 20:17 upstream a79a588fc176 4f67c4ae .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream general protection fault in drr_qlen_notify
2025/07/05 12:46 upstream c435a4f487e8 4f67c4ae .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream general protection fault in drr_qlen_notify
2025/07/05 12:46 upstream c435a4f487e8 4f67c4ae .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream general protection fault in drr_qlen_notify
2025/07/04 23:53 upstream c435a4f487e8 d869b261 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root general protection fault in drr_qlen_notify
2025/07/04 13:22 upstream 4c06e63b9203 d869b261 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream general protection fault in drr_qlen_notify
2025/07/04 09:56 upstream 4c06e63b9203 76ad128c .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root general protection fault in drr_qlen_notify
2025/07/06 15:44 upstream 1f988d0788f5 4f67c4ae .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream-386 general protection fault in drr_qlen_notify
2025/07/06 15:39 net b9fd9888a565 4f67c4ae .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce general protection fault in drr_qlen_notify
2025/07/07 01:53 net-next 6b9fd8857b9f 4f67c4ae .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce general protection fault in drr_qlen_notify
2025/07/05 22:28 net-next 6b9fd8857b9f 4f67c4ae .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce general protection fault in drr_qlen_notify
2025/07/05 19:39 net-next 6b9fd8857b9f 4f67c4ae .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce general protection fault in drr_qlen_notify
2025/07/05 18:23 net-next 6b9fd8857b9f 4f67c4ae .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce general protection fault in drr_qlen_notify
2025/07/05 16:20 net-next 6b9fd8857b9f 4f67c4ae .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce general protection fault in drr_qlen_notify
2025/07/05 16:14 net-next 6b9fd8857b9f 4f67c4ae .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce general protection fault in drr_qlen_notify
2025/07/05 04:27 net-next 6b9fd8857b9f d869b261 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce general protection fault in drr_qlen_notify
2025/07/05 02:35 net-next 6b9fd8857b9f d869b261 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce general protection fault in drr_qlen_notify
2025/07/06 19:24 upstream 1f988d0788f5 4f67c4ae .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-arm32 BUG: unable to handle kernel NULL pointer dereference in drr_qlen_notify
2025/07/06 17:35 upstream 1f988d0788f5 4f67c4ae .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-arm64-mte BUG: unable to handle kernel NULL pointer dereference in drr_qlen_notify
* Struck through repros no longer work on HEAD.