syzbot


WARNING in restore_regulatory_settings

Status: fixed on 2020/09/25 01:17
Reported-by: syzbot+d451401ffd00a60677ee@syzkaller.appspotmail.com
Fix commit: 47caf685a685 cfg80211: regulatory: reject invalid hints
First crash: 1564d, last: 1320d
Cause bisection: the issue happens on the oldest tested release (bisect log)
Crash: WARNING in restore_regulatory_settings (log)
Repro: C syz .config
  
Discussions (15)
Title Replies (including bot) Last reply
[PATCH 4.4 00/62] 4.4.236-rc1 review 66 (66) 2020/09/12 08:08
[PATCH 4.9 00/71] 4.9.236-rc1 review 75 (75) 2020/09/12 08:06
[PATCH 5.8 000/186] 5.8.8-rc1 review 198 (198) 2020/09/10 13:47
[PATCH 5.4 000/129] 5.4.64-rc1 review 135 (135) 2020/09/09 16:40
[PATCH 4.14 00/65] 4.14.197-rc1 review 70 (70) 2020/09/09 16:39
[PATCH 4.19 00/88] 4.19.144-rc1 review 99 (99) 2020/09/09 16:39
[PATCH AUTOSEL 5.8 01/53] ARC: HSDK: wireup perf irq 55 (55) 2020/09/07 22:24
[PATCH AUTOSEL 4.4 01/10] drivers/net/wan/lapbether: Added needed_tailroom 10 (10) 2020/09/07 16:35
[PATCH AUTOSEL 4.9 01/13] drivers/net/wan/lapbether: Added needed_tailroom 13 (13) 2020/09/07 16:35
[PATCH AUTOSEL 4.14 01/17] ARC: HSDK: wireup perf irq 17 (17) 2020/09/07 16:35
[PATCH AUTOSEL 4.19 01/26] ARC: HSDK: wireup perf irq 26 (26) 2020/09/07 16:34
[PATCH AUTOSEL 5.4 01/43] ARC: HSDK: wireup perf irq 43 (43) 2020/09/07 16:33
[PATCH] cfg80211: switch from WARN() to pr_warn() in is_user_regdom_saved() 3 (3) 2020/08/19 15:23
[PATCH] cfg80211: regulatory: reject invalid hints 1 (1) 2020/08/19 08:46
WARNING in restore_regulatory_settings 0 (1) 2020/01/06 20:54
Similar bugs (7)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-5.15 WARNING in restore_regulatory_settings C error 2 291d 291d 0/3 auto-obsoleted due to no activity on 2023/10/10 11:07
linux-5.15 WARNING in restore_regulatory_settings (2) 2 78d 78d 0/3 upstream: reported on 2024/01/31 18:34
upstream WARNING in restore_regulatory_settings (2) wireless C done error 32 54d 287d 0/26 upstream: reported C repro on 2023/07/06 05:35
linux-6.1 WARNING in restore_regulatory_settings 1 78d 78d 0/3 upstream: reported on 2024/01/31 17:04
linux-4.14 WARNING in restore_regulatory_settings (2) C error 1 585d 646d 0/1 upstream: reported C repro on 2022/07/13 03:16
linux-4.19 WARNING in restore_regulatory_settings C error 1613 646d 1564d 0/1 upstream: reported C repro on 2020/01/06 09:29
linux-4.14 WARNING in restore_regulatory_settings C done 2264 1317d 1563d 1/1 fixed on 2020/10/09 20:44
Last patch testing requests (1)
Created Duration User Patch Repo Result
2020/08/03 22:08 18m rkovhaev@gmail.com patch upstream OK

