syzbot


general protection fault in put_pwq_unlocked (2)

Status: auto-obsoleted due to no activity on 2026/01/16 06:13
Subsystems: btrfs
[Documentation on labels]
Reported-by: syzbot+aa930d41d2f32904c5da@syzkaller.appspotmail.com
First crash: 494d, last: 130d
Cause bisection: introduced by (bisect log) :
commit 62719cf33c3ad62986130a19496cd864a0ed06c3
Author: Kent Overstreet <kent.overstreet@linux.dev>
Date: Sat Dec 23 22:50:29 2023 +0000

  bcachefs: Fix nochanges/read_only interaction

Crash: WARNING: locking bug in mempool_init_node (log)
Repro: C syz .config
  
Fix bisection: failed (error log, bisect log)
  
Discussions (3)
Title Replies (including bot) Last reply
[syzbot] Monthly bcachefs report (Aug 2025) 0 (1) 2025/08/26 07:13
[syzbot] Monthly bcachefs report (Jul 2025) 0 (1) 2025/07/25 12:39
[syzbot] [btrfs?] general protection fault in put_pwq_unlocked (2) 0 (4) 2024/12/19 16:50
Similar bugs (1)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream general protection fault in put_pwq_unlocked btrfs 2 7 608d 622d 26/29 fixed on 2024/07/31 03:12
Last patch testing requests (4)
Created Duration User Patch Repo Result
2026/01/16 05:47 24m retest repro upstream OK log
2025/06/02 04:48 25m retest repro upstream OK log
2025/06/02 04:48 22m retest repro upstream report log
2025/06/02 04:48 21m retest repro upstream OK log
Fix bisection attempts (4)
Created Duration User Patch Repo Result
2025/11/05 14:44 12h03m bisect fix upstream error job log
2025/09/25 16:00 2h46m bisect fix upstream OK (0) job log log
2025/08/17 16:12 2h37m bisect fix upstream OK (0) job log log
2025/07/16 03:50 3h07m bisect fix upstream OK (0) job log log

