syzbot


WARNING in restore_regulatory_settings

Status: fixed on 2020/10/09 20:44
Reported-by: syzbot+905fbeff6ea089202396@syzkaller.appspotmail.com
Fix commit: 02015d244d9c cfg80211: regulatory: reject invalid hints
First crash: 1790d, last: 1544d
Fix bisection: fixed by (bisect log) :
commit 02015d244d9c043414509afa370f8f7d471e14b5
Author: Johannes Berg <johannes.berg@intel.com>
Date: Wed Aug 19 08:46:48 2020 +0000

  cfg80211: regulatory: reject invalid hints

  
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 518d 518d 0/3 auto-obsoleted due to no activity on 2023/10/10 11:07
upstream WARNING in restore_regulatory_settings C done 10414 1546d 1791d 15/28 fixed on 2020/09/25 01:17
linux-5.15 WARNING in restore_regulatory_settings (2) 2 305d 305d 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 226d 514d 0/28 auto-obsoleted due to no activity on 2024/07/28 05:16
linux-6.1 WARNING in restore_regulatory_settings 1 305d 305d 0/3 auto-obsoleted due to no activity on 2024/05/10 17:04
upstream WARNING in restore_regulatory_settings (3) wireless C inconclusive 2 18d 54d 0/28 upstream: reported C repro on 2024/10/08 09:00
linux-4.14 WARNING in restore_regulatory_settings (2) C error 1 812d 872d 0/1 upstream: reported C repro on 2022/07/13 03:16
linux-4.19 WARNING in restore_regulatory_settings C error 1613 872d 1791d 0/1 upstream: reported C repro on 2020/01/06 09:29

Sample crash report:
Unexpected user alpha2: A�
------------[ cut here ]------------
WARNING: CPU: 0 PID: 24 at net/wireless/reg.c:414 is_user_regdom_saved net/wireless/reg.c:414 [inline]
WARNING: CPU: 0 PID: 24 at net/wireless/reg.c:414 restore_alpha2 net/wireless/reg.c:2566 [inline]
WARNING: CPU: 0 PID: 24 at net/wireless/reg.c:414 restore_regulatory_settings.cold+0x40/0x47 net/wireless/reg.c:2658
Kernel panic - not syncing: panic_on_warn set ...

CPU: 0 PID: 24 Comm: kworker/0:1 Not tainted 4.14.184-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Workqueue: events_power_efficient crda_timeout_work
Call Trace:
 __dump_stack lib/dump_stack.c:17 [inline]
 dump_stack+0x1b2/0x283 lib/dump_stack.c:58
 panic+0x1f9/0x42d kernel/panic.c:183
 __warn.cold+0x2f/0x30 kernel/panic.c:547
 report_bug+0x20a/0x248 lib/bug.c:186
 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:2566 [inline]
RIP: 0010:restore_regulatory_settings.cold+0x40/0x47 net/wireless/reg.c:2658
RSP: 0018:ffff8880a9ecfc98 EFLAGS: 00010286
RAX: 000000000000001a RBX: 0000000000000001 RCX: 0000000000000000
RDX: 0000000000000000 RSI: ffffffff868c0c40 RDI: ffffed10153d9f89
RBP: 0000000000000041 R08: 000000000000001a R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000
R13: 0000000000000000 R14: ffff8880a9e69b00 R15: ffff8880aec2ad00
 crda_timeout_work+0x1b/0x20 net/wireless/reg.c:541
 process_one_work+0x7c0/0x14c0 kernel/workqueue.c:2116
 worker_thread+0x5d7/0x1080 kernel/workqueue.c:2250
 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 (2264):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2020/07/17 01:22 linux-4.14.y b850307b279c 54b3c45e .config console log report syz C ci2-linux-4-14
