kfree_skb include/linux/skbuff.h:1218 [inline] __skb_queue_purge include/linux/skbuff.h:3112 [inline] inet_sock_destruct+0x10f/0x890 net/ipv4/af_inet.c:136 __sk_destruct+0x4d/0x750 net/core/sock.c:2133 rcu_do_batch kernel/rcu/tree.c:2246 [inline] rcu_core+0x81f/0x1980 kernel/rcu/tree.c:2506 __do_softirq+0x1fb/0xadc kernel/softirq.c:571 ------------[ cut here ]------------ kernel BUG at include/linux/mm.h:760! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 0 PID: 15 Comm: ksoftirqd/0 Not tainted 6.1.0-syzkaller-11778-gc183e6c3ec34 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 RIP: 0010:put_page_testzero include/linux/mm.h:760 [inline] RIP: 0010:folio_put_testzero include/linux/mm.h:766 [inline] RIP: 0010:folio_put include/linux/mm.h:1249 [inline] RIP: 0010:put_page include/linux/mm.h:1319 [inline] RIP: 0010:__skb_frag_unref include/linux/skbuff.h:3388 [inline] RIP: 0010:skb_release_data+0x73c/0x870 net/core/skbuff.c:845 Code: fd ff ff e8 06 45 bf f9 48 8b 6c 24 10 48 83 ed 01 e9 62 fd ff ff e8 f3 44 bf f9 48 c7 c6 20 e0 5a 8b 48 89 ef e8 44 ef f6 f9 <0f> 0b 4c 89 e7 e8 da 45 0d fa e9 29 f9 ff ff 48 8b 7c 24 08 e8 2b RSP: 0018:ffffc90000147c20 EFLAGS: 00010246 RAX: 0000000000000000 RBX: ffff8880283ba140 RCX: 0000000000000100 RDX: ffff88813fe33a80 RSI: ffffffff87c20cfc RDI: 0000000000000000 RBP: ffffea0001e34800 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000001 R12: ffffea0001e34834 R13: ffff888047ae8100 R14: 0000000000000001 R15: dffffc0000000000 FS: 0000000000000000(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000c00d07b180 CR3: 00000000497c9000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: skb_release_all net/core/skbuff.c:916 [inline] __kfree_skb net/core/skbuff.c:930 [inline] kfree_skb_reason+0x1ab/0x4f0 net/core/skbuff.c:956 kfree_skb include/linux/skbuff.h:1218 [inline] __skb_queue_purge include/linux/skbuff.h:3112 [inline] inet_sock_destruct+0x235/0x890 net/ipv4/af_inet.c:137 __sk_destruct+0x4d/0x750 net/core/sock.c:2133 rcu_do_batch kernel/rcu/tree.c:2246 [inline] rcu_core+0x81f/0x1980 kernel/rcu/tree.c:2506 __do_softirq+0x1fb/0xadc kernel/softirq.c:571 run_ksoftirqd kernel/softirq.c:934 [inline] run_ksoftirqd+0x31/0x60 kernel/softirq.c:926 smpboot_thread_fn+0x659/0xa20 kernel/smpboot.c:164 kthread+0x2e8/0x3a0 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:put_page_testzero include/linux/mm.h:760 [inline] RIP: 0010:folio_put_testzero include/linux/mm.h:766 [inline] RIP: 0010:folio_put include/linux/mm.h:1249 [inline] RIP: 0010:put_page include/linux/mm.h:1319 [inline] RIP: 0010:__skb_frag_unref include/linux/skbuff.h:3388 [inline] RIP: 0010:skb_release_data+0x73c/0x870 net/core/skbuff.c:845 Code: fd ff ff e8 06 45 bf f9 48 8b 6c 24 10 48 83 ed 01 e9 62 fd ff ff e8 f3 44 bf f9 48 c7 c6 20 e0 5a 8b 48 89 ef e8 44 ef f6 f9 <0f> 0b 4c 89 e7 e8 da 45 0d fa e9 29 f9 ff ff 48 8b 7c 24 08 e8 2b RSP: 0018:ffffc90000147c20 EFLAGS: 00010246 RAX: 0000000000000000 RBX: ffff8880283ba140 RCX: 0000000000000100 RDX: ffff88813fe33a80 RSI: ffffffff87c20cfc RDI: 0000000000000000 RBP: ffffea0001e34800 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000001 R12: ffffea0001e34834 R13: ffff888047ae8100 R14: 0000000000000001 R15: dffffc0000000000 FS: 0000000000000000(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000c00d07b180 CR3: 00000000497c9000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400