syzbot


WARNING in restore_regulatory_settings (2)

Status: upstream: reported C repro on 2023/07/06 05:35
Subsystems: wireless
[Documentation on labels]
Reported-by: syzbot+dfe2fbeb4e710bbaddf9@syzkaller.appspotmail.com
First crash: 287d, last: 50d
Cause bisection: introduced by (bisect log) :
commit ae220766d87cd6799dbf918fea10613ae14c0654
Author: Christoph Hellwig <hch@lst.de>
Date: Thu Jun 8 11:02:37 2023 +0000

  block: remove the unused mode argument to ->release

Crash: WARNING in restore_regulatory_settings (log)
Repro: C syz .config
  
Fix bisection: failed (error log, bisect log)
  
Discussions (1)
Title Replies (including bot) Last reply
[syzbot] [wireless?] WARNING in restore_regulatory_settings (2) 1 (2) 2023/07/06 12:33
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 287d 287d 0/3 auto-obsoleted due to no activity on 2023/10/10 11:07
upstream WARNING in restore_regulatory_settings C done 10414 1315d 1559d 15/26 fixed on 2020/09/25 01:17
linux-5.15 WARNING in restore_regulatory_settings (2) 2 73d 73d 0/3 upstream: reported on 2024/01/31 18:34
linux-6.1 WARNING in restore_regulatory_settings 1 74d 74d 0/3 upstream: reported on 2024/01/31 17:04
linux-4.14 WARNING in restore_regulatory_settings (2) C error 1 581d 641d 0/1 upstream: reported C repro on 2022/07/13 03:16
linux-4.19 WARNING in restore_regulatory_settings C error 1613 641d 1560d 0/1 upstream: reported C repro on 2020/01/06 09:29
linux-4.14 WARNING in restore_regulatory_settings C done 2264 1313d 1559d 1/1 fixed on 2020/10/09 20:44
Last patch testing requests (10)
Created Duration User Patch Repo Result
2024/03/09 15:08 24m retest repro upstream OK log
2024/02/17 09:20 41m retest repro git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci OK log
2024/02/16 09:46 27m retest repro net-next OK log
2023/12/23 21:04 1h04m retest repro net-next OK log
2023/11/11 21:35 23m retest repro net OK log
2023/10/11 16:27 15m retest repro net-next report log
2023/09/03 03:10 23m retest repro linux-next OK log
2023/09/03 03:10 21m retest repro net OK log
2023/09/03 03:10 38m retest repro git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci OK log
2023/08/21 16:32 22m retest repro upstream OK log

Sample crash report:
------------[ cut here ]------------
Unexpected user alpha2: I
WARNING: CPU: 0 PID: 1160 at net/wireless/reg.c:438 is_user_regdom_saved net/wireless/reg.c:438 [inline]
WARNING: CPU: 0 PID: 1160 at net/wireless/reg.c:438 restore_alpha2 net/wireless/reg.c:3425 [inline]
WARNING: CPU: 0 PID: 1160 at net/wireless/reg.c:438 restore_regulatory_settings+0x1f0/0x18b0 net/wireless/reg.c:3517
Modules linked in:
CPU: 0 PID: 1160 Comm: kworker/0:2 Not tainted 6.8.0-rc5-syzkaller-00278-g603c04e27c3e #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/25/2024
Workqueue: events_power_efficient crda_timeout_work
RIP: 0010:is_user_regdom_saved net/wireless/reg.c:438 [inline]
RIP: 0010:restore_alpha2 net/wireless/reg.c:3425 [inline]
RIP: 0010:restore_regulatory_settings+0x1f0/0x18b0 net/wireless/reg.c:3517
Code: 89 c6 e8 a3 a6 76 f7 45 84 ff 0f 85 91 07 00 00 e8 15 ac 76 f7 90 8b 74 24 08 44 89 e2 48 c7 c7 40 de 4c 8c e8 b1 d0 3a f7 90 <0f> 0b 90 90 e8 f7 ab 76 f7 4c 8b 25 60 ea 50 05 48 b8 00 00 00 00
RSP: 0018:ffffc90004bdfc08 EFLAGS: 00010282
RAX: 0000000000000000 RBX: 00000000000000bf RCX: ffffffff814f74b9
RDX: ffff888022e63b80 RSI: ffffffff814f74c6 RDI: 0000000000000001
RBP: 0000000000000001 R08: 0000000000000001 R09: 0000000000000000
R10: 0000000000000001 R11: 0000000000000001 R12: 0000000000000049
R13: 0000000000003739 R14: 0000000000000001 R15: 0000000000000000
FS:  0000000000000000(0000) GS:ffff8880b9400000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007ffeecb95b68 CR3: 000000002d338000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 crda_timeout_work+0x28/0x50 net/wireless/reg.c:540
 process_one_work+0x889/0x15e0 kernel/workqueue.c:2633
 process_scheduled_works kernel/workqueue.c:2706 [inline]
 worker_thread+0x8b9/0x12a0 kernel/workqueue.c:2787
 kthread+0x2c6/0x3b0 kernel/kthread.c:388
 ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:147
 ret_from_fork_asm+0x1b/0x30 arch/x86/entry/entry_64.S:242
 </TASK>

