UDF-fs: error (device loop5): udf_process_sequence: Block 96 of volume descriptor sequence is corrupted or we could not read it UDF-fs: INFO Mounting volume 'LinuxUDF', timestamp 2022/11/22 14:59 (1000) ================================================================== BUG: KASAN: slab-out-of-bounds in primary_event_id kernel/events/core.c:1316 [inline] BUG: KASAN: slab-out-of-bounds in perf_output_read_group kernel/events/core.c:5896 [inline] BUG: KASAN: slab-out-of-bounds in perf_output_read+0x1046/0x1090 kernel/events/core.c:5931 Read of size 8 at addr ffff8880aeb24fa0 by task syz-executor.4/9644 CPU: 1 PID: 9644 Comm: syz-executor.4 Not tainted 4.14.307-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/16/2023 Call Trace: __dump_stack lib/dump_stack.c:17 [inline] dump_stack+0x1b2/0x281 lib/dump_stack.c:58 print_address_description.cold+0x54/0x1d3 mm/kasan/report.c:251 kasan_report_error.cold+0x8a/0x191 mm/kasan/report.c:350 kasan_report mm/kasan/report.c:408 [inline] __asan_report_load8_noabort+0x68/0x70 mm/kasan/report.c:429 primary_event_id kernel/events/core.c:1316 [inline] perf_output_read_group kernel/events/core.c:5896 [inline] perf_output_read+0x1046/0x1090 kernel/events/core.c:5931 perf_output_sample+0xa28/0x1700 kernel/events/core.c:5973 __perf_event_output kernel/events/core.c:6292 [inline] perf_event_output_forward+0xf8/0x1f0 kernel/events/core.c:6305 __perf_event_overflow+0x113/0x310 kernel/events/core.c:7554 perf_swevent_overflow kernel/events/core.c:7630 [inline] perf_swevent_event+0x299/0x460 kernel/events/core.c:7658 do_perf_sw_event kernel/events/core.c:7771 [inline] ___perf_sw_event+0x2ac/0x490 kernel/events/core.c:7802 __perf_sw_event+0x4f/0x100 kernel/events/core.c:7814 perf_sw_event include/linux/perf_event.h:1048 [inline] __do_page_fault+0x692/0xad0 arch/x86/mm/fault.c:1483 page_fault+0x25/0x50 arch/x86/entry/entry_64.S:1126 RIP: 0010:copy_user_enhanced_fast_string+0xe/0x20 arch/x86/lib/copy_user_64.S:181 RSP: 0018:ffff88804e7bfa60 EFLAGS: 00050202 RAX: ffffed1009ab58ed RBX: 0000000000004765 RCX: 0000000000004230 RDX: 0000000000004765 RSI: 0000000020e6e000 RDI: ffff88804d5a8535 RBP: 0000000020e6dacb R08: 0000000000000001 R09: ffffed1009ab58ec R10: ffff88804d5ac764 R11: 0000000000000000 R12: ffff88804d5a8000 R13: 00007ffffffff000 R14: 0000000020e72230 R15: ffff8880a9e781c0 copy_user_generic arch/x86/include/asm/uaccess_64.h:37 [inline] raw_copy_from_user arch/x86/include/asm/uaccess_64.h:55 [inline] copyin+0x99/0xc0 lib/iov_iter.c:146 _copy_from_iter_full+0x19c/0x760 lib/iov_iter.c:610 copy_from_iter_full include/linux/uio.h:126 [inline] skb_do_copy_data_nocache include/net/sock.h:1892 [inline] skb_copy_to_page_nocache include/net/sock.h:1918 [inline] tcp_sendmsg_locked+0x23fc/0x2ef0 net/ipv4/tcp.c:1360 tcp_sendmsg+0x2b/0x40 net/ipv4/tcp.c:1457 inet_sendmsg+0x11a/0x4e0 net/ipv4/af_inet.c:762 sock_sendmsg_nosec net/socket.c:646 [inline] sock_sendmsg+0xb5/0x100 net/socket.c:656 SYSC_sendto net/socket.c:1763 [inline] SyS_sendto+0x1c7/0x2c0 net/socket.c:1731 do_syscall_64+0x1d5/0x640 arch/x86/entry/common.c:292 entry_SYSCALL_64_after_hwframe+0x5e/0xd3 RIP: 0033:0x7f94a5f0c0f9 RSP: 002b:00007f94a447e168 EFLAGS: 00000246 ORIG_RAX: 000000000000002c RAX: ffffffffffffffda RBX: 00007f94a602bf80 RCX: 00007f94a5f0c0f9 RDX: ffffffffffffffef RSI: 0000000020d7cfcb RDI: 0000000000000007 RBP: 00007f94a5f67ae9 R08: 0000000000000000 R09: 0000000000000053 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffc24e2bbff R14: 00007f94a447e300 R15: 0000000000022000 Allocated by task 0: save_stack mm/kasan/kasan.c:447 [inline] set_track mm/kasan/kasan.c:459 [inline] kasan_kmalloc+0xeb/0x160 mm/kasan/kasan.c:551 __do_kmalloc_node mm/slab.c:3682 [inline] __kmalloc_node_track_caller+0x4c/0x70 mm/slab.c:3696 __kmalloc_reserve net/core/skbuff.c:137 [inline] __alloc_skb+0x96/0x510 net/core/skbuff.c:205 __napi_alloc_skb+0x57/0x2d0 net/core/skbuff.c:478 napi_alloc_skb include/linux/skbuff.h:2721 [inline] page_to_skb+0x7b/0x820 drivers/net/virtio_net.c:323 receive_mergeable drivers/net/virtio_net.c:723 [inline] receive_buf+0x1f71/0x4d70 drivers/net/virtio_net.c:828 virtnet_receive drivers/net/virtio_net.c:1102 [inline] virtnet_poll+0x4b7/0x960 drivers/net/virtio_net.c:1193 napi_poll net/core/dev.c:5604 [inline] net_rx_action+0x466/0xfd0 net/core/dev.c:5670 __do_softirq+0x24d/0x9ff kernel/softirq.c:288 Freed by task 0: save_stack mm/kasan/kasan.c:447 [inline] set_track mm/kasan/kasan.c:459 [inline] kasan_slab_free+0xc3/0x1a0 mm/kasan/kasan.c:524 __cache_free mm/slab.c:3496 [inline] kfree+0xc9/0x250 mm/slab.c:3815 skb_free_head net/core/skbuff.c:563 [inline] skb_release_data+0x5f6/0x820 net/core/skbuff.c:583 skb_release_all net/core/skbuff.c:640 [inline] __kfree_skb+0x46/0x60 net/core/skbuff.c:654 tcp_rcv_established+0xf61/0x1a50 net/ipv4/tcp_input.c:5527 tcp_v4_do_rcv+0x675/0x800 net/ipv4/tcp_ipv4.c:1492 tcp_v4_rcv+0x275c/0x3560 net/ipv4/tcp_ipv4.c:1766 ip_local_deliver_finish+0x3ed/0xab0 net/ipv4/ip_input.c:216 NF_HOOK include/linux/netfilter.h:250 [inline] ip_local_deliver+0x167/0x460 net/ipv4/ip_input.c:257 dst_input include/net/dst.h:476 [inline] ip_rcv_finish+0x6e3/0x1a40 net/ipv4/ip_input.c:406 NF_HOOK include/linux/netfilter.h:250 [inline] ip_rcv+0x8a7/0xf10 net/ipv4/ip_input.c:503 __netif_receive_skb_core+0x15ee/0x2a30 net/core/dev.c:4474 __netif_receive_skb+0x27/0x1a0 net/core/dev.c:4512 netif_receive_skb_internal+0xd7/0x580 net/core/dev.c:4585 napi_skb_finish net/core/dev.c:4947 [inline] napi_gro_receive+0x2e2/0x400 net/core/dev.c:4978 receive_buf+0x9f2/0x4d70 drivers/net/virtio_net.c:856 virtnet_receive drivers/net/virtio_net.c:1102 [inline] virtnet_poll+0x4b7/0x960 drivers/net/virtio_net.c:1193 napi_poll net/core/dev.c:5604 [inline] net_rx_action+0x466/0xfd0 net/core/dev.c:5670 __do_softirq+0x24d/0x9ff kernel/softirq.c:288 The buggy address belongs to the object at ffff8880aeb24cc0 which belongs to the cache kmalloc-512 of size 512 The buggy address is located 224 bytes to the right of 512-byte region [ffff8880aeb24cc0, ffff8880aeb24ec0) The buggy address belongs to the page: page:ffffea0002bac900 count:1 mapcount:0 mapping:ffff8880aeb24040 index:0xffff8880aeb24540 flags: 0xfff00000000100(slab) raw: 00fff00000000100 ffff8880aeb24040 ffff8880aeb24540 0000000100000002 raw: ffffea00024f3e20 ffffea0002c2c320 ffff88813fe74940 0000000000000000 page dumped because: kasan: bad access detected Memory state around the buggy address: ffff8880aeb24e80: fb fb fb fb fb fb fb fb fc fc fc fc fc fc fc fc ffff8880aeb24f00: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc >ffff8880aeb24f80: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc ^ ffff8880aeb25000: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb ffff8880aeb25080: fb fb fb fb fb fb fb fb fb fb fb fb fb fc fc fc ==================================================================