syzbot


WARNING in new_slab (2)

Status: closed as dup on 2025/08/31 01:45
Subsystems: mm
[Documentation on labels]
Reported-by: syzbot+2f3c8569e4b7486452ae@syzkaller.appspotmail.com
First crash: 86d, last: 29d
Duplicate of
Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported
WARNING in xfs_init_fs_context mm -1 syz 21 40d 144d
Discussions (1)
Title Replies (including bot) Last reply
[syzbot] [mm?] WARNING in new_slab (2) 1 (2) 2025/08/31 01:45
Similar bugs (1)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream WARNING in new_slab mm -1 C inconclusive 2 1400d 1431d 20/29 fixed on 2022/03/08 16:11

Sample crash report:
------------[ cut here ]------------
WARNING: CPU: 1 PID: 25877 at mm/page_alloc.c:4654 __alloc_pages_slowpath mm/page_alloc.c:4654 [inline]
WARNING: CPU: 1 PID: 25877 at mm/page_alloc.c:4654 __alloc_frozen_pages_noprof+0x1f87/0x2470 mm/page_alloc.c:5196
Modules linked in:
CPU: 1 UID: 0 PID: 25877 Comm: syz.5.5512 Not tainted syzkaller #0 PREEMPT(full) 
Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014
RIP: 0010:__alloc_pages_slowpath mm/page_alloc.c:4654 [inline]
RIP: 0010:__alloc_frozen_pages_noprof+0x1f87/0x2470 mm/page_alloc.c:5196
Code: 10 00 00 00 44 8b 7c 24 48 44 8b ac 24 94 00 00 00 41 89 c6 0f b6 c0 89 44 24 24 e9 75 f8 ff ff 90 0f 0b 90 e9 10 fb ff ff 90 <0f> 0b 90 e9 fb fa ff ff 48 89 ef e8 99 65 0d 00 e9 26 f1 ff ff 4c
RSP: 0018:ffffc9000d4d77c0 EFLAGS: 00010202
RAX: 0000000000008000 RBX: 0000000000000000 RCX: ffffc9000d4d78fc
RDX: 0000000000000000 RSI: 0000000000000002 RDI: ffff88803fffd9b8
RBP: 0000000000048cc0 R08: 0000000000007f8c R09: 0000000000004cc9
R10: 0000000000000000 R11: ffffc9000d4d78f0 R12: ffff88803fffbb80
R13: 1ffff92001a9af0e R14: 0000000000000000 R15: 0000000000000002
FS:  0000000000000000(0000) GS:ffff888097912000(0063) knlGS:00000000f5494b40
CS:  0010 DS: 002b ES: 002b CR0: 0000000080050033
CR2: 00000000f73fb664 CR3: 000000006e392000 CR4: 0000000000352ef0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 00000000e08e000e DR6: 00000000ffff0ff0 DR7: 0000000000000600
Call Trace:
 <TASK>
 alloc_pages_mpol+0x1fb/0x550 mm/mempolicy.c:2416
 alloc_slab_page mm/slub.c:3046 [inline]
 allocate_slab mm/slub.c:3227 [inline]
 new_slab+0x268/0x360 mm/slub.c:3273
 ___slab_alloc+0xdc4/0x1ae0 mm/slub.c:4643
 __slab_alloc.constprop.0+0x63/0x110 mm/slub.c:4762
 __slab_alloc_node mm/slub.c:4838 [inline]
 slab_alloc_node mm/slub.c:5260 [inline]
 __kmalloc_cache_noprof+0x477/0x780 mm/slub.c:5750
 kmalloc_noprof include/linux/slab.h:957 [inline]
 kzalloc_noprof include/linux/slab.h:1094 [inline]
 xfs_init_fs_context+0x45/0x5e0 fs/xfs/xfs_super.c:2224
 alloc_fs_context+0x54d/0x9c0 fs/fs_context.c:315
 do_new_mount fs/namespace.c:3707 [inline]
 path_mount+0xe1b/0x23a0 fs/namespace.c:4037
 do_mount fs/namespace.c:4050 [inline]
 __do_sys_mount fs/namespace.c:4238 [inline]
 __se_sys_mount fs/namespace.c:4215 [inline]
 __ia32_sys_mount+0x291/0x310 fs/namespace.c:4215
 do_syscall_32_irqs_on arch/x86/entry/syscall_32.c:83 [inline]
 __do_fast_syscall_32+0x7c/0x300 arch/x86/entry/syscall_32.c:306
 do_fast_syscall_32+0x32/0x80 arch/x86/entry/syscall_32.c:331
 entry_SYSENTER_compat_after_hwframe+0x84/0x8e
RIP: 0023:0xf7fe5579
Code: b8 01 10 06 03 74 b4 01 10 07 03 74 b0 01 10 08 03 74 d8 01 00 00 00 00 00 00 00 00 00 00 00 00 00 51 52 55 89 e5 0f 34 cd 80 <5d> 5a 59 c3 90 90 90 90 8d b4 26 00 00 00 00 8d b4 26 00 00 00 00
RSP: 002b:00000000f549455c EFLAGS: 00000296 ORIG_RAX: 0000000000000015
RAX: ffffffffffffffda RBX: 0000000080000140 RCX: 0000000080000040
RDX: 0000000080000080 RSI: 0000000002208004 RDI: 0000000000000000
RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000296 R12: 0000000000000000
R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000
 </TASK>
----------------
Code disassembly (best guess), 2 bytes skipped:
   0:	10 06                	adc    %al,(%rsi)
   2:	03 74 b4 01          	add    0x1(%rsp,%rsi,4),%esi
   6:	10 07                	adc    %al,(%rdi)
   8:	03 74 b0 01          	add    0x1(%rax,%rsi,4),%esi
   c:	10 08                	adc    %cl,(%rax)
   e:	03 74 d8 01          	add    0x1(%rax,%rbx,8),%esi
  1e:	00 51 52             	add    %dl,0x52(%rcx)
  21:	55                   	push   %rbp
  22:	89 e5                	mov    %esp,%ebp
  24:	0f 34                	sysenter
  26:	cd 80                	int    $0x80
* 28:	5d                   	pop    %rbp <-- trapping instruction
  29:	5a                   	pop    %rdx
  2a:	59                   	pop    %rcx
  2b:	c3                   	ret
  2c:	90                   	nop
  2d:	90                   	nop
  2e:	90                   	nop
  2f:	90                   	nop
  30:	8d b4 26 00 00 00 00 	lea    0x0(%rsi,%riz,1),%esi
  37:	8d b4 26 00 00 00 00 	lea    0x0(%rsi,%riz,1),%esi

Crashes (6):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2025/10/23 02:04 upstream dd72c8fcf6d3 c0460fcd .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream-386 WARNING in new_slab
2025/10/19 17:06 upstream d9043c79ba68 1c8c8cd8 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream-386 WARNING in new_slab
2025/10/06 12:16 upstream fd94619c4336 91305dbe .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream-386 WARNING in new_slab
2025/09/22 05:33 upstream 07e27ad16399 67c37560 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream-386 WARNING in new_slab
2025/09/07 03:24 upstream b236920731dd d291dd2d .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream-386 WARNING in new_slab
2025/08/27 01:33 upstream fab1beda7597 e12e5ba4 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream-386 WARNING in new_slab
* Struck through repros no longer work on HEAD.