Crashes (32):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/02/24 14:33 upstream 603c04e27c3e 8d446f15 .config console log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-selinux-root WARNING in restore_regulatory_settings
2023/07/02 06:59 upstream dfab92f27c60 bfc47836 .config console log report syz C [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream WARNING in restore_regulatory_settings
2023/10/28 21:33 net c17cda15cc86 3c418d72 .config console log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce WARNING in restore_regulatory_settings
2023/07/02 09:16 net 3674fbf0451d bfc47836 .config console log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce WARNING in restore_regulatory_settings
2024/02/01 13:57 net-next 1701940b1a02 81024119 .config console log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING in restore_regulatory_settings
2023/07/02 08:41 net-next ae230642190a bfc47836 .config console log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING in restore_regulatory_settings
2023/07/02 07:40 linux-next 6352a698ca5b bfc47836 .config console log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING in restore_regulatory_settings
2024/01/31 23:53 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 41bccc98fb79 373b66cd .config console log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in restore_regulatory_settings
2023/07/02 12:01 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci e40939bbfc68 bfc47836 .config console log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in restore_regulatory_settings
2024/01/31 22:22 upstream 1bbb19b6eb1b 373b66cd .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-selinux-root WARNING in restore_regulatory_settings
2024/01/31 21:52 upstream 1bbb19b6eb1b 373b66cd .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-selinux-root WARNING in restore_regulatory_settings
2024/01/31 17:05 upstream 2a6526c4f389 373b66cd .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root WARNING in restore_regulatory_settings
2024/01/31 17:03 upstream 2a6526c4f389 373b66cd .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-selinux-root WARNING in restore_regulatory_settings
2024/01/31 17:02 upstream 2a6526c4f389 373b66cd .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-badwrites-root WARNING in restore_regulatory_settings
2024/01/31 16:59 upstream 2a6526c4f389 373b66cd .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root WARNING in restore_regulatory_settings
2024/01/31 17:02 upstream 1bbb19b6eb1b 373b66cd .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream WARNING in restore_regulatory_settings
2024/01/31 17:41 upstream 1bbb19b6eb1b 373b66cd .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream-386 WARNING in restore_regulatory_settings
2023/07/02 05:51 upstream f8566aa4f176 bfc47836 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-selinux-root WARNING in restore_regulatory_settings
2023/07/02 05:40 upstream dfab92f27c60 bfc47836 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream WARNING in restore_regulatory_settings
2023/07/02 05:37 upstream f8566aa4f176 bfc47836 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root WARNING in restore_regulatory_settings
2023/11/15 19:57 net 674e31808946 cb976f63 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce WARNING in restore_regulatory_settings
2023/10/28 18:13 net c17cda15cc86 3c418d72 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce WARNING in restore_regulatory_settings
2023/07/02 05:33 net 3674fbf0451d bfc47836 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce WARNING in restore_regulatory_settings
2024/01/31 17:04 net-next ccf1445204a1 373b66cd .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING in restore_regulatory_settings
2023/12/09 20:33 net-next 5a08d0065a91 28b24332 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING in restore_regulatory_settings
2023/11/18 13:23 net-next 18de1e517ed3 cb976f63 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING in restore_regulatory_settings
2023/11/16 10:04 net-next e316dd1cf135 cb976f63 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING in restore_regulatory_settings
2023/07/02 05:31 net-next ae230642190a bfc47836 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING in restore_regulatory_settings
2024/01/31 17:02 linux-next 596764183be8 373b66cd .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING in restore_regulatory_settings
2024/01/31 16:59 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 41bccc98fb79 373b66cd .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in restore_regulatory_settings
2023/07/02 05:32 linux-next 6352a698ca5b bfc47836 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING in restore_regulatory_settings
2023/07/02 05:46 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci e40939bbfc68 bfc47836 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in restore_regulatory_settings
* Struck through repros no longer work on HEAD.