netdevsim netdevsim0 netdevsim3: set [1, 0] type 2 family 0 port 6081 - 0 ================================================================== BUG: KASAN: use-after-free in crc_itu_t+0x1ad/0x280 lib/crc-itu-t.c:60 Read of size 1 at addr ffff8880233af000 by task syz-executor.0/4476 CPU: 0 PID: 4476 Comm: syz-executor.0 Not tainted syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2025 Call Trace: dump_stack_lvl+0x168/0x230 lib/dump_stack.c:106 print_address_description+0x60/0x2d0 mm/kasan/report.c:248 __kasan_report mm/kasan/report.c:434 [inline] kasan_report+0xdf/0x130 mm/kasan/report.c:451 crc_itu_t+0x1ad/0x280 lib/crc-itu-t.c:60 udf_finalize_lvid fs/udf/super.c:2048 [inline] udf_close_lvid+0x543/0x990 fs/udf/super.c:2116 udf_put_super+0xc8/0x160 fs/udf/super.c:2386 generic_shutdown_super+0x130/0x300 fs/super.c:475 kill_block_super+0x7c/0xe0 fs/super.c:1427 deactivate_locked_super+0x93/0xf0 fs/super.c:335 cleanup_mnt+0x418/0x4d0 fs/namespace.c:1139 task_work_run+0x125/0x1a0 kernel/task_work.c:188 tracehook_notify_resume include/linux/tracehook.h:189 [inline] exit_to_user_mode_loop+0x10f/0x130 kernel/entry/common.c:181 exit_to_user_mode_prepare+0xb1/0x140 kernel/entry/common.c:214 __syscall_exit_to_user_mode_work kernel/entry/common.c:296 [inline] syscall_exit_to_user_mode+0x16/0x40 kernel/entry/common.c:307 do_syscall_64+0x58/0xa0 arch/x86/entry/common.c:86 entry_SYSCALL_64_after_hwframe+0x66/0xd0 RIP: 0033:0x7f9e6941fc87 Code: b0 ff ff ff f7 d8 64 89 01 48 83 c8 ff c3 0f 1f 44 00 00 31 f6 e9 09 00 00 00 66 0f 1f 84 00 00 00 00 00 b8 a6 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 01 c3 48 c7 c2 b0 ff ff ff f7 d8 64 89 02 b8 RSP: 002b:00007ffecd961448 EFLAGS: 00000246 ORIG_RAX: 00000000000000a6 RAX: 0000000000000000 RBX: 00007f9e69479c5a RCX: 00007f9e6941fc87 RDX: 0000000000000000 RSI: 000000000000000a RDI: 00007ffecd961500 RBP: 00007ffecd961500 R08: 0000000000000000 R09: 0000000000000000 R10: 00000000ffffffff R11: 0000000000000246 R12: 00007ffecd9625c0 R13: 00007f9e69479c5a R14: 0000000000011d39 R15: 0000000000000006 Allocated by task 4356: kasan_save_stack mm/kasan/common.c:38 [inline] kasan_set_track mm/kasan/common.c:46 [inline] set_alloc_info mm/kasan/common.c:434 [inline] __kasan_slab_alloc+0x9c/0xd0 mm/kasan/common.c:467 kasan_slab_alloc include/linux/kasan.h:254 [inline] slab_post_alloc_hook+0x4c/0x380 mm/slab.h:519 kmem_cache_alloc_bulk+0x305/0x3c0 mm/slub.c:3714 napi_skb_cache_get net/core/skbuff.c:178 [inline] __alloc_skb+0x537/0x750 net/core/skbuff.c:413 __napi_alloc_skb+0x151/0x2d0 net/core/skbuff.c:568 napi_alloc_skb include/linux/skbuff.h:3058 [inline] page_to_skb+0x26a/0xcf0 drivers/net/virtio_net.c:474 receive_mergeable drivers/net/virtio_net.c:1102 [inline] receive_buf+0x141b/0x5770 drivers/net/virtio_net.c:1212 virtnet_receive drivers/net/virtio_net.c:1504 [inline] virtnet_poll+0x546/0xef0 drivers/net/virtio_net.c:1617 __napi_poll+0xc0/0x430 net/core/dev.c:7075 napi_poll net/core/dev.c:7142 [inline] net_rx_action+0x4a8/0x9c0 net/core/dev.c:7232 handle_softirqs+0x328/0x820 kernel/softirq.c:576 __do_softirq kernel/softirq.c:610 [inline] invoke_softirq kernel/softirq.c:450 [inline] __irq_exit_rcu+0x12f/0x220 kernel/softirq.c:659 irq_exit_rcu+0x5/0x20 kernel/softirq.c:671 common_interrupt+0x5e/0xd0 arch/x86/kernel/irq.c:242 asm_common_interrupt+0x22/0x40 arch/x86/include/asm/idtentry.h:667 Freed by task 4356: kasan_save_stack mm/kasan/common.c:38 [inline] kasan_set_track+0x4b/0x70 mm/kasan/common.c:46 kasan_set_free_info+0x1f/0x40 mm/kasan/generic.c:360 ____kasan_slab_free+0xd5/0x110 mm/kasan/common.c:366 kasan_slab_free include/linux/kasan.h:230 [inline] slab_free_hook mm/slub.c:1705 [inline] slab_free_freelist_hook+0xea/0x170 mm/slub.c:1731 slab_free mm/slub.c:3499 [inline] kmem_cache_free+0x8f/0x210 mm/slub.c:3515 tcp_rcv_established+0x12e1/0x1cb0 net/ipv4/tcp_input.c:6035 tcp_v4_do_rcv+0x44b/0x9b0 net/ipv4/tcp_ipv4.c:1731 tcp_v4_rcv+0x268f/0x2cb0 net/ipv4/tcp_ipv4.c:2143 ip_protocol_deliver_rcu+0x3ad/0x770 net/ipv4/ip_input.c:204 ip_local_deliver_finish+0x1d5/0x320 net/ipv4/ip_input.c:231 NF_HOOK+0x2d6/0x360 include/linux/netfilter.h:302 dst_input include/net/dst.h:462 [inline] ip_sublist_rcv_finish net/ipv4/ip_input.c:577 [inline] ip_list_rcv_finish net/ipv4/ip_input.c:628 [inline] ip_sublist_rcv+0xa1f/0xce0 net/ipv4/ip_input.c:636 ip_list_rcv+0x3df/0x430 net/ipv4/ip_input.c:671 __netif_receive_skb_list_ptype net/core/dev.c:5568 [inline] __netif_receive_skb_list_core+0x574/0x740 net/core/dev.c:5616 __netif_receive_skb_list net/core/dev.c:5668 [inline] netif_receive_skb_list_internal+0x871/0xb90 net/core/dev.c:5759 gro_normal_list net/core/dev.c:5913 [inline] napi_complete_done+0x37d/0x830 net/core/dev.c:6651 virtqueue_napi_complete drivers/net/virtio_net.c:357 [inline] virtnet_poll+0x912/0xef0 drivers/net/virtio_net.c:1624 __napi_poll+0xc0/0x430 net/core/dev.c:7075 napi_poll net/core/dev.c:7142 [inline] net_rx_action+0x4a8/0x9c0 net/core/dev.c:7232 handle_softirqs+0x328/0x820 kernel/softirq.c:576 __do_softirq kernel/softirq.c:610 [inline] invoke_softirq kernel/softirq.c:450 [inline] __irq_exit_rcu+0x12f/0x220 kernel/softirq.c:659 irq_exit_rcu+0x5/0x20 kernel/softirq.c:671 common_interrupt+0xb5/0xd0 arch/x86/kernel/irq.c:242 asm_common_interrupt+0x22/0x40 arch/x86/include/asm/idtentry.h:667 The buggy address belongs to the object at ffff8880233af000 which belongs to the cache skbuff_head_cache of size 232 The buggy address is located 0 bytes inside of 232-byte region [ffff8880233af000, ffff8880233af0e8) The buggy address belongs to the page: page:ffffea00008cebc0 refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x233af flags: 0xfff00000000200(slab|node=0|zone=1|lastcpupid=0x7ff) raw: 00fff00000000200 0000000000000000 dead000000000122 ffff88801b5e5140 raw: 0000000000000000 00000000000c000c 00000001ffffffff 0000000000000000 page dumped because: kasan: bad access detected page_owner tracks the page as allocated page last allocated via order 0, migratetype Unmovable, gfp_mask 0x112a20(GFP_ATOMIC|__GFP_NOWARN|__GFP_NORETRY|__GFP_HARDWALL), pid 4356, ts 63676172865, free_ts 62099444571 prep_new_page mm/page_alloc.c:2426 [inline] get_page_from_freelist+0x1b77/0x1c60 mm/page_alloc.c:4192 __alloc_pages+0x1e1/0x470 mm/page_alloc.c:5474 alloc_slab_page mm/slub.c:1775 [inline] allocate_slab mm/slub.c:1912 [inline] new_slab+0xc0/0x4b0 mm/slub.c:1975 ___slab_alloc+0x81e/0xdf0 mm/slub.c:3008 kmem_cache_alloc_bulk+0x141/0x3c0 mm/slub.c:3690 napi_skb_cache_get net/core/skbuff.c:178 [inline] __alloc_skb+0x537/0x750 net/core/skbuff.c:413 __napi_alloc_skb+0x151/0x2d0 net/core/skbuff.c:568 napi_alloc_skb include/linux/skbuff.h:3058 [inline] page_to_skb+0x26a/0xcf0 drivers/net/virtio_net.c:474 receive_mergeable drivers/net/virtio_net.c:1102 [inline] receive_buf+0x141b/0x5770 drivers/net/virtio_net.c:1212 virtnet_receive drivers/net/virtio_net.c:1504 [inline] virtnet_poll+0x546/0xef0 drivers/net/virtio_net.c:1617 __napi_poll+0xc0/0x430 net/core/dev.c:7075 napi_poll net/core/dev.c:7142 [inline] net_rx_action+0x4a8/0x9c0 net/core/dev.c:7232 handle_softirqs+0x328/0x820 kernel/softirq.c:576 __do_softirq kernel/softirq.c:610 [inline] invoke_softirq kernel/softirq.c:450 [inline] __irq_exit_rcu+0x12f/0x220 kernel/softirq.c:659 irq_exit_rcu+0x5/0x20 kernel/softirq.c:671 common_interrupt+0x5e/0xd0 arch/x86/kernel/irq.c:242 page last free stack trace: reset_page_owner include/linux/page_owner.h:24 [inline] free_pages_prepare mm/page_alloc.c:1340 [inline] free_pcp_prepare mm/page_alloc.c:1391 [inline] free_unref_page_prepare+0x637/0x6c0 mm/page_alloc.c:3317 free_unref_page+0x94/0x280 mm/page_alloc.c:3396 put_page include/linux/mm.h:1247 [inline] __skb_frag_unref include/linux/skbuff.h:3231 [inline] skb_release_data+0x3fa/0x850 net/core/skbuff.c:672 skb_release_all net/core/skbuff.c:742 [inline] __kfree_skb+0x4c/0x60 net/core/skbuff.c:756 sk_eat_skb include/net/sock.h:2742 [inline] tcp_recvmsg_locked+0x14d5/0x2760 net/ipv4/tcp.c:2517 tcp_recvmsg+0x350/0x710 net/ipv4/tcp.c:2563 inet_recvmsg+0x136/0x1e0 net/ipv4/af_inet.c:868 sock_recvmsg_nosec net/socket.c:966 [inline] sock_recvmsg net/socket.c:984 [inline] sock_read_iter+0x2a2/0x340 net/socket.c:1057 call_read_iter include/linux/fs.h:2166 [inline] new_sync_read fs/read_write.c:404 [inline] vfs_read+0x725/0xcf0 fs/read_write.c:485 ksys_read+0x14d/0x250 fs/read_write.c:623 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x66/0xd0 Memory state around the buggy address: ffff8880233aef00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ffff8880233aef80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >ffff8880233af000: fa fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb ^ ffff8880233af080: fb fb fb fb fb fb fb fb fb fb fb fb fb fc fc fc ffff8880233af100: fc fc fc fc fc fc fc fc fa fb fb fb fb fb fb fb ==================================================================