syzbot


WARNING in restore_regulatory_settings (2)

Status: upstream: reported C repro on 2022/07/13 03:16
Reported-by: syzbot+c37d3b0f22a3ffc61093@syzkaller.appspotmail.com
First crash: 505d, last: 445d
Fix bisection: failed (error log, bisect log)
  
Similar bugs (5)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-5.15 WARNING in restore_regulatory_settings C error 2 151d 151d 0/3 auto-obsoleted due to no activity on 2023/10/10 11:07
upstream WARNING in restore_regulatory_settings C done 10414 1179d 1424d 17/25 fixed on 2020/09/25 01:17
upstream WARNING in restore_regulatory_settings (2) wireless C done error 17 12d 147d 0/25 upstream: reported C repro on 2023/07/06 05:35
linux-4.19 WARNING in restore_regulatory_settings C error 1613 506d 1424d 0/1 upstream: reported C repro on 2020/01/06 09:29
linux-4.14 WARNING in restore_regulatory_settings C done 2264 1177d 1423d 1/1 fixed on 2020/10/09 20:44
Fix bisection attempts (3)
Created Duration User Patch Repo Result
2022/10/13 02:25 0m bisect fix linux-4.14.y error job log (0)
2022/09/11 03:53 20m bisect fix linux-4.14.y job log (0) log
2022/08/12 03:17 25m bisect fix linux-4.14.y job log (0) log

Sample crash report:
Unexpected user alpha2: 
------------[ cut here ]------------
WARNING: CPU: 0 PID: 3625 at net/wireless/reg.c:414 is_user_regdom_saved net/wireless/reg.c:414 [inline]
WARNING: CPU: 0 PID: 3625 at net/wireless/reg.c:414 restore_alpha2 net/wireless/reg.c:2569 [inline]
WARNING: CPU: 0 PID: 3625 at net/wireless/reg.c:414 restore_regulatory_settings.cold+0x18/0x46 net/wireless/reg.c:2661
Kernel panic - not syncing: panic_on_warn set ...

CPU: 0 PID: 3625 Comm: kworker/0:2 Not tainted 4.14.288-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/29/2022
Workqueue: events_power_efficient crda_timeout_work
Call Trace:
 __dump_stack lib/dump_stack.c:17 [inline]
 dump_stack+0x1b2/0x281 lib/dump_stack.c:58
 panic+0x1f9/0x42d kernel/panic.c:183
 __warn.cold+0x20/0x44 kernel/panic.c:547
 report_bug+0x208/0x250 lib/bug.c:183
 fixup_bug arch/x86/kernel/traps.c:177 [inline]
 fixup_bug arch/x86/kernel/traps.c:172 [inline]
 do_error_trap+0x195/0x2d0 arch/x86/kernel/traps.c:295
 invalid_op+0x1b/0x40 arch/x86/entry/entry_64.S:964
RIP: 0010:is_user_regdom_saved net/wireless/reg.c:414 [inline]
RIP: 0010:restore_alpha2 net/wireless/reg.c:2569 [inline]
RIP: 0010:restore_regulatory_settings.cold+0x18/0x46 net/wireless/reg.c:2661
RSP: 0018:ffff8880a8fafca0 EFLAGS: 00010282
RAX: 000000000000001a RBX: 00000000000000bf RCX: 0000000000000000
RDX: 0000000000000000 RSI: ffffffff878bc880 RDI: ffffed10151f5f8a
RBP: 0000000000000001 R08: 000000000000001a R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000000 R12: 00000000000000c7
R13: 00000000000000bf R14: ffff8880ba433b80 R15: ffff8880ba438800
 crda_timeout_work+0x2a/0x50 net/wireless/reg.c:541
 process_one_work+0x793/0x14a0 kernel/workqueue.c:2117
 worker_thread+0x5cc/0xff0 kernel/workqueue.c:2251
 kthread+0x30d/0x420 kernel/kthread.c:232
 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:404
Kernel Offset: disabled
Rebooting in 86400 seconds..

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2022/07/13 03:15 linux-4.14.y 424a46ea058e d91dd8ea .config console log report syz C ci2-linux-4-14 WARNING in restore_regulatory_settings
* Struck through repros no longer work on HEAD.