syzbot


general protection fault in fq_codel_enqueue (2)

Status: premoderation: reported on 2024/04/20 04:54
Reported-by: syzbot+64c44bfb6bb8c17a53e9@syzkaller.appspotmail.com
First crash: 13d, last: 11d
Similar bugs (8)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream general protection fault in fq_codel_enqueue (3) net C inconclusive 5 671d 917d 22/26 fixed on 2023/02/24 13:50
linux-4.19 general protection fault in fq_codel_enqueue C done 5 1442d 1470d 1/1 fixed on 2020/06/21 14:03
linux-4.19 general protection fault in fq_codel_enqueue (2) C error 14 612d 1343d 0/1 upstream: reported C repro on 2020/08/28 22:42
android-5-15 general protection fault in fq_codel_enqueue 1 41d 41d 0/2 premoderation: reported on 2024/03/23 01:26
linux-4.14 general protection fault in fq_codel_enqueue C inconclusive 6 874d 1466d 0/1 upstream: reported C repro on 2020/04/27 21:56
upstream general protection fault in fq_codel_enqueue (2) C done 34 944d 1343d 0/26 closed as invalid on 2021/10/07 21:22
upstream general protection fault in fq_codel_enqueue net C done 25 1390d 1475d 15/26 fixed on 2020/07/17 17:58
android-5-10 general protection fault in fq_codel_enqueue 1 645d 645d 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: 27555 Comm: syz-executor.0 Tainted: G        W         5.10.209-syzkaller-00039-g8d3bb9cb3b7d #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024
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+0xd42/0x1540 net/sched/sch_fq_codel.c:230
Code: 5c 24 08 4c 89 6c 24 38 4c 89 f0 48 8b 4c 24 30 42 80 3c 31 00 74 08 4c 89 e7 e8 09 48 c9 fd 4d 8b 24 24 4d 89 e5 49 c1 ed 03 <43> 80 7c 35 00 00 74 08 4c 89 e7 e8 ee 47 c9 fd 49 8b 1c 24 48 8b
RSP: 0018:ffffc900014c7600 EFLAGS: 00010246
RAX: dffffc0000000000 RBX: 0000000000000000 RCX: 1ffff11021503a80
RDX: ffff88810a81d400 RSI: 00000000000000d8 RDI: 00000000000000d9
RBP: ffffc900014c7770 R08: ffffffff83deda0f R09: ffffffff83c28126
R10: 0000000000000002 R11: ffff888114aa93c0 R12: 0000000000000000
R13: 0000000000000000 R14: dffffc0000000000 R15: 0000000000000000
FS:  00007f516d3836c0(0000) GS:ffff8881f7100000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000000000000 CR3: 000000014bf1e000 CR4: 00000000003506a0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 __dev_xmit_skb net/core/dev.c:3841 [inline]
 __dev_queue_xmit+0xdfc/0x28e0 net/core/dev.c:4155
 dev_queue_xmit+0x17/0x20 net/core/dev.c:4223
 packet_snd net/packet/af_packet.c:3036 [inline]
 packet_sendmsg+0x4526/0x60a0 net/packet/af_packet.c:3068
 sock_sendmsg_nosec net/socket.c:652 [inline]
 __sock_sendmsg net/socket.c:664 [inline]
 __sys_sendto+0x545/0x700 net/socket.c:2006
 __do_sys_sendto net/socket.c:2018 [inline]
 __se_sys_sendto net/socket.c:2014 [inline]
 __x64_sys_sendto+0xe5/0x100 net/socket.c:2014
 do_syscall_64+0x34/0x70
 entry_SYSCALL_64_after_hwframe+0x61/0xc6
RIP: 0033:0x7f516e60fea9
Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 e1 20 00 00 90 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 b0 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f516d3830c8 EFLAGS: 00000246 ORIG_RAX: 000000000000002c
RAX: ffffffffffffffda RBX: 00007f516e73df80 RCX: 00007f516e60fea9
RDX: 0000000000000022 RSI: 0000000020000880 RDI: 0000000000000005
RBP: 00007f516e65c4a4 R08: 0000000020000040 R09: 0000000000000014
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 000000000000000b R14: 00007f516e73df80 R15: 00007ffc28bfd628
Modules linked in:
---[ end trace 1eef78d526f7db88 ]---
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+0xd42/0x1540 net/sched/sch_fq_codel.c:230
Code: 5c 24 08 4c 89 6c 24 38 4c 89 f0 48 8b 4c 24 30 42 80 3c 31 00 74 08 4c 89 e7 e8 09 48 c9 fd 4d 8b 24 24 4d 89 e5 49 c1 ed 03 <43> 80 7c 35 00 00 74 08 4c 89 e7 e8 ee 47 c9 fd 49 8b 1c 24 48 8b
RSP: 0018:ffffc900014c7600 EFLAGS: 00010246
RAX: dffffc0000000000 RBX: 0000000000000000 RCX: 1ffff11021503a80
RDX: ffff88810a81d400 RSI: 00000000000000d8 RDI: 00000000000000d9
RBP: ffffc900014c7770 R08: ffffffff83deda0f R09: ffffffff83c28126
R10: 0000000000000002 R11: ffff888114aa93c0 R12: 0000000000000000
R13: 0000000000000000 R14: dffffc0000000000 R15: 0000000000000000
FS:  00007f516d3836c0(0000) GS:ffff8881f7100000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000000000000 CR3: 000000014bf1e000 CR4: 00000000003526a0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
----------------
Code disassembly (best guess):
   0:	5c                   	pop    %rsp
   1:	24 08                	and    $0x8,%al
   3:	4c 89 6c 24 38       	mov    %r13,0x38(%rsp)
   8:	4c 89 f0             	mov    %r14,%rax
   b:	48 8b 4c 24 30       	mov    0x30(%rsp),%rcx
  10:	42 80 3c 31 00       	cmpb   $0x0,(%rcx,%r14,1)
  15:	74 08                	je     0x1f
  17:	4c 89 e7             	mov    %r12,%rdi
  1a:	e8 09 48 c9 fd       	call   0xfdc94828
  1f:	4d 8b 24 24          	mov    (%r12),%r12
  23:	4d 89 e5             	mov    %r12,%r13
  26:	49 c1 ed 03          	shr    $0x3,%r13
* 2a:	43 80 7c 35 00 00    	cmpb   $0x0,0x0(%r13,%r14,1) <-- trapping instruction
  30:	74 08                	je     0x3a
  32:	4c 89 e7             	mov    %r12,%rdi
  35:	e8 ee 47 c9 fd       	call   0xfdc94828
  3a:	49 8b 1c 24          	mov    (%r12),%rbx
  3e:	48                   	rex.W
  3f:	8b                   	.byte 0x8b

Crashes (2):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/04/21 23:50 android13-5.10-lts 8d3bb9cb3b7d af24b050 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in fq_codel_enqueue
2024/04/20 04:53 android13-5.10-lts c449d2a618ef af24b050 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in fq_codel_enqueue
* Struck through repros no longer work on HEAD.