syzbot


general protection fault in qdisc_tree_reduce_backlog

Status: upstream: reported C repro on 2025/08/14 23:27
Reported-by: syzbot+3abd3513dd6eb316dbf3@syzkaller.appspotmail.com
First crash: 26d, last: 6h11m
Similar bugs (5)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
android-5-15 general protection fault in qdisc_tree_reduce_backlog origin:lts 2 C done 10 38d 43d 0/2 upstream: reported C repro on 2025/07/16 10:37
upstream general protection fault in qdisc_tree_reduce_backlog net 8 C done 255 42d 55d 28/29 upstream: reported C repro on 2025/07/04 05:20
linux-6.1 BUG: unable to handle kernel paging request in qdisc_tree_reduce_backlog origin:lts-only 8 C error 8 42d 48d 0/3 upstream: reported C repro on 2025/07/10 22:10
linux-6.6 general protection fault in qdisc_tree_reduce_backlog 2 1 42d 42d 0/2 upstream: reported on 2025/07/16 18:27
linux-5.15 BUG: unable to handle kernel paging request in qdisc_tree_reduce_backlog origin:lts-only 8 C error 10 43d 46d 0/3 upstream: reported C repro on 2025/07/13 10:38

Sample crash report:
general protection fault, probably for non-canonical address 0xdffffc0000000004: 0000 [#1] PREEMPT SMP KASAN
KASAN: null-ptr-deref in range [0x0000000000000020-0x0000000000000027]
CPU: 0 PID: 290 Comm: syz-executor423 Not tainted 6.1.145-syzkaller-00004-g82186ba31010 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2025
RIP: 0010:qdisc_tree_reduce_backlog+0x181/0x360 net/sched/sch_api.c:803
Code: e8 24 b3 b4 fd 4d 89 ef 83 7d d0 00 74 0a e8 c6 4f 70 fd e9 a2 00 00 00 4d 8b 36 49 8d 46 20 48 89 c1 48 c1 e9 03 48 89 4d b8 <80> 3c 19 00 48 89 45 d0 74 0d 48 8b 7d d0 e8 ec b2 b4 fd 48 8b 45
RSP: 0018:ffffc90000e36e68 EFLAGS: 00010202
RAX: 0000000000000020 RBX: dffffc0000000000 RCX: 0000000000000004
RDX: ffff88811218a880 RSI: 0000000000000000 RDI: 0000000000000000
RBP: ffffc90000e36eb0 R08: ffff88811218a880 R09: 0000000000000002
R10: 00000000ffffffff R11: 0000000000000000 R12: 00000000000afff2
R13: ffff8881115ef800 R14: 0000000000000000 R15: ffff8881115ef800
FS:  0000555584a72380(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f856a9e8fe0 CR3: 00000001221db000 CR4: 00000000003506b0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 codel_change+0x8b8/0xbf0 net/sched/sch_codel.c:177
 codel_init+0x1ea/0x410 net/sched/sch_codel.c:196
 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:0x7f856a9b05e9
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:00007fffa8236df8 EFLAGS: 00000246 ORIG_RAX: 000000000000002e
RAX: ffffffffffffffda RBX: 00007fffa8236fc8 RCX: 00007f856a9b05e9
RDX: 0000000000000800 RSI: 0000200000000100 RDI: 0000000000000003
RBP: 00007f856aa23610 R08: 000000000000000a R09: 00007fffa8236fc8
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000001
R13: 00007fffa8236fb8 R14: 0000000000000001 R15: 0000000000000001
 </TASK>
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:qdisc_tree_reduce_backlog+0x181/0x360 net/sched/sch_api.c:803
Code: e8 24 b3 b4 fd 4d 89 ef 83 7d d0 00 74 0a e8 c6 4f 70 fd e9 a2 00 00 00 4d 8b 36 49 8d 46 20 48 89 c1 48 c1 e9 03 48 89 4d b8 <80> 3c 19 00 48 89 45 d0 74 0d 48 8b 7d d0 e8 ec b2 b4 fd 48 8b 45
RSP: 0018:ffffc90000e36e68 EFLAGS: 00010202
RAX: 0000000000000020 RBX: dffffc0000000000 RCX: 0000000000000004
RDX: ffff88811218a880 RSI: 0000000000000000 RDI: 0000000000000000
RBP: ffffc90000e36eb0 R08: ffff88811218a880 R09: 0000000000000002
R10: 00000000ffffffff R11: 0000000000000000 R12: 00000000000afff2
R13: ffff8881115ef800 R14: 0000000000000000 R15: ffff8881115ef800
FS:  0000555584a72380(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f856a9e8fe0 CR3: 00000001221db000 CR4: 00000000003506b0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
----------------
Code disassembly (best guess):
   0:	e8 24 b3 b4 fd       	call   0xfdb4b329
   5:	4d 89 ef             	mov    %r13,%r15
   8:	83 7d d0 00          	cmpl   $0x0,-0x30(%rbp)
   c:	74 0a                	je     0x18
   e:	e8 c6 4f 70 fd       	call   0xfd704fd9
  13:	e9 a2 00 00 00       	jmp    0xba
  18:	4d 8b 36             	mov    (%r14),%r14
  1b:	49 8d 46 20          	lea    0x20(%r14),%rax
  1f:	48 89 c1             	mov    %rax,%rcx
  22:	48 c1 e9 03          	shr    $0x3,%rcx
  26:	48 89 4d b8          	mov    %rcx,-0x48(%rbp)
* 2a:	80 3c 19 00          	cmpb   $0x0,(%rcx,%rbx,1) <-- trapping instruction
  2e:	48 89 45 d0          	mov    %rax,-0x30(%rbp)
  32:	74 0d                	je     0x41
  34:	48 8b 7d d0          	mov    -0x30(%rbp),%rdi
  38:	e8 ec b2 b4 fd       	call   0xfdb4b329
  3d:	48                   	rex.W
  3e:	8b                   	.byte 0x8b
  3f:	45                   	rex.RB

Crashes (26):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2025/08/14 23:19 android14-6.1 82186ba31010 5d8c2ac2 .config strace log report syz / log C [disk image] [vmlinux] [kernel image] ci2-android-6-1 general protection fault in qdisc_tree_reduce_backlog
2025/08/28 08:33 android14-6.1 47b374a18638 e12e5ba4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 general protection fault in qdisc_tree_reduce_backlog
2025/08/28 07:09 android14-6.1 47b374a18638 e12e5ba4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 general protection fault in qdisc_tree_reduce_backlog
2025/08/24 08:24 android14-6.1 397bc5b3eca0 bf27483f .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 general protection fault in qdisc_tree_reduce_backlog
2025/08/23 22:28 android14-6.1 397bc5b3eca0 bf27483f .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 general protection fault in qdisc_tree_reduce_backlog
2025/08/22 06:12 android14-6.1 26fad7be44e2 bf27483f .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 general protection fault in qdisc_tree_reduce_backlog
2025/08/22 04:24 android14-6.1 26fad7be44e2 bf27483f .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 general protection fault in qdisc_tree_reduce_backlog
2025/08/18 21:28 android14-6.1 87b9d836c3d8 1804e95e .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 general protection fault in qdisc_tree_reduce_backlog
2025/08/18 16:07 android14-6.1 87b9d836c3d8 1804e95e .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 general protection fault in qdisc_tree_reduce_backlog
2025/08/18 15:39 android14-6.1 87b9d836c3d8 1804e95e .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 general protection fault in qdisc_tree_reduce_backlog
2025/08/18 11:43 android14-6.1 87b9d836c3d8 1804e95e .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 general protection fault in qdisc_tree_reduce_backlog
2025/08/18 10:04 android14-6.1 87b9d836c3d8 1804e95e .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 general protection fault in qdisc_tree_reduce_backlog
2025/08/18 06:20 android14-6.1 87b9d836c3d8 1804e95e .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 general protection fault in qdisc_tree_reduce_backlog
2025/08/17 21:07 android14-6.1 87b9d836c3d8 1804e95e .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 general protection fault in qdisc_tree_reduce_backlog
2025/08/17 18:08 android14-6.1 87b9d836c3d8 1804e95e .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 general protection fault in qdisc_tree_reduce_backlog
2025/08/16 23:28 android14-6.1 87b9d836c3d8 1804e95e .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 general protection fault in qdisc_tree_reduce_backlog
2025/08/14 22:57 android14-6.1 82186ba31010 5d8c2ac2 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 general protection fault in qdisc_tree_reduce_backlog
2025/08/14 22:57 android14-6.1 82186ba31010 5d8c2ac2 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 general protection fault in qdisc_tree_reduce_backlog
2025/08/14 13:41 android14-6.1 c750dc582629 5d8c2ac2 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 general protection fault in qdisc_tree_reduce_backlog
2025/08/12 16:25 android14-6.1 c750dc582629 c06e8995 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 general protection fault in qdisc_tree_reduce_backlog
2025/08/08 14:59 android14-6.1 c750dc582629 32a0e5ed .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 general protection fault in qdisc_tree_reduce_backlog
2025/08/08 14:59 android14-6.1 c750dc582629 32a0e5ed .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 general protection fault in qdisc_tree_reduce_backlog
2025/08/08 02:15 android14-6.1 c750dc582629 6a893178 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 general protection fault in qdisc_tree_reduce_backlog
2025/08/07 10:34 android14-6.1 39fefc4d6aea 04cffc22 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 general protection fault in qdisc_tree_reduce_backlog
2025/08/04 17:56 android14-6.1 3b4ff5af8d36 f5bcc8dc .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 general protection fault in qdisc_tree_reduce_backlog
2025/08/02 02:36 android14-6.1 4a6a5e5dbb49 7368264b .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 general protection fault in qdisc_tree_reduce_backlog
* Struck through repros no longer work on HEAD.