syzbot


general protection fault in arp_create (3)

Status: upstream: reported on 2025/02/10 18:11
Subsystems: net
[Documentation on labels]
Reported-by: syzbot+3b1dd14b3a62374e75c7@syzkaller.appspotmail.com
First crash: 68d, last: 13d
Discussions (1)
Title Replies (including bot) Last reply
[syzbot] [net?] general protection fault in arp_create (3) 0 (1) 2025/02/10 18:11
Similar bugs (4)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream general protection fault in arp_create (2) net 1 119d 119d 0/28 closed as invalid on 2025/01/02 16:12
linux-5.15 general protection fault in arp_create 1 191d 191d 0/3 auto-obsoleted due to no activity on 2024/12/27 05:27
linux-6.1 general protection fault in arp_create 1 94d 94d 0/3 upstream: reported on 2024/12/23 22:52
upstream general protection fault in arp_create net 3 251d 339d 0/28 auto-obsoleted due to no activity on 2024/10/17 18:02

Sample crash report:
Oops: general protection fault, probably for non-canonical address 0xdffffc0000000016: 0000 [#1] PREEMPT SMP KASAN PTI
KASAN: null-ptr-deref in range [0x00000000000000b0-0x00000000000000b7]
CPU: 1 UID: 0 PID: 3474 Comm: kworker/u8:8 Not tainted 6.14.0-rc6-syzkaller-00202-ga29967be967e #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025
Workqueue: bat_events batadv_bla_periodic_work
RIP: 0010:arp_create+0xe2/0xa60 net/ipv4/arp.c:554
Code: 48 c1 e8 03 42 0f b6 04 28 84 c0 0f 85 7b 06 00 00 8b 44 24 30 89 84 24 90 00 00 00 49 8d bf b4 00 00 00 48 89 f8 48 c1 e8 03 <42> 0f b6 04 28 84 c0 0f 85 73 06 00 00 45 0f b7 a7 b4 00 00 00 49
RSP: 0018:ffffc9000cc377c0 EFLAGS: 00010203
RAX: 0000000000000016 RBX: 0000000000000000 RCX: 000000000cc37803
RDX: 0000000000000000 RSI: 0000000000000806 RDI: 00000000000000b4
RBP: ffffc9000cc378c0 R08: 0000000000000000 R09: 0000000000000000
R10: dffffc0000000000 R11: fffff52001986f2c R12: ffffc9000cc37850
R13: dffffc0000000000 R14: ffffc9000cc37840 R15: 0000000000000000
FS:  0000000000000000(0000) GS:ffff8880b8700000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f55e139ba28 CR3: 0000000053d7a000 CR4: 00000000003526f0
DR0: 000000000000000e DR1: 000000000000000c DR2: 000000000000000e
DR3: 00000000000000b4 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 batadv_bla_send_claim+0x176/0xf00 net/batman-adv/bridge_loop_avoidance.c:361
 batadv_bla_send_announce net/batman-adv/bridge_loop_avoidance.c:675 [inline]
 batadv_bla_periodic_work+0x5f0/0xaf0 net/batman-adv/bridge_loop_avoidance.c:1481
 process_one_work kernel/workqueue.c:3238 [inline]
 process_scheduled_works+0xabe/0x18e0 kernel/workqueue.c:3319
 worker_thread+0x870/0xd30 kernel/workqueue.c:3400
 kthread+0x7a9/0x920 kernel/kthread.c:464
 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:148
 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244
 </TASK>
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:arp_create+0xe2/0xa60 net/ipv4/arp.c:554
Code: 48 c1 e8 03 42 0f b6 04 28 84 c0 0f 85 7b 06 00 00 8b 44 24 30 89 84 24 90 00 00 00 49 8d bf b4 00 00 00 48 89 f8 48 c1 e8 03 <42> 0f b6 04 28 84 c0 0f 85 73 06 00 00 45 0f b7 a7 b4 00 00 00 49
RSP: 0018:ffffc9000cc377c0 EFLAGS: 00010203
RAX: 0000000000000016 RBX: 0000000000000000 RCX: 000000000cc37803
RDX: 0000000000000000 RSI: 0000000000000806 RDI: 00000000000000b4
RBP: ffffc9000cc378c0 R08: 0000000000000000 R09: 0000000000000000
R10: dffffc0000000000 R11: fffff52001986f2c R12: ffffc9000cc37850
R13: dffffc0000000000 R14: ffffc9000cc37840 R15: 0000000000000000
FS:  0000000000000000(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000055825f0e7708 CR3: 0000000035720000 CR4: 00000000003526f0
DR0: 000000000000000e DR1: 000000000000000c DR2: 000000000000000e
DR3: 00000000000000b4 DR6: 00000000fffe0ff0 DR7: 0000000000000400
----------------
Code disassembly (best guess):
   0:	48 c1 e8 03          	shr    $0x3,%rax
   4:	42 0f b6 04 28       	movzbl (%rax,%r13,1),%eax
   9:	84 c0                	test   %al,%al
   b:	0f 85 7b 06 00 00    	jne    0x68c
  11:	8b 44 24 30          	mov    0x30(%rsp),%eax
  15:	89 84 24 90 00 00 00 	mov    %eax,0x90(%rsp)
  1c:	49 8d bf b4 00 00 00 	lea    0xb4(%r15),%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 73 06 00 00    	jne    0x6aa
  37:	45 0f b7 a7 b4 00 00 	movzwl 0xb4(%r15),%r12d
  3e:	00
  3f:	49                   	rex.WB

Crashes (4):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2025/03/15 14:12 upstream a29967be967e e2826670 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce general protection fault in arp_create
2025/02/08 10:07 upstream 7ee983c850b4 ef44b750 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs general protection fault in arp_create
2025/02/23 04:16 bpf-next 63817c771194 d34966d1 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-bpf-next-kasan-gce general protection fault in arp_create
2025/01/18 16:05 bpf-next 01f3ce5328c4 f2cb035c .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-bpf-next-kasan-gce general protection fault in arp_create
* Struck through repros no longer work on HEAD.