Sample crash report:
Oops: general protection fault, probably for non-canonical address 0xe01ffbf110170c75: 0000 [#1] SMP KASAN PTI
KASAN: maybe wild-memory-access in range [0x00ffff8880b863a8-0x00ffff8880b863af]
CPU: 1 UID: 0 PID: 6001 Comm: kworker/u8:8 Not tainted 6.16.0-syzkaller #0 PREEMPT(full) 
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2025
Workqueue: netns cleanup_net
RIP: 0010:kasan_byte_accessible+0x12/0x30 mm/kasan/generic.c:199
Code: 0f 1f 84 00 00 00 00 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 66 0f 1f 00 48 c1 ef 03 48 b8 00 00 00 00 00 fc ff df <0f> b6 04 07 3c 08 0f 92 c0 e9 c0 6b 49 09 cc 66 66 66 66 66 66 2e
RSP: 0018:ffffc900052df480 EFLAGS: 00010003
RAX: dffffc0000000000 RBX: ffffffff8b691442 RCX: 7e537b144c670700
RDX: 0000000000000000 RSI: ffffffff8b691442 RDI: 001ffff110170c75
RBP: ffffffff818b8053 R08: 0000000000000001 R09: 0000000000000000
R10: dffffc0000000000 R11: fffffbfff1f4167f R12: 0000000000000000
R13: 00ffff8880b863ad R14: 00ffff8880b863ad R15: 0000000000000001
FS:  0000000000000000(0000) GS:ffff888125d57000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007feb233efc18 CR3: 0000000034fc8000 CR4: 00000000003526f0
Call Trace:
 <TASK>
 __kasan_check_byte+0x12/0x40 mm/kasan/common.c:556
 kasan_check_byte include/linux/kasan.h:399 [inline]
 lock_acquire+0x8d/0x360 kernel/locking/lockdep.c:5845
 __raw_spin_lock_irq include/linux/spinlock_api_smp.h:119 [inline]
 _raw_spin_lock_irq+0xa2/0xf0 kernel/locking/spinlock.c:170
 put_pwq_unlocked+0x43/0x190 kernel/workqueue.c:1662
 destroy_workqueue+0x9d0/0xc70 kernel/workqueue.c:5924
 wg_destruct+0x1a0/0x2f0 drivers/net/wireguard/device.c:255
 netdev_run_todo+0xcd7/0xea0 net/core/dev.c:11405
 default_device_exit_batch+0x81e/0x890 net/core/dev.c:12645
 ops_exit_list net/core/net_namespace.c:206 [inline]
 ops_undo_list+0x522/0x990 net/core/net_namespace.c:253
 cleanup_net+0x4c5/0x800 net/core/net_namespace.c:686
 process_one_work kernel/workqueue.c:3238 [inline]
 process_scheduled_works+0xade/0x17b0 kernel/workqueue.c:3321
 worker_thread+0x8a0/0xda0 kernel/workqueue.c:3402
 kthread+0x70e/0x8a0 kernel/kthread.c:464
 ret_from_fork+0x3fc/0x770 arch/x86/kernel/process.c:148
 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245
 </TASK>
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:kasan_byte_accessible+0x12/0x30 mm/kasan/generic.c:199
Code: 0f 1f 84 00 00 00 00 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 66 0f 1f 00 48 c1 ef 03 48 b8 00 00 00 00 00 fc ff df <0f> b6 04 07 3c 08 0f 92 c0 e9 c0 6b 49 09 cc 66 66 66 66 66 66 2e
RSP: 0018:ffffc900052df480 EFLAGS: 00010003
RAX: dffffc0000000000 RBX: ffffffff8b691442 RCX: 7e537b144c670700
RDX: 0000000000000000 RSI: ffffffff8b691442 RDI: 001ffff110170c75
RBP: ffffffff818b8053 R08: 0000000000000001 R09: 0000000000000000
R10: dffffc0000000000 R11: fffffbfff1f4167f R12: 0000000000000000
R13: 00ffff8880b863ad R14: 00ffff8880b863ad R15: 0000000000000001
FS:  0000000000000000(0000) GS:ffff888125d57000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007feb233efc18 CR3: 0000000034fc8000 CR4: 00000000003526f0
----------------
Code disassembly (best guess):
   0:	0f 1f 84 00 00 00 00 	nopl   0x0(%rax,%rax,1)
   7:	00
   8:	90                   	nop
   9:	90                   	nop
   a:	90                   	nop
   b:	90                   	nop
   c:	90                   	nop
   d:	90                   	nop
   e:	90                   	nop
   f:	90                   	nop
  10:	90                   	nop
  11:	90                   	nop
  12:	90                   	nop
  13:	90                   	nop
  14:	90                   	nop
  15:	90                   	nop
  16:	90                   	nop
  17:	90                   	nop
  18:	66 0f 1f 00          	nopw   (%rax)
  1c:	48 c1 ef 03          	shr    $0x3,%rdi
  20:	48 b8 00 00 00 00 00 	movabs $0xdffffc0000000000,%rax
  27:	fc ff df
* 2a:	0f b6 04 07          	movzbl (%rdi,%rax,1),%eax <-- trapping instruction
  2e:	3c 08                	cmp    $0x8,%al
  30:	0f 92 c0             	setb   %al
  33:	e9 c0 6b 49 09       	jmp    0x9496bf8
  38:	cc                   	int3
  39:	66                   	data16
  3a:	66                   	data16
  3b:	66                   	data16
  3c:	66                   	data16
  3d:	66                   	data16
  3e:	66                   	data16
  3f:	2e                   	cs

Crashes (125):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2025/08/23 06:32 upstream 038d61fd6422 bf27483f .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root general protection fault in put_pwq_unlocked
2025/07/18 15:56 upstream 6832a9317eee 88248e14 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs general protection fault in put_pwq_unlocked
2025/05/18 20:39 upstream 5723cc3450bc f41472b0 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root general protection fault in put_pwq_unlocked
2025/05/14 01:33 upstream e9565e23cd89 7344edeb .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs general protection fault in put_pwq_unlocked
2025/05/09 14:08 upstream 9c69f8884904 bb813bcc .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs general protection fault in put_pwq_unlocked
2025/05/05 13:33 upstream 92a09c47464d 6ca47dd8 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs general protection fault in put_pwq_unlocked
2025/05/01 08:54 upstream 7a13c14ee59d ce7952f4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs general protection fault in put_pwq_unlocked
2025/04/26 12:39 upstream f1a3944c860b c6b4fb39 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs general protection fault in put_pwq_unlocked
2025/04/23 04:35 upstream bc3372351d0c 53a8b9bd .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs general protection fault in put_pwq_unlocked
2025/04/19 06:22 upstream 3088d26962e8 2a20f901 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs general protection fault in put_pwq_unlocked
2025/04/18 01:55 upstream b5c6891b2c5b 2a20f901 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs general protection fault in put_pwq_unlocked
2025/04/17 05:52 upstream c62f4b82d571 a95239b1 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs general protection fault in put_pwq_unlocked
2025/04/15 02:53 upstream 834a4a689699 0bd6db41 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs general protection fault in put_pwq_unlocked
2025/04/14 21:22 upstream 834a4a689699 0bd6db41 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs general protection fault in put_pwq_unlocked
2025/04/14 03:40 upstream 5aaaedb0cb54 0bd6db41 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs general protection fault in put_pwq_unlocked
2025/04/12 23:54 upstream 3bde70a2c827 0bd6db41 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs general protection fault in put_pwq_unlocked
2025/04/11 09:10 upstream 900241a5cc15 94486846 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs general protection fault in put_pwq_unlocked
2025/04/10 07:12 upstream 3b07108ada81 988b336c .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs general protection fault in put_pwq_unlocked
2025/04/06 00:58 upstream a8662bcd2ff1 1c65791e .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs general protection fault in put_pwq_unlocked
2025/03/29 20:59 upstream 7d06015d936c d3999433 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs general protection fault in put_pwq_unlocked
2025/03/28 13:56 upstream acb4f33713b9 6c09fb82 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs general protection fault in put_pwq_unlocked
2025/03/25 13:18 upstream 2f2d52945852 875573af .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs general protection fault in put_pwq_unlocked
2025/03/24 17:36 upstream 38fec10eb60d 875573af .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs general protection fault in put_pwq_unlocked
2025/03/23 20:47 upstream 586de92313fc 4e8d3850 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs general protection fault in put_pwq_unlocked
2025/03/23 18:22 upstream 586de92313fc 4e8d3850 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs general protection fault in put_pwq_unlocked
2025/03/23 07:13 upstream 183601b78a9b 4e8d3850 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs general protection fault in put_pwq_unlocked
2025/03/22 06:16 upstream d07de43e3f05 c6512ef7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs general protection fault in put_pwq_unlocked
2025/03/20 18:35 upstream 5fc319360819 9209bc22 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs general protection fault in put_pwq_unlocked
2025/03/18 18:50 upstream 76b6905c11fd 22a6c2b1 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs general protection fault in put_pwq_unlocked
2025/03/17 23:52 upstream 4701f33a1070 ce3352cd .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs general protection fault in put_pwq_unlocked
2025/03/16 01:31 upstream 3571e8b091f4 e2826670 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs general protection fault in put_pwq_unlocked
2025/03/15 14:57 upstream a29967be967e e2826670 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs general protection fault in put_pwq_unlocked
2025/03/14 10:51 upstream 4003c9e78778 e2826670 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs general protection fault in put_pwq_unlocked
2025/03/12 09:21 upstream 0b46b049d6ec ee70e6db .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs general protection fault in put_pwq_unlocked
2025/03/12 07:31 upstream 0b46b049d6ec ee70e6db .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs general protection fault in put_pwq_unlocked
2025/03/10 19:25 upstream 80e54e84911a 16256247 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs general protection fault in put_pwq_unlocked
2025/03/06 03:55 upstream bb2281fb05e5 831e3629 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs general protection fault in put_pwq_unlocked
2025/03/06 01:10 upstream bb2281fb05e5 831e3629 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs general protection fault in put_pwq_unlocked
2025/03/04 07:10 upstream 99fa936e8e4f c3901742 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs general protection fault in put_pwq_unlocked
2025/03/04 05:41 upstream 99fa936e8e4f c3901742 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs general protection fault in put_pwq_unlocked
2025/03/04 05:41 upstream 99fa936e8e4f c3901742 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs general protection fault in put_pwq_unlocked
2025/03/03 10:16 upstream 7eb172143d55 c3901742 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs general protection fault in put_pwq_unlocked
2025/03/02 09:12 upstream ece144f151ac c3901742 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs general protection fault in put_pwq_unlocked
2025/03/02 04:18 upstream 03d38806a902 c3901742 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs general protection fault in put_pwq_unlocked
2025/02/26 19:00 upstream ac9c34d1e45a 6a8fcbc4 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root general protection fault in put_pwq_unlocked
2024/12/28 13:06 upstream fd0584d220fe d3ccff63 .config console log report syz / log [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-upstream-fs general protection fault in put_pwq_unlocked
2024/12/19 04:38 upstream eabcdba3ad40 1432fc84 .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-upstream-fs general protection fault in put_pwq_unlocked
2024/12/14 15:26 upstream a446e965a188 7cbfbb3a .config console log report syz / log [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-upstream-fs general protection fault in put_pwq_unlocked
2024/10/20 03:14 upstream f9e4825524aa cd6fc0a3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs general protection fault in put_pwq_unlocked
2024/09/26 14:16 upstream 11a299a7933e 0d19f247 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs general protection fault in put_pwq_unlocked
2025/06/14 19:36 net-next f40627350c10 5f4b362d .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce general protection fault in put_pwq_unlocked
2025/04/14 07:44 linux-next 01c6df60d5d4 0bd6db41 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root general protection fault in put_pwq_unlocked
2025/04/06 09:29 linux-next a4cda136f021 1c65791e .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root general protection fault in put_pwq_unlocked
2024/11/16 15:18 upstream e8bdb3c8be08 cfe3a04a .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs BUG: unable to handle kernel paging request in put_pwq_unlocked
* Struck through repros no longer work on HEAD.