syzbot


general protection fault in put_page

Status: auto-obsoleted due to no activity on 2022/10/12 21:11
Subsystems: net
[Documentation on labels]
First crash: 650d, last: 650d

Sample crash report:
netlink: 'syz-executor.4': attribute type 1 has an invalid length.
device bond1 entered promiscuous mode
8021q: adding VLAN 0 to HW filter on device bond1
general protection fault, probably for non-canonical address 0xdffffc0000000001: 0000 [#1] PREEMPT SMP KASAN
KASAN: null-ptr-deref in range [0x0000000000000008-0x000000000000000f]
CPU: 1 PID: 30161 Comm: syz-executor.4 Not tainted 5.19.0-rc6-syzkaller-00115-g4a57a8400075 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/29/2022
RIP: 0010:_compound_head include/linux/page-flags.h:272 [inline]
RIP: 0010:put_page+0x23/0x230 include/linux/mm.h:1225
Code: 84 00 00 00 00 00 90 55 41 57 41 56 53 49 89 fe 48 bd 00 00 00 00 00 fc ff df e8 c8 5d 5c f9 49 8d 5e 08 48 89 d8 48 c1 e8 03 <80> 3c 28 00 74 08 48 89 df e8 bf 16 af f9 48 8b 1b 48 89 de 48 83
RSP: 0018:ffffc9000452f4e8 EFLAGS: 00010202
RAX: 0000000000000001 RBX: 0000000000000008 RCX: 0000000000040000
RDX: ffffc9000a332000 RSI: 0000000000000109 RDI: 000000000000010a
RBP: dffffc0000000000 R08: ffffffff882adb4c R09: ffffed100f1b444f
R10: ffffed100f1b444f R11: 1ffff1100f1b444e R12: 1ffff110038e3a18
R13: ffff88801c71d0f0 R14: 0000000000000000 R15: ffff8880754e3cfe
FS:  00007efdb5120700(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000001b2f125000 CR3: 000000003ffde000 CR4: 00000000003526e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 __skb_frag_unref include/linux/skbuff.h:3487 [inline]
 skb_release_data+0x395/0x730 net/core/skbuff.c:672
 skb_release_all net/core/skbuff.c:742 [inline]
 __kfree_skb+0x56/0x1d0 net/core/skbuff.c:756
 kfree_skb_reason net/core/skbuff.c:778 [inline]
 kfree_skb_list_reason+0xbc/0x130 net/core/skbuff.c:788
 __dev_xmit_skb net/core/dev.c:3886 [inline]
 __dev_queue_xmit+0x22cc/0x38d0 net/core/dev.c:4221
 packet_snd net/packet/af_packet.c:3073 [inline]
 packet_sendmsg+0x326f/0x4d40 net/packet/af_packet.c:3104
 sock_sendmsg_nosec net/socket.c:714 [inline]
 sock_sendmsg net/socket.c:734 [inline]
 ____sys_sendmsg+0x597/0x8e0 net/socket.c:2488
 ___sys_sendmsg net/socket.c:2542 [inline]
 __sys_sendmsg+0x301/0x8a0 net/socket.c:2571
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x2b/0x70 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x7efdb4089109
Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 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 b8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007efdb5120168 EFLAGS: 00000246 ORIG_RAX: 000000000000002e
RAX: ffffffffffffffda RBX: 00007efdb419bf60 RCX: 00007efdb4089109
RDX: 0000000000000000 RSI: 0000000020000300 RDI: 0000000000000003
RBP: 00007efdb40e30ed R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007ffce342f9af R14: 00007efdb5120300 R15: 0000000000022000
 </TASK>
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:_compound_head include/linux/page-flags.h:272 [inline]
RIP: 0010:put_page+0x23/0x230 include/linux/mm.h:1225
Code: 84 00 00 00 00 00 90 55 41 57 41 56 53 49 89 fe 48 bd 00 00 00 00 00 fc ff df e8 c8 5d 5c f9 49 8d 5e 08 48 89 d8 48 c1 e8 03 <80> 3c 28 00 74 08 48 89 df e8 bf 16 af f9 48 8b 1b 48 89 de 48 83
RSP: 0018:ffffc9000452f4e8 EFLAGS: 00010202
RAX: 0000000000000001 RBX: 0000000000000008 RCX: 0000000000040000
RDX: ffffc9000a332000 RSI: 0000000000000109 RDI: 000000000000010a
RBP: dffffc0000000000 R08: ffffffff882adb4c R09: ffffed100f1b444f
R10: ffffed100f1b444f R11: 1ffff1100f1b444e R12: 1ffff110038e3a18
R13: ffff88801c71d0f0 R14: 0000000000000000 R15: ffff8880754e3cfe
FS:  00007efdb5120700(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000001b2f125000 CR3: 000000003ffde000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
----------------
Code disassembly (best guess):
   0:	84 00                	test   %al,(%rax)
   2:	00 00                	add    %al,(%rax)
   4:	00 00                	add    %al,(%rax)
   6:	90                   	nop
   7:	55                   	push   %rbp
   8:	41 57                	push   %r15
   a:	41 56                	push   %r14
   c:	53                   	push   %rbx
   d:	49 89 fe             	mov    %rdi,%r14
  10:	48 bd 00 00 00 00 00 	movabs $0xdffffc0000000000,%rbp
  17:	fc ff df
  1a:	e8 c8 5d 5c f9       	callq  0xf95c5de7
  1f:	49 8d 5e 08          	lea    0x8(%r14),%rbx
  23:	48 89 d8             	mov    %rbx,%rax
  26:	48 c1 e8 03          	shr    $0x3,%rax
* 2a:	80 3c 28 00          	cmpb   $0x0,(%rax,%rbp,1) <-- trapping instruction
  2e:	74 08                	je     0x38
  30:	48 89 df             	mov    %rbx,%rdi
  33:	e8 bf 16 af f9       	callq  0xf9af16f7
  38:	48 8b 1b             	mov    (%rbx),%rbx
  3b:	48 89 de             	mov    %rbx,%rsi
  3e:	48                   	rex.W
  3f:	83                   	.byte 0x83

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2022/07/14 21:10 upstream 4a57a8400075 5d921b08 .config console log report info ci-upstream-kasan-gce-smack-root general protection fault in put_page
* Struck through repros no longer work on HEAD.