dvb-usb: error while querying for an remote control event. ================================================================== BUG: KASAN: slab-out-of-bounds in __list_add_valid_or_report+0x112/0x130 lib/list_debug.c:32 Read of size 8 at addr ffff88813e64c250 by task kworker/0:3/5238 CPU: 0 UID: 0 PID: 5238 Comm: kworker/0:3 Not tainted syzkaller #0 PREEMPT(lazy) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/24/2026 Workqueue: events request_module_async Call Trace: __dump_stack lib/dump_stack.c:94 [inline] dump_stack_lvl+0x100/0x190 lib/dump_stack.c:120 print_address_description mm/kasan/report.c:378 [inline] print_report+0x13d/0x4b0 mm/kasan/report.c:482 kasan_report+0xdf/0x1c0 mm/kasan/report.c:595 __list_add_valid_or_report+0x112/0x130 lib/list_debug.c:32 __list_add_valid include/linux/list.h:96 [inline] __list_add include/linux/list.h:158 [inline] list_add_tail include/linux/list.h:191 [inline] em28xx_init_extension+0x48/0x200 drivers/media/usb/em28xx/em28xx-core.c:1245 request_module_async+0x61/0x80 drivers/media/usb/em28xx/em28xx-cards.c:3660 process_one_work+0xa23/0x1940 kernel/workqueue.c:3322 process_scheduled_works kernel/workqueue.c:3405 [inline] worker_thread+0x5ef/0xe50 kernel/workqueue.c:3486 kthread+0x370/0x450 kernel/kthread.c:436 ret_from_fork+0x69a/0xc80 arch/x86/kernel/process.c:158 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245 Allocated by task 2844: kasan_save_stack+0x30/0x50 mm/kasan/common.c:57 kasan_save_track+0x14/0x30 mm/kasan/common.c:78 poison_kmalloc_redzone mm/kasan/common.c:398 [inline] __kasan_kmalloc+0x8f/0xa0 mm/kasan/common.c:415 kasan_kmalloc include/linux/kasan.h:263 [inline] __do_kmalloc_node mm/slub.c:5334 [inline] __kmalloc_node_track_caller_noprof+0x318/0x7d0 mm/slub.c:5471 kmalloc_reserve+0xe8/0x350 net/core/skbuff.c:637 __alloc_skb+0x185/0x710 net/core/skbuff.c:715 alloc_skb include/linux/skbuff.h:1384 [inline] alloc_skb_with_frags+0xdd/0x760 net/core/skbuff.c:6769 sock_alloc_send_pskb+0x801/0x980 net/core/sock.c:3013 unix_dgram_sendmsg+0x3c7/0x1810 net/unix/af_unix.c:2136 sock_sendmsg_nosec net/socket.c:775 [inline] __sock_sendmsg net/socket.c:790 [inline] __sys_sendto+0x48b/0x4e0 net/socket.c:2252 __do_sys_sendto net/socket.c:2259 [inline] __se_sys_sendto net/socket.c:2255 [inline] __x64_sys_sendto+0xe0/0x1c0 net/socket.c:2255 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0x10b/0x7f0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f Freed by task 2837: kasan_save_stack+0x30/0x50 mm/kasan/common.c:57 kasan_save_track+0x14/0x30 mm/kasan/common.c:78 kasan_save_free_info+0x3b/0x70 mm/kasan/generic.c:584 poison_slab_object mm/kasan/common.c:253 [inline] __kasan_slab_free+0x43/0x70 mm/kasan/common.c:285 kasan_slab_free include/linux/kasan.h:235 [inline] slab_free_hook mm/slub.c:2677 [inline] slab_free mm/slub.c:6377 [inline] kfree+0x20c/0x650 mm/slub.c:6692 skb_kfree_head net/core/skbuff.c:1077 [inline] skb_free_head+0xb9/0x160 net/core/skbuff.c:1089 skb_release_data+0x6c5/0x8e0 net/core/skbuff.c:1116 skb_release_all net/core/skbuff.c:1191 [inline] __kfree_skb net/core/skbuff.c:1205 [inline] consume_skb net/core/skbuff.c:1439 [inline] consume_skb+0xc4/0x110 net/core/skbuff.c:1433 __unix_dgram_recvmsg+0x754/0xc30 net/unix/af_unix.c:2664 unix_dgram_recvmsg+0xcd/0x100 net/unix/af_unix.c:2681 sock_recvmsg_nosec net/socket.c:1126 [inline] sock_recvmsg+0x1d5/0x220 net/socket.c:1148 sock_read_iter+0x2b0/0x3a0 net/socket.c:1217 new_sync_read fs/read_write.c:493 [inline] vfs_read+0x960/0xb40 fs/read_write.c:574 ksys_read+0x1f8/0x250 fs/read_write.c:716 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0x10b/0x7f0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f The buggy address belongs to the object at ffff88813e64c000 which belongs to the cache kmalloc-cg-512 of size 512 The buggy address is located 80 bytes to the right of allocated 512-byte region [ffff88813e64c000, ffff88813e64c200) The buggy address belongs to the physical page: page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x13e64c head: order:2 mapcount:0 entire_mapcount:0 nr_pages_mapped:0 pincount:0 memcg:ffff88813e64c211 flags: 0x200000000000040(head|node=0|zone=2) page_type: f5(slab) raw: 0200000000000040 ffff88810004b140 dead000000000100 dead000000000122 raw: 0000000000000000 0000040000100010 00000000f5000000 ffff88813e64c211 head: 0200000000000040 ffff88810004b140 dead000000000100 dead000000000122 head: 0000000000000000 0000040000100010 00000000f5000000 ffff88813e64c211 head: 0200000000000002 ffffffffffffff01 00000000ffffffff 00000000ffffffff head: ffff88813e64d8c0 0000000000000000 00000000ffffffff 0000000000000004 page dumped because: kasan: bad access detected page_owner tracks the page as allocated page last allocated via order 2, migratetype Unmovable, gfp_mask 0xd20c0(__GFP_IO|__GFP_FS|__GFP_NOWARN|__GFP_NORETRY|__GFP_COMP|__GFP_NOMEMALLOC), pid 2844, tgid 2844 (klogd), ts 1941838665120, free_ts 1882452669931 set_page_owner include/linux/page_owner.h:32 [inline] post_alloc_hook+0xfd/0x120 mm/page_alloc.c:1859 prep_new_page mm/page_alloc.c:1867 [inline] get_page_from_freelist+0xf25/0x3400 mm/page_alloc.c:3946 __alloc_frozen_pages_noprof+0x28f/0x2b90 mm/page_alloc.c:5304 alloc_slab_page mm/slub.c:3266 [inline] allocate_slab mm/slub.c:3380 [inline] new_slab+0xa2/0x670 mm/slub.c:3426 refill_objects+0xe3/0x410 mm/slub.c:7310 refill_sheaf mm/slub.c:2804 [inline] __pcs_replace_empty_main+0x376/0x680 mm/slub.c:4675 alloc_from_pcs mm/slub.c:4773 [inline] slab_alloc_node mm/slub.c:4905 [inline] __do_kmalloc_node mm/slub.c:5333 [inline] __kmalloc_node_track_caller_noprof+0x619/0x7d0 mm/slub.c:5471 kmalloc_reserve+0xe8/0x350 net/core/skbuff.c:637 __alloc_skb+0x185/0x710 net/core/skbuff.c:715 alloc_skb include/linux/skbuff.h:1384 [inline] alloc_skb_with_frags+0xdd/0x760 net/core/skbuff.c:6769 sock_alloc_send_pskb+0x801/0x980 net/core/sock.c:3013 unix_dgram_sendmsg+0x3c7/0x1810 net/unix/af_unix.c:2136 sock_sendmsg_nosec net/socket.c:775 [inline] __sock_sendmsg net/socket.c:790 [inline] __sys_sendto+0x48b/0x4e0 net/socket.c:2252 __do_sys_sendto net/socket.c:2259 [inline] __se_sys_sendto net/socket.c:2255 [inline] __x64_sys_sendto+0xe0/0x1c0 net/socket.c:2255 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0x10b/0x7f0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f page last free pid 6562 tgid 6562 stack trace: reset_page_owner include/linux/page_owner.h:25 [inline] __free_pages_prepare mm/page_alloc.c:1406 [inline] __free_frozen_pages+0x716/0xf50 mm/page_alloc.c:2950 usbhid_probe+0xdd8/0x10b0 drivers/hid/usbhid/hid-core.c:1461 usb_probe_interface+0x386/0x9b0 drivers/usb/core/driver.c:399 call_driver_probe drivers/base/dd.c:628 [inline] really_probe+0x241/0xa60 drivers/base/dd.c:706 __driver_probe_device+0x20e/0x450 drivers/base/dd.c:868 driver_probe_device+0x4a/0x140 drivers/base/dd.c:898 __device_attach_driver+0x1df/0x320 drivers/base/dd.c:1026 bus_for_each_drv+0x159/0x1e0 drivers/base/bus.c:500 __device_attach+0x1e4/0x4d0 drivers/base/dd.c:1098 device_initial_probe+0xaf/0xd0 drivers/base/dd.c:1153 bus_probe_device+0x64/0x160 drivers/base/bus.c:620 device_add+0x121d/0x1970 drivers/base/core.c:3772 usb_set_configuration+0xd97/0x1c60 drivers/usb/core/message.c:2268 usb_generic_driver_probe+0xa1/0xe0 drivers/usb/core/generic.c:250 usb_probe_device+0xef/0x400 drivers/usb/core/driver.c:293 call_driver_probe drivers/base/dd.c:628 [inline] really_probe+0x241/0xa60 drivers/base/dd.c:706 Memory state around the buggy address: ffff88813e64c100: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb ffff88813e64c180: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb >ffff88813e64c200: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc ^ ffff88813e64c280: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc ffff88813e64c300: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc ==================================================================