syzbot


general protection fault in cbs_destroy

Status: upstream: reported C repro on 2020/01/27 15:08
Reported-by: syzbot+fb9d148d3801bababbf3@syzkaller.appspotmail.com
First crash: 1770d, last: 638d
Similar bugs (1)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream general protection fault in cbs_destroy C done error 700 1891d 1912d 0/28 auto-obsoleted due to no activity on 2022/09/09 21:20

Sample crash report:
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
CPU: 1 PID: 8123 Comm: syz-executor166 Not tainted 4.19.211-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022
RIP: 0010:__list_del_entry_valid+0x81/0xf0 lib/list_debug.c:51
Code: 0f 84 30 52 85 04 48 b8 00 02 00 00 00 00 ad de 49 39 c4 0f 84 31 52 85 04 48 b8 00 00 00 00 00 fc ff df 4c 89 e2 48 c1 ea 03 <80> 3c 02 00 75 51 49 8b 14 24 48 39 ea 0f 85 e8 51 85 04 49 8d 7d
RSP: 0018:ffff8880b136f4e8 EFLAGS: 00010246
RAX: dffffc0000000000 RBX: ffff8880b261fb40 RCX: ffffffff814bdebb
RDX: 0000000000000000 RSI: 0000000000000004 RDI: ffff8880b261fe68
RBP: ffff8880b261fe60 R08: 0000000000000001 R09: fffffbfff15cead8
R10: ffffffff8ae756c3 R11: 0000000000000000 R12: 0000000000000000
R13: 0000000000000000 R14: ffff8880b261fdc0 R15: ffff8880b261fe68
FS:  0000555557435300(0000) GS:ffff8880ba100000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000020000080 CR3: 00000000997b0000 CR4: 00000000003406e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 __list_del_entry include/linux/list.h:117 [inline]
 list_del include/linux/list.h:125 [inline]
 cbs_destroy+0x81/0x280 net/sched/sch_cbs.c:448
 qdisc_create+0xb70/0x1130 net/sched/sch_api.c:1204
 tc_modify_qdisc+0x50d/0x1a80 net/sched/sch_api.c:1572
 rtnetlink_rcv_msg+0x453/0xb80 net/core/rtnetlink.c:4782
 netlink_rcv_skb+0x160/0x440 net/netlink/af_netlink.c:2463
 netlink_unicast_kernel net/netlink/af_netlink.c:1325 [inline]
 netlink_unicast+0x4d5/0x690 net/netlink/af_netlink.c:1351
 netlink_sendmsg+0x6c3/0xc50 net/netlink/af_netlink.c:1917
 sock_sendmsg_nosec net/socket.c:651 [inline]
 sock_sendmsg+0xc3/0x120 net/socket.c:661
 ___sys_sendmsg+0x7bb/0x8e0 net/socket.c:2227
 __sys_sendmsg net/socket.c:2265 [inline]
 __do_sys_sendmsg net/socket.c:2274 [inline]
 __se_sys_sendmsg net/socket.c:2272 [inline]
 __x64_sys_sendmsg+0x132/0x220 net/socket.c:2272
 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293
 entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x7ff39bae7209
Code: 28 c3 e8 2a 14 00 00 66 2e 0f 1f 84 00 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 c0 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007fff9dabd858 EFLAGS: 00000246 ORIG_RAX: 000000000000002e
RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007ff39bae7209
RDX: 0000000000000000 RSI: 0000000020000000 RDI: 0000000000000003
RBP: 00007ff39baab1f0 R08: 00000000ffffffff R09: 0000000000000000
R10: 00000000ffffffff R11: 0000000000000246 R12: 00007ff39baab280
R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000
Modules linked in:
---[ end trace c6497066a36c39ef ]---
RIP: 0010:__list_del_entry_valid+0x81/0xf0 lib/list_debug.c:51
Code: 0f 84 30 52 85 04 48 b8 00 02 00 00 00 00 ad de 49 39 c4 0f 84 31 52 85 04 48 b8 00 00 00 00 00 fc ff df 4c 89 e2 48 c1 ea 03 <80> 3c 02 00 75 51 49 8b 14 24 48 39 ea 0f 85 e8 51 85 04 49 8d 7d
RSP: 0018:ffff8880b136f4e8 EFLAGS: 00010246
RAX: dffffc0000000000 RBX: ffff8880b261fb40 RCX: ffffffff814bdebb
RDX: 0000000000000000 RSI: 0000000000000004 RDI: ffff8880b261fe68
RBP: ffff8880b261fe60 R08: 0000000000000001 R09: fffffbfff15cead8
R10: ffffffff8ae756c3 R11: 0000000000000000 R12: 0000000000000000
R13: 0000000000000000 R14: ffff8880b261fdc0 R15: ffff8880b261fe68
FS:  0000555557435300(0000) GS:ffff8880ba100000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000020000080 CR3: 00000000997b0000 CR4: 00000000003406e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
----------------
Code disassembly (best guess):
   0:	0f 84 30 52 85 04    	je     0x4855236
   6:	48 b8 00 02 00 00 00 	movabs $0xdead000000000200,%rax
   d:	00 ad de
  10:	49 39 c4             	cmp    %rax,%r12
  13:	0f 84 31 52 85 04    	je     0x485524a
  19:	48 b8 00 00 00 00 00 	movabs $0xdffffc0000000000,%rax
  20:	fc ff df
  23:	4c 89 e2             	mov    %r12,%rdx
  26:	48 c1 ea 03          	shr    $0x3,%rdx
