syzbot


general protection fault in hash_net4_gc_do

Status: auto-obsoleted due to no activity on 2024/05/06 16:13
Subsystems: kernel
[Documentation on labels]
Reported-by: syzbot+34ba8c67687fbf0b88f7@syzkaller.appspotmail.com
First crash: 276d, last: 276d

Sample crash report:
general protection fault, probably for non-canonical address 0xdffffc0000000003: 0000 [#1] PREEMPT SMP KASAN PTI
KASAN: null-ptr-deref in range [0x0000000000000018-0x000000000000001f]
CPU: 0 PID: 31539 Comm: kworker/0:1 Not tainted 6.8.0-rc3-syzkaller-00005-g99bd3cb0d12e #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/25/2024
Workqueue: events_power_efficient hash_net4_gc
RIP: 0010:__lock_acquire+0xe5b/0x3b40 kernel/locking/lockdep.c:5005
Code: 11 00 00 39 05 66 63 d6 11 0f 82 c7 05 00 00 ba 01 00 00 00 e9 e4 00 00 00 48 b8 00 00 00 00 00 fc ff df 4c 89 ea 48 c1 ea 03 <80> 3c 02 00 0f 85 30 1f 00 00 49 81 7d 00 e0 da 97 92 0f 84 7c f2
RSP: 0018:ffffc9000534f928 EFLAGS: 00010006
RAX: dffffc0000000000 RBX: 0000000000000000 RCX: 0000000000000000
RDX: 0000000000000003 RSI: ffff88802ebe9dc0 RDI: 0000000000000018
RBP: 0000000000000000 R08: 0000000000000001 R09: 0000000000000000
R10: ffffffff8f9d49d7 R11: ffffffff93421cf8 R12: 0000000000000000
R13: 0000000000000018 R14: 0000000000000000 R15: 0000000000000001
FS:  0000000000000000(0000) GS:ffff8880b9400000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000001b30753000 CR3: 000000000d57a000 CR4: 00000000003506f0
Call Trace:
 <TASK>
 lock_acquire kernel/locking/lockdep.c:5754 [inline]
 lock_acquire+0x1ae/0x520 kernel/locking/lockdep.c:5719
 __raw_spin_lock_bh include/linux/spinlock_api_smp.h:126 [inline]
 _raw_spin_lock_bh+0x33/0x40 kernel/locking/spinlock.c:178
 spin_lock_bh include/linux/spinlock.h:356 [inline]
 hash_net4_gc_do+0x116/0xb90 net/netfilter/ipset/ip_set_hash_gen.h:495
 hash_net4_gc+0x260/0x470 net/netfilter/ipset/ip_set_hash_gen.h:583
 process_one_work+0x889/0x15e0 kernel/workqueue.c:2633
 process_scheduled_works kernel/workqueue.c:2706 [inline]
 worker_thread+0x8b9/0x12a0 kernel/workqueue.c:2787
 kthread+0x2c6/0x3b0 kernel/kthread.c:388
 ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:147
 ret_from_fork_asm+0x1b/0x30 arch/x86/entry/entry_64.S:242
 </TASK>
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:__lock_acquire+0xe5b/0x3b40 kernel/locking/lockdep.c:5005
Code: 11 00 00 39 05 66 63 d6 11 0f 82 c7 05 00 00 ba 01 00 00 00 e9 e4 00 00 00 48 b8 00 00 00 00 00 fc ff df 4c 89 ea 48 c1 ea 03 <80> 3c 02 00 0f 85 30 1f 00 00 49 81 7d 00 e0 da 97 92 0f 84 7c f2
RSP: 0018:ffffc9000534f928 EFLAGS: 00010006
RAX: dffffc0000000000 RBX: 0000000000000000 RCX: 0000000000000000
RDX: 0000000000000003 RSI: ffff88802ebe9dc0 RDI: 0000000000000018
RBP: 0000000000000000 R08: 0000000000000001 R09: 0000000000000000
R10: ffffffff8f9d49d7 R11: ffffffff93421cf8 R12: 0000000000000000
R13: 0000000000000018 R14: 0000000000000000 R15: 0000000000000001
FS:  0000000000000000(0000) GS:ffff8880b9400000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000001b30753000 CR3: 000000000d57a000 CR4: 00000000003506f0
----------------
Code disassembly (best guess):
   0:	11 00                	adc    %eax,(%rax)
   2:	00 39                	add    %bh,(%rcx)
   4:	05 66 63 d6 11       	add    $0x11d66366,%eax
   9:	0f 82 c7 05 00 00    	jb     0x5d6
   f:	ba 01 00 00 00       	mov    $0x1,%edx
  14:	e9 e4 00 00 00       	jmp    0xfd
  19:	48 b8 00 00 00 00 00 	movabs $0xdffffc0000000000,%rax
  20:	fc ff df
  23:	4c 89 ea             	mov    %r13,%rdx
  26:	48 c1 ea 03          	shr    $0x3,%rdx
* 2a:	80 3c 02 00          	cmpb   $0x0,(%rdx,%rax,1) <-- trapping instruction
  2e:	0f 85 30 1f 00 00    	jne    0x1f64
  34:	49 81 7d 00 e0 da 97 	cmpq   $0xffffffff9297dae0,0x0(%r13)
  3b:	92
  3c:	0f                   	.byte 0xf
  3d:	84                   	.byte 0x84
  3e:	7c f2                	jl     0x32

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/02/06 16:12 upstream 99bd3cb0d12e 6404acf9 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-selinux-root general protection fault in hash_net4_gc_do
* Struck through repros no longer work on HEAD.