2020/06/10 22:03 linux-4.14.y c6db52a88798 5caaad3a .config console log report syz C ci2-linux-4-14
2020/06/02 06:38 linux-4.14.y 4f68020fef1c a0331e89 .config console log report syz C ci2-linux-4-14
2020/05/11 01:10 linux-4.14.y ab9dfda23248 8742a2b9 .config console log report syz C ci2-linux-4-14
2020/05/10 17:10 linux-4.14.y ab9dfda23248 8742a2b9 .config console log report syz C ci2-linux-4-14
2020/03/29 05:18 linux-4.14.y 01364dad1d45 05736b29 .config console log report syz C ci2-linux-4-14
2020/01/17 03:39 linux-4.14.y c04fc6fa5c96 3de7aabb .config console log report syz C ci2-linux-4-14
2020/01/17 01:55 linux-4.14.y c04fc6fa5c96 3de7aabb .config console log report syz C ci2-linux-4-14
2020/01/17 01:18 linux-4.14.y c04fc6fa5c96 3de7aabb .config console log report syz C ci2-linux-4-14
2020/01/17 00:43 linux-4.14.y c04fc6fa5c96 3de7aabb .config console log report syz C ci2-linux-4-14
2020/01/07 16:54 linux-4.14.y 84f5ad468100 1bcd407e .config console log report syz C ci2-linux-4-14
2020/01/07 14:06 linux-4.14.y 84f5ad468100 1bcd407e .config console log report syz C ci2-linux-4-14
2020/01/07 13:46 linux-4.14.y 84f5ad468100 1bcd407e .config console log report syz C ci2-linux-4-14
2020/01/07 13:21 linux-4.14.y 84f5ad468100 1bcd407e .config console log report syz C ci2-linux-4-14
2020/01/07 13:00 linux-4.14.y 84f5ad468100 1bcd407e .config console log report syz C ci2-linux-4-14
2020/09/09 17:05 linux-4.14.y 2f166cdcf8a9 0ea7a887 .config console log report ci2-linux-4-14
2020/09/09 09:55 linux-4.14.y 2f166cdcf8a9 0ea7a887 .config console log report ci2-linux-4-14
2020/09/09 07:14 linux-4.14.y 2f166cdcf8a9 0ea7a887 .config console log report ci2-linux-4-14
2020/09/09 06:20 linux-4.14.y 2f166cdcf8a9 0ea7a887 .config console log report ci2-linux-4-14
2020/09/09 04:15 linux-4.14.y 2f166cdcf8a9 abf9ba4f .config console log report ci2-linux-4-14
2020/09/08 04:34 linux-4.14.y 2f166cdcf8a9 abf9ba4f .config console log report ci2-linux-4-14
2020/09/08 02:25 linux-4.14.y 2f166cdcf8a9 abf9ba4f .config console log report ci2-linux-4-14
2020/09/07 00:05 linux-4.14.y 2f166cdcf8a9 abf9ba4f .config console log report ci2-linux-4-14
2020/09/06 22:03 linux-4.14.y 2f166cdcf8a9 abf9ba4f .config console log report ci2-linux-4-14
2020/09/06 20:50 linux-4.14.y 2f166cdcf8a9 abf9ba4f .config console log report ci2-linux-4-14
2020/09/06 17:56 linux-4.14.y 2f166cdcf8a9 abf9ba4f .config console log report ci2-linux-4-14
2020/09/06 15:28 linux-4.14.y 2f166cdcf8a9 abf9ba4f .config console log report ci2-linux-4-14
2020/09/06 09:25 linux-4.14.y 2f166cdcf8a9 abf9ba4f .config console log report ci2-linux-4-14
2020/09/06 07:39 linux-4.14.y 2f166cdcf8a9 abf9ba4f .config console log report ci2-linux-4-14
2020/09/06 00:54 linux-4.14.y 2f166cdcf8a9 abf9ba4f .config console log report ci2-linux-4-14
2020/09/05 19:10 linux-4.14.y 2f166cdcf8a9 abf9ba4f .config console log report ci2-linux-4-14
2020/09/05 10:17 linux-4.14.y 2f166cdcf8a9 abf9ba4f .config console log report ci2-linux-4-14
2020/09/05 06:10 linux-4.14.y 2f166cdcf8a9 abf9ba4f .config console log report ci2-linux-4-14
2020/09/05 04:05 linux-4.14.y 2f166cdcf8a9 abf9ba4f .config console log report ci2-linux-4-14
2020/09/05 00:46 linux-4.14.y 2f166cdcf8a9 abf9ba4f .config console log report ci2-linux-4-14
2020/09/04 12:31 linux-4.14.y 2f166cdcf8a9 abf9ba4f .config console log report ci2-linux-4-14
2020/09/04 02:56 linux-4.14.y 2f166cdcf8a9 abf9ba4f .config console log report ci2-linux-4-14
2020/09/03 08:47 linux-4.14.y d7e78d08fa77 abf9ba4f .config console log report ci2-linux-4-14
2020/09/02 19:35 linux-4.14.y d7e78d08fa77 abf9ba4f .config console log report ci2-linux-4-14
2020/09/02 16:31 linux-4.14.y d7e78d08fa77 abf9ba4f .config console log report ci2-linux-4-14
2020/09/02 09:06 linux-4.14.y d7e78d08fa77 abf9ba4f .config console log report ci2-linux-4-14
2020/09/02 02:02 linux-4.14.y d7e78d08fa77 abf9ba4f .config console log report ci2-linux-4-14
2020/09/02 00:27 linux-4.14.y d7e78d08fa77 abf9ba4f .config console log report ci2-linux-4-14
2020/09/01 11:10 linux-4.14.y d7e78d08fa77 d5a3ae1f .config console log report ci2-linux-4-14
2020/09/01 08:24 linux-4.14.y d7e78d08fa77 d5a3ae1f .config console log report ci2-linux-4-14
2020/09/01 03:47 linux-4.14.y d7e78d08fa77 d5a3ae1f .config console log report ci2-linux-4-14
2020/08/31 16:13 linux-4.14.y d7e78d08fa77 d5a3ae1f .config console log report ci2-linux-4-14
2020/08/31 15:36 linux-4.14.y d7e78d08fa77 d5a3ae1f .config console log report ci2-linux-4-14
2020/08/31 11:28 linux-4.14.y d7e78d08fa77 d5a3ae1f .config console log report ci2-linux-4-14
2020/08/31 08:49 linux-4.14.y d7e78d08fa77 d5a3ae1f .config console log report ci2-linux-4-14
2020/08/31 05:20 linux-4.14.y d7e78d08fa77 d5a3ae1f .config console log report ci2-linux-4-14
2020/08/31 04:16 linux-4.14.y d7e78d08fa77 d5a3ae1f .config console log report ci2-linux-4-14
2020/08/31 02:53 linux-4.14.y d7e78d08fa77 d5a3ae1f .config console log report ci2-linux-4-14
2020/08/31 01:39 linux-4.14.y d7e78d08fa77 d5a3ae1f .config console log report ci2-linux-4-14
2020/08/31 00:34 linux-4.14.y d7e78d08fa77 d5a3ae1f .config console log report ci2-linux-4-14
2020/08/30 22:06 linux-4.14.y d7e78d08fa77 d5a3ae1f .config console log report ci2-linux-4-14
2020/08/30 17:26 linux-4.14.y d7e78d08fa77 d5a3ae1f .config console log report ci2-linux-4-14
2020/08/30 15:29 linux-4.14.y d7e78d08fa77 d5a3ae1f .config console log report ci2-linux-4-14
* Struck through repros no longer work on HEAD.