* 2a:	80 3c 02 00          	cmpb   $0x0,(%rdx,%rax,1) <-- trapping instruction
  2e:	75 51                	jne    0x81
  30:	49 8b 14 24          	mov    (%r12),%rdx
  34:	48 39 ea             	cmp    %rbp,%rdx
  37:	0f 85 e8 51 85 04    	jne    0x4855225
  3d:	49                   	rex.WB
  3e:	8d                   	.byte 0x8d
  3f:	7d                   	.byte 0x7d

Crashes (2836):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2022/12/10 08:13 linux-4.19.y 3f8a27f9e27b 67be1ae7 .config console log report syz C [disk image] [vmlinux] ci2-linux-4-19 general protection fault in cbs_destroy
2022/08/26 23:59 linux-4.19.y 3f8a27f9e27b e5a303f1 .config console log report syz C ci2-linux-4-19 general protection fault in cbs_destroy
2022/08/21 05:44 linux-4.19.y 3f8a27f9e27b 26a13b38 .config console log report syz C ci2-linux-4-19 general protection fault in cbs_destroy
2022/05/12 22:45 linux-4.19.y 3f8a27f9e27b 9ad6612a .config console log report syz C ci2-linux-4-19 general protection fault in cbs_destroy
2021/07/31 03:48 linux-4.19.y a89b48fe9308 6c236867 .config console log report syz C ci2-linux-4-19 general protection fault in cbs_destroy
2020/01/27 16:16 linux-4.19.y 88d6de67e390 56cd6c9b .config console log report syz C ci2-linux-4-19
2023/03/05 09:46 linux-4.19.y 3f8a27f9e27b f8902b57 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 general protection fault in cbs_destroy
2023/03/04 16:41 linux-4.19.y 3f8a27f9e27b f8902b57 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 general protection fault in cbs_destroy
2023/03/02 22:51 linux-4.19.y 3f8a27f9e27b f8902b57 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 general protection fault in cbs_destroy
2023/03/02 04:15 linux-4.19.y 3f8a27f9e27b f8902b57 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 general protection fault in cbs_destroy
2023/02/25 17:14 linux-4.19.y 3f8a27f9e27b ee50e71c .config console log report info [disk image] [vmlinux] ci2-linux-4-19 general protection fault in cbs_destroy
2023/02/24 20:32 linux-4.19.y 3f8a27f9e27b ee50e71c .config console log report info [disk image] [vmlinux] ci2-linux-4-19 general protection fault in cbs_destroy
2023/02/24 13:41 linux-4.19.y 3f8a27f9e27b ee50e71c .config console log report info [disk image] [vmlinux] ci2-linux-4-19 general protection fault in cbs_destroy
2023/02/23 15:28 linux-4.19.y 3f8a27f9e27b 9e2ebb3c .config console log report info [disk image] [vmlinux] ci2-linux-4-19 general protection fault in cbs_destroy
2023/02/22 11:29 linux-4.19.y 3f8a27f9e27b 42a4d508 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 general protection fault in cbs_destroy
2023/02/20 16:02 linux-4.19.y 3f8a27f9e27b bcdf85f8 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 general protection fault in cbs_destroy
2023/02/19 23:48 linux-4.19.y 3f8a27f9e27b bcdf85f8 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 general protection fault in cbs_destroy
2023/02/18 19:33 linux-4.19.y 3f8a27f9e27b d02e9a70 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 general protection fault in cbs_destroy
2023/02/18 14:40 linux-4.19.y 3f8a27f9e27b d02e9a70 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 general protection fault in cbs_destroy
2023/02/17 03:19 linux-4.19.y 3f8a27f9e27b 851bc19a .config console log report info [disk image] [vmlinux] ci2-linux-4-19 general protection fault in cbs_destroy
2023/02/15 11:30 linux-4.19.y 3f8a27f9e27b e62ba3c1 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 general protection fault in cbs_destroy
2023/02/14 10:35 linux-4.19.y 3f8a27f9e27b 93ae7e0a .config console log report info [disk image] [vmlinux] ci2-linux-4-19 general protection fault in cbs_destroy
2023/02/13 18:29 linux-4.19.y 3f8a27f9e27b 957959cb .config console log report info [disk image] [vmlinux] ci2-linux-4-19 general protection fault in cbs_destroy
2023/02/12 10:00 linux-4.19.y 3f8a27f9e27b 93e26d60 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 general protection fault in cbs_destroy
2023/02/12 06:34 linux-4.19.y 3f8a27f9e27b 93e26d60 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 general protection fault in cbs_destroy
2023/02/10 10:42 linux-4.19.y 3f8a27f9e27b 07980f9d .config console log report info [disk image] [vmlinux] ci2-linux-4-19 general protection fault in cbs_destroy
2023/02/10 08:27 linux-4.19.y 3f8a27f9e27b 07980f9d .config console log report info [disk image] [vmlinux] ci2-linux-4-19 general protection fault in cbs_destroy
2023/02/09 10:57 linux-4.19.y 3f8a27f9e27b 14a312c8 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 general protection fault in cbs_destroy
2023/02/08 22:07 linux-4.19.y 3f8a27f9e27b fc9c934e .config console log report info [disk image] [vmlinux] ci2-linux-4-19 general protection fault in cbs_destroy
2023/02/08 20:45 linux-4.19.y 3f8a27f9e27b fc9c934e .config console log report info [disk image] [vmlinux] ci2-linux-4-19 general protection fault in cbs_destroy
2023/02/08 15:48 linux-4.19.y 3f8a27f9e27b fc9c934e .config console log report info [disk image] [vmlinux] ci2-linux-4-19 general protection fault in cbs_destroy
2023/02/07 22:54 linux-4.19.y 3f8a27f9e27b 15c3d445 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 general protection fault in cbs_destroy
2023/02/06 23:03 linux-4.19.y 3f8a27f9e27b 0a9c11b6 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 general protection fault in cbs_destroy
2023/02/05 12:08 linux-4.19.y 3f8a27f9e27b be607b78 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 general protection fault in cbs_destroy
2023/02/02 13:29 linux-4.19.y 3f8a27f9e27b 9a6f477c .config console log report info [disk image] [vmlinux] ci2-linux-4-19 general protection fault in cbs_destroy
2023/01/31 20:24 linux-4.19.y 3f8a27f9e27b b68fb8d6 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 general protection fault in cbs_destroy
2023/01/30 09:06 linux-4.19.y 3f8a27f9e27b 9dfcf09c .config console log report info [disk image] [vmlinux] ci2-linux-4-19 general protection fault in cbs_destroy
2023/01/29 11:42 linux-4.19.y 3f8a27f9e27b 9dfcf09c .config console log report info [disk image] [vmlinux] ci2-linux-4-19 general protection fault in cbs_destroy
2023/01/29 05:17 linux-4.19.y 3f8a27f9e27b 9dfcf09c .config console log report info [disk image] [vmlinux] ci2-linux-4-19 general protection fault in cbs_destroy
2023/01/28 22:07 linux-4.19.y 3f8a27f9e27b 9dfcf09c .config console log report info [disk image] [vmlinux] ci2-linux-4-19 general protection fault in cbs_destroy
2023/01/28 19:44 linux-4.19.y 3f8a27f9e27b 9dfcf09c .config console log report info [disk image] [vmlinux] ci2-linux-4-19 general protection fault in cbs_destroy
2023/01/27 21:50 linux-4.19.y 3f8a27f9e27b 9dfcf09c .config console log report info [disk image] [vmlinux] ci2-linux-4-19 general protection fault in cbs_destroy
2023/01/26 17:15 linux-4.19.y 3f8a27f9e27b 9dfcf09c .config console log report info [disk image] [vmlinux] ci2-linux-4-19 general protection fault in cbs_destroy
2023/01/25 16:32 linux-4.19.y 3f8a27f9e27b 9dfcf09c .config console log report info [disk image] [vmlinux] ci2-linux-4-19 general protection fault in cbs_destroy
2023/01/25 04:25 linux-4.19.y 3f8a27f9e27b 9dfcf09c .config console log report info [disk image] [vmlinux] ci2-linux-4-19 general protection fault in cbs_destroy
2023/01/24 21:51 linux-4.19.y 3f8a27f9e27b 9dfcf09c .config console log report info [disk image] [vmlinux] ci2-linux-4-19 general protection fault in cbs_destroy
2023/01/22 14:17 linux-4.19.y 3f8a27f9e27b cc0f9968 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 general protection fault in cbs_destroy
2023/01/22 01:44 linux-4.19.y 3f8a27f9e27b cc0f9968 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 general protection fault in cbs_destroy
2023/01/21 23:16 linux-4.19.y 3f8a27f9e27b cc0f9968 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 general protection fault in cbs_destroy
2023/01/21 13:38 linux-4.19.y 3f8a27f9e27b cc0f9968 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 general protection fault in cbs_destroy
2023/01/20 13:16 linux-4.19.y 3f8a27f9e27b dd15ff29 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 general protection fault in cbs_destroy
2023/01/20 04:41 linux-4.19.y 3f8a27f9e27b 71197f3a .config console log report info [disk image] [vmlinux] ci2-linux-4-19 general protection fault in cbs_destroy
2023/01/19 14:32 linux-4.19.y 3f8a27f9e27b 66fca3ae .config console log report info [disk image] [vmlinux] ci2-linux-4-19 general protection fault in cbs_destroy
2021/01/15 11:23 linux-4.19.y 675cc038067f 65a7a854 .config console log report info ci2-linux-4-19
2020/01/27 15:07 linux-4.19.y 88d6de67e390 56cd6c9b .config console log report ci2-linux-4-19
* Struck through repros no longer work on HEAD.