syzbot


general protection fault in fq_codel_enqueue

Status: upstream: reported C repro on 2020/04/27 21:56
Reported-by: syzbot+9cfc52485ebfb6691a07@syzkaller.appspotmail.com
First crash: 1457d, last: 865d
Fix bisection the fix commit could be any of (bisect log):
  a41ba30d9df2 Linux 4.14.181
  4139fb08c05f Linux 4.14.187
  
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 662d 907d 22/26 fixed on 2023/02/24 13:50
linux-4.19 general protection fault in fq_codel_enqueue C done 5 1432d 1460d 1/1 fixed on 2020/06/21 14:03
linux-4.19 general protection fault in fq_codel_enqueue (2) C error 14 603d 1334d 0/1 upstream: reported C repro on 2020/08/28 22:42
android-5-10 general protection fault in fq_codel_enqueue (2) 2 2d05h 4d00h 0/2 premoderation: reported on 2024/04/20 04:54
android-5-15 general protection fault in fq_codel_enqueue 1 32d 32d 0/2 premoderation: reported on 2024/03/23 01:26
upstream general protection fault in fq_codel_enqueue (2) C done 34 934d 1334d 0/26 closed as invalid on 2021/10/07 21:22
upstream general protection fault in fq_codel_enqueue net C done 25 1381d 1465d 15/26 fixed on 2020/07/17 17:58
android-5-10 general protection fault in fq_codel_enqueue 1 636d 636d 0/2 auto-obsoleted due to no activity on 2022/10/25 22:19
Last patch testing requests (6)
Created Duration User Patch Repo Result
2023/02/08 19:32 9m retest repro linux-4.14.y report log
2023/02/08 18:32 9m retest repro linux-4.14.y report log
2023/02/08 17:32 9m retest repro linux-4.14.y report log
2022/09/18 11:29 10m retest repro linux-4.14.y report log
2022/09/18 10:29 10m retest repro linux-4.14.y report log
2022/09/18 09:29 10m retest repro linux-4.14.y report log

Sample crash report:
IPv6: ADDRCONF(NETDEV_CHANGE): veth1_to_batadv: link becomes ready
IPv6: ADDRCONF(NETDEV_CHANGE): bond0: link becomes ready
kasan: CONFIG_KASAN_INLINE enabled
kasan: GPF could be caused by NULL-ptr deref or user memory access
general protection fault: 0000 [#1] PREEMPT SMP KASAN
Modules linked in:
CPU: 0 PID: 6614 Comm: syz-executor523 Not tainted 4.14.195-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
task: ffff888094a704c0 task.stack: ffff888094828000
RIP: 0010:dequeue_head net/sched/sch_fq_codel.c:125 [inline]
RIP: 0010:fq_codel_drop net/sched/sch_fq_codel.c:173 [inline]
RIP: 0010:fq_codel_enqueue+0x7ce/0xfc0 net/sched/sch_fq_codel.c:235
RSP: 0018:ffff88809482f790 EFLAGS: 00010246
RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000000
RDX: 0000000000000000 RSI: ffff88809b47b8e8 RDI: ffff88809b47b8a8
RBP: ffff88809b47b6c0 R08: ffff88821fff7018 R09: ffff88821fff700f
R10: ffff88821fff7017 R11: 0000000c9c749bdd R12: ffff88809482f908
R13: dffffc0000000000 R14: 0000000000000000 R15: ffff888080840500
FS:  00007f4dbae8c700(0000) GS:ffff8880aea00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00000000200001c0 CR3: 000000008fe14000 CR4: 00000000001406f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 __dev_xmit_skb net/core/dev.c:3225 [inline]
 __dev_queue_xmit+0x121d/0x2480 net/core/dev.c:3489
 __netlink_deliver_tap_skb net/netlink/af_netlink.c:273 [inline]
 __netlink_deliver_tap net/netlink/af_netlink.c:291 [inline]
 netlink_deliver_tap+0x60c/0x7d0 net/netlink/af_netlink.c:302
 netlink_deliver_tap_kernel net/netlink/af_netlink.c:311 [inline]
 netlink_unicast_kernel net/netlink/af_netlink.c:1286 [inline]
 netlink_unicast+0x485/0x610 net/netlink/af_netlink.c:1313
 netlink_sendmsg+0x62e/0xb80 net/netlink/af_netlink.c:1878
 sock_sendmsg_nosec net/socket.c:646 [inline]
 sock_sendmsg+0xb5/0x100 net/socket.c:656
 ___sys_sendmsg+0x6c8/0x800 net/socket.c:2062
 __sys_sendmsg+0xa3/0x120 net/socket.c:2096
 SYSC_sendmsg net/socket.c:2107 [inline]
 SyS_sendmsg+0x27/0x40 net/socket.c:2103
 do_syscall_64+0x1d5/0x640 arch/x86/entry/common.c:292
 entry_SYSCALL_64_after_hwframe+0x46/0xbb
RIP: 0033:0x44a179
RSP: 002b:00007f4dbae8bdb8 EFLAGS: 00000246 ORIG_RAX: 000000000000002e
RAX: ffffffffffffffda RBX: 00000000006dfc58 RCX: 000000000044a179
RDX: 0000000000000000 RSI: 00000000200001c0 RDI: 0000000000000003
RBP: 00000000006dfc50 R08: 00007f4dbae8c700 R09: 0000000000000000
R10: 00007f4dbae8c700 R11: 0000000000000246 R12: 00000000006dfc5c
R13: 00007ffc7635104f R14: 00007f4dbae8c9c0 R15: 00000000006dfc5c
Code: a9 43 2f fc 3b 6c 24 08 0f 83 bb 00 00 00 e8 9a 43 2f fc 48 8b 44 24 10 80 38 00 0f 85 05 06 00 00 49 8b 07 48 89 c2 48 c1 ea 03 <42> 80 3c 2a 00 0f 85 d9 05 00 00 48 8b 10 48 8d 78 28 49 89 17 
RIP: dequeue_head net/sched/sch_fq_codel.c:125 [inline] RSP: ffff88809482f790
RIP: fq_codel_drop net/sched/sch_fq_codel.c:173 [inline] RSP: ffff88809482f790
RIP: fq_codel_enqueue+0x7ce/0xfc0 net/sched/sch_fq_codel.c:235 RSP: ffff88809482f790
---[ end trace 4806baa93fce454a ]---

Crashes (6):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2020/08/28 22:47 linux-4.14.y d7e78d08fa77 d5a3ae1f .config console log report syz C ci2-linux-4-14
2020/05/22 12:06 linux-4.14.y a41ba30d9df2 4afdfa20 .config console log report syz C ci2-linux-4-14
2020/04/27 21:55 linux-4.14.y 050272a0423e 0ce7569e .config console log report syz C ci2-linux-4-14
2021/12/11 04:07 linux-4.14.y c01d4d1b885d 49ca1f59 .config console log report info ci2-linux-4-14 general protection fault in fq_codel_enqueue
2020/07/14 04:19 linux-4.14.y b850307b279c ce4c95b3 .config console log report ci2-linux-4-14
2020/05/19 03:05 linux-4.14.y ab9dfda23248 684d3606 .config console log report ci2-linux-4-14
* Struck through repros no longer work on HEAD.