------------[ cut here ]------------
sk->sk_forward_alloc
WARNING: net/ipv4/af_inet.c:162 at inet_sock_destruct+0x653/0x800 net/ipv4/af_inet.c:162, CPU#0: syz.0.49/6020
Modules linked in:
CPU: 0 UID: 0 PID: 6020 Comm: syz.0.49 Not tainted syzkaller #0 PREEMPT(full)
Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
RIP: 0010:inet_sock_destruct+0x653/0x800 net/ipv4/af_inet.c:162
Code: 59 4c ff e9 06 fd ff ff e8 aa f3 ee f7 90 0f 0b 90 e9 35 fe ff ff e8 9c f3 ee f7 90 0f 0b 90 e9 c5 fe ff ff e8 8e f3 ee f7 90 <0f> 0b 90 e9 04 ff ff ff e8 80 f3 ee f7 90 0f 0b 90 e9 65 fe ff ff
RSP: 0018:ffffc90000007db0 EFLAGS: 00010246
RAX: 0000000000000000 RBX: ffff8880350ecc80 RCX: ffffffff8a1a8b97
RDX: ffff8880345f2540 RSI: ffffffff8a1a8c92 RDI: ffff8880345f2540
RBP: 0000000000000090 R08: 0000000000000005 R09: 0000000000000000
R10: 0000000000000090 R11: 0000000000000000 R12: ffff8880350ecc80
R13: ffff8880350ecd10 R14: ffffffff81eebfad R15: 0000000000000000
FS: 0000555565fcd500(0000) GS:ffff8880d60e0000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fbb7dbea540 CR3: 000000002af09000 CR4: 0000000000352ef0
Call Trace:
__sk_destruct+0x85/0xab0 net/core/sock.c:2357
rcu_do_batch kernel/rcu/tree.c:2645 [inline]
rcu_core+0x5a2/0x10d0 kernel/rcu/tree.c:2897
handle_softirqs+0x1ea/0x9b0 kernel/softirq.c:622
do_softirq kernel/softirq.c:523 [inline]
do_softirq+0xac/0xe0 kernel/softirq.c:510
__local_bh_enable_ip+0xf8/0x120 kernel/softirq.c:450
sk_psock_drop+0xd8/0x2d0 net/core/skmsg.c:898
sk_psock_put include/linux/skmsg.h:512 [inline]
sock_map_close+0x2bc/0x8f0 net/core/sock_map.c:1700
inet_release+0xed/0x200 net/ipv4/af_inet.c:442
__sock_release+0xb3/0x260 net/socket.c:710
sock_close+0x1c/0x30 net/socket.c:1501
__fput+0x3ff/0xb50 fs/file_table.c:512
task_work_run+0x150/0x240 kernel/task_work.c:233
resume_user_mode_work include/linux/resume_user_mode.h:50 [inline]
__exit_to_user_mode_loop kernel/entry/common.c:70 [inline]
exit_to_user_mode_loop+0x1d8/0x6f0 kernel/entry/common.c:101
__exit_to_user_mode_prepare include/linux/irq-entry-common.h:207 [inline]
syscall_exit_to_user_mode_prepare include/linux/irq-entry-common.h:230 [inline]
syscall_exit_to_user_mode include/linux/entry-common.h:318 [inline]
do_syscall_64+0x666/0x870 arch/x86/entry/syscall_64.c:100
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7fbb7db9ce59
Code: ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 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 e8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007ffe8f800868 EFLAGS: 00000246 ORIG_RAX: 00000000000001b4
RAX: 0000000000000000 RBX: 00007fbb7de17da0 RCX: 00007fbb7db9ce59
RDX: 0000000000000000 RSI: 000000000000001e RDI: 0000000000000003
RBP: 00007fbb7de17da0 R08: 00007fbb7de16038 R09: 0000000000000000
R10: 000000000003fd7c R11: 0000000000000246 R12: 0000000000011aec
R13: 00007fbb7de1609c R14: 0000000000011813 R15: 00007fbb7de16090