syzbot


WARNING in restore_regulatory_settings (3)

Status: upstream: reported C repro on 2024/10/08 09:00
Subsystems: wireless
[Documentation on labels]
Reported-by: syzbot+e10709ac3c44f3d4e800@syzkaller.appspotmail.com
First crash: 11d, last: 11d
Discussions (1)
Title Replies (including bot) Last reply
[syzbot] [wireless?] WARNING in restore_regulatory_settings (3) 0 (1) 2024/10/08 09:00
Similar bugs (8)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-5.15 WARNING in restore_regulatory_settings C error 2 471d 471d 0/3 auto-obsoleted due to no activity on 2023/10/10 11:07
upstream WARNING in restore_regulatory_settings C done 10414 1500d 1744d 15/28 fixed on 2020/09/25 01:17
linux-5.15 WARNING in restore_regulatory_settings (2) 2 258d 258d 0/3 auto-obsoleted due to no activity on 2024/05/10 19:25
upstream WARNING in restore_regulatory_settings (2) wireless C done error 33 179d 467d 0/28 auto-obsoleted due to no activity on 2024/07/28 05:16
linux-6.1 WARNING in restore_regulatory_settings 1 258d 258d 0/3 auto-obsoleted due to no activity on 2024/05/10 17:04
linux-4.14 WARNING in restore_regulatory_settings (2) C error 1 765d 825d 0/1 upstream: reported C repro on 2022/07/13 03:16
linux-4.19 WARNING in restore_regulatory_settings C error 1613 826d 1744d 0/1 upstream: reported C repro on 2020/01/06 09:29
linux-4.14 WARNING in restore_regulatory_settings C done 2264 1497d 1743d 1/1 fixed on 2020/10/09 20:44

Sample crash report:
------------[ cut here ]------------
Unexpected user alpha2: ¿Þ
WARNING: CPU: 0 PID: 1338 at net/wireless/reg.c:442 is_user_regdom_saved net/wireless/reg.c:440 [inline]
WARNING: CPU: 0 PID: 1338 at net/wireless/reg.c:442 restore_alpha2 net/wireless/reg.c:3424 [inline]
WARNING: CPU: 0 PID: 1338 at net/wireless/reg.c:442 restore_regulatory_settings+0x3c0/0x1e50 net/wireless/reg.c:3516
Modules linked in:
CPU: 0 UID: 0 PID: 1338 Comm: kworker/0:3 Not tainted 6.12.0-rc1-syzkaller-00114-g3840cbe24cf0 #0
Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014
Workqueue: events_power_efficient crda_timeout_work
RIP: 0010:is_user_regdom_saved net/wireless/reg.c:440 [inline]
RIP: 0010:restore_alpha2 net/wireless/reg.c:3424 [inline]
RIP: 0010:restore_regulatory_settings+0x3c0/0x1e50 net/wireless/reg.c:3516
Code: 88 44 24 1c e9 95 01 00 00 e8 ac 4f 84 f6 90 0f b6 35 34 5c 6e 0f 0f b6 15 4d 5c 6e 0f 48 c7 c7 00 e6 28 8d e8 31 44 45 f6 90 <0f> 0b 90 90 4c 8b 35 d5 e0 df 04 4d 85 f6 0f 84 85 00 00 00 4c 89
RSP: 0000:ffffc90002cdfaa0 EFLAGS: 00010246
RAX: 75bf7dfc993e6800 RBX: 0000000000000000 RCX: ffff8880003c4880
RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000
RBP: ffffc90002cdfba8 R08: ffffffff8155daa2 R09: 1ffff11003f8519a
R10: dffffc0000000000 R11: ffffed1003f8519b R12: ffffffff8ff07980
R13: ffffffff815e9c86 R14: ffffc90002cdfb40 R15: 0000000000000001
FS:  0000000000000000(0000) GS:ffff88801fc00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fd4b8ff8760 CR3: 0000000011d4a000 CR4: 0000000000352ef0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 crda_timeout_work+0x27/0x50 net/wireless/reg.c:542
 process_one_work kernel/workqueue.c:3229 [inline]
 process_scheduled_works+0xa63/0x1850 kernel/workqueue.c:3310
 worker_thread+0x870/0xd30 kernel/workqueue.c:3391
 kthread+0x2f0/0x390 kernel/kthread.c:389
 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:147
 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244
 </TASK>

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/10/04 08:56 upstream 3840cbe24cf0 d7906eff .config console log report syz / log C [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root WARNING in restore_regulatory_settings
* Struck through repros no longer work on HEAD.