Sample crash report:
------------[ cut here ]------------
Unexpected user alpha2: A�
WARNING: CPU: 1 PID: 3290 at net/wireless/reg.c:418 is_user_regdom_saved net/wireless/reg.c:418 [inline]
WARNING: CPU: 1 PID: 3290 at net/wireless/reg.c:418 restore_alpha2 net/wireless/reg.c:3102 [inline]
WARNING: CPU: 1 PID: 3290 at net/wireless/reg.c:418 restore_regulatory_settings+0x212/0x1550 net/wireless/reg.c:3194
Kernel panic - not syncing: panic_on_warn set ...
CPU: 1 PID: 3290 Comm: kworker/1:9 Not tainted 5.8.0-rc5-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:77 [inline]
 dump_stack+0x18f/0x20d lib/dump_stack.c:118
 panic+0x2e3/0x75c kernel/panic.c:231
 __warn.cold+0x20/0x45 kernel/panic.c:600
 report_bug+0x1bd/0x210 lib/bug.c:198
 handle_bug+0x38/0x90 arch/x86/kernel/traps.c:235
 exc_invalid_op+0x13/0x40 arch/x86/kernel/traps.c:255
 asm_exc_invalid_op+0x12/0x20 arch/x86/include/asm/idtentry.h:542
RIP: 0010:is_user_regdom_saved net/wireless/reg.c:418 [inline]
RIP: 0010:restore_alpha2 net/wireless/reg.c:3102 [inline]
RIP: 0010:restore_regulatory_settings+0x212/0x1550 net/wireless/reg.c:3194
Code: 44 89 ee e8 10 b6 09 fa 45 84 ed 0f 85 58 07 00 00 e8 c2 b9 09 fa 41 0f be d4 40 0f be f5 48 c7 c7 a0 2f 16 89 e8 10 fa da f9 <0f> 0b e8 a7 b9 09 fa 48 8b 1d 20 fa 2e 03 48 b8 00 00 00 00 00 fc
RSP: 0018:ffffc9000b8efc20 EFLAGS: 00010286
RAX: 0000000000000000 RBX: 0000000000000001 RCX: 0000000000000000
RDX: ffff88809b5b20c0 RSI: ffffffff815d4f87 RDI: fffff5200171df76
RBP: 0000000000000041 R08: 0000000000000001 R09: ffff8880ae7318e7
R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000
R13: 0000000000000000 R14: ffff88809b4cd800 R15: ffff8880ae735600
 crda_timeout_work+0x1d/0x30 net/wireless/reg.c:520
 process_one_work+0x94c/0x1670 kernel/workqueue.c:2269
 worker_thread+0x64c/0x1120 kernel/workqueue.c:2415
 kthread+0x3b5/0x4a0 kernel/kthread.c:291
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:293
Kernel Offset: disabled
Rebooting in 86400 seconds..

