syzbot


general protection fault in qdisc_alloc

Status: auto-obsoleted due to no activity on 2023/11/16 23:27
Subsystems: net
[Documentation on labels]
First crash: 747d, last: 747d

Sample crash report:
general protection fault, probably for non-canonical address 0xdffffc0000000179: 0000 [#1] PREEMPT SMP KASAN
KASAN: null-ptr-deref in range [0x0000000000000bc8-0x0000000000000bcf]
CPU: 1 PID: 7523 Comm: syz-executor.5 Not tainted 6.5.0-rc4-syzkaller-01306-g29afcd69672a #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/26/2023
RIP: 0010:qdisc_alloc+0x45a/0xa90 net/sched/sch_generic.c:961
Code: 7f 08 84 c0 0f 85 e5 04 00 00 49 8d 86 c8 0b 00 00 44 0f b6 83 39 02 00 00 48 ba 00 00 00 00 00 fc ff df 48 89 c1 48 c1 e9 03 <80> 3c 11 00 0f 85 74 05 00 00 49 8b 96 c8 0b 00 00 48 c7 c1 20 af
RSP: 0018:ffffc900074e73c0 EFLAGS: 00010202
RAX: 0000000000000bc8 RBX: ffff888081abb000 RCX: 0000000000000179
RDX: dffffc0000000000 RSI: 0000000000000001 RDI: ffff888081abb239
RBP: 0000000000000000 R08: 0000000000000002 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000094000 R12: ffffffff8eacb220
R13: ffff8880402e8000 R14: 0000000000000000 R15: 0000000000000000
FS:  00007f2513ba26c0(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000001b2cd22000 CR3: 00000000847fb000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 qdisc_create+0xcf/0x10a0 net/sched/sch_api.c:1270
 tc_modify_qdisc+0x4a4/0x1bf0 net/sched/sch_api.c:1720
 rtnetlink_rcv_msg+0x439/0xd30 net/core/rtnetlink.c:6427
 netlink_rcv_skb+0x16b/0x440 net/netlink/af_netlink.c:2575
 netlink_unicast_kernel net/netlink/af_netlink.c:1344 [inline]
 netlink_unicast+0x539/0x800 net/netlink/af_netlink.c:1370
 netlink_sendmsg+0x93c/0xe40 net/netlink/af_netlink.c:1939
 sock_sendmsg_nosec net/socket.c:728 [inline]
 sock_sendmsg+0xd9/0x180 net/socket.c:751
 ____sys_sendmsg+0x6ac/0x940 net/socket.c:2514
 ___sys_sendmsg+0x135/0x1d0 net/socket.c:2568
 __sys_sendmsg+0x117/0x1e0 net/socket.c:2597
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x38/0xb0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x7f2512e7cae9
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:00007f2513ba20c8 EFLAGS: 00000246 ORIG_RAX: 000000000000002e
RAX: ffffffffffffffda RBX: 00007f2512f9bf80 RCX: 00007f2512e7cae9
RDX: 0000000000000000 RSI: 00000000200007c0 RDI: 0000000000000004
RBP: 00007f2512ec847a R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 000000000000000b R14: 00007f2512f9bf80 R15: 00007ffff7907fc8
 </TASK>
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:qdisc_alloc+0x45a/0xa90 net/sched/sch_generic.c:961
Code: 7f 08 84 c0 0f 85 e5 04 00 00 49 8d 86 c8 0b 00 00 44 0f b6 83 39 02 00 00 48 ba 00 00 00 00 00 fc ff df 48 89 c1 48 c1 e9 03 <80> 3c 11 00 0f 85 74 05 00 00 49 8b 96 c8 0b 00 00 48 c7 c1 20 af
RSP: 0018:ffffc900074e73c0 EFLAGS: 00010202
RAX: 0000000000000bc8 RBX: ffff888081abb000 RCX: 0000000000000179
RDX: dffffc0000000000 RSI: 0000000000000001 RDI: ffff888081abb239
RBP: 0000000000000000 R08: 0000000000000002 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000094000 R12: ffffffff8eacb220
R13: ffff8880402e8000 R14: 0000000000000000 R15: 0000000000000000
FS:  00007f2513ba26c0(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fd521ac56be CR3: 00000000847fb000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
----------------
Code disassembly (best guess):
   0:	7f 08                	jg     0xa
   2:	84 c0                	test   %al,%al
   4:	0f 85 e5 04 00 00    	jne    0x4ef
   a:	49 8d 86 c8 0b 00 00 	lea    0xbc8(%r14),%rax
  11:	44 0f b6 83 39 02 00 	movzbl 0x239(%rbx),%r8d
  18:	00
  19:	48 ba 00 00 00 00 00 	movabs $0xdffffc0000000000,%rdx
  20:	fc ff df
  23:	48 89 c1             	mov    %rax,%rcx
  26:	48 c1 e9 03          	shr    $0x3,%rcx
* 2a:	80 3c 11 00          	cmpb   $0x0,(%rcx,%rdx,1) <-- trapping instruction
  2e:	0f 85 74 05 00 00    	jne    0x5a8
  34:	49 8b 96 c8 0b 00 00 	mov    0xbc8(%r14),%rdx
  3b:	48                   	rex.W
  3c:	c7                   	.byte 0xc7
  3d:	c1 20 af             	shll   $0xaf,(%rax)

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/08/10 22:19 net-next 29afcd69672a 4df3089c .config console log report info ci-upstream-net-kasan-gce general protection fault in qdisc_alloc
* Struck through repros no longer work on HEAD.