syzbot


general protection fault in fl_change

Status: auto-obsoleted due to no activity on 2023/07/06 18:03
Subsystems: net
[Documentation on labels]
First crash: 669d, last: 669d

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: 18016 Comm: syz-executor.1 Not tainted 6.3.0-rc4-syzkaller-00039-gffe78bbd5121 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/02/2023
RIP: 0010:list_replace_rcu include/linux/rculist.h:202 [inline]
RIP: 0010:fl_change+0x1e9d/0x4ac0 net/sched/cls_flower.c:2301
Code: 02 00 0f 85 8b 27 00 00 4d 89 a7 48 04 00 00 49 8b 87 48 04 00 00 48 89 c2 49 89 c4 48 b8 00 00 00 00 00 fc ff df 48 c1 ea 03 <80> 3c 02 00 0f 85 da 27 00 00 49 89 1c 24 49 8b 87 40 04 00 00 48
RSP: 0018:ffffc900172d71e0 EFLAGS: 00010246
RAX: dffffc0000000000 RBX: ffff88802ef70440 RCX: 0000000000000000
RDX: 0000000000000000 RSI: ffffffff89eeeaa2 RDI: ffff88802ef70448
RBP: ffffc900172d73e0 R08: 0000000000000001 R09: 0000000000000001
R10: 0000000000000001 R11: 0000000000000000 R12: 0000000000000000
R13: ffff888043437008 R14: 0000000000000000 R15: ffff88802ef70000
FS:  0000000000000000(0000) GS:ffff8880b9900000(0063) knlGS:00000000f7fc9b40
CS:  0010 DS: 002b ES: 002b CR0: 0000000080050033
CR2: 00007f3b82041300 CR3: 000000016fb91000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 tc_new_tfilter+0x97c/0x2290 net/sched/cls_api.c:2310
 rtnetlink_rcv_msg+0x996/0xd50 net/core/rtnetlink.c:6165
 netlink_rcv_skb+0x165/0x440 net/netlink/af_netlink.c:2574
 netlink_unicast_kernel net/netlink/af_netlink.c:1339 [inline]
 netlink_unicast+0x547/0x7f0 net/netlink/af_netlink.c:1365
 netlink_sendmsg+0x925/0xe30 net/netlink/af_netlink.c:1942
 sock_sendmsg_nosec net/socket.c:724 [inline]
 sock_sendmsg+0xde/0x190 net/socket.c:747
 ____sys_sendmsg+0x71c/0x900 net/socket.c:2501
 ___sys_sendmsg+0x110/0x1b0 net/socket.c:2555
 __sys_sendmsg+0xf7/0x1c0 net/socket.c:2584
 do_syscall_32_irqs_on arch/x86/entry/common.c:112 [inline]
 __do_fast_syscall_32+0x65/0xf0 arch/x86/entry/common.c:178
 do_fast_syscall_32+0x33/0x70 arch/x86/entry/common.c:203
 entry_SYSENTER_compat_after_hwframe+0x70/0x82
RIP: 0023:0xf7fef579
Code: b8 01 10 06 03 74 b4 01 10 07 03 74 b0 01 10 08 03 74 d8 01 00 00 00 00 00 00 00 00 00 00 00 00 00 51 52 55 89 e5 0f 34 cd 80 <5d> 5a 59 c3 90 90 90 90 8d b4 26 00 00 00 00 8d b4 26 00 00 00 00
RSP: 002b:00000000f7fc95cc EFLAGS: 00000296 ORIG_RAX: 0000000000000172
RAX: ffffffffffffffda RBX: 0000000000000006 RCX: 0000000020000140
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000296 R12: 0000000000000000
R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000
 </TASK>
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:list_replace_rcu include/linux/rculist.h:202 [inline]
RIP: 0010:fl_change+0x1e9d/0x4ac0 net/sched/cls_flower.c:2301
Code: 02 00 0f 85 8b 27 00 00 4d 89 a7 48 04 00 00 49 8b 87 48 04 00 00 48 89 c2 49 89 c4 48 b8 00 00 00 00 00 fc ff df 48 c1 ea 03 <80> 3c 02 00 0f 85 da 27 00 00 49 89 1c 24 49 8b 87 40 04 00 00 48
RSP: 0018:ffffc900172d71e0 EFLAGS: 00010246
RAX: dffffc0000000000 RBX: ffff88802ef70440 RCX: 0000000000000000
RDX: 0000000000000000 RSI: ffffffff89eeeaa2 RDI: ffff88802ef70448
RBP: ffffc900172d73e0 R08: 0000000000000001 R09: 0000000000000001
R10: 0000000000000001 R11: 0000000000000000 R12: 0000000000000000
R13: ffff888043437008 R14: 0000000000000000 R15: ffff88802ef70000
FS:  0000000000000000(0000) GS:ffff8880b9900000(0063) knlGS:00000000f7fc9b40
CS:  0010 DS: 002b ES: 002b CR0: 0000000080050033
CR2: 00007f3b82041300 CR3: 000000016fb91000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
----------------
Code disassembly (best guess):
   0:	02 00                	add    (%rax),%al
   2:	0f 85 8b 27 00 00    	jne    0x2793
   8:	4d 89 a7 48 04 00 00 	mov    %r12,0x448(%r15)
   f:	49 8b 87 48 04 00 00 	mov    0x448(%r15),%rax
  16:	48 89 c2             	mov    %rax,%rdx
  19:	49 89 c4             	mov    %rax,%r12
  1c:	48 b8 00 00 00 00 00 	movabs $0xdffffc0000000000,%rax
  23:	fc ff df
  26:	48 c1 ea 03          	shr    $0x3,%rdx
* 2a:	80 3c 02 00          	cmpb   $0x0,(%rdx,%rax,1) <-- trapping instruction
  2e:	0f 85 da 27 00 00    	jne    0x280e
  34:	49 89 1c 24          	mov    %rbx,(%r12)
  38:	49 8b 87 40 04 00 00 	mov    0x440(%r15),%rax
  3f:	48                   	rex.W

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/03/30 16:42 upstream ffe78bbd5121 f325deb0 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-386 general protection fault in fl_change
* Struck through repros no longer work on HEAD.