------------[ cut here ]------------
no supported rates (0xffffffff) in rate_mask 0x0 with flags 0x0
WARNING: CPU: 1 PID: 9601 at net/mac80211/rate.c:359 __rate_control_send_low+0x4bb/0x580 net/mac80211/rate.c:359
Kernel panic - not syncing: panic_on_warn set ...
CPU: 1 PID: 9601 Comm: syz-executor.5 Not tainted 4.19.211-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/12/2023
Call Trace:
__dump_stack lib/dump_stack.c:77 [inline]
dump_stack+0x1fc/0x2ef lib/dump_stack.c:118
panic+0x26a/0x50e kernel/panic.c:186
__warn.cold+0x20/0x5a kernel/panic.c:541
report_bug+0x262/0x2b0 lib/bug.c:183
fixup_bug arch/x86/kernel/traps.c:178 [inline]
fixup_bug arch/x86/kernel/traps.c:173 [inline]
do_error_trap+0x1d7/0x310 arch/x86/kernel/traps.c:296
invalid_op+0x14/0x20 arch/x86/entry/entry_64.S:1038
RIP: 0010:__rate_control_send_low+0x4bb/0x580 net/mac80211/rate.c:359
Code: 0f 85 d6 00 00 00 48 8b 44 24 18 44 8b 24 a8 e8 9b 42 c6 f9 8b 54 24 24 44 89 e9 44 89 e6 48 c7 c7 80 98 67 89 e8 6a 7a 56 00 <0f> 0b e9 03 fe ff ff e8 79 42 c6 f9 41 83 cd 10 e9 32 fc ff ff e8
RSP: 0018:ffff8880ba107a70 EFLAGS: 00010286
RAX: 0000000000000000 RBX: ffff8880aa83d8e8 RCX: 0000000000000000
RDX: 0000000000000100 RSI: ffffffff814dff01 RDI: ffffed1017420f40
RBP: ffff888064253408 R08: 0000000000000001 R09: 0000000000000000
R10: 0000000000000005 R11: 0000000000000000 R12: 00000000ffffffff
R13: 0000000000000000 R14: 000000000000000c R15: 0000000000000000
rate_control_send_low+0x272/0x610 net/mac80211/rate.c:383
minstrel_ht_get_rate+0x58/0x1510 net/mac80211/rc80211_minstrel_ht.c:1045
rate_control_get_rate+0x43c/0x520 net/mac80211/rate.c:910
__ieee80211_beacon_get+0x93b/0x1a30 net/mac80211/tx.c:4436
ieee80211_beacon_get_tim+0x88/0x890 net/mac80211/tx.c:4463
ieee80211_beacon_get include/net/mac80211.h:4484 [inline]
mac80211_hwsim_beacon_tx+0xff/0x680 drivers/net/wireless/mac80211_hwsim.c:1577
__iterate_interfaces+0x2e1/0x4a0 net/mac80211/util.c:614
ieee80211_iterate_active_interfaces_atomic+0x8d/0x170 net/mac80211/util.c:650
mac80211_hwsim_beacon+0xc9/0x190 drivers/net/wireless/mac80211_hwsim.c:1615
__tasklet_hrtimer_trampoline+0x29/0xa0 kernel/softirq.c:601
tasklet_action_common.constprop.0+0x265/0x360 kernel/softirq.c:522
__do_softirq+0x265/0x980 kernel/softirq.c:292
invoke_softirq kernel/softirq.c:372 [inline]
irq_exit+0x215/0x260 kernel/softirq.c:412
exiting_irq arch/x86/include/asm/apic.h:536 [inline]
smp_apic_timer_interrupt+0x136/0x550 arch/x86/kernel/apic/apic.c:1098
apic_timer_interrupt+0xf/0x20 arch/x86/entry/entry_64.S:894
RIP: 0010:orc_find arch/x86/kernel/unwind_orc.c:150 [inline]
RIP: 0010:unwind_next_frame+0x2a6/0x1400 arch/x86/kernel/unwind_orc.c:422
Code: 24 20 8b 0c 95 bc 91 17 8c 8d 56 01 48 b8 00 00 00 00 00 fc ff df 48 8d 3c 95 bc 91 17 8c 49 89 f8 49 c1 e8 03 45 0f b6 04 00 <48> 89 f8 83 e0 07 83 c0 03 44 38 c0 7c 30 45 84 c0 74 2b 48 89 54
RSP: 0018:ffff8880655266b0 EFLAGS: 00000a02 ORIG_RAX: ffffffffffffff13
RAX: dffffc0000000000 RBX: 1ffff1100caa4cdf RCX: 00000000001208b4
RDX: 000000000005a13d RSI: 000000000005a13c RDI: ffffffff8c2e16b0
RBP: 0000000000000001 R08: 0000000000000000 R09: 0000000000000001
R10: ffff88806552683f R11: 0000000000074071 R12: ffff888065526828
R13: ffff888065526815 R14: ffff8880655267e0 R15: ffffffff86a13cd2
__save_stack_trace+0x9f/0x190 arch/x86/kernel/stacktrace.c:44
save_stack mm/kasan/kasan.c:448 [inline]
set_track mm/kasan/kasan.c:460 [inline]
kasan_kmalloc+0xeb/0x160 mm/kasan/kasan.c:553
kmem_cache_alloc+0x122/0x370 mm/slab.c:3559
kmem_cache_zalloc include/linux/slab.h:699 [inline]
__kernfs_new_node+0xd2/0x680 fs/kernfs/dir.c:633
kernfs_new_node+0x92/0x120 fs/kernfs/dir.c:693
__kernfs_create_file+0x51/0x340 fs/kernfs/file.c:992
sysfs_add_file_mode_ns+0x226/0x540 fs/sysfs/file.c:307
create_files fs/sysfs/group.c:63 [inline]
internal_create_group+0x355/0xb20 fs/sysfs/group.c:147
sysfs_create_group fs/sysfs/group.c:173 [inline]
sysfs_create_groups fs/sysfs/group.c:200 [inline]
sysfs_create_groups+0x98/0x140 fs/sysfs/group.c:190
device_add_groups drivers/base/core.c:1301 [inline]
device_add_attrs drivers/base/core.c:1460 [inline]
device_add+0x12ba/0x16d0 drivers/base/core.c:2139
netdev_register_kobject+0x181/0x430 net/core/net-sysfs.c:1806
register_netdevice+0xb46/0x10f0 net/core/dev.c:8730
macvlan_common_newlink+0xc75/0x1590 drivers/net/macvlan.c:1451
macvtap_newlink drivers/net/macvtap.c:108 [inline]
macvtap_newlink+0x190/0x260 drivers/net/macvtap.c:80
rtnl_newlink+0x1030/0x15c0 net/core/rtnetlink.c:3141
rtnetlink_rcv_msg+0x453/0xb80 net/core/rtnetlink.c:4782
netlink_rcv_skb+0x160/0x440 net/netlink/af_netlink.c:2463
netlink_unicast_kernel net/netlink/af_netlink.c:1325 [inline]
netlink_unicast+0x4d5/0x690 net/netlink/af_netlink.c:1351
netlink_sendmsg+0x6c3/0xc50 net/netlink/af_netlink.c:1917
sock_sendmsg_nosec net/socket.c:651 [inline]
sock_sendmsg+0xc3/0x120 net/socket.c:661
___sys_sendmsg+0x7bb/0x8e0 net/socket.c:2227
__sys_sendmsg net/socket.c:2265 [inline]
__do_sys_sendmsg net/socket.c:2274 [inline]
__se_sys_sendmsg net/socket.c:2272 [inline]
__x64_sys_sendmsg+0x132/0x220 net/socket.c:2272
do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293
entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x7efe976e10c9
Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 19 00 00 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007efe95c53168 EFLAGS: 00000246 ORIG_RAX: 000000000000002e
RAX: ffffffffffffffda RBX: 00007efe97800f80 RCX: 00007efe976e10c9
RDX: 0000000000000000 RSI: 0000000020000080 RDI: 0000000000000004
RBP: 00007efe9773cae9 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007fffca6afa4f R14: 00007efe95c53300 R15: 0000000000022000
Kernel Offset: disabled
================================
WARNING: inconsistent lock state
4.19.211-syzkaller #0 Not tainted
--------------------------------
inconsistent {SOFTIRQ-ON-W} -> {IN-SOFTIRQ-R} usage.
syz-executor.5/9601 [HC0[0]:SC1[1]:HE0:SE0] takes:
000000003b25a41a ((fb_notifier_list).rwsem){+++?}, at: __blocking_notifier_call_chain kernel/notifier.c:316 [inline]
000000003b25a41a ((fb_notifier_list).rwsem){+++?}, at: __blocking_notifier_call_chain kernel/notifier.c:304 [inline]
000000003b25a41a ((fb_notifier_list).rwsem){+++?}, at: blocking_notifier_call_chain kernel/notifier.c:328 [inline]
000000003b25a41a ((fb_notifier_list).rwsem){+++?}, at: blocking_notifier_call_chain+0x6f/0xa0 kernel/notifier.c:325
{SOFTIRQ-ON-W} state was registered at:
down_write+0x34/0x90 kernel/locking/rwsem.c:70
blocking_notifier_chain_register+0x78/0x350 kernel/notifier.c:226
fb_console_init+0x1c/0x305 drivers/video/fbdev/core/fbcon.c:3432
fbmem_init+0x105/0x126 drivers/video/fbdev/core/fbmem.c:1932
do_one_initcall+0xf1/0x740 init/main.c:884
do_initcall_level init/main.c:952 [inline]
do_initcalls init/main.c:960 [inline]
do_basic_setup init/main.c:978 [inline]
kernel_init_freeable+0x9c5/0xab7 init/main.c:1145
kernel_init+0xd/0x1ba init/main.c:1062
ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:415
irq event stamp: 6957
hardirqs last enabled at (6956): [] trace_hardirqs_on_thunk+0x1a/0x1c
hardirqs last disabled at (6957): [] trace_hardirqs_off_thunk+0x1a/0x1c
softirqs last enabled at (5732): [] __do_softirq+0x678/0x980 kernel/softirq.c:318
softirqs last disabled at (6871): [] invoke_softirq kernel/softirq.c:372 [inline]
softirqs last disabled at (6871): [] irq_exit+0x215/0x260 kernel/softirq.c:412
other info that might help us debug this:
Possible unsafe locking scenario:
CPU0
----
lock((fb_notifier_list).rwsem);
lock((fb_notifier_list).rwsem);
*** DEADLOCK ***
3 locks held by syz-executor.5/9601:
#0: 00000000b68542cf (rtnl_mutex){+.+.}, at: rtnl_lock net/core/rtnetlink.c:77 [inline]
#0: 00000000b68542cf (rtnl_mutex){+.+.}, at: rtnetlink_rcv_msg+0x3fe/0xb80 net/core/rtnetlink.c:4779
#1: 00000000392235e7 (rcu_read_lock){....}, at: ieee80211_iterate_active_interfaces_atomic+0x0/0x170 net/mac80211/util.c:637
#2: 00000000392235e7 (rcu_read_lock){....}, at: __ieee80211_beacon_get+0x0/0x1a30 include/linux/compiler.h:263
stack backtrace:
CPU: 1 PID: 9601 Comm: syz-executor.5 Not tainted 4.19.211-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/12/2023
Call Trace:
__dump_stack lib/dump_stack.c:77 [inline]
dump_stack+0x1fc/0x2ef lib/dump_stack.c:118
print_usage_bug.cold+0x42e/0x570 kernel/locking/lockdep.c:2545
valid_state kernel/locking/lockdep.c:2558 [inline]
mark_lock_irq kernel/locking/lockdep.c:2752 [inline]
mark_lock+0xc70/0x1160 kernel/locking/lockdep.c:3132
mark_irqflags kernel/locking/lockdep.c:3002 [inline]
__lock_acquire+0x10ed/0x3ff0 kernel/locking/lockdep.c:3373
lock_acquire+0x170/0x3c0 kernel/locking/lockdep.c:3908
down_read+0x36/0x80 kernel/locking/rwsem.c:24
__blocking_notifier_call_chain kernel/notifier.c:316 [inline]
__blocking_notifier_call_chain kernel/notifier.c:304 [inline]
blocking_notifier_call_chain kernel/notifier.c:328 [inline]
blocking_notifier_call_chain+0x6f/0xa0 kernel/notifier.c:325
fb_blank+0xb5/0x1d0 drivers/video/fbdev/core/fbmem.c:1074
fbcon_blank+0x932/0xec0 drivers/video/fbdev/core/fbcon.c:2221
do_unblank_screen+0x241/0x610 drivers/tty/vt/vt.c:4294
panic+0x313/0x50e kernel/panic.c:239
__warn.cold+0x20/0x5a kernel/panic.c:541
report_bug+0x262/0x2b0 lib/bug.c:183
fixup_bug arch/x86/kernel/traps.c:178 [inline]
fixup_bug arch/x86/kernel/traps.c:173 [inline]
do_error_trap+0x1d7/0x310 arch/x86/kernel/traps.c:296
invalid_op+0x14/0x20 arch/x86/entry/entry_64.S:1038
RIP: 0010:__rate_control_send_low+0x4bb/0x580 net/mac80211/rate.c:359
Code: 0f 85 d6 00 00 00 48 8b 44 24 18 44 8b 24 a8 e8 9b 42 c6 f9 8b 54 24 24 44 89 e9 44 89 e6 48 c7 c7 80 98 67 89 e8 6a 7a 56 00 <0f> 0b e9 03 fe ff ff e8 79 42 c6 f9 41 83 cd 10 e9 32 fc ff ff e8
RSP: 0018:ffff8880ba107a70 EFLAGS: 00010286
RAX: 0000000000000000 RBX: ffff8880aa83d8e8 RCX: 0000000000000000
RDX: 0000000000000100 RSI: ffffffff814dff01 RDI: ffffed1017420f40
RBP: ffff888064253408 R08: 0000000000000001 R09: 0000000000000000
R10: 0000000000000005 R11: 0000000000000000 R12: 00000000ffffffff
R13: 0000000000000000 R14: 000000000000000c R15: 0000000000000000
rate_control_send_low+0x272/0x610 net/mac80211/rate.c:383
minstrel_ht_get_rate+0x58/0x1510 net/mac80211/rc80211_minstrel_ht.c:1045
rate_control_get_rate+0x43c/0x520 net/mac80211/rate.c:910
__ieee80211_beacon_get+0x93b/0x1a30 net/mac80211/tx.c:4436
ieee80211_beacon_get_tim+0x88/0x890 net/mac80211/tx.c:4463
ieee80211_beacon_get include/net/mac80211.h:4484 [inline]
mac80211_hwsim_beacon_tx+0xff/0x680 drivers/net/wireless/mac80211_hwsim.c:1577
__iterate_interfaces+0x2e1/0x4a0 net/mac80211/util.c:614
ieee80211_iterate_active_interfaces_atomic+0x8d/0x170 net/mac80211/util.c:650
mac80211_hwsim_beacon+0xc9/0x190 drivers/net/wireless/mac80211_hwsim.c:1615
__tasklet_hrtimer_trampoline+0x29/0xa0 kernel/softirq.c:601
tasklet_action_common.constprop.0+0x265/0x360 kernel/softirq.c:522
__do_softirq+0x265/0x980 kernel/softirq.c:292
invoke_softirq kernel/softirq.c:372 [inline]
irq_exit+0x215/0x260 kernel/softirq.c:412
exiting_irq arch/x86/include/asm/apic.h:536 [inline]
smp_apic_timer_interrupt+0x136/0x550 arch/x86/kernel/apic/apic.c:1098
apic_timer_interrupt+0xf/0x20 arch/x86/entry/entry_64.S:894
RIP: 0010:orc_find arch/x86/kernel/unwind_orc.c:150 [inline]
RIP: 0010:unwind_next_frame+0x2a6/0x1400 arch/x86/kernel/unwind_orc.c:422
Code: 24 20 8b 0c 95 bc 91 17 8c 8d 56 01 48 b8 00 00 00 00 00 fc ff df 48 8d 3c 95 bc 91 17 8c 49 89 f8 49 c1 e8 03 45 0f b6 04 00 <48> 89 f8 83 e0 07 83 c0 03 44 38 c0 7c 30 45 84 c0 74 2b 48 89 54
RSP: 0018:ffff8880655266b0 EFLAGS: 00000a02 ORIG_RAX: ffffffffffffff13
RAX: dffffc0000000000 RBX: 1ffff1100caa4cdf RCX: 00000000001208b4
RDX: 000000000005a13d RSI: 000000000005a13c RDI: ffffffff8c2e16b0
RBP: 0000000000000001 R08: 0000000000000000 R09: 0000000000000001
R10: ffff88806552683f R11: 0000000000074071 R12: ffff888065526828
R13: ffff888065526815 R14: ffff8880655267e0 R15: ffffffff86a13cd2
__save_stack_trace+0x9f/0x190 arch/x86/kernel/stacktrace.c:44
save_stack mm/kasan/kasan.c:448 [inline]
set_track mm/kasan/kasan.c:460 [inline]
kasan_kmalloc+0xeb/0x160 mm/kasan/kasan.c:553
kmem_cache_alloc+0x122/0x370 mm/slab.c:3559
kmem_cache_zalloc include/linux/slab.h:699 [inline]
__kernfs_new_node+0xd2/0x680 fs/kernfs/dir.c:633
kernfs_new_node+0x92/0x120 fs/kernfs/dir.c:693
__kernfs_create_file+0x51/0x340 fs/kernfs/file.c:992
sysfs_add_file_mode_ns+0x226/0x540 fs/sysfs/file.c:307
create_files fs/sysfs/group.c:63 [inline]
internal_create_group+0x355/0xb20 fs/sysfs/group.c:147
sysfs_create_group fs/sysfs/group.c:173 [inline]
sysfs_create_groups fs/sysfs/group.c:200 [inline]
sysfs_create_groups+0x98/0x140 fs/sysfs/group.c:190
device_add_groups drivers/base/core.c:1301 [inline]
device_add_attrs drivers/base/core.c:1460 [inline]
device_add+0x12ba/0x16d0 drivers/base/core.c:2139
netdev_register_kobject+0x181/0x430 net/core/net-sysfs.c:1806
register_netdevice+0xb46/0x10f0 net/core/dev.c:8730
macvlan_common_newlink+0xc75/0x1590 drivers/net/macvlan.c:1451
macvtap_newlink drivers/net/macvtap.c:108 [inline]
macvtap_newlink+0x190/0x260 drivers/net/macvtap.c:80
rtnl_newlink+0x1030/0x15c0 net/core/rtnetlink.c:3141
rtnetlink_rcv_msg+0x453/0xb80 net/core/rtnetlink.c:4782
netlink_rcv_skb+0x160/0x440 net/netlink/af_netlink.c:2463
netlink_unicast_kernel net/netlink/af_netlink.c:1325 [inline]
netlink_unicast+0x4d5/0x690 net/netlink/af_netlink.c:1351
netlink_sendmsg+0x6c3/0xc50 net/netlink/af_netlink.c:1917
sock_sendmsg_nosec net/socket.c:651 [inline]
sock_sendmsg+0xc3/0x120 net/socket.c:661
___sys_sendmsg+0x7bb/0x8e0 net/socket.c:2227
__sys_sendmsg net/socket.c:2265 [inline]
__do_sys_sendmsg net/socket.c:2274 [inline]
__se_sys_sendmsg net/socket.c:2272 [inline]
__x64_sys_sendmsg+0x132/0x220 net/socket.c:2272
do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293
entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x7efe976e10c9
Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 19 00 00 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007efe95c53168 EFLAGS: 00000246 ORIG_RAX: 000000000000002e
RAX: ffffffffffffffda RBX: 00007efe97800f80 RCX: 00007efe976e10c9
RDX: 0000000000000000 RSI: 0000000020000080 RDI: 0000000000000004
RBP: 00007efe9773cae9 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007fffca6afa4f R14: 00007efe95c53300 R15: 0000000000022000
Rebooting in 86400 seconds..