Crashes (10414):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2020/07/17 10:28 upstream f8456690ba8e 54b3c45e .config console log report syz C ci-upstream-kasan-gce-selinux-root
2020/07/17 10:04 upstream f8456690ba8e 54b3c45e .config console log report syz C ci-upstream-kasan-gce-smack-root
2020/07/17 04:37 upstream f8456690ba8e 54b3c45e .config console log report syz C ci-upstream-kasan-gce-root
2020/06/10 22:38 upstream 7ae77150d94d a6f7998d .config console log report syz C ci-upstream-kasan-gce-root
2020/06/10 22:32 upstream 7ae77150d94d a6f7998d .config console log report syz C ci-upstream-kasan-gce-smack-root
2020/06/10 22:25 upstream 7ae77150d94d a6f7998d .config console log report syz C ci-upstream-kasan-gce-selinux-root
2020/06/05 16:39 upstream 435faf5c218a 2420d1bc .config console log report syz C ci-upstream-kasan-gce-root
2020/06/04 02:29 upstream d6f9469a03d8 a5ce5de0 .config console log report syz C ci-upstream-kasan-gce-selinux-root
2020/06/02 21:11 upstream f359287765c0 52fd7b7d .config console log report syz C ci-upstream-kasan-gce-smack-root
2020/05/20 03:21 upstream 3c9e66568ad4 67fa1f59 .config console log report syz C ci-upstream-kasan-gce-root
2020/05/19 18:46 upstream 642b151f45dd 6d882fd2 .config console log report syz C ci-upstream-kasan-gce-smack-root
2020/05/19 16:57 upstream 642b151f45dd 6d882fd2 .config console log report syz C ci-upstream-kasan-gce-root
2020/05/19 05:17 upstream 45088963ca9c 684d3606 .config console log report syz C ci-upstream-kasan-gce-smack-root
2020/05/07 06:40 upstream 3c40cdb0e93e 4618eb2d .config console log report syz C ci-upstream-kasan-gce-selinux-root
2020/05/05 16:51 upstream 47cf1b422e60 4b76dd25 .config console log report syz C ci-upstream-kasan-gce-root
2020/04/23 16:28 upstream c578ddb39e56 2e44d63e .config console log report syz C ci-upstream-kasan-gce-selinux-root
2020/04/22 05:14 upstream 189522da8b3a 2e44d63e .config console log report syz C ci-upstream-kasan-gce-root
2020/01/17 01:14 upstream f5ae2ea6347a 3de7aabb .config console log report syz C ci-upstream-kasan-gce-selinux-root
2020/01/17 00:43 upstream f5ae2ea6347a 3de7aabb .config console log report syz C ci-upstream-kasan-gce-root
2020/01/17 00:31 upstream f5ae2ea6347a 3de7aabb .config console log report syz C ci-upstream-kasan-gce-smack-root
2020/01/07 01:48 upstream c79f46a28239 53430d97 .config console log report syz C ci-upstream-kasan-gce-root
2020/01/06 10:48 upstream c79f46a28239 438e1227 .config console log report syz C ci-upstream-kasan-gce-root
2020/06/10 22:31 net-old 4d3da2d8d91f a6f7998d .config console log report syz C ci-upstream-net-this-kasan-gce
2020/06/02 07:19 net-old bdc48fa11e46 a0331e89 .config console log report syz C ci-upstream-net-this-kasan-gce
2020/03/29 09:13 net-old a0ba26f37ea0 05736b29 .config console log report syz C ci-upstream-net-this-kasan-gce
2020/01/17 00:21 net-old 567110f147b3 3de7aabb .config console log report syz C ci-upstream-net-this-kasan-gce
2020/01/06 10:14 net-old f11421ba4af7 438e1227 .config console log report syz C ci-upstream-net-this-kasan-gce
2020/06/10 22:31 net-next-old cb8e59cc8720 a6f7998d .config console log report syz C ci-upstream-net-kasan-gce
2020/06/02 07:22 net-next-old 9a25c1df24a6 a0331e89 .config console log report syz C ci-upstream-net-kasan-gce
2020/03/29 06:52 net-next-old 1a147b74c2fd 05736b29 .config console log report syz C ci-upstream-net-kasan-gce
2020/01/17 00:21 net-next-old 1ccf6c13d9c7 3de7aabb .config console log report syz C ci-upstream-net-kasan-gce
2020/07/17 00:34 linux-next 4c43049f19a2 54b3c45e .config console log report syz C ci-upstream-linux-next-kasan-gce-root
2020/06/10 22:29 linux-next e7b08814b16b a6f7998d .config console log report syz C ci-upstream-linux-next-kasan-gce-root
2020/06/03 02:52 linux-next e7b08814b16b f3ba1b5b .config console log report syz C ci-upstream-linux-next-kasan-gce-root
2020/05/18 06:23 linux-next ac935d227366 37bccd4e .config console log report syz C ci-upstream-linux-next-kasan-gce-root
2020/05/17 23:55 linux-next ac935d227366 37bccd4e .config console log report syz C ci-upstream-linux-next-kasan-gce-root
2020/05/06 07:05 linux-next ac935d227366 35b8eb30 .config console log report syz C ci-upstream-linux-next-kasan-gce-root
2020/01/20 10:40 linux-next 2747d5fdab78 0342f8c7 .config console log report syz C ci-upstream-linux-next-kasan-gce-root
2020/03/01 20:29 upstream 63623fd44972 c88c7b75 .config console log report syz ci-upstream-kasan-gce-selinux-root
2020/02/29 11:27 upstream f8788d86ab28 59b57593 .config console log report syz ci-upstream-kasan-gce-root
2020/02/27 12:54 upstream f8788d86ab28 59b57593 .config console log report syz ci-upstream-kasan-gce-smack-root
2020/02/24 12:11 net-next-old 2045e158fc7f d801cb02 .config console log report syz ci-upstream-net-kasan-gce
2020/03/13 00:06 linux-next 770fbb32d34e d850e9d0 .config console log report syz ci-upstream-linux-next-kasan-gce-root
2020/09/06 23:57 upstream fffe3ae0ee84 abf9ba4f .config console log report ci-qemu-upstream
2020/09/04 14:35 upstream e28f0104343d abf9ba4f .config console log report ci-upstream-kasan-gce-selinux-root
2020/09/03 18:52 upstream fc3abb53250a abf9ba4f .config console log report ci-upstream-kasan-gce-smack-root
2020/09/03 15:58 upstream fc3abb53250a abf9ba4f .config console log report ci-upstream-kasan-gce-selinux-root
2020/09/03 14:37 upstream fc3abb53250a abf9ba4f .config console log report ci-upstream-kasan-gce-root
2020/09/03 12:24 upstream fc3abb53250a abf9ba4f .config console log report ci-upstream-kasan-gce-smack-root
2020/09/03 12:11 upstream fc3abb53250a abf9ba4f .config console log report ci-upstream-kasan-gce-smack-root
2020/09/03 04:36 upstream fc3abb53250a abf9ba4f .config console log report ci-upstream-kasan-gce-selinux-root
2020/09/03 03:09 upstream fc3abb53250a abf9ba4f .config console log report ci-upstream-kasan-gce-root
2020/09/02 16:57 upstream 9c7d619be5a0 abf9ba4f .config console log report ci-upstream-kasan-gce-smack-root
2020/09/02 14:23 upstream 9c7d619be5a0 abf9ba4f .config console log report ci-upstream-kasan-gce-selinux-root
2020/09/02 13:10 upstream b765a32a2e91 abf9ba4f .config console log report ci-upstream-kasan-gce-selinux-root
2020/09/02 05:31 upstream b765a32a2e91 abf9ba4f .config console log report ci-upstream-kasan-gce-selinux-root
2020/09/02 02:06 upstream b765a32a2e91 abf9ba4f .config console log report ci-upstream-kasan-gce-selinux-root
2020/07/23 16:30 upstream d15be546031c 70c104a1 .config console log report ci-qemu-upstream
2020/09/02 12:05 upstream 9c7d619be5a0 abf9ba4f .config console log report ci-qemu-upstream-386
2020/09/01 22:54 upstream b765a32a2e91 abf9ba4f .config console log report ci-qemu-upstream-386
2020/09/01 18:36 upstream b51594df17d0 abf9ba4f .config console log report ci-qemu-upstream-386
2020/08/28 08:50 net-old af8ea1111346 816e0689 .config console log report ci-upstream-net-this-kasan-gce
2020/09/05 05:40 net-next-old 3ab1270bfa1e abf9ba4f .config console log report ci-upstream-net-kasan-gce
2020/09/05 04:00 net-next-old 3ab1270bfa1e abf9ba4f .config console log report ci-upstream-net-kasan-gce
2020/09/05 02:37 net-next-old 3ab1270bfa1e abf9ba4f .config console log report ci-upstream-net-kasan-gce
2020/09/05 00:37 net-next-old 3ab1270bfa1e abf9ba4f .config console log report ci-upstream-net-kasan-gce
2020/09/04 23:35 net-next-old 3ab1270bfa1e abf9ba4f .config console log report ci-upstream-net-kasan-gce
2020/09/04 18:13 net-next-old 3ab1270bfa1e abf9ba4f .config console log report ci-upstream-net-kasan-gce
2020/09/04 15:32 net-next-old 3ab1270bfa1e abf9ba4f .config console log report ci-upstream-net-kasan-gce
2020/09/04 13:11 net-next-old 3ab1270bfa1e abf9ba4f .config console log report ci-upstream-net-kasan-gce
2020/09/04 10:01 net-next-old 3ab1270bfa1e abf9ba4f .config console log report ci-upstream-net-kasan-gce
2020/09/04 07:06 net-next-old 22b330b622e3 abf9ba4f .config console log report ci-upstream-net-kasan-gce
2020/09/04 05:48 net-next-old 22b330b622e3 abf9ba4f .config console log report ci-upstream-net-kasan-gce
2020/09/04 04:33 net-next-old 22b330b622e3 abf9ba4f .config console log report ci-upstream-net-kasan-gce
2020/09/04 04:14 net-next-old 22b330b622e3 abf9ba4f .config console log report ci-upstream-net-kasan-gce
2020/09/04 02:38 net-next-old 22b330b622e3 abf9ba4f .config console log report ci-upstream-net-kasan-gce
2020/09/04 01:30 net-next-old 22b330b622e3 abf9ba4f .config console log report ci-upstream-net-kasan-gce
2020/09/04 00:11 net-next-old 22b330b622e3 abf9ba4f .config console log report ci-upstream-net-kasan-gce
2020/09/03 23:07 net-next-old 22b330b622e3 abf9ba4f .config console log report ci-upstream-net-kasan-gce
2020/09/03 21:07 net-next-old 22b330b622e3 abf9ba4f .config console log report ci-upstream-net-kasan-gce
2020/09/03 20:09 net-next-old 22b330b622e3 abf9ba4f .config console log report ci-upstream-net-kasan-gce
2020/09/03 11:00 net-next-old d3dfc362e073 abf9ba4f .config console log report ci-upstream-net-kasan-gce
2020/09/03 08:40 net-next-old d3dfc362e073 abf9ba4f .config console log report ci-upstream-net-kasan-gce
2020/09/03 06:55 net-next-old d3dfc362e073 abf9ba4f .config console log report ci-upstream-net-kasan-gce
2020/09/03 05:37 net-next-old d3dfc362e073 abf9ba4f .config console log report ci-upstream-net-kasan-gce
2020/09/03 00:11 net-next-old d3dfc362e073 abf9ba4f .config console log report ci-upstream-net-kasan-gce
2020/09/02 22:30 net-next-old d3dfc362e073 abf9ba4f .config console log report ci-upstream-net-kasan-gce
2020/09/02 21:47 net-next-old dc1a9bf2c816 abf9ba4f .config console log report ci-upstream-net-kasan-gce
2020/09/02 20:18 net-next-old dc1a9bf2c816 abf9ba4f .config console log report ci-upstream-net-kasan-gce
2020/09/02 15:35 net-next-old dc1a9bf2c816 abf9ba4f .config console log report ci-upstream-net-kasan-gce
2020/09/02 09:32 net-next-old dc1a9bf2c816 abf9ba4f .config console log report ci-upstream-net-kasan-gce
2020/09/02 08:00 net-next-old dc1a9bf2c816 abf9ba4f .config console log report ci-upstream-net-kasan-gce
2020/09/02 03:26 net-next-old dc1a9bf2c816 abf9ba4f .config console log report ci-upstream-net-kasan-gce
2020/09/02 00:56 net-next-old dc1a9bf2c816 abf9ba4f .config console log report ci-upstream-net-kasan-gce
2020/09/01 23:48 net-next-old dc1a9bf2c816 abf9ba4f .config console log report ci-upstream-net-kasan-gce
2020/09/01 21:21 net-next-old 10eb46679460 d5a3ae1f .config console log report ci-upstream-net-kasan-gce
2020/09/01 19:52 net-next-old 10eb46679460 d5a3ae1f .config console log report ci-upstream-net-kasan-gce
2020/01/06 09:28 net-next-old 704a0afb4963 438e1227 .config console log report ci-upstream-net-kasan-gce
2020/08/28 05:50 linux-next 88abac0b753d 816e0689 .config console log report ci-upstream-linux-next-kasan-gce-root
* Struck through repros no longer work on HEAD.