Extracting prog: 2m12.348886321s Minimizing prog: 8m49.020178155s Simplifying prog options: 5m28.210440314s Extracting C: 2m9.691205543s Simplifying C: 0s extracting reproducer from 1 programs testing a last program of every proc single: executing 1 programs separately with timeout 30s testing program (duration=30s, {Threaded:true Repeat:true RepeatTimes:0 Procs:5 Slowdown:1 Sandbox:none SandboxArg:0 Leak:false NetInjection:true NetDevices:true NetReset:true Cgroups:true BinfmtMisc:true CloseFDs:true KCSAN:false DevlinkPCI:false NicVF:false USB:true VhciInjection:true Wifi:true IEEE802154:true Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false CallComments:true LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): syz_clone-ptrace-syz_open_dev$dvb_frontend-openat$snapshot-ioctl$VIDIOC_REQBUFS-syz_init_net_socket$bt_hidp detailed listing: executing program 0: r0 = syz_clone(0x0, 0x0, 0x0, 0x0, 0x0, 0x0) ptrace(0x10, r0) syz_open_dev$dvb_frontend(&(0x7f0000000080), 0x0, 0x2) openat$snapshot(0xffffffffffffff9c, 0x0, 0x701101, 0x0) ioctl$VIDIOC_REQBUFS(0xffffffffffffffff, 0xc0585609, 0x0) syz_init_net_socket$bt_hidp(0x1f, 0x3, 0x6) program did not crash single: failed to extract reproducer single: executing 1 programs separately with timeout 6m0s testing program (duration=6m0s, {Threaded:true Repeat:true RepeatTimes:0 Procs:5 Slowdown:1 Sandbox:none SandboxArg:0 Leak:false NetInjection:true NetDevices:true NetReset:true Cgroups:true BinfmtMisc:true CloseFDs:true KCSAN:false DevlinkPCI:false NicVF:false USB:true VhciInjection:true Wifi:true IEEE802154:true Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false CallComments:true LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): syz_clone-ptrace-syz_open_dev$dvb_frontend-openat$snapshot-ioctl$VIDIOC_REQBUFS-syz_init_net_socket$bt_hidp detailed listing: executing program 0: r0 = syz_clone(0x0, 0x0, 0x0, 0x0, 0x0, 0x0) ptrace(0x10, r0) syz_open_dev$dvb_frontend(&(0x7f0000000080), 0x0, 0x2) openat$snapshot(0xffffffffffffff9c, 0x0, 0x701101, 0x0) ioctl$VIDIOC_REQBUFS(0xffffffffffffffff, 0xc0585609, 0x0) syz_init_net_socket$bt_hidp(0x1f, 0x3, 0x6) program crashed: KASAN: slab-use-after-free Read in dvb_device_open single: successfully extracted reproducer found reproducer with 6 syscalls minimizing guilty program testing program (duration=1m8.46500192s, {Threaded:true Repeat:true RepeatTimes:0 Procs:5 Slowdown:1 Sandbox:none SandboxArg:0 Leak:false NetInjection:true NetDevices:true NetReset:true Cgroups:true BinfmtMisc:true CloseFDs:true KCSAN:false DevlinkPCI:false NicVF:false USB:true VhciInjection:true Wifi:true IEEE802154:true Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false CallComments:true LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): syz_clone-ptrace-syz_open_dev$dvb_frontend-openat$snapshot-ioctl$VIDIOC_REQBUFS detailed listing: executing program 0: r0 = syz_clone(0x0, 0x0, 0x0, 0x0, 0x0, 0x0) ptrace(0x10, r0) syz_open_dev$dvb_frontend(&(0x7f0000000080), 0x0, 0x2) openat$snapshot(0xffffffffffffff9c, 0x0, 0x701101, 0x0) ioctl$VIDIOC_REQBUFS(0xffffffffffffffff, 0xc0585609, 0x0) program crashed: KASAN: slab-use-after-free Read in dvb_device_open testing program (duration=1m8.46500192s, {Threaded:true Repeat:true RepeatTimes:0 Procs:5 Slowdown:1 Sandbox:none SandboxArg:0 Leak:false NetInjection:true NetDevices:true NetReset:true Cgroups:true BinfmtMisc:true CloseFDs:true KCSAN:false DevlinkPCI:false NicVF:false USB:true VhciInjection:true Wifi:true IEEE802154:true Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false CallComments:true LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): syz_clone-ptrace-syz_open_dev$dvb_frontend-openat$snapshot detailed listing: executing program 0: r0 = syz_clone(0x0, 0x0, 0x0, 0x0, 0x0, 0x0) ptrace(0x10, r0) syz_open_dev$dvb_frontend(&(0x7f0000000080), 0x0, 0x2) openat$snapshot(0xffffffffffffff9c, 0x0, 0x701101, 0x0) program crashed: KASAN: slab-use-after-free Read in dvb_device_open testing program (duration=1m8.46500192s, {Threaded:true Repeat:true RepeatTimes:0 Procs:5 Slowdown:1 Sandbox:none SandboxArg:0 Leak:false NetInjection:true NetDevices:true NetReset:true Cgroups:true BinfmtMisc:true CloseFDs:true KCSAN:false DevlinkPCI:false NicVF:false USB:true VhciInjection:true Wifi:true IEEE802154:true Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false CallComments:true LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): syz_clone-ptrace-syz_open_dev$dvb_frontend detailed listing: executing program 0: r0 = syz_clone(0x0, 0x0, 0x0, 0x0, 0x0, 0x0) ptrace(0x10, r0) syz_open_dev$dvb_frontend(&(0x7f0000000080), 0x0, 0x2) program crashed: KASAN: slab-use-after-free Read in dvb_device_open testing program (duration=1m8.46500192s, {Threaded:true Repeat:true RepeatTimes:0 Procs:5 Slowdown:1 Sandbox:none SandboxArg:0 Leak:false NetInjection:true NetDevices:true NetReset:true Cgroups:true BinfmtMisc:true CloseFDs:true KCSAN:false DevlinkPCI:false NicVF:false USB:true VhciInjection:true Wifi:true IEEE802154:true Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false CallComments:true LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): syz_clone-ptrace detailed listing: executing program 0: r0 = syz_clone(0x0, 0x0, 0x0, 0x0, 0x0, 0x0) ptrace(0x10, r0) program did not crash testing program (duration=1m8.46500192s, {Threaded:true Repeat:true RepeatTimes:0 Procs:5 Slowdown:1 Sandbox:none SandboxArg:0 Leak:false NetInjection:true NetDevices:true NetReset:true Cgroups:true BinfmtMisc:true CloseFDs:true KCSAN:false DevlinkPCI:false NicVF:false USB:true VhciInjection:true Wifi:true IEEE802154:true Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false CallComments:true LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): syz_clone-syz_open_dev$dvb_frontend detailed listing: executing program 0: syz_clone(0x0, 0x0, 0x0, 0x0, 0x0, 0x0) syz_open_dev$dvb_frontend(&(0x7f0000000080), 0x0, 0x2) program did not crash testing program (duration=1m8.46500192s, {Threaded:true Repeat:true RepeatTimes:0 Procs:5 Slowdown:1 Sandbox:none SandboxArg:0 Leak:false NetInjection:true NetDevices:true NetReset:true Cgroups:true BinfmtMisc:true CloseFDs:true KCSAN:false DevlinkPCI:false NicVF:false USB:true VhciInjection:true Wifi:true IEEE802154:true Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false CallComments:true LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): ptrace-syz_open_dev$dvb_frontend detailed listing: executing program 0: ptrace(0x10, 0x0) syz_open_dev$dvb_frontend(&(0x7f0000000080), 0x0, 0x2) program did not crash testing program (duration=1m8.46500192s, {Threaded:true Repeat:true RepeatTimes:0 Procs:5 Slowdown:1 Sandbox:none SandboxArg:0 Leak:false NetInjection:true NetDevices:true NetReset:true Cgroups:true BinfmtMisc:true CloseFDs:true KCSAN:false DevlinkPCI:false NicVF:false USB:true VhciInjection:true Wifi:true IEEE802154:true Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false CallComments:true LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): syz_clone-ptrace-syz_open_dev$dvb_frontend detailed listing: executing program 0: r0 = syz_clone(0x0, 0x0, 0x0, 0x0, 0x0, 0x0) ptrace(0x10, r0) syz_open_dev$dvb_frontend(0x0, 0x0, 0x2) program did not crash extracting C reproducer testing compiled C program (duration=1m8.46500192s, {Threaded:true Repeat:true RepeatTimes:0 Procs:5 Slowdown:1 Sandbox:none SandboxArg:0 Leak:false NetInjection:true NetDevices:true NetReset:true Cgroups:true BinfmtMisc:true CloseFDs:true KCSAN:false DevlinkPCI:false NicVF:false USB:true VhciInjection:true Wifi:true IEEE802154:true Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false CallComments:true LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): syz_clone-ptrace-syz_open_dev$dvb_frontend program did not crash simplifying guilty program options testing program (duration=1m8.46500192s, {Threaded:false Repeat:true RepeatTimes:0 Procs:5 Slowdown:1 Sandbox:none SandboxArg:0 Leak:false NetInjection:true NetDevices:true NetReset:true Cgroups:true BinfmtMisc:true CloseFDs:true KCSAN:false DevlinkPCI:false NicVF:false USB:true VhciInjection:true Wifi:true IEEE802154:true Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false CallComments:true LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): syz_clone-ptrace-syz_open_dev$dvb_frontend detailed listing: executing program 0: r0 = syz_clone(0x0, 0x0, 0x0, 0x0, 0x0, 0x0) ptrace(0x10, r0) syz_open_dev$dvb_frontend(&(0x7f0000000080), 0x0, 0x2) program crashed: KASAN: slab-use-after-free Read in dvb_device_open extracting C reproducer testing compiled C program (duration=1m8.46500192s, {Threaded:false Repeat:true RepeatTimes:0 Procs:5 Slowdown:1 Sandbox:none SandboxArg:0 Leak:false NetInjection:true NetDevices:true NetReset:true Cgroups:true BinfmtMisc:true CloseFDs:true KCSAN:false DevlinkPCI:false NicVF:false USB:true VhciInjection:true Wifi:true IEEE802154:true Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false CallComments:true LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): syz_clone-ptrace-syz_open_dev$dvb_frontend program did not crash testing program (duration=1m8.46500192s, {Threaded:false Repeat:true RepeatTimes:0 Procs:1 Slowdown:1 Sandbox:none SandboxArg:0 Leak:false NetInjection:true NetDevices:true NetReset:true Cgroups:true BinfmtMisc:true CloseFDs:true KCSAN:false DevlinkPCI:false NicVF:false USB:true VhciInjection:true Wifi:true IEEE802154:true Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false CallComments:true LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): syz_clone-ptrace-syz_open_dev$dvb_frontend detailed listing: executing program 0: r0 = syz_clone(0x0, 0x0, 0x0, 0x0, 0x0, 0x0) ptrace(0x10, r0) syz_open_dev$dvb_frontend(&(0x7f0000000080), 0x0, 0x2) program crashed: KASAN: slab-use-after-free Read in dvb_device_open extracting C reproducer testing compiled C program (duration=1m8.46500192s, {Threaded:false Repeat:true RepeatTimes:0 Procs:1 Slowdown:1 Sandbox:none SandboxArg:0 Leak:false NetInjection:true NetDevices:true NetReset:true Cgroups:true BinfmtMisc:true CloseFDs:true KCSAN:false DevlinkPCI:false NicVF:false USB:true VhciInjection:true Wifi:true IEEE802154:true Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false CallComments:true LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): syz_clone-ptrace-syz_open_dev$dvb_frontend program did not crash testing program (duration=1m8.46500192s, {Threaded:false Repeat:true RepeatTimes:0 Procs:1 Slowdown:1 Sandbox:none SandboxArg:0 Leak:false NetInjection:true NetDevices:true NetReset:true Cgroups:true BinfmtMisc:true CloseFDs:true KCSAN:false DevlinkPCI:false NicVF:false USB:true VhciInjection:true Wifi:true IEEE802154:true Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false CallComments:true LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): syz_clone-ptrace-syz_open_dev$dvb_frontend detailed listing: executing program 0: r0 = syz_clone(0x0, 0x0, 0x0, 0x0, 0x0, 0x0) ptrace(0x10, r0) syz_open_dev$dvb_frontend(&(0x7f0000000080), 0x0, 0x2) program crashed: KASAN: slab-use-after-free Read in dvb_device_open validation run: crashed=true testing program (duration=1m8.46500192s, {Threaded:false Repeat:true RepeatTimes:0 Procs:1 Slowdown:1 Sandbox:none SandboxArg:0 Leak:false NetInjection:true NetDevices:true NetReset:true Cgroups:true BinfmtMisc:true CloseFDs:true KCSAN:false DevlinkPCI:false NicVF:false USB:true VhciInjection:true Wifi:true IEEE802154:true Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false CallComments:true LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): syz_clone-ptrace-syz_open_dev$dvb_frontend detailed listing: executing program 0: r0 = syz_clone(0x0, 0x0, 0x0, 0x0, 0x0, 0x0) ptrace(0x10, r0) syz_open_dev$dvb_frontend(&(0x7f0000000080), 0x0, 0x2) program crashed: KASAN: slab-use-after-free Read in dvb_device_open validation run: crashed=true testing program (duration=1m8.46500192s, {Threaded:false Repeat:true RepeatTimes:0 Procs:1 Slowdown:1 Sandbox:none SandboxArg:0 Leak:false NetInjection:true NetDevices:true NetReset:true Cgroups:true BinfmtMisc:true CloseFDs:true KCSAN:false DevlinkPCI:false NicVF:false USB:true VhciInjection:true Wifi:true IEEE802154:true Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false CallComments:true LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): syz_clone-ptrace-syz_open_dev$dvb_frontend detailed listing: executing program 0: r0 = syz_clone(0x0, 0x0, 0x0, 0x0, 0x0, 0x0) ptrace(0x10, r0) syz_open_dev$dvb_frontend(&(0x7f0000000080), 0x0, 0x2) program crashed: KASAN: slab-use-after-free Read in dvb_device_open validation run: crashed=true reproducing took 21m3.725614725s repro crashed as (corrupted=false): ================================================================== BUG: KASAN: slab-use-after-free in dvb_device_open+0xd0/0x254 drivers/media/dvb-core/dvbdev.c:99 Read of size 8 at addr ffff0000cbc6c818 by task syz.0.20/4971 CPU: 0 UID: 0 PID: 4971 Comm: syz.0.20 Not tainted syzkaller #0 PREEMPT Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/06/2026 Call trace: show_stack+0x2c/0x3c arch/arm64/kernel/stacktrace.c:499 (C) __dump_stack+0x30/0x40 lib/dump_stack.c:94 dump_stack_lvl+0xd8/0x12c lib/dump_stack.c:120 print_address_description+0xb0/0x238 mm/kasan/report.c:378 print_report+0x68/0x84 mm/kasan/report.c:482 kasan_report+0x8c/0xc4 mm/kasan/report.c:595 __asan_report_load8_noabort+0x20/0x2c mm/kasan/report_generic.c:381 dvb_device_open+0xd0/0x254 drivers/media/dvb-core/dvbdev.c:99 chrdev_open+0x398/0x3e8 fs/char_dev.c:413 do_dentry_open+0x5bc/0xfb4 fs/open.c:1000 vfs_open_consume+0x54/0x2ec fs/open.c:1131 do_open fs/namei.c:4851 [inline] path_openat+0x1098/0x1910 fs/namei.c:5016 do_file_open+0x1c8/0x2e8 fs/namei.c:5045 do_sys_openat2+0x114/0x1ec fs/open.c:1442 do_sys_open+0xb0/0xe0 fs/open.c:1448 __do_sys_openat fs/open.c:1464 [inline] __se_sys_openat fs/open.c:1459 [inline] __arm64_sys_openat+0xa8/0xc4 fs/open.c:1459 __invoke_syscall arch/arm64/kernel/syscall.c:35 [inline] invoke_syscall+0x98/0x244 arch/arm64/kernel/syscall.c:49 el0_svc_common+0xec/0x23c arch/arm64/kernel/syscall.c:121 do_el0_svc+0x4c/0x5c arch/arm64/kernel/syscall.c:140 el0_svc+0x60/0x1d8 arch/arm64/kernel/entry-common.c:797 el0t_64_sync_handler+0x44/0x104 arch/arm64/kernel/entry-common.c:816 el0t_64_sync+0x198/0x19c arch/arm64/kernel/entry.S:606 Allocated by task 1: kasan_save_stack mm/kasan/common.c:57 [inline] kasan_save_track+0x40/0x78 mm/kasan/common.c:78 kasan_save_alloc_info+0x40/0x50 mm/kasan/generic.c:570 poison_kmalloc_redzone mm/kasan/common.c:409 [inline] __kasan_kmalloc+0x9c/0xb4 mm/kasan/common.c:426 kasan_kmalloc include/linux/kasan.h:263 [inline] __kmalloc_cache_noprof+0x2f4/0x5fc mm/slub.c:5680 _kmalloc_noprof include/linux/slab.h:991 [inline] _kzalloc_noprof include/linux/slab.h:1312 [inline] dvb_register_device+0x1a4/0x16e0 drivers/media/dvb-core/dvbdev.c:472 dvb_register_frontend+0x474/0x6d0 drivers/media/dvb-core/dvb_frontend.c:3074 vidtv_bridge_dvb_init drivers/media/test-drivers/vidtv/vidtv_bridge.c:507 [inline] vidtv_bridge_probe+0x680/0xbc0 drivers/media/test-drivers/vidtv/vidtv_bridge.c:580 platform_probe+0x100/0x1a4 drivers/base/platform.c:1508 call_driver_probe drivers/base/dd.c:-1 [inline] really_probe+0x29c/0x800 drivers/base/dd.c:707 __driver_probe_device+0x1e0/0x350 drivers/base/dd.c:869 driver_probe_device+0x6c/0x19c drivers/base/dd.c:899 __driver_attach+0x168/0x384 drivers/base/dd.c:1300 bus_for_each_dev+0x128/0x1b4 drivers/base/bus.c:383 driver_attach+0x50/0x60 drivers/base/dd.c:1318 bus_add_driver+0x234/0x544 drivers/base/bus.c:782 driver_register+0x220/0x310 drivers/base/driver.c:174 __platform_driver_register+0x90/0xa4 drivers/base/platform.c:996 vidtv_bridge_init+0x4c/0x74 drivers/media/test-drivers/vidtv/vidtv_bridge.c:675 do_one_initcall+0x274/0x9f8 init/main.c:1419 do_initcall_level+0x12c/0x1c4 init/main.c:1481 do_initcalls+0x70/0xd0 init/main.c:1497 do_basic_setup+0x7c/0x90 init/main.c:1517 kernel_init_freeable+0x258/0x398 init/main.c:1732 kernel_init+0x28/0x1e4 init/main.c:1622 ret_from_fork+0x10/0x20 arch/arm64/kernel/entry.S:854 Freed by task 4969: kasan_save_stack mm/kasan/common.c:57 [inline] kasan_save_track+0x40/0x78 mm/kasan/common.c:78 kasan_save_free_info+0x54/0x6c mm/kasan/generic.c:584 poison_slab_object mm/kasan/common.c:264 [inline] __kasan_slab_free+0x74/0xa4 mm/kasan/common.c:296 kasan_slab_free include/linux/kasan.h:235 [inline] slab_free_hook mm/slub.c:2780 [inline] slab_free mm/slub.c:6630 [inline] kfree+0x188/0x658 mm/slub.c:6923 dvb_free_device drivers/media/dvb-core/dvbdev.c:616 [inline] kref_put include/linux/kref.h:65 [inline] dvb_device_put+0x64/0xd0 drivers/media/dvb-core/dvbdev.c:629 dvb_device_open+0x23c/0x254 drivers/media/dvb-core/dvbdev.c:113 chrdev_open+0x398/0x3e8 fs/char_dev.c:413 do_dentry_open+0x5bc/0xfb4 fs/open.c:1000 vfs_open_consume+0x54/0x2ec fs/open.c:1131 do_open fs/namei.c:4851 [inline] path_openat+0x1098/0x1910 fs/namei.c:5016 do_file_open+0x1c8/0x2e8 fs/namei.c:5045 do_sys_openat2+0x114/0x1ec fs/open.c:1442 do_sys_open+0xb0/0xe0 fs/open.c:1448 __do_sys_openat fs/open.c:1464 [inline] __se_sys_openat fs/open.c:1459 [inline] __arm64_sys_openat+0xa8/0xc4 fs/open.c:1459 __invoke_syscall arch/arm64/kernel/syscall.c:35 [inline] invoke_syscall+0x98/0x244 arch/arm64/kernel/syscall.c:49 el0_svc_common+0xec/0x23c arch/arm64/kernel/syscall.c:121 do_el0_svc+0x4c/0x5c arch/arm64/kernel/syscall.c:140 el0_svc+0x60/0x1d8 arch/arm64/kernel/entry-common.c:797 el0t_64_sync_handler+0x44/0x104 arch/arm64/kernel/entry-common.c:816 el0t_64_sync+0x198/0x19c arch/arm64/kernel/entry.S:606 The buggy address belongs to the object at ffff0000cbc6c800 which belongs to the cache kmalloc-256 of size 256 The buggy address is located 24 bytes inside of freed 256-byte region [ffff0000cbc6c800, ffff0000cbc6c900) The buggy address belongs to the physical page: page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x10bc6c head: order:1 mapcount:0 entire_mapcount:0 nr_pages_mapped:0 pincount:0 flags: 0x5ffc00000000040(head|node=0|zone=2|lastcpupid=0x7ff) page_type: f5(slab) raw: 05ffc00000000040 ffff0000c0001b40 dead000000000100 dead000000000122 raw: 0000000000000000 0000000000100010 00000000f5000000 0000000000000000 head: 05ffc00000000040 ffff0000c0001b40 dead000000000100 dead000000000122 head: 0000000000000000 0000000000100010 00000000f5000000 0000000000000000 head: 05ffc00000000001 fffffdffc32f1b01 00000000ffffffff 00000000ffffffff head: ffffffffffffffff 0000000000000000 00000000ffffffff 0000000000000002 page dumped because: kasan: bad access detected Memory state around the buggy address: ffff0000cbc6c700: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc ffff0000cbc6c780: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc >ffff0000cbc6c800: fa fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb ^ ffff0000cbc6c880: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb ffff0000cbc6c900: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc ================================================================== refcount_t: addition on 0; use-after-free. ------------[ cut here ]------------ kernel BUG at lib/refcount.c:34! Internal error: Oops - BUG: 00000000f2000800 [#1] SMP Modules linked in: CPU: 0 UID: 0 PID: 4971 Comm: syz.0.20 Tainted: G B syzkaller #0 PREEMPT Tainted: [B]=BAD_PAGE Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/06/2026 pstate: 63400005 (nZCv daif +PAN -UAO +TCO +DIT -SSBS BTYPE=--) pc : refcount_warn_saturate+0x198/0x1b0 lib/refcount.c:34 lr : refcount_warn_saturate+0x198/0x1b0 lib/refcount.c:34 sp : ffff800097ff7700 x29: ffff800097ff7700 x28: dfff800000000000 x27: 1fffe0001a261ae1 x26: dfff800000000000 x25: ffff700012ffeef4 x24: dfff800000000000 x23: ffff8000874e8968 x22: ffff0000cb376c00 x21: ffff0000cbc6c800 x20: ffff0000cbc6c810 x19: 0000000000000002 x18: ffff800123625000 x17: 3d3d3d3d3d3d3d3d x16: 3d3d3d3d3d3d3d3d x15: 3d3d3d3d3d3d3d3d x14: 0000000000000894 x13: 0000000000000001 x12: 0000000000000000 x11: 0000000000000000 x10: ffff70001135360e x9 : 02de66cad358b100 x8 : 02de66cad358b100 x7 : 0000000000000000 x6 : ffff8000804a121c x5 : 0000000000000000 x4 : 0000000000000000 x3 : ffff8000806f2f8c x2 : 0000000000000001 x1 : ffff0000c4d13b00 x0 : 000000000000002a Call trace: refcount_warn_saturate+0x198/0x1b0 lib/refcount.c:34 (P) __refcount_add include/linux/refcount.h:-1 [inline] __refcount_inc include/linux/refcount.h:366 [inline] refcount_inc include/linux/refcount.h:383 [inline] kref_get include/linux/kref.h:45 [inline] dvb_device_get+0x9c/0xc0 drivers/media/dvb-core/dvbdev.c:621 dvb_device_open+0x100/0x254 drivers/media/dvb-core/dvbdev.c:106 chrdev_open+0x398/0x3e8 fs/char_dev.c:413 do_dentry_open+0x5bc/0xfb4 fs/open.c:1000 vfs_open_consume+0x54/0x2ec fs/open.c:1131 do_open fs/namei.c:4851 [inline] path_openat+0x1098/0x1910 fs/namei.c:5016 do_file_open+0x1c8/0x2e8 fs/namei.c:5045 do_sys_openat2+0x114/0x1ec fs/open.c:1442 do_sys_open+0xb0/0xe0 fs/open.c:1448 __do_sys_openat fs/open.c:1464 [inline] __se_sys_openat fs/open.c:1459 [inline] __arm64_sys_openat+0xa8/0xc4 fs/open.c:1459 __invoke_syscall arch/arm64/kernel/syscall.c:35 [inline] invoke_syscall+0x98/0x244 arch/arm64/kernel/syscall.c:49 el0_svc_common+0xec/0x23c arch/arm64/kernel/syscall.c:121 do_el0_svc+0x4c/0x5c arch/arm64/kernel/syscall.c:140 el0_svc+0x60/0x1d8 arch/arm64/kernel/entry-common.c:797 el0t_64_sync_handler+0x44/0x104 arch/arm64/kernel/entry-common.c:816 el0t_64_sync+0x198/0x19c arch/arm64/kernel/entry.S:606 Code: 97b2a23f d0029dc0 91290000 979bc5c1 (d4210000) ---[ end trace 0000000000000000 ]--- final repro crashed as (corrupted=false): ================================================================== BUG: KASAN: slab-use-after-free in dvb_device_open+0xd0/0x254 drivers/media/dvb-core/dvbdev.c:99 Read of size 8 at addr ffff0000cbc6c818 by task syz.0.20/4971 CPU: 0 UID: 0 PID: 4971 Comm: syz.0.20 Not tainted syzkaller #0 PREEMPT Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/06/2026 Call trace: show_stack+0x2c/0x3c arch/arm64/kernel/stacktrace.c:499 (C) __dump_stack+0x30/0x40 lib/dump_stack.c:94 dump_stack_lvl+0xd8/0x12c lib/dump_stack.c:120 print_address_description+0xb0/0x238 mm/kasan/report.c:378 print_report+0x68/0x84 mm/kasan/report.c:482 kasan_report+0x8c/0xc4 mm/kasan/report.c:595 __asan_report_load8_noabort+0x20/0x2c mm/kasan/report_generic.c:381 dvb_device_open+0xd0/0x254 drivers/media/dvb-core/dvbdev.c:99 chrdev_open+0x398/0x3e8 fs/char_dev.c:413 do_dentry_open+0x5bc/0xfb4 fs/open.c:1000 vfs_open_consume+0x54/0x2ec fs/open.c:1131 do_open fs/namei.c:4851 [inline] path_openat+0x1098/0x1910 fs/namei.c:5016 do_file_open+0x1c8/0x2e8 fs/namei.c:5045 do_sys_openat2+0x114/0x1ec fs/open.c:1442 do_sys_open+0xb0/0xe0 fs/open.c:1448 __do_sys_openat fs/open.c:1464 [inline] __se_sys_openat fs/open.c:1459 [inline] __arm64_sys_openat+0xa8/0xc4 fs/open.c:1459 __invoke_syscall arch/arm64/kernel/syscall.c:35 [inline] invoke_syscall+0x98/0x244 arch/arm64/kernel/syscall.c:49 el0_svc_common+0xec/0x23c arch/arm64/kernel/syscall.c:121 do_el0_svc+0x4c/0x5c arch/arm64/kernel/syscall.c:140 el0_svc+0x60/0x1d8 arch/arm64/kernel/entry-common.c:797 el0t_64_sync_handler+0x44/0x104 arch/arm64/kernel/entry-common.c:816 el0t_64_sync+0x198/0x19c arch/arm64/kernel/entry.S:606 Allocated by task 1: kasan_save_stack mm/kasan/common.c:57 [inline] kasan_save_track+0x40/0x78 mm/kasan/common.c:78 kasan_save_alloc_info+0x40/0x50 mm/kasan/generic.c:570 poison_kmalloc_redzone mm/kasan/common.c:409 [inline] __kasan_kmalloc+0x9c/0xb4 mm/kasan/common.c:426 kasan_kmalloc include/linux/kasan.h:263 [inline] __kmalloc_cache_noprof+0x2f4/0x5fc mm/slub.c:5680 _kmalloc_noprof include/linux/slab.h:991 [inline] _kzalloc_noprof include/linux/slab.h:1312 [inline] dvb_register_device+0x1a4/0x16e0 drivers/media/dvb-core/dvbdev.c:472 dvb_register_frontend+0x474/0x6d0 drivers/media/dvb-core/dvb_frontend.c:3074 vidtv_bridge_dvb_init drivers/media/test-drivers/vidtv/vidtv_bridge.c:507 [inline] vidtv_bridge_probe+0x680/0xbc0 drivers/media/test-drivers/vidtv/vidtv_bridge.c:580 platform_probe+0x100/0x1a4 drivers/base/platform.c:1508 call_driver_probe drivers/base/dd.c:-1 [inline] really_probe+0x29c/0x800 drivers/base/dd.c:707 __driver_probe_device+0x1e0/0x350 drivers/base/dd.c:869 driver_probe_device+0x6c/0x19c drivers/base/dd.c:899 __driver_attach+0x168/0x384 drivers/base/dd.c:1300 bus_for_each_dev+0x128/0x1b4 drivers/base/bus.c:383 driver_attach+0x50/0x60 drivers/base/dd.c:1318 bus_add_driver+0x234/0x544 drivers/base/bus.c:782 driver_register+0x220/0x310 drivers/base/driver.c:174 __platform_driver_register+0x90/0xa4 drivers/base/platform.c:996 vidtv_bridge_init+0x4c/0x74 drivers/media/test-drivers/vidtv/vidtv_bridge.c:675 do_one_initcall+0x274/0x9f8 init/main.c:1419 do_initcall_level+0x12c/0x1c4 init/main.c:1481 do_initcalls+0x70/0xd0 init/main.c:1497 do_basic_setup+0x7c/0x90 init/main.c:1517 kernel_init_freeable+0x258/0x398 init/main.c:1732 kernel_init+0x28/0x1e4 init/main.c:1622 ret_from_fork+0x10/0x20 arch/arm64/kernel/entry.S:854 Freed by task 4969: kasan_save_stack mm/kasan/common.c:57 [inline] kasan_save_track+0x40/0x78 mm/kasan/common.c:78 kasan_save_free_info+0x54/0x6c mm/kasan/generic.c:584 poison_slab_object mm/kasan/common.c:264 [inline] __kasan_slab_free+0x74/0xa4 mm/kasan/common.c:296 kasan_slab_free include/linux/kasan.h:235 [inline] slab_free_hook mm/slub.c:2780 [inline] slab_free mm/slub.c:6630 [inline] kfree+0x188/0x658 mm/slub.c:6923 dvb_free_device drivers/media/dvb-core/dvbdev.c:616 [inline] kref_put include/linux/kref.h:65 [inline] dvb_device_put+0x64/0xd0 drivers/media/dvb-core/dvbdev.c:629 dvb_device_open+0x23c/0x254 drivers/media/dvb-core/dvbdev.c:113 chrdev_open+0x398/0x3e8 fs/char_dev.c:413 do_dentry_open+0x5bc/0xfb4 fs/open.c:1000 vfs_open_consume+0x54/0x2ec fs/open.c:1131 do_open fs/namei.c:4851 [inline] path_openat+0x1098/0x1910 fs/namei.c:5016 do_file_open+0x1c8/0x2e8 fs/namei.c:5045 do_sys_openat2+0x114/0x1ec fs/open.c:1442 do_sys_open+0xb0/0xe0 fs/open.c:1448 __do_sys_openat fs/open.c:1464 [inline] __se_sys_openat fs/open.c:1459 [inline] __arm64_sys_openat+0xa8/0xc4 fs/open.c:1459 __invoke_syscall arch/arm64/kernel/syscall.c:35 [inline] invoke_syscall+0x98/0x244 arch/arm64/kernel/syscall.c:49 el0_svc_common+0xec/0x23c arch/arm64/kernel/syscall.c:121 do_el0_svc+0x4c/0x5c arch/arm64/kernel/syscall.c:140 el0_svc+0x60/0x1d8 arch/arm64/kernel/entry-common.c:797 el0t_64_sync_handler+0x44/0x104 arch/arm64/kernel/entry-common.c:816 el0t_64_sync+0x198/0x19c arch/arm64/kernel/entry.S:606 The buggy address belongs to the object at ffff0000cbc6c800 which belongs to the cache kmalloc-256 of size 256 The buggy address is located 24 bytes inside of freed 256-byte region [ffff0000cbc6c800, ffff0000cbc6c900) The buggy address belongs to the physical page: page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x10bc6c head: order:1 mapcount:0 entire_mapcount:0 nr_pages_mapped:0 pincount:0 flags: 0x5ffc00000000040(head|node=0|zone=2|lastcpupid=0x7ff) page_type: f5(slab) raw: 05ffc00000000040 ffff0000c0001b40 dead000000000100 dead000000000122 raw: 0000000000000000 0000000000100010 00000000f5000000 0000000000000000 head: 05ffc00000000040 ffff0000c0001b40 dead000000000100 dead000000000122 head: 0000000000000000 0000000000100010 00000000f5000000 0000000000000000 head: 05ffc00000000001 fffffdffc32f1b01 00000000ffffffff 00000000ffffffff head: ffffffffffffffff 0000000000000000 00000000ffffffff 0000000000000002 page dumped because: kasan: bad access detected Memory state around the buggy address: ffff0000cbc6c700: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc ffff0000cbc6c780: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc >ffff0000cbc6c800: fa fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb ^ ffff0000cbc6c880: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb ffff0000cbc6c900: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc ================================================================== refcount_t: addition on 0; use-after-free. ------------[ cut here ]------------ kernel BUG at lib/refcount.c:34! Internal error: Oops - BUG: 00000000f2000800 [#1] SMP Modules linked in: CPU: 0 UID: 0 PID: 4971 Comm: syz.0.20 Tainted: G B syzkaller #0 PREEMPT Tainted: [B]=BAD_PAGE Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/06/2026 pstate: 63400005 (nZCv daif +PAN -UAO +TCO +DIT -SSBS BTYPE=--) pc : refcount_warn_saturate+0x198/0x1b0 lib/refcount.c:34 lr : refcount_warn_saturate+0x198/0x1b0 lib/refcount.c:34 sp : ffff800097ff7700 x29: ffff800097ff7700 x28: dfff800000000000 x27: 1fffe0001a261ae1 x26: dfff800000000000 x25: ffff700012ffeef4 x24: dfff800000000000 x23: ffff8000874e8968 x22: ffff0000cb376c00 x21: ffff0000cbc6c800 x20: ffff0000cbc6c810 x19: 0000000000000002 x18: ffff800123625000 x17: 3d3d3d3d3d3d3d3d x16: 3d3d3d3d3d3d3d3d x15: 3d3d3d3d3d3d3d3d x14: 0000000000000894 x13: 0000000000000001 x12: 0000000000000000 x11: 0000000000000000 x10: ffff70001135360e x9 : 02de66cad358b100 x8 : 02de66cad358b100 x7 : 0000000000000000 x6 : ffff8000804a121c x5 : 0000000000000000 x4 : 0000000000000000 x3 : ffff8000806f2f8c x2 : 0000000000000001 x1 : ffff0000c4d13b00 x0 : 000000000000002a Call trace: refcount_warn_saturate+0x198/0x1b0 lib/refcount.c:34 (P) __refcount_add include/linux/refcount.h:-1 [inline] __refcount_inc include/linux/refcount.h:366 [inline] refcount_inc include/linux/refcount.h:383 [inline] kref_get include/linux/kref.h:45 [inline] dvb_device_get+0x9c/0xc0 drivers/media/dvb-core/dvbdev.c:621 dvb_device_open+0x100/0x254 drivers/media/dvb-core/dvbdev.c:106 chrdev_open+0x398/0x3e8 fs/char_dev.c:413 do_dentry_open+0x5bc/0xfb4 fs/open.c:1000 vfs_open_consume+0x54/0x2ec fs/open.c:1131 do_open fs/namei.c:4851 [inline] path_openat+0x1098/0x1910 fs/namei.c:5016 do_file_open+0x1c8/0x2e8 fs/namei.c:5045 do_sys_openat2+0x114/0x1ec fs/open.c:1442 do_sys_open+0xb0/0xe0 fs/open.c:1448 __do_sys_openat fs/open.c:1464 [inline] __se_sys_openat fs/open.c:1459 [inline] __arm64_sys_openat+0xa8/0xc4 fs/open.c:1459 __invoke_syscall arch/arm64/kernel/syscall.c:35 [inline] invoke_syscall+0x98/0x244 arch/arm64/kernel/syscall.c:49 el0_svc_common+0xec/0x23c arch/arm64/kernel/syscall.c:121 do_el0_svc+0x4c/0x5c arch/arm64/kernel/syscall.c:140 el0_svc+0x60/0x1d8 arch/arm64/kernel/entry-common.c:797 el0t_64_sync_handler+0x44/0x104 arch/arm64/kernel/entry-common.c:816 el0t_64_sync+0x198/0x19c arch/arm64/kernel/entry.S:606 Code: 97b2a23f d0029dc0 91290000 979bc5c1 (d4210000) ---[ end trace 0000000000000000 ]---