[ 146.755889][ T5253] 8021q: adding VLAN 0 to HW filter on device eth8 Warning: Permanently added '10.128.1.55' (ED25519) to the list of known hosts. [+] Starting DVB refcount bug reproducer [+] Directory /dev/dvb checked/created [+] Directory /dev/dvb/adapter0 checked/created [+] opendir /sys/class/dvb successful [+] Discovered /sys/class/dvb/dvb0.dvr0 [+] Discovered /sys/class/dvb/dvb0.frontend0 [+] Discovered /sys/class/dvb/dvb0.demux0 [+] Read sysfs /sys/class/dvb/dvb0.frontend0/dev: major=212, minor=3 [+] Node /dev/dvb/adapter0/frontend0 already exists (major=212, minor=3) [+] mknod /dev/dvb0.frontend0 successful (major=212, minor=3) [+] Read sysfs /sys/class/dvb/dvb0.demux0/dev: major=212, minor=4 [+] Node /dev/dvb/adapter0/demux0 already exists (major=212, minor=4) [+] mknod /dev/dvb0.demux0 successful (major=212, minor=4) [+] Read sysfs /sys/class/dvb/dvb0.dvr0/dev: major=212, minor=5 [+] Node /dev/dvb/adapter0/dvr0 already exists (major=212, minor=5) [+] mknod /dev/dvb0.dvr0 successful (major=212, minor=5) [+] sigaction SIGALRM registered (sa_flags=0, SA_RESTART disabled) [+] SIGALRM blocked in main thread [+] pthread_barrier_init initialized for 7 threads [+] Successfully spawned 4 worker threads [+] Successfully spawned 2 killer threads [+] All worker and killer threads synchronized past barrier [+] Periodic timer armed (100us interval) [*] Running multi-threaded open/signal race for 5 seconds... [ 151.833016][ T5935] ================================================================== [ 151.833040][ T5935] BUG: KASAN: slab-use-after-free in dvb_device_open+0xc4/0x350 ** replaying previous printk message ** [ 151.833040][ T5935] BUG: KASAN: slab-use-after-free in dvb_device_open+0xc4/0x350 [ 151.833088][ T5935] Read of size 8 at addr ffff88802e1cbc18 by task syz-executor125/5935 [ 151.833108][ T5935] [ 151.833133][ T5935] CPU: 0 UID: 0 PID: 5935 Comm: syz-executor125 Not tainted syzkaller #0 PREEMPT_{RT,(full)} [ 151.833160][ T5935] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/07/2026 [ 151.833189][ T5935] Call Trace: [ 151.833198][ T5935] [ 151.833209][ T5935] dump_stack_lvl+0xe8/0x150 [ 151.833248][ T5935] print_address_description+0x55/0x1e0 [ 151.833284][ T5935] ? dvb_device_open+0xc4/0x350 [ 151.833303][ T5935] print_report+0x58/0x70 [ 151.833332][ T5935] kasan_report+0x117/0x150 [ 151.833358][ T5935] ? dvb_device_open+0xc4/0x350 [ 151.833383][ T5935] dvb_device_open+0xc4/0x350 [ 151.833404][ T5935] ? rt_spin_unlock+0x165/0x200 [ 151.833434][ T5935] chrdev_open+0x4dc/0x600 [ 151.833457][ T5935] ? __pfx_chrdev_open+0x10/0x10 [ 151.833477][ T5935] ? fsnotify_open_perm_and_set_mode+0x13b/0x6c0 [ 151.833503][ T5935] ? __pfx_chrdev_open+0x10/0x10 [ 151.833524][ T5935] do_dentry_open+0x841/0x1410 [ 151.833554][ T5935] vfs_open_consume+0x4a/0x360 [ 151.833576][ T5935] ? path_openat+0x16ea/0x2100 [ 151.833610][ T5935] path_openat+0x1705/0x2100 [ 151.833652][ T5935] do_file_open+0x23e/0x4a0 [ 151.833683][ T5935] ? _raw_spin_unlock_irqrestore+0x4c/0x80 [ 151.833723][ T5935] ? __pfx_do_file_open+0x10/0x10 [ 151.833768][ T5935] ? alloc_fd+0x6b2/0x760 [ 151.833800][ T5935] do_sys_openat2+0x115/0x200 [ 151.833826][ T5935] ? __pfx_do_sys_openat2+0x10/0x10 [ 151.833858][ T5935] __x64_sys_openat+0x138/0x170 [ 151.833886][ T5935] do_syscall_64+0x166/0x520 [ 151.833906][ T5935] ? trace_irq_disable+0x3b/0x140 [ 151.833938][ T5935] ? entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 151.833962][ T5935] ? clear_bhb_loop+0x70/0xc0 [ 151.833987][ T5935] entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 151.834010][ T5935] RIP: 0033:0x7f162115c5ee [ 151.834036][ T5935] Code: 08 0f 85 25 ed 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 90 41 57 41 56 4d 89 c6 41 55 4d 89 cd 41 54 55 53 48 83 ec 08 [ 151.834056][ T5935] RSP: 002b:00007f16210ec0b8 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 [ 151.834087][ T5935] RAX: ffffffffffffffda RBX: 00007f16210ec6c0 RCX: 00007f162115c5ee [ 151.834101][ T5935] RDX: 0000000000000002 RSI: 00007f16211a98c6 RDI: ffffffffffffff9c [ 151.834117][ T5935] RBP: 0000000000001730 R08: 0000000000000000 R09: 0000000000000000 [ 151.834130][ T5935] R10: 0000000000000000 R11: 0000000000000246 R12: 00007f16211a990f [ 151.834144][ T5935] R13: 00007f16211a98f6 R14: 00007f16211a98e2 R15: 00007ffe90f38908 [ 151.834169][ T5935] [ 151.834178][ T5935] [ 151.834191][ T5935] Allocated by task 1: [ 151.834202][ T5935] kasan_save_track+0x3e/0x80 [ 151.834222][ T5935] __kasan_kmalloc+0x93/0xb0 [ 151.834241][ T5935] __kmalloc_cache_noprof+0x3d0/0x670 [ 151.834259][ T5935] dvb_register_device+0x309/0x1dd0 [ 151.834293][ T5935] dvb_register_frontend+0x619/0x900 [ 151.834324][ T5935] vidtv_bridge_probe+0x9d5/0xf60 [ 151.834349][ T5935] platform_probe+0xf9/0x190 [ 151.834374][ T5935] really_probe+0x254/0xae0 [ 151.834402][ T5935] __driver_probe_device+0x1e8/0x360 [ 151.834430][ T5935] driver_probe_device+0x4f/0x240 [ 151.834461][ T5935] __driver_attach+0x339/0x600 [ 151.834488][ T5935] bus_for_each_dev+0x23e/0x2c0 [ 151.834508][ T5938] refcount_t: underflow; use-after-free. [ 151.834506][ T5935] bus_add_driver+0x348/0x670 [ 151.834524][ T5935] driver_register+0x23a/0x320 [ 151.834552][ T5935] vidtv_bridge_init+0x3d/0x60 [ 151.834575][ T5935] do_one_initcall+0x250/0x870 [ 151.834606][ T5935] do_initcall_level+0x10a/0x1a0 [ 151.834627][ T5935] do_initcalls+0x59/0xa0 [ 151.834646][ T5935] kernel_init_freeable+0x29d/0x3e0 [ 151.834667][ T5935] kernel_init+0x22/0x1d0 [ 151.834691][ T5935] ret_from_fork+0x514/0xb70 [ 151.834711][ T5935] ret_from_fork_asm+0x1a/0x30 [ 151.834729][ T5935] [ 151.834735][ T5935] Freed by task 5937: [ 151.834745][ T5935] kasan_save_track+0x3e/0x80 [ 151.834763][ T5935] kasan_save_free_info+0x40/0x50 [ 151.834791][ T5935] __kasan_slab_free+0x5c/0x80 [ 151.834810][ T5935] kfree+0x1c5/0x6d0 [ 151.834837][ T5935] dvb_device_open+0x2c1/0x350 [ 151.834856][ T5935] chrdev_open+0x4dc/0x600 [ 151.834875][ T5935] do_dentry_open+0x841/0x1410 [ 151.834896][ T5935] vfs_open_consume+0x4a/0x360 [ 151.834917][ T5935] path_openat+0x1705/0x2100 [ 151.834948][ T5935] do_file_open+0x23e/0x4a0 [ 151.834977][ T5935] do_sys_openat2+0x115/0x200 [ 151.834999][ T5935] __x64_sys_openat+0x138/0x170 [ 151.835022][ T5935] do_syscall_64+0x166/0x520 [ 151.835041][ T5935] entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 151.835062][ T5935] [ 151.835068][ T5935] The buggy address belongs to the object at ffff88802e1cbc00 [ 151.835068][ T5935] which belongs to the cache kmalloc-512 of size 512 [ 151.835088][ T5935] The buggy address is located 24 bytes inside of [ 151.835088][ T5935] freed 512-byte region [ffff88802e1cbc00, ffff88802e1cbe00) [ 151.835111][ T5935] [ 151.835117][ T5935] The buggy address belongs to the physical page: [ 151.835136][ T5935] page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x2e1c8 [ 151.835161][ T5935] head: order:2 mapcount:0 entire_mapcount:0 nr_pages_mapped:0 pincount:0 [ 151.835180][ T5935] flags: 0x80000000000040(head|node=0|zone=1) [ 151.835211][ T5935] page_type: f5(slab) [ 151.835232][ T5935] raw: 0080000000000040 ffff88813ff44c80 dead000000000100 dead000000000122 [ 151.835251][ T5935] raw: 0000000000000000 0000000000100010 00000000f5000000 0000000000000000 [ 151.835272][ T5935] head: 0080000000000040 ffff88813ff44c80 dead000000000100 dead000000000122 [ 151.835310][ T5935] head: 0000000000000000 0000000000100010 00000000f5000000 0000000000000000 [ 151.835314][ T5938] ------------[ cut here ]------------ [ 151.835326][ T5938] kernel BUG at lib/refcount.c:37! [ 151.835330][ T5935] head: 0080000000000002 ffffffffffffff01 00000000ffffffff 00000000ffffffff [ 151.835348][ T5935] head: 0000000000000000 0000000000000000 00000000ffffffff 0000000000000004 [ 151.835359][ T5935] page dumped because: kasan: bad access detected [ 151.835370][ T5938] Oops: invalid opcode: 0000 [#1] SMP KASAN PTI [ 151.835376][ T5935] page_owner tracks the page as allocated [ 151.835384][ T5935] page last allocated via order 2, migratetype Unmovable, gfp_mask 0xd20c0(__GFP_IO|__GFP_FS|__GFP_NOWARN|__GFP_NORETRY|__GFP_COMP|__GFP_NOMEMALLOC), pid 1, tgid 1 (swapper/0), ts 24197161849 [ 151.835443][ T5935] post_alloc_hook+0x1f9/0x250 [ 151.835546][ T5935] get_page_from_freelist+0x2591/0x2600 [ 151.835593][ T5935] __alloc_frozen_pages_noprof+0x230/0x5c0 [ 151.835654][ T5935] allocate_slab+0x7d/0x620 [ 151.835728][ T5935] refill_objects+0x2d8/0x350 [ 151.835793][ T5935] __pcs_replace_empty_main+0x339/0x690 [ 151.835859][ T5935] __kmalloc_cache_noprof+0x46a/0x670 [ 151.835905][ T5935] bus_add_driver+0x165/0x670 [ 151.835958][ T5935] driver_register+0x23a/0x320 [ 151.836034][ T5935] usb_register_driver+0x1e4/0x390 [ 151.836117][ T5935] do_one_initcall+0x250/0x870 [ 151.836204][ T5935] do_initcall_level+0x10a/0x1a0 [ 151.836257][ T5935] do_initcalls+0x59/0xa0 [ 151.836303][ T5935] kernel_init_freeable+0x29d/0x3e0 [ 151.836357][ T5935] kernel_init+0x22/0x1d0 [ 151.836420][ T5935] ret_from_fork+0x514/0xb70 [ 151.836467][ T5935] page_owner free stack trace missing [ 151.836488][ T5935] [ 151.836506][ T5935] Memory state around the buggy address: [ 151.836531][ T5935] ffff88802e1cbb00: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 151.836572][ T5935] ffff88802e1cbb80: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 151.836612][ T5935] >ffff88802e1cbc00: fa fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 151.836643][ T5935] ^ [ 151.836675][ T5935] ffff88802e1cbc80: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 151.836702][ T5935] ffff88802e1cbd00: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 151.836727][ T5935] ================================================================== [ 151.850975][ T5935] Kernel panic - not syncing: KASAN: panic_on_warn set ... [ 153.798102][ T5935] Shutting down cpus with NMI [ 153.803470][ T5935] Kernel Offset: disabled [ 153.807841][ T5935] Rebooting in 86400 seconds..