program: r0 = socket$nl_generic(0x10, 0x3, 0x10) syz_genetlink_get_family_id$nl80211(&(0x7f0000000080), 0xffffffffffffffff) (async) r1 = syz_genetlink_get_family_id$nl80211(&(0x7f0000000080), 0xffffffffffffffff) ioctl$sock_SIOCGIFINDEX_80211(r0, 0x8933, &(0x7f00000000c0)={'wlan0\x00'}) (async) ioctl$sock_SIOCGIFINDEX_80211(r0, 0x8933, &(0x7f00000000c0)={'wlan0\x00', 0x0}) arch_prctl$ARCH_REQ_XCOMP_PERM(0x1023, 0x12) sendmsg$NL80211_CMD_SET_INTERFACE(r0, &(0x7f0000000100)={0x0, 0x0, &(0x7f0000000340)={&(0x7f0000000180)={0x24, r1, 0x5, 0x0, 0x0, {{}, {@val={0x8, 0x3, r2}, @void}}, [@NL80211_ATTR_IFTYPE={0x8, 0x5, 0x9}]}, 0x24}}, 0x0) r3 = syz_init_net_socket$nl_generic(0x10, 0x3, 0x10) r4 = syz_genetlink_get_family_id$nbd(&(0x7f0000000240), 0xffffffffffffffff) socketpair$nbd(0x1, 0x1, 0x0, &(0x7f0000000280)={0xffffffffffffffff}) sendmsg$NBD_CMD_CONNECT(r3, &(0x7f00000003c0)={0x0, 0x0, &(0x7f0000000380)={&(0x7f0000000440)={0x30, r4, 0x1, 0x70bd25, 0x25dfdbfd, {}, [@NBD_ATTR_SOCKETS={0x10, 0x7, 0x0, 0x1, [{0xc, 0x1, 0x0, 0x1, {0x8, 0x1, r5}}]}, @NBD_ATTR_SIZE_BYTES={0xc, 0x2, 0x5}]}, 0x30}, 0x1, 0x0, 0x0, 0x4010}, 0x40040) (async) sendmsg$NBD_CMD_CONNECT(r3, &(0x7f00000003c0)={0x0, 0x0, &(0x7f0000000380)={&(0x7f0000000440)={0x30, r4, 0x1, 0x70bd25, 0x25dfdbfd, {}, [@NBD_ATTR_SOCKETS={0x10, 0x7, 0x0, 0x1, [{0xc, 0x1, 0x0, 0x1, {0x8, 0x1, r5}}]}, @NBD_ATTR_SIZE_BYTES={0xc, 0x2, 0x5}]}, 0x30}, 0x1, 0x0, 0x0, 0x4010}, 0x40040) r6 = syz_init_net_socket$nl_generic(0x10, 0x3, 0x10) r7 = syz_genetlink_get_family_id$nbd(&(0x7f0000000040), 0xffffffffffffffff) sendmsg$NBD_CMD_RECONFIGURE(r6, &(0x7f00000002c0)={0x0, 0x0, &(0x7f0000000140)={&(0x7f0000000400)={0x28, r7, 0x981, 0xfffffffe, 0x25dfdbfd, {}, [@NBD_ATTR_INDEX={0x8, 0x1, 0x0}, @NBD_ATTR_BLOCK_SIZE_BYTES={0xc, 0x3, 0xa}]}, 0x28}, 0x1, 0x0, 0x0, 0x2008810}, 0x0) (async) sendmsg$NBD_CMD_RECONFIGURE(r6, &(0x7f00000002c0)={0x0, 0x0, &(0x7f0000000140)={&(0x7f0000000400)={0x28, r7, 0x981, 0xfffffffe, 0x25dfdbfd, {}, [@NBD_ATTR_INDEX={0x8, 0x1, 0x0}, @NBD_ATTR_BLOCK_SIZE_BYTES={0xc, 0x3, 0xa}]}, 0x28}, 0x1, 0x0, 0x0, 0x2008810}, 0x0) sendmsg$NL80211_CMD_START_AP(r0, &(0x7f00000001c0)={0x0, 0x0, &(0x7f0000000200)={&(0x7f0000000400)=ANY=[@ANYBLOB="640000002d4c245b4f06287090390ca29529efd621bc845354af44f39bb0db1f8d5936692743d6e381f5762ab5ef8d4c24c96a4aeec35a923ddca0137b57ac34282fed04c3d87bcbc7a6fbef179b530cbf073242654de083fa68054a10815766b939acfeec69d2", @ANYRES16=r1, @ANYBLOB="050026bd7000000000000f00000008000300", @ANYRES32=r2, @ANYBLOB="30000e0080000000ffffffffffff08021100000008021100000000000000000000000000640001007206030303030303080026006c09000008000c006400000008000d0000000000"], 0x64}}, 0x20000014) socketpair$unix(0x1, 0x2, 0x0, &(0x7f00000003c0)={0xffffffffffffffff}) r9 = socket$nl_generic(0x10, 0x3, 0x10) syz_genetlink_get_family_id$nl80211(&(0x7f0000000f80), 0xffffffffffffffff) ioctl$sock_SIOCGIFINDEX_80211(r8, 0x8933, &(0x7f0000000300)={'wlan0\x00', 0x0}) sendmsg$NL80211_CMD_NEW_STATION(r9, &(0x7f0000001080)={0x0, 0x0, &(0x7f0000001040)={&(0x7f0000000040)={0x3c, r1, 0xb97534d5fe9704cf, 0x0, 0x0, {{}, {@val={0x8, 0x3, r10}, @void}}, [@NL80211_ATTR_STA_SUPPORTED_RATES={0x4}, @NL80211_ATTR_MAC={0xa, 0x6, @device_b}, @NL80211_ATTR_STA_AID={0x6, 0x10, 0x580}, @NL80211_ATTR_STA_LISTEN_INTERVAL={0x6}]}, 0x3c}, 0x1, 0x0, 0x0, 0xc0}, 0x0) syz_genetlink_get_family_id$fou(&(0x7f0000000000), r9) (async) syz_genetlink_get_family_id$fou(&(0x7f0000000000), r9) openat$rfkill(0xffffffffffffff9c, &(0x7f0000000040), 0x801, 0x0) (async) r11 = openat$rfkill(0xffffffffffffff9c, &(0x7f0000000040), 0x801, 0x0) write$rfkill(r11, &(0x7f0000000080)={0x0, 0x1, 0x3, 0x1}, 0x8) (async) write$rfkill(r11, &(0x7f0000000080)={0x0, 0x1, 0x3, 0x1}, 0x8) [ 74.445405][ T5335] Bluetooth: hci0: command tx timeout [ 74.624505][ T5354] ------------[ cut here ]------------ [ 74.626976][ T5354] WARNING: CPU: 0 PID: 5354 at net/mac80211/rate.c:53 rate_control_rate_init+0x64a/0x6e0 [ 74.631317][ T5354] Modules linked in: [ 74.633108][ T5354] CPU: 0 UID: 0 PID: 5354 Comm: syz.0.0 Not tainted syzkaller #0 PREEMPT(full) [ 74.637066][ T5354] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014 [ 74.641970][ T5354] RIP: 0010:rate_control_rate_init+0x64a/0x6e0 [ 74.645055][ T5354] Code: 82 01 00 00 20 48 83 c4 20 5b 41 5c 41 5d 41 5e 41 5f 5d e9 c8 9e 8c 00 cc e8 d2 de cd f6 90 0f 0b 90 eb e1 e8 c7 de cd f6 90 <0f> 0b 90 48 83 c4 20 5b 41 5c 41 5d 41 5e 41 5f 5d e9 90 00 00 00 [ 74.653481][ T5354] RSP: 0018:ffffc9000d1eef70 EFLAGS: 00010293 [ 74.656329][ T5354] RAX: ffffffff8af1dc69 RBX: ffff888053044000 RCX: ffff888032fd4880 [ 74.660168][ T5354] RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000 [ 74.663761][ T5354] RBP: 0000000000000000 R08: 0000000000000000 R09: ffffffff8af1d783 [ 74.667234][ T5354] R10: dffffc0000000000 R11: ffffed100a608831 R12: 1ffff1100a60880a [ 74.670750][ T5354] R13: ffff8880338f0e40 R14: 0000000000000001 R15: ffffffff8af1d783 [ 74.674234][ T5354] FS: 00007f90c2c446c0(0000) GS:ffff88808d210000(0000) knlGS:0000000000000000 [ 74.678294][ T5354] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 74.681111][ T5354] CR2: 0000200000001080 CR3: 0000000043354000 CR4: 0000000000352ef0 [ 74.684596][ T5354] Call Trace: [ 74.685987][ T5354] [ 74.687261][ T5354] rate_control_rate_init_all_links+0x109/0x1a0 [ 74.689872][ T5354] sta_apply_auth_flags+0x1c2/0x400 [ 74.691973][ T5354] sta_apply_parameters+0xe4b/0x15b0 [ 74.694220][ T5354] ieee80211_add_station+0x424/0x6a0 [ 74.696497][ T5354] rdev_add_station+0x105/0x290 [ 74.699070][ T5354] nl80211_new_station+0x1755/0x1b70 [ 74.701684][ T5354] ? __pfx_nl80211_new_station+0x10/0x10 [ 74.704104][ T5354] ? netdev_run_todo+0xe1d/0xea0 [ 74.706355][ T5354] ? nl80211_pre_doit+0x4f1/0x930 [ 74.709048][ T5354] genl_family_rcv_msg_doit+0x215/0x300 [ 74.711650][ T5354] ? __pfx_genl_family_rcv_msg_doit+0x10/0x10 [ 74.714282][ T5354] ? bpf_lsm_capable+0x9/0x20 [ 74.719237][ T5354] ? security_capable+0x7e/0x2e0 [ 74.721246][ T5354] genl_rcv_msg+0x60e/0x790 [ 74.723257][ T5354] ? __pfx_genl_rcv_msg+0x10/0x10 [ 74.725542][ T5354] ? __pfx_nl80211_pre_doit+0x10/0x10 [ 74.727824][ T5354] ? __pfx_nl80211_new_station+0x10/0x10 [ 74.730269][ T5354] ? __pfx_nl80211_post_doit+0x10/0x10 [ 74.732652][ T5354] ? __asan_memcpy+0x40/0x70 [ 74.734792][ T5354] ? __pfx_ref_tracker_free+0x10/0x10 [ 74.737242][ T5354] netlink_rcv_skb+0x208/0x470 [ 74.739424][ T5354] ? __lock_acquire+0xab9/0xd20 [ 74.741566][ T5354] ? __pfx_genl_rcv_msg+0x10/0x10 [ 74.743745][ T5354] ? __pfx_netlink_rcv_skb+0x10/0x10 [ 74.746151][ T5354] ? down_read+0x1ad/0x2e0 [ 74.748178][ T5354] genl_rcv+0x28/0x40 [ 74.749880][ T5354] netlink_unicast+0x82c/0x9e0 [ 74.763495][ T5354] ? __pfx_netlink_unicast+0x10/0x10 [ 74.770442][ T5354] ? netlink_sendmsg+0x642/0xb30 [ 74.772494][ T5354] ? skb_put+0x11b/0x210 [ 74.774215][ T5354] netlink_sendmsg+0x805/0xb30 [ 74.776514][ T5354] ? __pfx_netlink_sendmsg+0x10/0x10 [ 74.778801][ T5354] ? aa_sock_msg_perm+0xf1/0x1d0 [ 74.780811][ T5354] ? bpf_lsm_socket_sendmsg+0x9/0x20 [ 74.782923][ T5354] ? __pfx_netlink_sendmsg+0x10/0x10 [ 74.785116][ T5354] __sock_sendmsg+0x21c/0x270 [ 74.786940][ T5354] ____sys_sendmsg+0x505/0x830 [ 74.788836][ T5354] ? __pfx_____sys_sendmsg+0x10/0x10 [ 74.790972][ T5354] ? import_iovec+0x74/0xa0 [ 74.792783][ T5354] ___sys_sendmsg+0x21f/0x2a0 [ 74.794906][ T5354] ? __pfx____sys_sendmsg+0x10/0x10 [ 74.797029][ T5354] ? __fget_files+0x2a/0x420 [ 74.798910][ T5354] ? __fget_files+0x3a0/0x420 [ 74.800748][ T5354] __x64_sys_sendmsg+0x19b/0x260 [ 74.802715][ T5354] ? __pfx___x64_sys_sendmsg+0x10/0x10 [ 74.804890][ T5354] ? rcu_is_watching+0x15/0xb0 [ 74.806887][ T5354] ? do_syscall_64+0xbe/0x3b0 [ 74.808936][ T5354] do_syscall_64+0xfa/0x3b0 [ 74.810774][ T5354] ? lockdep_hardirqs_on+0x9c/0x150 [ 74.812779][ T5354] ? entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 74.815617][ T5354] ? clear_bhb_loop+0x60/0xb0 [ 74.817436][ T5354] entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 74.819685][ T5354] RIP: 0033:0x7f90c1d8ebe9 [ 74.821361][ T5354] Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 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 a8 ff ff ff f7 d8 64 89 01 48 [ 74.828907][ T5354] RSP: 002b:00007f90c2c44038 EFLAGS: 00000246 ORIG_RAX: 000000000000002e [ 74.831980][ T5354] RAX: ffffffffffffffda RBX: 00007f90c1fb5fa0 RCX: 00007f90c1d8ebe9 [ 74.835001][ T5354] RDX: 0000000000000000 RSI: 0000200000001080 RDI: 000000000000000b [ 74.838127][ T5354] RBP: 00007f90c1e11e19 R08: 0000000000000000 R09: 0000000000000000 [ 74.841160][ T5354] R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 [ 74.844640][ T5354] R13: 00007f90c1fb6038 R14: 00007f90c1fb5fa0 R15: 00007ffd009c0658 [ 74.847880][ T5354] [ 74.849200][ T5354] Kernel panic - not syncing: kernel: panic_on_warn set ... [ 74.851996][ T5354] CPU: 0 UID: 0 PID: 5354 Comm: syz.0.0 Not tainted syzkaller #0 PREEMPT(full) [ 74.856281][ T5354] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014 [ 74.860702][ T5354] Call Trace: [ 74.862129][ T5354] [ 74.863385][ T5354] dump_stack_lvl+0x99/0x250 [ 74.865237][ T5354] ? __asan_memcpy+0x40/0x70 [ 74.867052][ T5354] ? __pfx_dump_stack_lvl+0x10/0x10 [ 74.869134][ T5354] ? __pfx__printk+0x10/0x10 [ 74.870970][ T5354] vpanic+0x281/0x750 [ 74.872557][ T5354] ? __pfx__printk+0x10/0x10 [ 74.874543][ T5354] ? __pfx_vpanic+0x10/0x10 [ 74.876596][ T5354] ? is_bpf_text_address+0x292/0x2b0 [ 74.878971][ T5354] panic+0xb9/0xc0 [ 74.880465][ T5354] ? __pfx_panic+0x10/0x10 [ 74.882182][ T5354] __warn+0x31b/0x4b0 [ 74.883701][ T5354] ? rate_control_rate_init+0x64a/0x6e0 [ 74.885747][ T5354] ? rate_control_rate_init+0x64a/0x6e0 [ 74.888130][ T5354] report_bug+0x2be/0x4f0 [ 74.889811][ T5354] ? rate_control_rate_init+0x64a/0x6e0 [ 74.891792][ T5354] ? rate_control_rate_init+0x64a/0x6e0 [ 74.893754][ T5354] ? rate_control_rate_init+0x64c/0x6e0 [ 74.895731][ T5354] handle_bug+0x84/0x160 [ 74.897236][ T5354] exc_invalid_op+0x1a/0x50 [ 74.898953][ T5354] asm_exc_invalid_op+0x1a/0x20 [ 74.900672][ T5354] RIP: 0010:rate_control_rate_init+0x64a/0x6e0 [ 74.902954][ T5354] Code: 82 01 00 00 20 48 83 c4 20 5b 41 5c 41 5d 41 5e 41 5f 5d e9 c8 9e 8c 00 cc e8 d2 de cd f6 90 0f 0b 90 eb e1 e8 c7 de cd f6 90 <0f> 0b 90 48 83 c4 20 5b 41 5c 41 5d 41 5e 41 5f 5d e9 90 00 00 00 [ 74.910365][ T5354] RSP: 0018:ffffc9000d1eef70 EFLAGS: 00010293 [ 74.912693][ T5354] RAX: ffffffff8af1dc69 RBX: ffff888053044000 RCX: ffff888032fd4880 [ 74.916103][ T5354] RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000 [ 74.919245][ T5354] RBP: 0000000000000000 R08: 0000000000000000 R09: ffffffff8af1d783 [ 74.922074][ T5354] R10: dffffc0000000000 R11: ffffed100a608831 R12: 1ffff1100a60880a [ 74.925028][ T5354] R13: ffff8880338f0e40 R14: 0000000000000001 R15: ffffffff8af1d783 [ 74.928129][ T5354] ? rate_control_rate_init+0x163/0x6e0 [ 74.930181][ T5354] ? rate_control_rate_init+0x163/0x6e0 [ 74.932291][ T5354] ? rate_control_rate_init+0x649/0x6e0 [ 74.934305][ T5354] rate_control_rate_init_all_links+0x109/0x1a0 [ 74.936560][ T5354] sta_apply_auth_flags+0x1c2/0x400 [ 74.938435][ T5354] sta_apply_parameters+0xe4b/0x15b0 [ 74.940351][ T5354] ieee80211_add_station+0x424/0x6a0 [ 74.942388][ T5354] rdev_add_station+0x105/0x290 [ 74.944147][ T5354] nl80211_new_station+0x1755/0x1b70 [ 74.946040][ T5354] ? __pfx_nl80211_new_station+0x10/0x10 [ 74.948111][ T5354] ? netdev_run_todo+0xe1d/0xea0 [ 74.949946][ T5354] ? nl80211_pre_doit+0x4f1/0x930 [ 74.951987][ T5354] genl_family_rcv_msg_doit+0x215/0x300 [ 74.954040][ T5354] ? __pfx_genl_family_rcv_msg_doit+0x10/0x10 [ 74.956522][ T5354] ? bpf_lsm_capable+0x9/0x20 [ 74.958378][ T5354] ? security_capable+0x7e/0x2e0 [ 74.960358][ T5354] genl_rcv_msg+0x60e/0x790 [ 74.962024][ T5354] ? __pfx_genl_rcv_msg+0x10/0x10 [ 74.963831][ T5354] ? __pfx_nl80211_pre_doit+0x10/0x10 [ 74.966063][ T5354] ? __pfx_nl80211_new_station+0x10/0x10 [ 74.968378][ T5354] ? __pfx_nl80211_post_doit+0x10/0x10 [ 74.970406][ T5354] ? __asan_memcpy+0x40/0x70 [ 74.972254][ T5354] ? __pfx_ref_tracker_free+0x10/0x10 [ 74.974242][ T5354] netlink_rcv_skb+0x208/0x470 [ 74.975982][ T5354] ? __lock_acquire+0xab9/0xd20 [ 74.978084][ T5354] ? __pfx_genl_rcv_msg+0x10/0x10 [ 74.980097][ T5354] ? __pfx_netlink_rcv_skb+0x10/0x10 [ 74.982043][ T5354] ? down_read+0x1ad/0x2e0 [ 74.983788][ T5354] genl_rcv+0x28/0x40 [ 74.985405][ T5354] netlink_unicast+0x82c/0x9e0 [ 74.987323][ T5354] ? __pfx_netlink_unicast+0x10/0x10 [ 74.989473][ T5354] ? netlink_sendmsg+0x642/0xb30 [ 74.995889][ T5354] ? skb_put+0x11b/0x210 [ 75.000777][ T5354] netlink_sendmsg+0x805/0xb30 [ 75.002867][ T5354] ? __pfx_netlink_sendmsg+0x10/0x10 [ 75.004908][ T5354] ? aa_sock_msg_perm+0xf1/0x1d0 [ 75.006867][ T5354] ? bpf_lsm_socket_sendmsg+0x9/0x20 [ 75.008828][ T5354] ? __pfx_netlink_sendmsg+0x10/0x10 [ 75.010923][ T5354] __sock_sendmsg+0x21c/0x270 [ 75.012951][ T5354] ____sys_sendmsg+0x505/0x830 [ 75.015071][ T5354] ? __pfx_____sys_sendmsg+0x10/0x10 [ 75.017565][ T5354] ? import_iovec+0x74/0xa0 [ 75.019402][ T5354] ___sys_sendmsg+0x21f/0x2a0 [ 75.021171][ T5354] ? __pfx____sys_sendmsg+0x10/0x10 [ 75.023047][ T5354] ? __fget_files+0x2a/0x420 [ 75.024797][ T5354] ? __fget_files+0x3a0/0x420 [ 75.026446][ T5354] __x64_sys_sendmsg+0x19b/0x260 [ 75.028444][ T5354] ? __pfx___x64_sys_sendmsg+0x10/0x10 [ 75.030484][ T5354] ? rcu_is_watching+0x15/0xb0 [ 75.032270][ T5354] ? do_syscall_64+0xbe/0x3b0 [ 75.035097][ T5354] do_syscall_64+0xfa/0x3b0 [ 75.036858][ T5354] ? lockdep_hardirqs_on+0x9c/0x150 [ 75.038815][ T5354] ? entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 75.041050][ T5354] ? clear_bhb_loop+0x60/0xb0 [ 75.043098][ T5354] entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 75.045361][ T5354] RIP: 0033:0x7f90c1d8ebe9 [ 75.047862][ T5354] Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 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 a8 ff ff ff f7 d8 64 89 01 48 [ 75.055243][ T5354] RSP: 002b:00007f90c2c44038 EFLAGS: 00000246 ORIG_RAX: 000000000000002e [ 75.058318][ T5354] RAX: ffffffffffffffda RBX: 00007f90c1fb5fa0 RCX: 00007f90c1d8ebe9 [ 75.061223][ T5354] RDX: 0000000000000000 RSI: 0000200000001080 RDI: 000000000000000b [ 75.064190][ T5354] RBP: 00007f90c1e11e19 R08: 0000000000000000 R09: 0000000000000000 [ 75.067129][ T5354] R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 [ 75.070252][ T5354] R13: 00007f90c1fb6038 R14: 00007f90c1fb5fa0 R15: 00007ffd009c0658 [ 75.073091][ T5354] [ 75.074719][ T5354] Kernel Offset: disabled [ 75.076509][ T5354] Rebooting in 86400 seconds..