Extracting prog: 17m6.951415953s Minimizing prog: 1h27m50.584132489s Simplifying prog options: 43m57.141279946s Extracting C: 15m28.309950815s Simplifying C: 0s extracting reproducer from 1 programs testing a last program of every proc single: executing 1 programs separately with timeout 45s testing program (duration=45s, {Threaded:true Repeat:true RepeatTimes:0 Procs:2 Slowdown:10 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:false Wifi:false IEEE802154:false Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): openat$rfkill-write$rfkill detailed listing: executing program 0: r0 = openat$rfkill(0xffffffffffffff9c, &(0x7f00000000c0), 0x1, 0x0) write$rfkill(r0, &(0x7f0000000100)={0x8, 0x0, 0x2, 0x1}, 0x8) program did not crash single: failed to extract reproducer single: executing 1 programs separately with timeout 16m0s testing program (duration=16m0s, {Threaded:true Repeat:true RepeatTimes:0 Procs:2 Slowdown:10 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:false Wifi:false IEEE802154:false Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): openat$rfkill-write$rfkill detailed listing: executing program 0: r0 = openat$rfkill(0xffffffffffffff9c, &(0x7f00000000c0), 0x1, 0x0) write$rfkill(r0, &(0x7f0000000100)={0x8, 0x0, 0x2, 0x1}, 0x8) program crashed: KASAN: slab-use-after-free Read in __linkwatch_run_queue single: successfully extracted reproducer found reproducer with 2 syscalls minimizing guilty program testing program (duration=21m33.087483301s, {Threaded:true Repeat:true RepeatTimes:0 Procs:2 Slowdown:10 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:false Wifi:false IEEE802154:false Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): openat$rfkill detailed listing: executing program 0: openat$rfkill(0xffffffffffffff9c, &(0x7f00000000c0), 0x1, 0x0) program did not crash testing program (duration=21m33.087483301s, {Threaded:true Repeat:true RepeatTimes:0 Procs:2 Slowdown:10 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:false Wifi:false IEEE802154:false Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): write$rfkill detailed listing: executing program 0: write$rfkill(0xffffffffffffffff, &(0x7f0000000100)={0x8, 0x0, 0x2, 0x1}, 0x8) program did not crash testing program (duration=21m33.087483301s, {Threaded:true Repeat:true RepeatTimes:0 Procs:2 Slowdown:10 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:false Wifi:false IEEE802154:false Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): openat$rfkill-write$rfkill detailed listing: executing program 0: r0 = openat$rfkill(0xffffffffffffff9c, 0x0, 0x1, 0x0) write$rfkill(r0, &(0x7f0000000100)={0x8, 0x0, 0x2, 0x1}, 0x8) program did not crash testing program (duration=21m33.087483301s, {Threaded:true Repeat:true RepeatTimes:0 Procs:2 Slowdown:10 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:false Wifi:false IEEE802154:false Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): openat$rfkill-write$rfkill detailed listing: executing program 0: r0 = openat$rfkill(0xffffffffffffff9c, &(0x7f00000000c0), 0x1, 0x0) write$rfkill(r0, 0x0, 0x0) program did not crash extracting C reproducer testing compiled C program (duration=21m33.087483301s, {Threaded:true Repeat:true RepeatTimes:0 Procs:2 Slowdown:10 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:false Wifi:false IEEE802154:false Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): openat$rfkill-write$rfkill program crashed: no output from test machine a never seen crash title: no output from test machine, ignore simplifying guilty program options testing program (duration=21m33.087483301s, {Threaded:false Repeat:true RepeatTimes:0 Procs:2 Slowdown:10 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:false Wifi:false IEEE802154:false Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): openat$rfkill-write$rfkill detailed listing: executing program 0: r0 = openat$rfkill(0xffffffffffffff9c, &(0x7f00000000c0), 0x1, 0x0) write$rfkill(r0, &(0x7f0000000100)={0x8, 0x0, 0x2, 0x1}, 0x8) program did not crash testing program (duration=21m33.087483301s, {Threaded:true Repeat:true RepeatTimes:0 Procs:1 Slowdown:10 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:false Wifi:false IEEE802154:false Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): openat$rfkill-write$rfkill detailed listing: executing program 0: r0 = openat$rfkill(0xffffffffffffff9c, &(0x7f00000000c0), 0x1, 0x0) write$rfkill(r0, &(0x7f0000000100)={0x8, 0x0, 0x2, 0x1}, 0x8) program did not crash reproducing took 2h44m22.986806934s repro crashed as (corrupted=false): ================================================================== BUG: KASAN: slab-use-after-free in __linkwatch_run_queue+0x180/0x2b8 net/core/link_watch.c:244 Read at addr faf00000113fca2d by task kworker/u8:2/40 Pointer tag: [fa], memory tag: [fe] CPU: 0 UID: 0 PID: 40 Comm: kworker/u8:2 Not tainted 6.16.0-rc1-syzkaller #0 PREEMPT Hardware name: linux,dummy-virt (DT) Workqueue: events_unbound linkwatch_event Call trace: show_stack+0x18/0x24 arch/arm64/kernel/stacktrace.c:466 (C) __dump_stack lib/dump_stack.c:94 [inline] dump_stack_lvl+0x78/0x90 lib/dump_stack.c:120 print_address_description mm/kasan/report.c:408 [inline] print_report+0x108/0x630 mm/kasan/report.c:521 kasan_report+0x88/0xac mm/kasan/report.c:634 report_tag_fault arch/arm64/mm/fault.c:332 [inline] do_tag_recovery arch/arm64/mm/fault.c:344 [inline] __do_kernel_fault+0x170/0x1c8 arch/arm64/mm/fault.c:386 do_bad_area arch/arm64/mm/fault.c:486 [inline] do_tag_check_fault+0x78/0x8c arch/arm64/mm/fault.c:843 do_mem_abort+0x44/0x94 arch/arm64/mm/fault.c:919 el1_abort+0x40/0x60 arch/arm64/kernel/entry-common.c:455 el1h_64_sync_handler+0xa4/0x120 arch/arm64/kernel/entry-common.c:533 el1h_64_sync+0x6c/0x70 arch/arm64/kernel/entry.S:595 __linkwatch_run_queue+0x180/0x2b8 net/core/link_watch.c:244 (P) linkwatch_event+0x30/0x40 net/core/link_watch.c:304 process_one_work+0x178/0x2cc kernel/workqueue.c:3238 process_scheduled_works kernel/workqueue.c:3321 [inline] worker_thread+0x250/0x358 kernel/workqueue.c:3402 kthread+0x130/0x1fc kernel/kthread.c:464 ret_from_fork+0x10/0x20 arch/arm64/kernel/entry.S:862 Freed by task 12: kasan_save_stack+0x3c/0x64 mm/kasan/common.c:47 save_stack_info+0x40/0x158 mm/kasan/tags.c:106 kasan_save_free_info+0x18/0x24 mm/kasan/tags.c:147 poison_slab_object mm/kasan/common.c:247 [inline] __kasan_slab_free+0x74/0x8c mm/kasan/common.c:264 kasan_slab_free include/linux/kasan.h:233 [inline] slab_free_hook mm/slub.c:2381 [inline] slab_free mm/slub.c:4643 [inline] kfree+0xfc/0x30c mm/slub.c:4842 kvfree+0x3c/0x4c mm/slub.c:5058 netdev_release+0x30/0x44 net/core/net-sysfs.c:2231 device_release+0x34/0x90 drivers/base/core.c:2568 kobject_cleanup lib/kobject.c:689 [inline] kobject_release lib/kobject.c:720 [inline] kref_put include/linux/kref.h:65 [inline] kobject_put+0xa4/0x114 lib/kobject.c:737 netdev_run_todo+0x1f0/0x5a0 net/core/dev.c:11412 rtnl_unlock+0x10/0x1c net/core/rtnetlink.c:157 default_device_exit_batch+0x320/0x394 net/core/dev.c:12645 ops_exit_list net/core/net_namespace.c:206 [inline] ops_undo_list+0x10c/0x23c net/core/net_namespace.c:253 cleanup_net+0x1f8/0x3d0 net/core/net_namespace.c:686 process_one_work+0x178/0x2cc kernel/workqueue.c:3238 process_scheduled_works kernel/workqueue.c:3321 [inline] worker_thread+0x250/0x358 kernel/workqueue.c:3402 kthread+0x130/0x1fc kernel/kthread.c:464 ret_from_fork+0x10/0x20 arch/arm64/kernel/entry.S:862 The buggy address belongs to the object at fff00000113fc000 which belongs to the cache kmalloc-cg-4k of size 4096 The buggy address is located 2605 bytes inside of 4096-byte region [fff00000113fc000, fff00000113fd000) The buggy address belongs to the physical page: page: refcount:0 mapcount:0 mapping:0000000000000000 index:0xfaf00000113fc000 pfn:0x513f8 head: order:3 mapcount:0 entire_mapcount:0 nr_pages_mapped:0 pincount:0 memcg:fdf000001128ff81 flags: 0x1ffc00000000240(workingset|head|node=0|zone=0|lastcpupid=0x7ff|kasantag=0x0) page_type: f5(slab) raw: 01ffc00000000240 fdf0000003008000 ffffc1ffc0488e10 ffffc1ffc044f810 raw: faf00000113fc000 0000000000080004 00000000f5000000 fdf000001128ff81 head: 01ffc00000000240 fdf0000003008000 ffffc1ffc0488e10 ffffc1ffc044f810 head: faf00000113fc000 0000000000080004 00000000f5000000 fdf000001128ff81 head: 01ffc00000000003 ffffc1ffc044fe01 00000000ffffffff 00000000ffffffff head: ffffffffffffffff 0000000000000000 00000000ffffffff 0000000000000008 page dumped because: kasan: bad access detected Memory state around the buggy address: fff00000113fc800: fe fe fe fe fe fe fe fe fe fe fe fe fe fe fe fe fff00000113fc900: fe fe fe fe fe fe fe fe fe fe fe fe fe fe fe fe >fff00000113fca00: fe fe fe fe fe fe fe fe fe fe fe fe fe fe fe fe ^ fff00000113fcb00: fe fe fe fe fe fe fe fe fe fe fe fe fe fe fe fe fff00000113fcc00: fe fe fe fe fe fe fe fe fe fe fe fe fe fe fe fe ================================================================== final repro crashed as (corrupted=false): ================================================================== BUG: KASAN: slab-use-after-free in __linkwatch_run_queue+0x180/0x2b8 net/core/link_watch.c:244 Read at addr faf00000113fca2d by task kworker/u8:2/40 Pointer tag: [fa], memory tag: [fe] CPU: 0 UID: 0 PID: 40 Comm: kworker/u8:2 Not tainted 6.16.0-rc1-syzkaller #0 PREEMPT Hardware name: linux,dummy-virt (DT) Workqueue: events_unbound linkwatch_event Call trace: show_stack+0x18/0x24 arch/arm64/kernel/stacktrace.c:466 (C) __dump_stack lib/dump_stack.c:94 [inline] dump_stack_lvl+0x78/0x90 lib/dump_stack.c:120 print_address_description mm/kasan/report.c:408 [inline] print_report+0x108/0x630 mm/kasan/report.c:521 kasan_report+0x88/0xac mm/kasan/report.c:634 report_tag_fault arch/arm64/mm/fault.c:332 [inline] do_tag_recovery arch/arm64/mm/fault.c:344 [inline] __do_kernel_fault+0x170/0x1c8 arch/arm64/mm/fault.c:386 do_bad_area arch/arm64/mm/fault.c:486 [inline] do_tag_check_fault+0x78/0x8c arch/arm64/mm/fault.c:843 do_mem_abort+0x44/0x94 arch/arm64/mm/fault.c:919 el1_abort+0x40/0x60 arch/arm64/kernel/entry-common.c:455 el1h_64_sync_handler+0xa4/0x120 arch/arm64/kernel/entry-common.c:533 el1h_64_sync+0x6c/0x70 arch/arm64/kernel/entry.S:595 __linkwatch_run_queue+0x180/0x2b8 net/core/link_watch.c:244 (P) linkwatch_event+0x30/0x40 net/core/link_watch.c:304 process_one_work+0x178/0x2cc kernel/workqueue.c:3238 process_scheduled_works kernel/workqueue.c:3321 [inline] worker_thread+0x250/0x358 kernel/workqueue.c:3402 kthread+0x130/0x1fc kernel/kthread.c:464 ret_from_fork+0x10/0x20 arch/arm64/kernel/entry.S:862 Freed by task 12: kasan_save_stack+0x3c/0x64 mm/kasan/common.c:47 save_stack_info+0x40/0x158 mm/kasan/tags.c:106 kasan_save_free_info+0x18/0x24 mm/kasan/tags.c:147 poison_slab_object mm/kasan/common.c:247 [inline] __kasan_slab_free+0x74/0x8c mm/kasan/common.c:264 kasan_slab_free include/linux/kasan.h:233 [inline] slab_free_hook mm/slub.c:2381 [inline] slab_free mm/slub.c:4643 [inline] kfree+0xfc/0x30c mm/slub.c:4842 kvfree+0x3c/0x4c mm/slub.c:5058 netdev_release+0x30/0x44 net/core/net-sysfs.c:2231 device_release+0x34/0x90 drivers/base/core.c:2568 kobject_cleanup lib/kobject.c:689 [inline] kobject_release lib/kobject.c:720 [inline] kref_put include/linux/kref.h:65 [inline] kobject_put+0xa4/0x114 lib/kobject.c:737 netdev_run_todo+0x1f0/0x5a0 net/core/dev.c:11412 rtnl_unlock+0x10/0x1c net/core/rtnetlink.c:157 default_device_exit_batch+0x320/0x394 net/core/dev.c:12645 ops_exit_list net/core/net_namespace.c:206 [inline] ops_undo_list+0x10c/0x23c net/core/net_namespace.c:253 cleanup_net+0x1f8/0x3d0 net/core/net_namespace.c:686 process_one_work+0x178/0x2cc kernel/workqueue.c:3238 process_scheduled_works kernel/workqueue.c:3321 [inline] worker_thread+0x250/0x358 kernel/workqueue.c:3402 kthread+0x130/0x1fc kernel/kthread.c:464 ret_from_fork+0x10/0x20 arch/arm64/kernel/entry.S:862 The buggy address belongs to the object at fff00000113fc000 which belongs to the cache kmalloc-cg-4k of size 4096 The buggy address is located 2605 bytes inside of 4096-byte region [fff00000113fc000, fff00000113fd000) The buggy address belongs to the physical page: page: refcount:0 mapcount:0 mapping:0000000000000000 index:0xfaf00000113fc000 pfn:0x513f8 head: order:3 mapcount:0 entire_mapcount:0 nr_pages_mapped:0 pincount:0 memcg:fdf000001128ff81 flags: 0x1ffc00000000240(workingset|head|node=0|zone=0|lastcpupid=0x7ff|kasantag=0x0) page_type: f5(slab) raw: 01ffc00000000240 fdf0000003008000 ffffc1ffc0488e10 ffffc1ffc044f810 raw: faf00000113fc000 0000000000080004 00000000f5000000 fdf000001128ff81 head: 01ffc00000000240 fdf0000003008000 ffffc1ffc0488e10 ffffc1ffc044f810 head: faf00000113fc000 0000000000080004 00000000f5000000 fdf000001128ff81 head: 01ffc00000000003 ffffc1ffc044fe01 00000000ffffffff 00000000ffffffff head: ffffffffffffffff 0000000000000000 00000000ffffffff 0000000000000008 page dumped because: kasan: bad access detected Memory state around the buggy address: fff00000113fc800: fe fe fe fe fe fe fe fe fe fe fe fe fe fe fe fe fff00000113fc900: fe fe fe fe fe fe fe fe fe fe fe fe fe fe fe fe >fff00000113fca00: fe fe fe fe fe fe fe fe fe fe fe fe fe fe fe fe ^ fff00000113fcb00: fe fe fe fe fe fe fe fe fe fe fe fe fe fe fe fe fff00000113fcc00: fe fe fe fe fe fe fe fe fe fe fe fe fe fe fe fe ==================================================================