================================================================== BUG: KASAN: slab-out-of-bounds in instrument_atomic_read_write include/linux/instrumented.h:96 [inline] BUG: KASAN: slab-out-of-bounds in atomic_inc_not_zero include/linux/atomic/atomic-instrumented.h:1525 [inline] BUG: KASAN: slab-out-of-bounds in try_module_get+0x46/0xc0 kernel/module/main.c:838 Write of size 4 at addr ffff8880280c8ef8 by task syz.3.2042/14125 CPU: 1 PID: 14125 Comm: syz.3.2042 Not tainted syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/06/2026 Call Trace: dump_stack_lvl+0x18c/0x250 lib/dump_stack.c:106 print_address_description mm/kasan/report.c:364 [inline] print_report+0xa8/0x210 mm/kasan/report.c:468 kasan_report+0x117/0x150 mm/kasan/report.c:581 check_region_inline mm/kasan/generic.c:-1 [inline] kasan_check_range+0x241/0x290 mm/kasan/generic.c:187 instrument_atomic_read_write include/linux/instrumented.h:96 [inline] atomic_inc_not_zero include/linux/atomic/atomic-instrumented.h:1525 [inline] try_module_get+0x46/0xc0 kernel/module/main.c:838 dvb_device_open+0xf4/0x360 drivers/media/dvb-core/dvbdev.c:103 chrdev_open+0x58c/0x600 fs/char_dev.c:414 do_dentry_open+0x880/0x14b0 fs/open.c:929 do_open fs/namei.c:3695 [inline] path_openat+0x284f/0x3270 fs/namei.c:3856 do_filp_open+0x1f2/0x430 fs/namei.c:3883 do_sys_openat2+0x134/0x1d0 fs/open.c:1422 do_sys_open fs/open.c:1437 [inline] __do_sys_openat fs/open.c:1453 [inline] __se_sys_openat fs/open.c:1448 [inline] __x64_sys_openat+0x139/0x160 fs/open.c:1448 do_syscall_x64 arch/x86/entry/common.c:46 [inline] do_syscall_64+0x55/0xb0 arch/x86/entry/common.c:76 entry_SYSCALL_64_after_hwframe+0x68/0xd2 RIP: 0033:0x7fad4eb6034e Code: 08 0f 85 a5 a8 ff ff 49 89 fb 48 89 f0 48 89 d7 48 89 ce 4c 89 c2 4d 89 ca 4c 8b 44 24 08 4c 8b 4c 24 10 4c 89 5c 24 08 0f 05 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 80 00 00 00 00 48 83 ec 08 RSP: 002b:00007fad4fa48b28 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 00007fad4fa496c0 RCX: 00007fad4eb6034e RDX: 0000000000002800 RSI: 00007fad4fa48c00 RDI: ffffffffffffff9c RBP: 00007fad4fa48c00 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: cccccccccccccccd R13: 00007fad4ee26038 R14: 00007fad4ee25fa0 R15: 00007ffe15c1f988 Allocated by task 1: kasan_save_stack mm/kasan/common.c:46 [inline] kasan_set_track+0x4e/0x70 mm/kasan/common.c:53 ____kasan_kmalloc mm/kasan/common.c:375 [inline] __kasan_kmalloc+0x8f/0xa0 mm/kasan/common.c:384 kmalloc include/linux/slab.h:600 [inline] kzalloc include/linux/slab.h:721 [inline] dvb_register_device+0x309/0x1df0 drivers/media/dvb-core/dvbdev.c:475 dvb_dmxdev_init+0x306/0x420 drivers/media/dvb-core/dmxdev.c:1437 vidtv_bridge_dmxdev_init drivers/media/test-drivers/vidtv/vidtv_bridge.c:345 [inline] vidtv_bridge_dvb_init drivers/media/test-drivers/vidtv/vidtv_bridge.c:447 [inline] vidtv_bridge_probe+0xb72/0xf60 drivers/media/test-drivers/vidtv/vidtv_bridge.c:510 platform_probe+0x13b/0x1c0 drivers/base/platform.c:1376 call_driver_probe drivers/base/dd.c:-1 [inline] really_probe+0x24a/0xae0 drivers/base/dd.c:717 __driver_probe_device+0x1f5/0x390 drivers/base/dd.c:879 driver_probe_device+0x4f/0x420 drivers/base/dd.c:909 __driver_attach+0x444/0x6d0 drivers/base/dd.c:1295 bus_for_each_dev+0x235/0x2b0 drivers/base/bus.c:370 bus_add_driver+0x340/0x630 drivers/base/bus.c:723 driver_register+0x23a/0x310 drivers/base/driver.c:246 vidtv_bridge_init+0x49/0x80 drivers/media/test-drivers/vidtv/vidtv_bridge.c:602 do_one_initcall+0x242/0x790 init/main.c:1215 do_initcall_level+0x13d/0x1f0 init/main.c:1277 do_initcalls+0x69/0xd0 init/main.c:1293 kernel_init_freeable+0x3d9/0x560 init/main.c:1530 kernel_init+0x1d/0x1c0 init/main.c:1420 ret_from_fork+0x48/0x80 arch/x86/kernel/process.c:152 ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:293 The buggy address belongs to the object at ffff8880280c8e00 which belongs to the cache kmalloc-256 of size 256 The buggy address is located 32 bytes to the right of allocated 216-byte region [ffff8880280c8e00, ffff8880280c8ed8) The buggy address belongs to the physical page: page:ffffea0000a03200 refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x280c8 head:ffffea0000a03200 order:1 entire_mapcount:0 nr_pages_mapped:0 pincount:0 anon flags: 0xfff00000000840(slab|head|node=0|zone=1|lastcpupid=0x7ff) page_type: 0xffffffff() raw: 00fff00000000840 ffff888018c41b40 0000000000000000 dead000000000001 raw: 0000000000000000 0000000000100010 00000001ffffffff 0000000000000000 page dumped because: kasan: bad access detected page_owner tracks the page as allocated page last allocated via order 1, migratetype Unmovable, gfp_mask 0xd20c0(__GFP_IO|__GFP_FS|__GFP_NOWARN|__GFP_NORETRY|__GFP_COMP|__GFP_NOMEMALLOC), pid 1, tgid 1 (swapper/0), ts 19262425927, free_ts 0 set_page_owner include/linux/page_owner.h:31 [inline] post_alloc_hook+0x1c1/0x200 mm/page_alloc.c:1582 prep_new_page mm/page_alloc.c:1589 [inline] get_page_from_freelist+0x2181/0x22a0 mm/page_alloc.c:3221 __alloc_pages+0x1f0/0x460 mm/page_alloc.c:4501 alloc_page_interleave+0x24/0x1e0 mm/mempolicy.c:2118 alloc_slab_page+0x5d/0x180 mm/slub.c:1903 allocate_slab mm/slub.c:2050 [inline] new_slab+0x87/0x2d0 mm/slub.c:2103 ___slab_alloc+0xc5c/0x12f0 mm/slub.c:3275 __slab_alloc mm/slub.c:3361 [inline] __slab_alloc_node mm/slub.c:3414 [inline] slab_alloc_node mm/slub.c:3508 [inline] __kmem_cache_alloc_node+0x122/0x260 mm/slub.c:3557 kmalloc_trace+0x2a/0xe0 mm/slab_common.c:1098 kmalloc include/linux/slab.h:600 [inline] kzalloc include/linux/slab.h:721 [inline] bus_add_driver+0x162/0x630 drivers/base/bus.c:707 driver_register+0x23a/0x310 drivers/base/driver.c:246 usb_register_driver+0x1aa/0x360 drivers/usb/core/driver.c:1064 do_one_initcall+0x242/0x790 init/main.c:1215 do_initcall_level+0x13d/0x1f0 init/main.c:1277 do_initcalls+0x69/0xd0 init/main.c:1293 kernel_init_freeable+0x3d9/0x560 init/main.c:1530 page_owner free stack trace missing Memory state around the buggy address: ffff8880280c8d80: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc ffff8880280c8e00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >ffff8880280c8e80: 00 00 00 00 00 00 00 00 00 00 00 fc fc fc fc fc ^ ffff8880280c8f00: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc ffff8880280c8f80: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc ==================================================================