syzbot


general protection fault in fq_codel_enqueue

Status: auto-obsoleted due to no activity on 2024/06/21 01:28
Reported-by: syzbot+a938208d75f3766c52db@syzkaller.appspotmail.com
First crash: 243d, last: 243d
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 873d 1118d 22/28 fixed on 2023/02/24 13:50
linux-4.19 general protection fault in fq_codel_enqueue C done 5 1644d 1672d 1/1 fixed on 2020/06/21 14:03
linux-4.19 general protection fault in fq_codel_enqueue (2) C error 14 814d 1545d 0/1 upstream: reported C repro on 2020/08/28 22:42
android-5-10 general protection fault in fq_codel_enqueue (2) 2 213d 215d 0/2 auto-obsoleted due to no activity on 2024/07/20 23:55
linux-4.14 general protection fault in fq_codel_enqueue C inconclusive 6 1076d 1668d 0/1 upstream: reported C repro on 2020/04/27 21:56
upstream general protection fault in fq_codel_enqueue (2) C done 34 1146d 1545d 0/28 closed as invalid on 2021/10/07 21:22
upstream general protection fault in fq_codel_enqueue net C done 25 1592d 1677d 15/28 fixed on 2020/07/17 17:58
android-5-10 general protection fault in fq_codel_enqueue 1 847d 847d 0/2 auto-obsoleted due to no activity on 2022/10/25 22:19

Sample crash report:
netlink: 24 bytes leftover after parsing attributes in process `syz-executor.2'.
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: 19563 Comm: syz-executor.2 Not tainted 5.15.148-syzkaller-00718-g993bed180178 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/29/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+0xd45/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 36 09 aa fd 4d 8b 24 24 4d 89 e5 49 c1 ed 03 <43> 80 7c 35 00 00 74 08 4c 89 e7 e8 1b 09 aa fd 49 8b 1c 24 48 8b
RSP: 0018:ffffc90000faf5a0 EFLAGS: 00010246
RAX: dffffc0000000000 RBX: 0000000000000000 RCX: 1ffff1103495a000
RDX: ffff8881a4ad0000 RSI: 00000000000001b0 RDI: 00000000000001b1
RBP: ffffc90000faf708 R08: ffffffff840826c2 R09: ffffffff83e41446
R10: 0000000000000002 R11: ffff88819a1ca780 R12: 0000000000000000
R13: 0000000000000000 R14: dffffc0000000000 R15: 0000000000000000
FS:  00007faced4176c0(0000) GS:ffff8881f7100000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000020001540 CR3: 00000001a4e6b000 CR4: 00000000003506a0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 000000000000000f
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 dev_qdisc_enqueue+0x50/0x190 net/core/dev.c:3819
 __dev_xmit_skb net/core/dev.c:3903 [inline]
 __dev_queue_xmit+0xd8a/0x2e70 net/core/dev.c:4220
 dev_queue_xmit+0x17/0x20 net/core/dev.c:4288
 packet_snd net/packet/af_packet.c:3039 [inline]
 packet_sendmsg+0x47a9/0x6350 net/packet/af_packet.c:3070
 sock_sendmsg_nosec net/socket.c:704 [inline]
 __sock_sendmsg net/socket.c:716 [inline]
 __sys_sendto+0x564/0x720 net/socket.c:2058
 __do_sys_sendto net/socket.c:2070 [inline]
 __se_sys_sendto net/socket.c:2066 [inline]
 __x64_sys_sendto+0xe5/0x100 net/socket.c:2066
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x61/0xcb
RIP: 0033:0x7facee695da9
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:00007faced4170c8 EFLAGS: 00000246 ORIG_RAX: 000000000000002c
RAX: ffffffffffffffda RBX: 00007facee7c3f80 RCX: 00007facee695da9
RDX: 0000000000000015 RSI: 0000000020000000 RDI: 0000000000000009
RBP: 00007facee6e247a R08: 0000000020000140 R09: 0000000000000014
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 000000000000000b R14: 00007facee7c3f80 R15: 00007ffdc732bc78
 </TASK>
Modules linked in:
---[ end trace 3e00b251e64d08b9 ]---
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+0xd45/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 36 09 aa fd 4d 8b 24 24 4d 89 e5 49 c1 ed 03 <43> 80 7c 35 00 00 74 08 4c 89 e7 e8 1b 09 aa fd 49 8b 1c 24 48 8b
RSP: 0018:ffffc90000faf5a0 EFLAGS: 00010246
RAX: dffffc0000000000 RBX: 0000000000000000 RCX: 1ffff1103495a000
RDX: ffff8881a4ad0000 RSI: 00000000000001b0 RDI: 00000000000001b1
RBP: ffffc90000faf708 R08: ffffffff840826c2 R09: ffffffff83e41446
R10: 0000000000000002 R11: ffff88819a1ca780 R12: 0000000000000000
R13: 0000000000000000 R14: dffffc0000000000 R15: 0000000000000000
FS:  00007faced4176c0(0000) GS:ffff8881f7100000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000020001540 CR3: 00000001a4e6b000 CR4: 00000000003506a0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 000000000000000f
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 36 09 aa fd       	call   0xfdaa0955
  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 1b 09 aa fd       	call   0xfdaa0955
  3a:	49 8b 1c 24          	mov    (%r12),%rbx
  3e:	48                   	rex.W
  3f:	8b                   	.byte 0x8b

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/03/23 01:25 android13-5.15-lts 993bed180178 4b6cdce6 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 general protection fault in fq_codel_enqueue
* Struck through repros no longer work on HEAD.