syzbot


general protection fault in fq_codel_enqueue

Status: upstream: reported on 2025/08/06 04:45
Reported-by: syzbot+97bf6c575e76fd47de20@syzkaller.appspotmail.com
First crash: 86d, last: 11d
Similar bugs (10)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream general protection fault in fq_codel_enqueue (3) net 2 C inconclusive 5 1217d 1462d 22/29 fixed on 2023/02/24 13:50
linux-4.19 general protection fault in fq_codel_enqueue 2 C done 5 1987d 2016d 1/1 fixed on 2020/06/21 14:03
linux-6.1 BUG: unable to handle kernel paging request in fq_codel_enqueue 8 13 40d 90d 0/3 upstream: reported on 2025/08/01 20:04
linux-4.19 general protection fault in fq_codel_enqueue (2) 2 C error 14 1158d 1889d 0/1 upstream: reported C repro on 2020/08/28 22:42
android-5-10 general protection fault in fq_codel_enqueue (2) 2 2 557d 559d 0/2 auto-obsoleted due to no activity on 2024/07/20 23:55
android-5-15 general protection fault in fq_codel_enqueue 2 1 587d 587d 0/2 auto-obsoleted due to no activity on 2024/06/21 01:28
linux-4.14 general protection fault in fq_codel_enqueue 2 C inconclusive 6 1420d 2012d 0/1 upstream: reported C repro on 2020/04/27 21:56
upstream general protection fault in fq_codel_enqueue (2) 2 C done 34 1489d 1889d 0/29 closed as invalid on 2021/10/07 21:22
upstream general protection fault in fq_codel_enqueue net 2 C done 25 1936d 2021d 15/29 fixed on 2020/07/17 17:58
android-5-10 general protection fault in fq_codel_enqueue 2 1 1191d 1191d 0/2 auto-obsoleted due to no activity on 2022/10/25 22:19

