syzbot


memory leak in restore_regulatory_settings

Status: auto-obsoleted due to no activity on 2024/01/01 11:00
Subsystems: wireless
[Documentation on labels]
Reported-by: syzbot+68849d5e4a6e74f32c06@syzkaller.appspotmail.com
First crash: 179d, last: 159d
Discussions (1)
Title Replies (including bot) Last reply
[syzbot] [wireless?] [net?] memory leak in restore_regulatory_settings 0 (1) 2023/09/07 08:24
Last patch testing requests (4)
Created Duration User Patch Repo Result
2023/12/16 12:44 18m retest repro upstream OK log
2023/11/26 08:58 34m retest repro upstream OK log
2023/10/07 11:15 12m retest repro upstream report log
2023/09/17 08:25 13m retest repro upstream report log

Sample crash report:
write to /proc/sys/kernel/softlockup_all_cpu_backtrace failed: No such file or directory
BUG: memory leak
unreferenced object 0xffff888109f32340 (size 64):
  comm "kworker/1:1", pid 28, jiffies 4294947648 (age 8.170s)
  hex dump (first 32 bytes):
    00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
    ff ff ff ff 00 00 00 00 00 00 00 00 30 30 00 00  ............00..
  backtrace:
    [<ffffffff815740b5>] kmalloc_trace+0x25/0x90 mm/slab_common.c:1114
    [<ffffffff847457c0>] kmalloc include/linux/slab.h:599 [inline]
    [<ffffffff847457c0>] kzalloc include/linux/slab.h:720 [inline]
    [<ffffffff847457c0>] regulatory_hint_core net/wireless/reg.c:3218 [inline]
    [<ffffffff847457c0>] restore_regulatory_settings+0x820/0xa80 net/wireless/reg.c:3552
    [<ffffffff84745bf1>] crda_timeout_work+0x21/0x30 net/wireless/reg.c:540
    [<ffffffff812c8d9d>] process_one_work+0x23d/0x530 kernel/workqueue.c:2630
    [<ffffffff812c9947>] process_scheduled_works kernel/workqueue.c:2703 [inline]
    [<ffffffff812c9947>] worker_thread+0x327/0x590 kernel/workqueue.c:2784
    [<ffffffff812d6e1b>] kthread+0x12b/0x170 kernel/kthread.c:388
    [<ffffffff81149e35>] ret_from_fork+0x45/0x50 arch/x86/kernel/process.c:147
    [<ffffffff81002be1>] ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:304

write to /proc/sys/kernel/hung_task_check_interval_secs failed: No such file or directory
write to /proc/sys/kernel/softlockup_all_cpu_backtrace failed: No such file or directory
write to /proc/sys/kernel/hung_task_check_interval_secs failed: No such file or directory
write to /proc/sys/kernel/softlockup_all_cpu_backtrace failed: No such file or directory

Crashes (2):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/09/23 10:59 upstream d90b0276af8f 0b6a67ac .config console log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-gce-leak memory leak in restore_regulatory_settings
2023/09/03 08:19 upstream 92901222f83d 696ea0d2 .config console log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-gce-leak memory leak in restore_regulatory_settings
* Struck through repros no longer work on HEAD.