[ OK ] Listening on Load/Save RF Kill Switch Status /dev/rfkill Watch. Starting Load/Save RF Kill Switch Status... [ OK ] Started Update UTMP about System Runlevel Changes. [ OK ] Started Load/Save RF Kill Switch Status. Debian GNU/Linux 9 syzkaller ttyS0 syzkaller login: [ 15.796086][ C1] random: crng init done [ 15.804105][ C1] random: 7 urandom warning(s) missed due to ratelimiting Warning: Permanently added '10.128.0.50' (ECDSA) to the list of known hosts. executing program [ 30.289080][ T68] usb 1-1: new high-speed USB device number 2 using dummy_hcd [ 30.808881][ T68] usb 1-1: New USB device found, idVendor=0cf3, idProduct=9271, bcdDevice= 1.08 [ 30.817985][ T68] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3 [ 30.826050][ T68] usb 1-1: Product: syz [ 30.830281][ T68] usb 1-1: Manufacturer: syz [ 30.834866][ T68] usb 1-1: SerialNumber: syz [ 30.879653][ T68] usb 1-1: ath9k_htc: Firmware ath9k_htc/htc_9271-1.4.0.fw requested [ 31.518461][ T68] usb 1-1: ath9k_htc: Transferred FW: ath9k_htc/htc_9271-1.4.0.fw, size: 51008 [ 32.547816][ T68] ath9k_htc 1-1:1.0: ath9k_htc: Target is unresponsive [ 32.555200][ T68] ath9k_htc: Failed to initialize the device [ 32.617905][ C1] ================================================================== [ 32.626072][ C1] BUG: KASAN: use-after-free in ath9k_hif_usb_rx_cb+0xdb4/0x1050 [ 32.633777][ C1] Read of size 4 at addr ffff8881cd47c090 by task swapper/1/0 [ 32.641650][ C1] [ 32.643971][ C1] CPU: 1 PID: 0 Comm: swapper/1 Not tainted 5.8.0-rc1-syzkaller #0 [ 32.651850][ C1] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 32.661877][ C1] Call Trace: [ 32.665222][ C1] [ 32.668075][ C1] dump_stack+0xf6/0x16e [ 32.672309][ C1] ? ath9k_hif_usb_rx_cb+0xdb4/0x1050 [ 32.677654][ C1] ? ath9k_hif_usb_rx_cb+0xdb4/0x1050 [ 32.683000][ C1] print_address_description.constprop.0.cold+0xd3/0x415 [ 32.690008][ C1] ? rcu_read_lock_bh_held+0xb0/0xb0 [ 32.695799][ C1] ? __kasan_kmalloc.constprop.0+0xbf/0xd0 [ 32.701578][ C1] ? vprintk_func+0x93/0x133 [ 32.706156][ C1] ? ath9k_hif_usb_rx_cb+0xdb4/0x1050 [ 32.711527][ C1] kasan_report.cold+0x37/0x7c [ 32.716310][ C1] ? ath9k_hif_usb_rx_cb+0xdb4/0x1050 [ 32.721678][ C1] ath9k_hif_usb_rx_cb+0xdb4/0x1050 [ 32.726861][ C1] ? hif_usb_mgmt_cb+0x310/0x310 [ 32.731798][ C1] ? do_raw_spin_lock+0x120/0x290 [ 32.736804][ C1] ? lock_downgrade+0x720/0x720 [ 32.741819][ C1] ? trace_hardirqs_off+0x27/0x1f0 [ 32.746992][ C1] __usb_hcd_giveback_urb+0x29a/0x550 [ 32.752694][ C1] usb_hcd_giveback_urb+0x368/0x420 [ 32.757981][ C1] dummy_timer+0x125e/0x32b4 [ 32.762835][ C1] ? dummy_udc_probe+0x980/0x980 [ 32.767757][ C1] ? rcu_read_lock_sched_held+0x9c/0xd0 [ 32.773281][ C1] ? rcu_read_lock_bh_held+0xb0/0xb0 [ 32.778541][ C1] call_timer_fn+0x1ac/0x6e0 [ 32.783106][ C1] ? dummy_udc_probe+0x980/0x980 [ 32.788034][ C1] ? msleep_interruptible+0x130/0x130 [ 32.793552][ C1] ? lock_downgrade+0x720/0x720 [ 32.798749][ C1] ? _raw_spin_unlock_irq+0x1f/0x30 [ 32.803940][ C1] ? lockdep_hardirqs_on_prepare+0x1bc/0x550 [ 32.809987][ C1] ? dummy_udc_probe+0x980/0x980 [ 32.814924][ C1] run_timer_softirq+0x5e5/0x14c0 [ 32.819929][ C1] ? add_timer+0x7b0/0x7b0 [ 32.824326][ C1] ? rcu_read_lock_sched_held+0x9c/0xd0 [ 32.829880][ C1] ? rcu_read_lock_bh_held+0xb0/0xb0 [ 32.835171][ C1] ? lockdep_hardirqs_on_prepare+0x1bc/0x550 [ 32.841186][ C1] __do_softirq+0x21e/0x996 [ 32.845722][ C1] asm_call_on_stack+0xf/0x20 [ 32.850366][ C1] [ 32.853283][ C1] do_softirq_own_stack+0x109/0x140 [ 32.858467][ C1] irq_exit_rcu+0x16f/0x1a0 [ 32.865914][ C1] sysvec_apic_timer_interrupt+0xd3/0x1b0 [ 32.871619][ C1] asm_sysvec_apic_timer_interrupt+0x12/0x20 [ 32.877600][ C1] RIP: 0010:acpi_safe_halt+0x72/0x90 [ 32.882877][ C1] Code: 74 06 5b e9 c0 32 9f fb e8 bb 32 9f fb e8 c6 96 a4 fb e9 0c 00 00 00 e8 ac 32 9f fb 0f 00 2d 45 6e 84 00 e8 a0 32 9f fb fb f4 e8 b8 94 a4 fb 5b e9 92 32 9f fb 48 89 df e8 7a e1 c8 fb eb ab [ 32.902457][ C1] RSP: 0018:ffff8881da22fc60 EFLAGS: 00000293 [ 32.908509][ C1] RAX: ffff8881da213200 RBX: 0000000000000000 RCX: 1ffffffff1014efa [ 32.916537][ C1] RDX: 0000000000000000 RSI: ffffffff85a03aa0 RDI: ffff8881da213a38 [ 32.924711][ C1] RBP: ffff8881d8cca864 R08: 0000000000000000 R09: 0000000000000001 [ 32.932678][ C1] R10: 0000000000000000 R11: 0000000000000000 R12: ffff8881d8cca864 [ 32.940802][ C1] R13: 1ffff1103b445f96 R14: ffff8881d8cca865 R15: 0000000000000001 [ 32.948911][ C1] ? acpi_safe_halt+0x70/0x90 [ 32.953700][ C1] acpi_idle_do_entry+0xa9/0xe0 [ 32.958538][ C1] acpi_idle_enter+0x42b/0xac0 [ 32.963310][ C1] ? nr_iowait_cpu+0x47/0x90 [ 32.969012][ C1] ? acpi_idle_enter_s2idle+0x190/0x190 [ 32.974536][ C1] ? kvm_sched_clock_read+0x14/0x30 [ 32.979714][ C1] ? sched_clock+0x5/0x10 [ 32.984032][ C1] ? sched_clock_cpu+0x18/0x170 [ 32.988868][ C1] cpuidle_enter_state+0xdb/0xc20 [ 32.993899][ C1] ? lockdep_hardirqs_on_prepare+0x370/0x550 [ 32.999860][ C1] cpuidle_enter+0x4a/0xa0 [ 33.004255][ C1] do_idle+0x3c2/0x500 [ 33.008348][ C1] ? arch_cpu_idle_exit+0x40/0x40 [ 33.014307][ C1] ? lockdep_hardirqs_on_prepare+0x370/0x550 [ 33.020277][ C1] cpu_startup_entry+0x14/0x20 [ 33.025047][ C1] start_secondary+0x294/0x370 [ 33.029825][ C1] ? set_cpu_sibling_map+0x1e90/0x1e90 [ 33.035275][ C1] secondary_startup_64+0xb6/0xc0 [ 33.040274][ C1] [ 33.042587][ C1] Allocated by task 121: [ 33.047249][ C1] save_stack+0x1b/0x40 [ 33.051378][ C1] __kasan_kmalloc.constprop.0+0xbf/0xd0 [ 33.056984][ C1] kmem_cache_alloc+0xd8/0x300 [ 33.061894][ C1] getname_flags+0xd2/0x5b0 [ 33.066382][ C1] do_sys_openat2+0x3fc/0x7d0 [ 33.071061][ C1] do_sys_open+0xc3/0x140 [ 33.075370][ C1] do_syscall_64+0x50/0x90 [ 33.079789][ C1] entry_SYSCALL_64_after_hwframe+0x44/0xa9 [ 33.085662][ C1] [ 33.088245][ C1] Freed by task 121: [ 33.092596][ C1] save_stack+0x1b/0x40 [ 33.096931][ C1] __kasan_slab_free+0x117/0x160 [ 33.101857][ C1] kmem_cache_free+0x9b/0x360 [ 33.106513][ C1] putname+0xe1/0x120 [ 33.110474][ C1] do_sys_openat2+0x467/0x7d0 [ 33.115137][ C1] do_sys_open+0xc3/0x140 [ 33.119446][ C1] do_syscall_64+0x50/0x90 [ 33.123842][ C1] entry_SYSCALL_64_after_hwframe+0x44/0xa9 [ 33.129705][ C1] [ 33.132014][ C1] The buggy address belongs to the object at ffff8881cd47b300 [ 33.132014][ C1] which belongs to the cache names_cache of size 4096 [ 33.146167][ C1] The buggy address is located 3472 bytes inside of [ 33.146167][ C1] 4096-byte region [ffff8881cd47b300, ffff8881cd47c300) [ 33.159860][ C1] The buggy address belongs to the page: [ 33.165492][ C1] page:ffffea0007351e00 refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 head:ffffea0007351e00 order:3 compound_mapcount:0 compound_pincount:0 [ 33.180651][ C1] flags: 0x200000000010200(slab|head) [ 33.186019][ C1] raw: 0200000000010200 dead000000000100 dead000000000122 ffff8881da120000 [ 33.194677][ C1] raw: 0000000000000000 0000000080070007 00000001ffffffff 0000000000000000 [ 33.203247][ C1] page dumped because: kasan: bad access detected [ 33.209633][ C1] [ 33.211946][ C1] Memory state around the buggy address: [ 33.217558][ C1] ffff8881cd47bf80: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 33.225598][ C1] ffff8881cd47c000: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 33.233639][ C1] >ffff8881cd47c080: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 33.241773][ C1] ^ [ 33.246362][ C1] ffff8881cd47c100: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 33.254416][ C1] ffff8881cd47c180: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 33.262972][ C1] ================================================================== [ 33.271006][ C1] Disabling lock debugging due to kernel taint [ 33.277145][ C1] Kernel panic - not syncing: panic_on_warn set ... [ 33.283720][ C1] CPU: 1 PID: 0 Comm: swapper/1 Tainted: G B 5.8.0-rc1-syzkaller #0 [ 33.292979][ C1] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 33.303030][ C1] Call Trace: [ 33.306292][ C1] [ 33.309128][ C1] dump_stack+0xf6/0x16e [ 33.313357][ C1] ? ath9k_hif_usb_rx_cb+0xd30/0x1050 [ 33.318719][ C1] panic+0x2aa/0x6e1 [ 33.322593][ C1] ? __warn_printk+0xf3/0xf3 [ 33.327173][ C1] ? _raw_spin_unlock_irqrestore+0x2a/0x40 [ 33.333043][ C1] ? trace_hardirqs_off+0x27/0x1f0 [ 33.338132][ C1] ? ath9k_hif_usb_rx_cb+0xdb4/0x1050 [ 33.343495][ C1] ? ath9k_hif_usb_rx_cb+0xdb4/0x1050 [ 33.348849][ C1] end_report+0x4d/0x53 [ 33.352985][ C1] kasan_report.cold+0x72/0x7c [ 33.357728][ C1] ? ath9k_hif_usb_rx_cb+0xdb4/0x1050 [ 33.363074][ C1] ath9k_hif_usb_rx_cb+0xdb4/0x1050 [ 33.368254][ C1] ? hif_usb_mgmt_cb+0x310/0x310 [ 33.373432][ C1] ? do_raw_spin_lock+0x120/0x290 [ 33.378441][ C1] ? lock_downgrade+0x720/0x720 [ 33.383268][ C1] ? trace_hardirqs_off+0x27/0x1f0 [ 33.388368][ C1] __usb_hcd_giveback_urb+0x29a/0x550 [ 33.393721][ C1] usb_hcd_giveback_urb+0x368/0x420 [ 33.398958][ C1] dummy_timer+0x125e/0x32b4 [ 33.403526][ C1] ? dummy_udc_probe+0x980/0x980 [ 33.408440][ C1] ? rcu_read_lock_sched_held+0x9c/0xd0 [ 33.413977][ C1] ? rcu_read_lock_bh_held+0xb0/0xb0 [ 33.419246][ C1] call_timer_fn+0x1ac/0x6e0 [ 33.423813][ C1] ? dummy_udc_probe+0x980/0x980 [ 33.428749][ C1] ? msleep_interruptible+0x130/0x130 [ 33.434114][ C1] ? lock_downgrade+0x720/0x720 [ 33.438942][ C1] ? _raw_spin_unlock_irq+0x1f/0x30 [ 33.444118][ C1] ? lockdep_hardirqs_on_prepare+0x1bc/0x550 [ 33.450075][ C1] ? dummy_udc_probe+0x980/0x980 [ 33.454992][ C1] run_timer_softirq+0x5e5/0x14c0 [ 33.459992][ C1] ? add_timer+0x7b0/0x7b0 [ 33.464394][ C1] ? rcu_read_lock_sched_held+0x9c/0xd0 [ 33.469918][ C1] ? rcu_read_lock_bh_held+0xb0/0xb0 [ 33.475199][ C1] ? lockdep_hardirqs_on_prepare+0x1bc/0x550 [ 33.481157][ C1] __do_softirq+0x21e/0x996 [ 33.485652][ C1] asm_call_on_stack+0xf/0x20 [ 33.490316][ C1] [ 33.493235][ C1] do_softirq_own_stack+0x109/0x140 [ 33.498424][ C1] irq_exit_rcu+0x16f/0x1a0 [ 33.502906][ C1] sysvec_apic_timer_interrupt+0xd3/0x1b0 [ 33.508612][ C1] asm_sysvec_apic_timer_interrupt+0x12/0x20 [ 33.514584][ C1] RIP: 0010:acpi_safe_halt+0x72/0x90 [ 33.519845][ C1] Code: 74 06 5b e9 c0 32 9f fb e8 bb 32 9f fb e8 c6 96 a4 fb e9 0c 00 00 00 e8 ac 32 9f fb 0f 00 2d 45 6e 84 00 e8 a0 32 9f fb fb f4 e8 b8 94 a4 fb 5b e9 92 32 9f fb 48 89 df e8 7a e1 c8 fb eb ab [ 33.539531][ C1] RSP: 0018:ffff8881da22fc60 EFLAGS: 00000293 [ 33.545588][ C1] RAX: ffff8881da213200 RBX: 0000000000000000 RCX: 1ffffffff1014efa [ 33.553537][ C1] RDX: 0000000000000000 RSI: ffffffff85a03aa0 RDI: ffff8881da213a38 [ 33.561487][ C1] RBP: ffff8881d8cca864 R08: 0000000000000000 R09: 0000000000000001 [ 33.569438][ C1] R10: 0000000000000000 R11: 0000000000000000 R12: ffff8881d8cca864 [ 33.577385][ C1] R13: 1ffff1103b445f96 R14: ffff8881d8cca865 R15: 0000000000000001 [ 33.585357][ C1] ? acpi_safe_halt+0x70/0x90 [ 33.590027][ C1] acpi_idle_do_entry+0xa9/0xe0 [ 33.594884][ C1] acpi_idle_enter+0x42b/0xac0 [ 33.599626][ C1] ? nr_iowait_cpu+0x47/0x90 [ 33.604208][ C1] ? acpi_idle_enter_s2idle+0x190/0x190 [ 33.609744][ C1] ? kvm_sched_clock_read+0x14/0x30 [ 33.618319][ C1] ? sched_clock+0x5/0x10 [ 33.622629][ C1] ? sched_clock_cpu+0x18/0x170 [ 33.627461][ C1] cpuidle_enter_state+0xdb/0xc20 [ 33.632477][ C1] ? lockdep_hardirqs_on_prepare+0x370/0x550 [ 33.638453][ C1] cpuidle_enter+0x4a/0xa0 [ 33.642848][ C1] do_idle+0x3c2/0x500 [ 33.646901][ C1] ? arch_cpu_idle_exit+0x40/0x40 [ 33.651900][ C1] ? lockdep_hardirqs_on_prepare+0x370/0x550 [ 33.657856][ C1] cpu_startup_entry+0x14/0x20 [ 33.662613][ C1] start_secondary+0x294/0x370 [ 33.667368][ C1] ? set_cpu_sibling_map+0x1e90/0x1e90 [ 33.672802][ C1] secondary_startup_64+0xb6/0xc0 [ 33.678579][ C1] Kernel Offset: disabled [ 33.682896][ C1] Rebooting in 86400 seconds..