syzbot


WARNING in inet_sock_destruct

Status: upstream: reported C repro on 2020/04/02 03:04
Reported-by: syzbot+aa53e7ab323a68c05267@syzkaller.appspotmail.com
First crash: 1538d, last: 1478d
Fix bisection the fix commit could be any of (bisect log):
  01364dad1d45 Linux 4.14.174
  4139fb08c05f Linux 4.14.187
  
Similar bugs (8)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
android-49 WARNING in inet_sock_destruct C 728 2119d 1894d 0/3 public: reported C repro on 2019/04/12 00:00
android-44 WARNING in inet_sock_destruct 12 2128d 2339d 0/2 auto-closed as invalid on 2019/02/22 12:37
upstream WARNING in inet_sock_destruct (4) net C done 763 8h54m 360d 0/27 upstream: reported C repro on 2023/06/23 14:36
upstream WARNING in inet_sock_destruct (3) net C 87 379d 482d 22/27 fixed on 2023/06/08 14:41
linux-5.15 WARNING in inet_sock_destruct origin:upstream C 48 12d 406d 0/3 upstream: reported C repro on 2023/05/08 19:19
linux-6.1 WARNING in inet_sock_destruct origin:upstream C 56 12d 433d 0/3 upstream: reported C repro on 2023/04/11 23:37
upstream WARNING in inet_sock_destruct (2) net C unreliable unreliable 1259 677d 1308d 0/27 closed as invalid on 2022/10/12 18:26
upstream WARNING in inet_sock_destruct net 5893 2421d 2416d 0/27 closed as invalid on 2018/01/30 22:53
Last patch testing requests (2)
Created Duration User Patch Repo Result
2023/01/19 19:32 14m retest repro linux-4.14.y report log
2022/09/04 10:27 9m retest repro linux-4.14.y report log
Fix bisection attempts (3)
Created Duration User Patch Repo Result
2020/07/01 03:54 29m (2) bisect fix linux-4.14.y job log (2)
2020/06/01 03:29 24m bisect fix linux-4.14.y job log (0) log
2020/05/02 03:03 26m bisect fix linux-4.14.y job log (0) log

Sample crash report:
audit: type=1400 audit(1585796459.071:36): avc:  denied  { map } for  pid=7343 comm="syz-executor015" path="/root/syz-executor015481933" dev="sda1" ino=16483 scontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tcontext=unconfined_u:object_r:user_home_t:s0 tclass=file permissive=1
------------[ cut here ]------------
WARNING: CPU: 0 PID: 0 at net/ipv4/af_inet.c:153 inet_sock_destruct+0x575/0x730 net/ipv4/af_inet.c:153
Kernel panic - not syncing: panic_on_warn set ...

CPU: 0 PID: 0 Comm: swapper/0 Not tainted 4.14.174-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Call Trace:
 <IRQ>
 __dump_stack lib/dump_stack.c:17 [inline]
 dump_stack+0x13e/0x194 lib/dump_stack.c:58
 panic+0x1f9/0x42d kernel/panic.c:183
 __warn.cold+0x2f/0x30 kernel/panic.c:547
 report_bug+0x20a/0x248 lib/bug.c:186
 fixup_bug arch/x86/kernel/traps.c:177 [inline]
 fixup_bug arch/x86/kernel/traps.c:172 [inline]
 do_error_trap+0x195/0x2d0 arch/x86/kernel/traps.c:295
 invalid_op+0x1b/0x40 arch/x86/entry/entry_64.S:963
RIP: 0010:inet_sock_destruct+0x575/0x730 net/ipv4/af_inet.c:153
RSP: 0018:ffff8880aea07d80 EFLAGS: 00010206
RAX: ffffffff87c76240 RBX: ffffffff8877e1a0 RCX: 0000000000000001
RDX: 0000000000000100 RSI: 0000000000000000 RDI: ffff888090388abc
RBP: 0000000000000000 R08: 0000000000000001 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000000 R12: ffff888090388880
R13: ffff8880903889b8 R14: ffff888092694b58 R15: ffff88809af546c0
 l2tp_tunnel_destruct+0x3d7/0x660 net/l2tp/l2tp_core.c:1302
 __sk_destruct+0x49/0x640 net/core/sock.c:1556
 __rcu_reclaim kernel/rcu/rcu.h:195 [inline]
 rcu_do_batch kernel/rcu/tree.c:2699 [inline]
 invoke_rcu_callbacks kernel/rcu/tree.c:2962 [inline]
 __rcu_process_callbacks kernel/rcu/tree.c:2929 [inline]
 rcu_process_callbacks+0x792/0x1190 kernel/rcu/tree.c:2946
 __do_softirq+0x254/0x9bf kernel/softirq.c:288
 invoke_softirq kernel/softirq.c:368 [inline]
 irq_exit+0x15b/0x1a0 kernel/softirq.c:409
 exiting_irq arch/x86/include/asm/apic.h:648 [inline]
 smp_apic_timer_interrupt+0x141/0x5e0 arch/x86/kernel/apic/apic.c:1102
 apic_timer_interrupt+0x8f/0xa0 arch/x86/entry/entry_64.S:792
 </IRQ>
RIP: 0010:native_safe_halt+0xe/0x10 arch/x86/include/asm/irqflags.h:61
RSP: 0018:ffffffff87c07e78 EFLAGS: 00000282 ORIG_RAX: ffffffffffffff10
RAX: 1ffffffff0fa2cd4 RBX: dffffc0000000000 RCX: 0000000000000000
RDX: dffffc0000000000 RSI: 0000000000000001 RDI: ffffffff87c76abc
RBP: ffffffff87d16690 R08: 1ffffffff1124101 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000000 R12: fffffbfff0f8ec48
R13: ffffffff87c76240 R14: 0000000000000000 R15: 0000000000000000
 arch_safe_halt arch/x86/include/asm/paravirt.h:94 [inline]
 default_idle+0x47/0x370 arch/x86/kernel/process.c:566
 cpuidle_idle_call kernel/sched/idle.c:156 [inline]
 do_idle+0x250/0x3c0 kernel/sched/idle.c:246
 cpu_startup_entry+0x14/0x20 kernel/sched/idle.c:351
 start_kernel+0x659/0x676 init/main.c:708
 secondary_startup_64+0xa5/0xb0 arch/x86/kernel/head_64.S:240
Kernel Offset: disabled
Rebooting in 86400 seconds..

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2020/04/02 03:03 linux-4.14.y 01364dad1d45 a34e2c33 .config console log report syz C ci2-linux-4-14
* Struck through repros no longer work on HEAD.