ci starts bisection 2023-03-20 23:22:56.581154414 +0000 UTC m=+270459.860531497 bisecting cause commit starting from 73f2c2a7e1d2b31fdd5faa6dfa151c437a6c0a5a building syzkaller on 7939252e4ddf50bbb9912069a40d32f6c83c4f8e ensuring issue is reproducible on original commit 73f2c2a7e1d2b31fdd5faa6dfa151c437a6c0a5a testing commit 73f2c2a7e1d2b31fdd5faa6dfa151c437a6c0a5a gcc compiler: gcc (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 682f8f0d37475b2f6e0b89ca6cedcbf67825ba4f6e3514e5faedfbd1ac2d132f all runs: crashed: BUG: sleeping function called from invalid context in vm_map_ram testing release v6.2 testing commit c9c3395d5e3dcc6daee66c6908354d47bf98cb0c gcc compiler: gcc (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 72ff6d329dda066afa70fc85eead16f5defe92c9a93cca4be52eee6c49935947 all runs: OK # git bisect start 73f2c2a7e1d2b31fdd5faa6dfa151c437a6c0a5a c9c3395d5e3dcc6daee66c6908354d47bf98cb0c Bisecting: 9535 revisions left to test after this (roughly 13 steps) [17cd4d6f05087ea1ae5c1416ef260e5b7fc5d5c9] Merge tag 'tty-6.3-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/tty testing commit 17cd4d6f05087ea1ae5c1416ef260e5b7fc5d5c9 gcc compiler: gcc (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 4052c4f6ce53cf3b69cc4d8556c201a191456743bfbf20d49aed3442062d2008 all runs: OK # git bisect good 17cd4d6f05087ea1ae5c1416ef260e5b7fc5d5c9 Bisecting: 4766 revisions left to test after this (roughly 12 steps) [d060b45959590a76b83caf091734cb4623bb7187] Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git testing commit d060b45959590a76b83caf091734cb4623bb7187 gcc compiler: gcc (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 4fc316004cc8649a22f98f5bdd26e21a8c6e396a84fe5a32e78c7c9a3d5efb43 all runs: OK # git bisect good d060b45959590a76b83caf091734cb4623bb7187 Bisecting: 2419 revisions left to test after this (roughly 11 steps) [4b14bdaae5b1aaad689052eafbfd5c3eb0ea6b1b] Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/herbert/cryptodev-2.6.git testing commit 4b14bdaae5b1aaad689052eafbfd5c3eb0ea6b1b gcc compiler: gcc (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 65181064128d1277d631a869f6a687b0b3d92d36342dfe19fa2883c9ff869028 all runs: crashed: BUG: sleeping function called from invalid context in vm_map_ram # git bisect bad 4b14bdaae5b1aaad689052eafbfd5c3eb0ea6b1b Bisecting: 1171 revisions left to test after this (roughly 10 steps) [7ca204d77da576ecfe6a8045a844d05d3dda1c68] Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/vfs/idmapping.git testing commit 7ca204d77da576ecfe6a8045a844d05d3dda1c68 gcc compiler: gcc (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 71aebc89a984acecf279073e155290f1c268a03a013712e27e2b1549147af766 all runs: crashed: BUG: sleeping function called from invalid context in vm_map_ram # git bisect bad 7ca204d77da576ecfe6a8045a844d05d3dda1c68 Bisecting: 586 revisions left to test after this (roughly 9 steps) [6d653c7ed6e91246d0986239c844fe65907fc53e] Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap.git testing commit 6d653c7ed6e91246d0986239c844fe65907fc53e gcc compiler: gcc (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: e0cc82bbfc7c2826126522e1b5c31e5ab2f932099ca2ceb03b16bcda6ec1f919 all runs: crashed: BUG: sleeping function called from invalid context in vm_map_ram # git bisect bad 6d653c7ed6e91246d0986239c844fe65907fc53e Bisecting: 316 revisions left to test after this (roughly 8 steps) [c99e75dfa659494c835175511f4048822a580ef7] Merge branch 'mm-nonmm-unstable' into mm-everything testing commit c99e75dfa659494c835175511f4048822a580ef7 gcc compiler: gcc (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: ae376675f1c07eabc53f465200cc12465f1f58125442b76444cc1ab7eb86a7f5 all runs: crashed: BUG: sleeping function called from invalid context in vm_map_ram # git bisect bad c99e75dfa659494c835175511f4048822a580ef7 Bisecting: 135 revisions left to test after this (roughly 7 steps) [c966f1076b7f40bdb89cbd2b26f96ace28cad027] shmem: open code the page cache lookup in shmem_get_folio_gfp testing commit c966f1076b7f40bdb89cbd2b26f96ace28cad027 gcc compiler: gcc (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 5042eda9df9d75ab3ff564fb75ec9efb17131e5cf17429dd7ef51b6cae9f3d51 all runs: OK # git bisect good c966f1076b7f40bdb89cbd2b26f96ace28cad027 Bisecting: 67 revisions left to test after this (roughly 6 steps) [fc1b953c49011fdd07e3e094a99ff4c5ab43d7cc] perf/core: fix MAX_ORDER usage in rb_alloc_aux_page() testing commit fc1b953c49011fdd07e3e094a99ff4c5ab43d7cc gcc compiler: gcc (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: c25b735db683cb7add136b185a8821806e266f0eebec1936618abf06759e49a1 all runs: OK # git bisect good fc1b953c49011fdd07e3e094a99ff4c5ab43d7cc Bisecting: 33 revisions left to test after this (roughly 5 steps) [6e603eb66c4ff1f507283245c23910abd4eb882a] mm/mmap/vma_merge: further improve prev/next VMA naming testing commit 6e603eb66c4ff1f507283245c23910abd4eb882a gcc compiler: gcc (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 3e1d9217649d4bb0daed57cc31e7eabf506b4237f95a2402ba4d8d54bba23977 all runs: OK # git bisect good 6e603eb66c4ff1f507283245c23910abd4eb882a Bisecting: 16 revisions left to test after this (roughly 4 steps) [fc02a95bb6d8bf58c6efd7e362814558eea2ef28] epoll: use refcount to reduce ep_mutex contention testing commit fc02a95bb6d8bf58c6efd7e362814558eea2ef28 gcc compiler: gcc (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 4d7f661e54ee4029c71c8e182f7e42eb0f00bb2f2d6ab21800b0ef2224319e8d all runs: OK # git bisect good fc02a95bb6d8bf58c6efd7e362814558eea2ef28 Bisecting: 8 revisions left to test after this (roughly 3 steps) [17b4c07980800693fb3c5acfa88130d06d681849] leaking_addresses: also skip canonical ftrace path testing commit 17b4c07980800693fb3c5acfa88130d06d681849 gcc compiler: gcc (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: aeadbd0a0205dd033b78cdc64a8ef613efc068b2fd8870371599bfcf64a03237 all runs: OK # git bisect good 17b4c07980800693fb3c5acfa88130d06d681849 Bisecting: 4 revisions left to test after this (roughly 2 steps) [1ef7828a15921c34e8dfee64efd4bb1a0a37910c] fs/proc/kcore: avoid bounce buffer for ktext data testing commit 1ef7828a15921c34e8dfee64efd4bb1a0a37910c gcc compiler: gcc (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 9383ed4d075e9bc97be07c1edb8f1e4d8d6ab5078cd99175f4ccd4d6cdff89d5 all runs: OK # git bisect good 1ef7828a15921c34e8dfee64efd4bb1a0a37910c Bisecting: 2 revisions left to test after this (roughly 1 step) [11f1bdc9b321682fedc2af43a924236ea0873106] fs/proc/kcore: convert read_kcore() to read_kcore_iter() testing commit 11f1bdc9b321682fedc2af43a924236ea0873106 gcc compiler: gcc (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: bb1837235ff59401f62dc712fb0d8da2972277f4f587a5a2b2095fdb9612ae9f all runs: crashed: BUG: sleeping function called from invalid context in vm_map_ram # git bisect bad 11f1bdc9b321682fedc2af43a924236ea0873106 Bisecting: 0 revisions left to test after this (roughly 0 steps) [8f4977bdd77ee3dce8af81488231e7535695f889] mm: vmalloc: use rwsem, mutex for vmap_area_lock and vmap_block->lock testing commit 8f4977bdd77ee3dce8af81488231e7535695f889 gcc compiler: gcc (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 35c29c5bacc53bd65df641c10142bf6f4ad3182b333d54f0c1cc37653a715810 all runs: crashed: BUG: sleeping function called from invalid context in vm_map_ram # git bisect bad 8f4977bdd77ee3dce8af81488231e7535695f889 8f4977bdd77ee3dce8af81488231e7535695f889 is the first bad commit commit 8f4977bdd77ee3dce8af81488231e7535695f889 Author: Lorenzo Stoakes Date: Sun Mar 19 07:09:31 2023 +0000 mm: vmalloc: use rwsem, mutex for vmap_area_lock and vmap_block->lock vmalloc() is, by design, not permitted to be used in atomic context and already contains components which may sleep, so avoiding spin locks is not a problem from the perspective of atomic context. The global vmap_area_lock is held when the red/black tree rooted in vmap_are_root is accessed and thus is rather long-held and under potentially high contention. It is likely to be under contention for reads rather than write, so replace it with a rwsem. Each individual vmap_block->lock is likely to be held for less time but under low contention, so a mutex is not an outrageous choice here. A subset of test_vmalloc.sh performance results:- fix_size_alloc_test 0.40% full_fit_alloc_test 2.08% long_busy_list_alloc_test 0.34% random_size_alloc_test -0.25% random_size_align_alloc_test 0.06% ... all tests cycles 0.2% This represents a tiny reduction in performance that sits barely above noise. The reason for making this change is to build a basis for vread() to be usable asynchronously, thus eliminating the need for a bounce buffer when copying data to userland in read_kcore() and allowing that to be converted to an iterator form. Link: https://lkml.kernel.org/r/6c7f1ac0aeb55faaa46a09108d3999e4595870d9.1679209395.git.lstoakes@gmail.com Signed-off-by: Lorenzo Stoakes Cc: Baoquan He Cc: David Hildenbrand Cc: Jiri Olsa Cc: Liu Shixin Cc: Matthew Wilcox (Oracle) Cc: Uladzislau Rezki (Sony) Signed-off-by: Andrew Morton mm/vmalloc.c | 77 +++++++++++++++++++++++++++++++----------------------------- 1 file changed, 40 insertions(+), 37 deletions(-) culprit signature: 35c29c5bacc53bd65df641c10142bf6f4ad3182b333d54f0c1cc37653a715810 parent signature: 9383ed4d075e9bc97be07c1edb8f1e4d8d6ab5078cd99175f4ccd4d6cdff89d5 revisions tested: 16, total time: 5h39m49.242538936s (build: 3h31m5.948368291s, test: 2h5m22.285685475s) first bad commit: 8f4977bdd77ee3dce8af81488231e7535695f889 mm: vmalloc: use rwsem, mutex for vmap_area_lock and vmap_block->lock recipients (to): ["akpm@linux-foundation.org" "lstoakes@gmail.com"] recipients (cc): [] crash: BUG: sleeping function called from invalid context in vm_map_ram BUG: sleeping function called from invalid context at kernel/locking/mutex.c:580 in_atomic(): 0, irqs_disabled(): 0, non_block: 0, pid: 994, name: kworker/u4:4 preempt_count: 0, expected: 0 RCU nest depth: 1, expected: 0 3 locks held by kworker/u4:4/994: #0: ffff8880790e1138 ((wq_completion)xfs_iwalk-5651){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] #0: ffff8880790e1138 ((wq_completion)xfs_iwalk-5651){+.+.}-{0:0}, at: arch_atomic_long_set include/linux/atomic/atomic-long.h:41 [inline] #0: ffff8880790e1138 ((wq_completion)xfs_iwalk-5651){+.+.}-{0:0}, at: atomic_long_set include/linux/atomic/atomic-instrumented.h:1280 [inline] #0: ffff8880790e1138 ((wq_completion)xfs_iwalk-5651){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:639 [inline] #0: ffff8880790e1138 ((wq_completion)xfs_iwalk-5651){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:666 [inline] #0: ffff8880790e1138 ((wq_completion)xfs_iwalk-5651){+.+.}-{0:0}, at: process_one_work+0x7a0/0x15a0 kernel/workqueue.c:2361 #1: ffffc90004917db8 ((work_completion)(&pwork->work)){+.+.}-{0:0}, at: process_one_work+0x7cf/0x15a0 kernel/workqueue.c:2365 #2: ffffffff8b98bf00 (rcu_read_lock){....}-{1:2}, at: vb_alloc mm/vmalloc.c:2090 [inline] #2: ffffffff8b98bf00 (rcu_read_lock){....}-{1:2}, at: vm_map_ram+0x42/0xb40 mm/vmalloc.c:2290 CPU: 1 PID: 994 Comm: kworker/u4:4 Not tainted 6.3.0-rc1-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/02/2023 Workqueue: xfs_iwalk-5651 xfs_pwork_work Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x8e/0xb0 lib/dump_stack.c:106 __might_resched+0x358/0x580 kernel/sched/core.c:10059 __mutex_lock_common kernel/locking/mutex.c:580 [inline] __mutex_lock+0x9f/0x1350 kernel/locking/mutex.c:747 vb_alloc mm/vmalloc.c:2105 [inline] vm_map_ram+0xe6/0xb40 mm/vmalloc.c:2290 _xfs_buf_map_pages+0x130/0x360 fs/xfs/xfs_buf.c:441 xfs_buf_get_map+0x17a0/0x2790 fs/xfs/xfs_buf.c:719 xfs_buf_read_map+0xaf/0xc60 fs/xfs/xfs_buf.c:811 xfs_buf_readahead_map+0x6b/0x90 fs/xfs/xfs_buf.c:889 xfs_buf_readahead fs/xfs/xfs_buf.h:262 [inline] xfs_btree_reada_bufs+0x14b/0x200 fs/xfs/libxfs/xfs_btree.c:926 xfs_iwalk_ichunk_ra+0x226/0x3a0 fs/xfs/xfs_iwalk.c:114 xfs_iwalk_ag+0x4aa/0x790 fs/xfs/xfs_iwalk.c:455 xfs_iwalk_ag_work+0x104/0x170 fs/xfs/xfs_iwalk.c:624 xfs_pwork_work+0x78/0x130 fs/xfs/xfs_pwork.c:47 process_one_work+0x8ba/0x15a0 kernel/workqueue.c:2390 worker_thread+0x59c/0xec0 kernel/workqueue.c:2537 kthread+0x298/0x340 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308 ============================= [ BUG: Invalid wait context ] 6.3.0-rc1-syzkaller #0 Tainted: G W ----------------------------- kworker/u4:4/994 is trying to lock: ffff88802648d868 (&vb->lock){+.+.}-{3:3}, at: vb_alloc mm/vmalloc.c:2105 [inline] ffff88802648d868 (&vb->lock){+.+.}-{3:3}, at: vm_map_ram+0xe6/0xb40 mm/vmalloc.c:2290 other info that might help us debug this: context-{4:4} 3 locks held by kworker/u4:4/994: #0: ffff8880790e1138 ((wq_completion)xfs_iwalk-5651){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] #0: ffff8880790e1138 ((wq_completion)xfs_iwalk-5651){+.+.}-{0:0}, at: arch_atomic_long_set include/linux/atomic/atomic-long.h:41 [inline] #0: ffff8880790e1138 ((wq_completion)xfs_iwalk-5651){+.+.}-{0:0}, at: atomic_long_set include/linux/atomic/atomic-instrumented.h:1280 [inline] #0: ffff8880790e1138 ((wq_completion)xfs_iwalk-5651){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:639 [inline] #0: ffff8880790e1138 ((wq_completion)xfs_iwalk-5651){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:666 [inline] #0: ffff8880790e1138 ((wq_completion)xfs_iwalk-5651){+.+.}-{0:0}, at: process_one_work+0x7a0/0x15a0 kernel/workqueue.c:2361 #1: ffffc90004917db8 ((work_completion)(&pwork->work)){+.+.}-{0:0}, at: process_one_work+0x7cf/0x15a0 kernel/workqueue.c:2365 #2: ffffffff8b98bf00 (rcu_read_lock){....}-{1:2}, at: vb_alloc mm/vmalloc.c:2090 [inline] #2: ffffffff8b98bf00 (rcu_read_lock){....}-{1:2}, at: vm_map_ram+0x42/0xb40 mm/vmalloc.c:2290 stack backtrace: CPU: 0 PID: 994 Comm: kworker/u4:4 Tainted: G W 6.3.0-rc1-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/02/2023 Workqueue: xfs_iwalk-5651 xfs_pwork_work Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x64/0xb0 lib/dump_stack.c:106 print_lock_invalid_wait_context kernel/locking/lockdep.c:4708 [inline] check_wait_context kernel/locking/lockdep.c:4769 [inline] __lock_acquire+0x154f/0x5d40 kernel/locking/lockdep.c:5006 lock_acquire kernel/locking/lockdep.c:5669 [inline] lock_acquire+0x1e3/0x670 kernel/locking/lockdep.c:5634 __mutex_lock_common kernel/locking/mutex.c:603 [inline] __mutex_lock+0x12f/0x1350 kernel/locking/mutex.c:747 vb_alloc mm/vmalloc.c:2105 [inline] vm_map_ram+0xe6/0xb40 mm/vmalloc.c:2290 _xfs_buf_map_pages+0x130/0x360 fs/xfs/xfs_buf.c:441 xfs_buf_get_map+0x17a0/0x2790 fs/xfs/xfs_buf.c:719 xfs_buf_read_map+0xaf/0xc60 fs/xfs/xfs_buf.c:811 xfs_buf_readahead_map+0x6b/0x90 fs/xfs/xfs_buf.c:889 xfs_buf_readahead fs/xfs/xfs_buf.h:262 [inline] xfs_btree_reada_bufs+0x14b/0x200 fs/xfs/libxfs/xfs_btree.c:926 xfs_iwalk_ichunk_ra+0x226/0x3a0 fs/xfs/xfs_iwalk.c:114 xfs_iwalk_ag+0x4aa/0x790 fs/xfs/xfs_iwalk.c:455 xfs_iwalk_ag_work+0x104/0x170 fs/xfs/xfs_iwalk.c:624 xfs_pwork_work+0x78/0x130 fs/xfs/xfs_pwork.c:47 process_one_work+0x8ba/0x15a0 kernel/workqueue.c:2390 worker_thread+0x59c/0xec0 kernel/workqueue.c:2537 kthread+0x298/0x340 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308 BUG: sleeping function called from invalid context at kernel/locking/mutex.c:580 in_atomic(): 0, irqs_disabled(): 0, non_block: 0, pid: 994, name: kworker/u4:4 preempt_count: 0, expected: 0 RCU nest depth: 1, expected: 0 INFO: lockdep is turned off. CPU: 1 PID: 994 Comm: kworker/u4:4 Tainted: G W 6.3.0-rc1-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/02/2023 Workqueue: xfs_iwalk-5741 xfs_pwork_work Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x8e/0xb0 lib/dump_stack.c:106 __might_resched+0x358/0x580 kernel/sched/core.c:10059 __mutex_lock_common kernel/locking/mutex.c:580 [inline] __mutex_lock+0x9f/0x1350 kernel/locking/mutex.c:747 vb_alloc mm/vmalloc.c:2105 [inline] vm_map_ram+0xe6/0xb40 mm/vmalloc.c:2290 _xfs_buf_map_pages+0x130/0x360 fs/xfs/xfs_buf.c:441 xfs_buf_get_map+0x17a0/0x2790 fs/xfs/xfs_buf.c:719 xfs_buf_read_map+0xaf/0xc60 fs/xfs/xfs_buf.c:811 xfs_buf_readahead_map+0x6b/0x90 fs/xfs/xfs_buf.c:889 xfs_buf_readahead fs/xfs/xfs_buf.h:262 [inline] xfs_btree_reada_bufs+0x14b/0x200 fs/xfs/libxfs/xfs_btree.c:926 xfs_iwalk_ichunk_ra+0x226/0x3a0 fs/xfs/xfs_iwalk.c:114 xfs_iwalk_ag+0x4aa/0x790 fs/xfs/xfs_iwalk.c:455 xfs_iwalk_ag_work+0x104/0x170 fs/xfs/xfs_iwalk.c:624 xfs_pwork_work+0x78/0x130 fs/xfs/xfs_pwork.c:47 process_one_work+0x8ba/0x15a0 kernel/workqueue.c:2390 worker_thread+0x59c/0xec0 kernel/workqueue.c:2537 kthread+0x298/0x340 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308 BUG: sleeping function called from invalid context at kernel/locking/mutex.c:580 in_atomic(): 0, irqs_disabled(): 0, non_block: 0, pid: 994, name: kworker/u4:4 preempt_count: 0, expected: 0 RCU nest depth: 1, expected: 0 INFO: lockdep is turned off. CPU: 1 PID: 994 Comm: kworker/u4:4 Tainted: G W 6.3.0-rc1-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/02/2023 Workqueue: xfs_iwalk-6327 xfs_pwork_work Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x8e/0xb0 lib/dump_stack.c:106 __might_resched+0x358/0x580 kernel/sched/core.c:10059 __mutex_lock_common kernel/locking/mutex.c:580 [inline] __mutex_lock+0x9f/0x1350 kernel/locking/mutex.c:747 vb_alloc mm/vmalloc.c:2105 [inline] vm_map_ram+0xe6/0xb40 mm/vmalloc.c:2290 _xfs_buf_map_pages+0x130/0x360 fs/xfs/xfs_buf.c:441 xfs_buf_get_map+0x17a0/0x2790 fs/xfs/xfs_buf.c:719 xfs_buf_read_map+0xaf/0xc60 fs/xfs/xfs_buf.c:811 xfs_buf_readahead_map+0x6b/0x90 fs/xfs/xfs_buf.c:889 xfs_buf_readahead fs/xfs/xfs_buf.h:262 [inline] xfs_btree_reada_bufs+0x14b/0x200 fs/xfs/libxfs/xfs_btree.c:926 xfs_iwalk_ichunk_ra+0x226/0x3a0 fs/xfs/xfs_iwalk.c:114 xfs_iwalk_ag+0x4aa/0x790 fs/xfs/xfs_iwalk.c:455 xfs_iwalk_ag_work+0x104/0x170 fs/xfs/xfs_iwalk.c:624 xfs_pwork_work+0x78/0x130 fs/xfs/xfs_pwork.c:47 process_one_work+0x8ba/0x15a0 kernel/workqueue.c:2390 worker_thread+0x59c/0xec0 kernel/workqueue.c:2537 kthread+0x298/0x340 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308