Sample crash report:
general protection fault, probably for non-canonical address 0xdffffc0000000000: 0000 [#1] PREEMPT SMP KASAN
KASAN: null-ptr-deref in range [0x0000000000000000-0x0000000000000007]
CPU: 1 PID: 25439 Comm: syz.7.7184 Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/02/2025
RIP: 0010:dequeue_head net/sched/sch_fq_codel.c:120 [inline]
RIP: 0010:fq_codel_drop net/sched/sch_fq_codel.c:168 [inline]
RIP: 0010:fq_codel_enqueue+0xd2d/0x1590 net/sched/sch_fq_codel.c:230
Code: 24 08 48 8b 44 24 20 80 3c 10 00 74 12 4c 89 ef e8 b8 57 b7 f9 48 ba 00 00 00 00 00 fc ff df 4d 8b 65 00 4c 89 e0 48 c1 e8 03 <80> 3c 10 00 74 12 4c 89 e7 e8 95 57 b7 f9 48 ba 00 00 00 00 00 fc
RSP: 0018:ffffc900023e7680 EFLAGS: 00010246
RAX: 0000000000000000 RBX: 1ffff9200047cf1c RCX: 1ffff1100efce05a
RDX: dffffc0000000000 RSI: 0000000000000130 RDI: 0000000000000131
RBP: ffffc900023e77d8 R08: dffffc0000000000 R09: fffffbfff1ff7a32
R10: fffffbfff1ff7a32 R11: 1ffffffff1ff7a31 R12: 0000000000000000
R13: ffff8880763c2000 R14: 0000000000000000 R15: 0000000000000000
FS:  00007fbf6cc556c0(0000) GS:ffff8880b9100000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000000110c37073b CR3: 000000001d70e000 CR4: 00000000003506e0
DR0: ffffffffffffffff DR1: 00000000000001f8 DR2: 0000000000000083
DR3: ffffffffefffff15 DR6: 00000000ffff0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 dev_qdisc_enqueue+0x48/0x210 net/core/dev.c:3852
 __dev_xmit_skb net/core/dev.c:3936 [inline]
 __dev_queue_xmit+0xd7e/0x2ed0 net/core/dev.c:4253
 packet_snd net/packet/af_packet.c:3089 [inline]
 packet_sendmsg+0x3d52/0x4fe0 net/packet/af_packet.c:3120
 sock_sendmsg_nosec net/socket.c:704 [inline]
 __sock_sendmsg net/socket.c:716 [inline]
 __sys_sendto+0x423/0x580 net/socket.c:2063
 __do_sys_sendto net/socket.c:2075 [inline]
 __se_sys_sendto net/socket.c:2071 [inline]
 __x64_sys_sendto+0xda/0xf0 net/socket.c:2071
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x66/0xd0
RIP: 0033:0x7fbf6e9edfc9
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:00007fbf6cc55038 EFLAGS: 00000246 ORIG_RAX: 000000000000002c
RAX: ffffffffffffffda RBX: 00007fbf6ec44fa0 RCX: 00007fbf6e9edfc9
RDX: 000000000000000e RSI: 00002000000005c0 RDI: 0000000000000008
RBP: 00007fbf6ea70f91 R08: 00002000000001c0 R09: 0000000000000014
R10: 0000000000000040 R11: 0000000000000246 R12: 0000000000000000
R13: 00007fbf6ec45038 R14: 00007fbf6ec44fa0 R15: 00007ffdfe2ef478
 </TASK>
Modules linked in:
---[ end trace 82dd15bef2ee7a5c ]---
RIP: 0010:dequeue_head net/sched/sch_fq_codel.c:120 [inline]
RIP: 0010:fq_codel_drop net/sched/sch_fq_codel.c:168 [inline]
RIP: 0010:fq_codel_enqueue+0xd2d/0x1590 net/sched/sch_fq_codel.c:230
Code: 24 08 48 8b 44 24 20 80 3c 10 00 74 12 4c 89 ef e8 b8 57 b7 f9 48 ba 00 00 00 00 00 fc ff df 4d 8b 65 00 4c 89 e0 48 c1 e8 03 <80> 3c 10 00 74 12 4c 89 e7 e8 95 57 b7 f9 48 ba 00 00 00 00 00 fc
RSP: 0018:ffffc900023e7680 EFLAGS: 00010246
RAX: 0000000000000000 RBX: 1ffff9200047cf1c RCX: 1ffff1100efce05a
RDX: dffffc0000000000 RSI: 0000000000000130 RDI: 0000000000000131
RBP: ffffc900023e77d8 R08: dffffc0000000000 R09: fffffbfff1ff7a32
R10: fffffbfff1ff7a32 R11: 1ffffffff1ff7a31 R12: 0000000000000000
R13: ffff8880763c2000 R14: 0000000000000000 R15: 0000000000000000
FS:  00007fbf6cc556c0(0000) GS:ffff8880b9100000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000000110c37073b CR3: 000000001d70e000 CR4: 00000000003506e0
DR0: ffffffffffffffff DR1: 00000000000001f8 DR2: 0000000000000083
DR3: ffffffffefffff15 DR6: 00000000ffff0ff0 DR7: 0000000000000400
----------------
Code disassembly (best guess):
   0:	24 08                	and    $0x8,%al
   2:	48 8b 44 24 20       	mov    0x20(%rsp),%rax
   7:	80 3c 10 00          	cmpb   $0x0,(%rax,%rdx,1)
   b:	74 12                	je     0x1f
   d:	4c 89 ef             	mov    %r13,%rdi
  10:	e8 b8 57 b7 f9       	call   0xf9b757cd
  15:	48 ba 00 00 00 00 00 	movabs $0xdffffc0000000000,%rdx
  1c:	fc ff df
  1f:	4d 8b 65 00          	mov    0x0(%r13),%r12
  23:	4c 89 e0             	mov    %r12,%rax
  26:	48 c1 e8 03          	shr    $0x3,%rax
* 2a:	80 3c 10 00          	cmpb   $0x0,(%rax,%rdx,1) <-- trapping instruction
  2e:	74 12                	je     0x42
  30:	4c 89 e7             	mov    %r12,%rdi
  33:	e8 95 57 b7 f9       	call   0xf9b757cd
  38:	48                   	rex.W
  39:	ba 00 00 00 00       	mov    $0x0,%edx
  3e:	00 fc                	add    %bh,%ah

Crashes (2):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2025/10/19 22:18 linux-5.15.y ac56c046adf4 1c8c8cd8 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan general protection fault in fq_codel_enqueue
2025/08/06 04:44 linux-5.15.y c79648372d02 ffe1dd46 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan general protection fault in fq_codel_enqueue
* Struck through repros no longer work on HEAD.