syzbot


BUG: unable to handle kernel paging request in tcf_action_dump_1

Status: upstream: reported C repro on 2022/05/22 03:41
Reported-by: syzbot+092ea3068da39a177885@syzkaller.appspotmail.com
First crash: 677d, last: 677d
Fix bisection: failed (error log, bisect log)
  

Sample crash report:
BUG: unable to handle kernel paging request at fffffffffffffff0
PGD 9e6e067 P4D 9e6e067 PUD 9e70067 PMD 0 
Oops: 0000 [#1] PREEMPT SMP KASAN
CPU: 0 PID: 8107 Comm: syz-executor299 Not tainted 4.19.211-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:tcf_action_dump_1+0x95/0x6e0 net/sched/act_api.c:708
Code: 0f 8e 73 05 00 00 8b b5 c8 00 00 00 4c 89 e2 48 b8 00 00 00 00 00 fc ff df 48 c1 ea 03 48 01 f3 80 3c 02 00 0f 85 c4 05 00 00 <49> 8b 04 24 4c 8d 78 10 4c 89 ff e8 1b 9b 63 01 4c 89 f9 be 01 00
RSP: 0018:ffff88809511f490 EFLAGS: 00010246
RAX: dffffc0000000000 RBX: ffff8880b0f92d64 RCX: 0000000000000000
RDX: 1ffffffffffffffe RSI: 0000000000000024 RDI: ffff8880a32d6700
RBP: ffff8880a32d6700 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000005 R11: 0000000000000000 R12: fffffffffffffff0
R13: ffff8880a32d67c8 R14: ffff8880a32d67d0 R15: 0000000000000000
FS:  00007fd2030d5700(0000) GS:ffff8880ba000000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: fffffffffffffff0 CR3: 00000000aaf77000 CR4: 00000000003406f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 tcf_dump_walker net/sched/act_api.c:221 [inline]
 tcf_generic_walker+0x1ff/0xa20 net/sched/act_api.c:294
 tc_dump_action+0x6b0/0xdb0 net/sched/act_api.c:1476
 netlink_dump+0x3cf/0xc10 net/netlink/af_netlink.c:2242
 __netlink_dump_start+0x4e9/0x6f0 net/netlink/af_netlink.c:2338
 netlink_dump_start include/linux/netlink.h:213 [inline]
 rtnetlink_rcv_msg+0x71e/0xb80 net/core/rtnetlink.c:4745
 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:0x7fd203123da9
Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 11 15 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 b8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007fd2030d5318 EFLAGS: 00000246 ORIG_RAX: 000000000000002e
RAX: ffffffffffffffda RBX: 00007fd2031ab408 RCX: 00007fd203123da9
RDX: 0000000000000000 RSI: 0000000020000100 RDI: 0000000000000003
RBP: 00007fd2031ab400 R08: 000000000000002c R09: 0000000000000000
R10: 0000000000000001 R11: 0000000000000246 R12: 00007fd2031ab40c
R13: 00007ffea7a4680f R14: 00007fd2030d5400 R15: 0000000000022000
Modules linked in:
CR2: fffffffffffffff0
---[ end trace 21cd12ff0dbf5402 ]---
RIP: 0010:tcf_action_dump_1+0x95/0x6e0 net/sched/act_api.c:708
Code: 0f 8e 73 05 00 00 8b b5 c8 00 00 00 4c 89 e2 48 b8 00 00 00 00 00 fc ff df 48 c1 ea 03 48 01 f3 80 3c 02 00 0f 85 c4 05 00 00 <49> 8b 04 24 4c 8d 78 10 4c 89 ff e8 1b 9b 63 01 4c 89 f9 be 01 00
RSP: 0018:ffff88809511f490 EFLAGS: 00010246
RAX: dffffc0000000000 RBX: ffff8880b0f92d64 RCX: 0000000000000000
RDX: 1ffffffffffffffe RSI: 0000000000000024 RDI: ffff8880a32d6700
RBP: ffff8880a32d6700 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000005 R11: 0000000000000000 R12: fffffffffffffff0
R13: ffff8880a32d67c8 R14: ffff8880a32d67d0 R15: 0000000000000000
FS:  00007fd2030d5700(0000) GS:ffff8880ba000000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: fffffffffffffff0 CR3: 00000000aaf77000 CR4: 00000000003406f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
----------------
Code disassembly (best guess):
   0:	0f 8e 73 05 00 00    	jle    0x579
   6:	8b b5 c8 00 00 00    	mov    0xc8(%rbp),%esi
   c:	4c 89 e2             	mov    %r12,%rdx
   f:	48 b8 00 00 00 00 00 	movabs $0xdffffc0000000000,%rax
  16:	fc ff df
  19:	48 c1 ea 03          	shr    $0x3,%rdx
  1d:	48 01 f3             	add    %rsi,%rbx
  20:	80 3c 02 00          	cmpb   $0x0,(%rdx,%rax,1)
  24:	0f 85 c4 05 00 00    	jne    0x5ee
* 2a:	49 8b 04 24          	mov    (%r12),%rax <-- trapping instruction
  2e:	4c 8d 78 10          	lea    0x10(%rax),%r15
  32:	4c 89 ff             	mov    %r15,%rdi
  35:	e8 1b 9b 63 01       	callq  0x1639b55
  3a:	4c 89 f9             	mov    %r15,%rcx
  3d:	be                   	.byte 0xbe
  3e:	01 00                	add    %eax,(%rax)

Crashes (2):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2022/05/22 03:55 linux-4.19.y 3f8a27f9e27b 7268fa62 .config console log report syz C ci2-linux-4-19 BUG: unable to handle kernel paging request in tcf_action_dump_1
2022/05/22 03:40 linux-4.19.y 3f8a27f9e27b 7268fa62 .config console log report info ci2-linux-4-19 BUG: unable to handle kernel paging request in tcf_action_dump_1
* Struck through repros no longer work on HEAD.