syzbot


WARNING in _xfs_buf_alloc

Status: upstream: reported on 2024/11/20 11:33
Subsystems: mm
[Documentation on labels]
Reported-by: syzbot+c39db87bae940bc2459a@syzkaller.appspotmail.com
First crash: 4d19h, last: 4d19h
Discussions (1)
Title Replies (including bot) Last reply
[syzbot] [mm?] WARNING in _xfs_buf_alloc 0 (1) 2024/11/20 11:33

Sample crash report:
------------[ cut here ]------------
WARNING: CPU: 0 PID: 75 at mm/page_alloc.c:4238 __alloc_pages_slowpath+0xfc1/0x1020 mm/page_alloc.c:4238
Modules linked in:
CPU: 0 UID: 0 PID: 75 Comm: kswapd0 Not tainted 6.12.0-rc7-syzkaller-00187-gf868cd251776 #0
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+0xfc1/0x1020 mm/page_alloc.c:4238
Code: 25 c0 d7 03 00 49 83 c7 2c 4c 89 f8 48 c1 e8 03 42 0f b6 04 30 84 c0 75 53 41 f6 47 01 08 44 8b 7c 24 2c 0f 84 3a f1 ff ff 90 <0f> 0b 90 e9 31 f1 ff ff 48 8d 8c 24 10 01 00 00 80 e1 07 80 c1 03
RSP: 0018:ffffc90000e3e640 EFLAGS: 00010202
RAX: 0000000000000000 RBX: 0000000001048cd0 RCX: ffffc90000e3e703
RDX: ffffc90000e3e840 RSI: 0000000000000000 RDI: ffffc90000e3e720
RBP: ffffc90000e3e7d0 R08: ffff88805ffd7357 R09: 1ffff1100bffae6a
R10: dffffc0000000000 R11: ffffed100bffae6b R12: 1ffff920001c7ce0
R13: 0000000001048cd0 R14: dffffc0000000000 R15: 0000000000000000
FS:  0000000000000000(0000) GS:ffff88801fc00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000555587ae95f8 CR3: 000000003f0fa000 CR4: 0000000000352ef0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 __alloc_pages_noprof+0x493/0x710 mm/page_alloc.c:4763
 alloc_pages_mpol_noprof+0x3e8/0x680 mm/mempolicy.c:2265
 alloc_slab_page+0x6a/0x140 mm/slub.c:2412
 allocate_slab+0x1c0/0x2f0 mm/slub.c:2586
 new_slab mm/slub.c:2631 [inline]
 ___slab_alloc+0xcd1/0x14b0 mm/slub.c:3818
 __slab_alloc+0x58/0xa0 mm/slub.c:3908
 __slab_alloc_node mm/slub.c:3961 [inline]
 slab_alloc_node mm/slub.c:4122 [inline]
 kmem_cache_alloc_noprof+0x1c1/0x2a0 mm/slub.c:4141
 _xfs_buf_alloc+0x5d/0xd80 fs/xfs/xfs_buf.c:231
 xfs_buf_find_insert+0xe9/0x1540 fs/xfs/xfs_buf.c:639
 xfs_buf_get_map+0x149c/0x1ae0 fs/xfs/xfs_buf.c:758
 xfs_buf_read_map+0x111/0xa60 fs/xfs/xfs_buf.c:863
 xfs_trans_read_buf_map+0x260/0xad0 fs/xfs/xfs_trans_buf.c:289
 xfs_trans_read_buf fs/xfs/xfs_trans.h:212 [inline]
 xfs_qm_dqflush+0x2ed/0x15e0 fs/xfs/xfs_dquot.c:1267
 xfs_qm_dquot_isolate+0xa89/0x13f0 fs/xfs/xfs_qm.c:465
 __list_lru_walk_one+0x236/0x660 mm/list_lru.c:234
 list_lru_walk_one+0xa6/0xe0 mm/list_lru.c:282
 list_lru_shrink_walk include/linux/list_lru.h:228 [inline]
 xfs_qm_shrink_scan+0x1e1/0x400 fs/xfs/xfs_qm.c:519
 do_shrink_slab+0x701/0x1160 mm/shrinker.c:437
 shrink_slab+0x1093/0x14d0 mm/shrinker.c:664
 shrink_one+0x43b/0x850 mm/vmscan.c:4824
 shrink_many mm/vmscan.c:4885 [inline]
 lru_gen_shrink_node mm/vmscan.c:4963 [inline]
 shrink_node+0x3791/0x3e20 mm/vmscan.c:5943
 kswapd_shrink_node mm/vmscan.c:6771 [inline]
 balance_pgdat mm/vmscan.c:6963 [inline]
 kswapd+0x1ca9/0x3700 mm/vmscan.c:7232
 kthread+0x2f0/0x390 kernel/kthread.c:389
 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:147
 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244
 </TASK>

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/11/16 11:28 upstream f868cd251776 cfe3a04a .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root WARNING in _xfs_buf_alloc
* Struck through repros no longer work on HEAD.