syzbot


general protection fault in arp_create

Status: upstream: reported on 2024/09/18 05:27
Reported-by: syzbot+ed5946146a8f051bc957@syzkaller.appspotmail.com
First crash: 22d, last: 22d
Similar bugs (1)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream general protection fault in arp_create net 3 83d 171d 0/28 moderation: reported on 2024/04/22 16:07

Sample crash report:
general protection fault, probably for non-canonical address 0xdffffc000000001a: 0000 [#1] PREEMPT SMP KASAN
KASAN: null-ptr-deref in range [0x00000000000000d0-0x00000000000000d7]
CPU: 0 PID: 5173 Comm: kworker/u4:16 Not tainted 5.15.167-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/06/2024
Workqueue: bat_events batadv_bla_periodic_work
RIP: 0010:arp_create+0x42/0x920 net/ipv4/arp.c:532
Code: 49 89 ce 89 54 24 3c 89 74 24 30 89 fb 49 bd 00 00 00 00 00 fc ff df e8 2c 5a 9c f8 49 8d be d6 00 00 00 48 89 f8 48 c1 e8 03 <42> 0f b6 04 28 84 c0 0f 85 ed 05 00 00 45 0f b7 a6 d6 00 00 00 49
RSP: 0018:ffffc900032279b0 EFLAGS: 00010203
RAX: 000000000000001a RBX: 0000000000000002 RCX: ffff88805ee01dc0
RDX: 0000000000000000 RSI: 0000000000000806 RDI: 00000000000000d6
RBP: ffffc90003227b30 R08: 0000000000000000 R09: 0000000000000000
R10: ffffffffffffffff R11: dffffc0000000001 R12: 0000000000000002
R13: dffffc0000000000 R14: 0000000000000000 R15: dffffc0000000000
FS:  0000000000000000(0000) GS:ffff8880b9000000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fd044889000 CR3: 000000002008a000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 batadv_bla_send_claim+0x163/0xe30 net/batman-adv/bridge_loop_avoidance.c:360
 batadv_bla_send_announce net/batman-adv/bridge_loop_avoidance.c:674 [inline]
 batadv_bla_periodic_work+0x5b6/0xac0 net/batman-adv/bridge_loop_avoidance.c:1480
 process_one_work+0x8a1/0x10c0 kernel/workqueue.c:2310
 worker_thread+0xaca/0x1280 kernel/workqueue.c:2457
 kthread+0x3f6/0x4f0 kernel/kthread.c:334
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:287
 </TASK>
Modules linked in:
---[ end trace 76dacace68b559bb ]---
RIP: 0010:arp_create+0x42/0x920 net/ipv4/arp.c:532
Code: 49 89 ce 89 54 24 3c 89 74 24 30 89 fb 49 bd 00 00 00 00 00 fc ff df e8 2c 5a 9c f8 49 8d be d6 00 00 00 48 89 f8 48 c1 e8 03 <42> 0f b6 04 28 84 c0 0f 85 ed 05 00 00 45 0f b7 a6 d6 00 00 00 49
RSP: 0018:ffffc900032279b0 EFLAGS: 00010203
RAX: 000000000000001a RBX: 0000000000000002 RCX: ffff88805ee01dc0
RDX: 0000000000000000 RSI: 0000000000000806 RDI: 00000000000000d6
RBP: ffffc90003227b30 R08: 0000000000000000 R09: 0000000000000000
R10: ffffffffffffffff R11: dffffc0000000001 R12: 0000000000000002
R13: dffffc0000000000 R14: 0000000000000000 R15: dffffc0000000000
FS:  0000000000000000(0000) GS:ffff8880b9100000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007ffde176bff8 CR3: 0000000073c8e000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
----------------
Code disassembly (best guess):
   0:	49 89 ce             	mov    %rcx,%r14
   3:	89 54 24 3c          	mov    %edx,0x3c(%rsp)
   7:	89 74 24 30          	mov    %esi,0x30(%rsp)
   b:	89 fb                	mov    %edi,%ebx
   d:	49 bd 00 00 00 00 00 	movabs $0xdffffc0000000000,%r13
  14:	fc ff df
  17:	e8 2c 5a 9c f8       	call   0xf89c5a48
  1c:	49 8d be d6 00 00 00 	lea    0xd6(%r14),%rdi
  23:	48 89 f8             	mov    %rdi,%rax
  26:	48 c1 e8 03          	shr    $0x3,%rax
* 2a:	42 0f b6 04 28       	movzbl (%rax,%r13,1),%eax <-- trapping instruction
  2f:	84 c0                	test   %al,%al
  31:	0f 85 ed 05 00 00    	jne    0x624
  37:	45 0f b7 a6 d6 00 00 	movzwl 0xd6(%r14),%r12d
  3e:	00
  3f:	49                   	rex.WB

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/09/18 05:27 linux-5.15.y 3a5928702e71 c673ca06 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan general protection fault in arp_create
* Struck through repros no longer work on HEAD.