BUG: TASK stack guard page was hit at ffffc9000381fff8 (stack is ffffc90003820000..ffffc90003828000) Oops: stack guard page: 0000 [#1] PREEMPT SMP KASAN NOPTI CPU: 0 UID: 0 PID: 5815 Comm: syz-executor372 Not tainted 6.13.0-rc7-syzkaller-00209-g9528d418de4d #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 12/27/2024 RIP: 0010:__bfs+0x2f8/0x670 kernel/locking/lockdep.c:1799 Code: 0f 85 d7 02 00 00 8b 35 b6 6d a8 14 39 73 5c 0f 85 72 fe ff ff 49 83 c5 30 e9 33 ff ff ff 48 8b 34 24 4c 89 ff 48 8b 44 24 08 d0 0f 1f 00 84 c0 0f 85 b1 01 00 00 48 89 e8 48 c1 e8 03 42 80 RSP: 0018:ffffc90003820000 EFLAGS: 00010046 RAX: ffffffff81761030 RBX: 0000000000000000 RCX: 1ffffffff2c3cf4c RDX: 0000000000000000 RSI: ffff888079dc53d8 RDI: ffffc900038200e0 RBP: ffffc900038200f0 R08: ffffc900038200c0 R09: 0000000000000020 R10: ffffffff96e57cc7 R11: 0000000000000004 R12: 0000000000000000 R13: ffffc90003820110 R14: dffffc0000000000 R15: ffffc900038200e0 FS: 0000555589b32380(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: ffffc9000381fff8 CR3: 000000007673e000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: <#DF> __bfs_forwards kernel/locking/lockdep.c:1844 [inline] check_path.constprop.0+0x24/0x50 kernel/locking/lockdep.c:2162 check_noncircular+0x160/0x400 kernel/locking/lockdep.c:2191 check_prev_add kernel/locking/lockdep.c:3161 [inline] check_prevs_add kernel/locking/lockdep.c:3280 [inline] validate_chain kernel/locking/lockdep.c:3904 [inline] __lock_acquire+0x249e/0x3c40 kernel/locking/lockdep.c:5226 lock_acquire.part.0+0x11b/0x380 kernel/locking/lockdep.c:5849 __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:110 [inline] _raw_spin_lock_irqsave+0x3a/0x60 kernel/locking/spinlock.c:162 get_partial_node.part.0+0x20/0x360 mm/slub.c:2838 get_partial_node mm/slub.c:2835 [inline] get_partial mm/slub.c:2952 [inline] ___slab_alloc+0x65b/0x17a0 mm/slub.c:3810 __slab_alloc.constprop.0+0x56/0xb0 mm/slub.c:3920 __slab_alloc_node mm/slub.c:3995 [inline] slab_alloc_node mm/slub.c:4156 [inline] kmem_cache_alloc_noprof+0xfa/0x3d0 mm/slub.c:4175 radix_tree_node_alloc.constprop.0+0x1e8/0x350 lib/radix-tree.c:253 idr_get_free+0x528/0xa40 lib/radix-tree.c:1506 idr_alloc_u32+0x191/0x2f0 lib/idr.c:46 idr_alloc+0xc1/0x130 lib/idr.c:87 p9_tag_alloc+0x394/0x870 net/9p/client.c:321 p9_client_prepare_req+0x19f/0x4d0 net/9p/client.c:644 p9_client_rpc+0x1c3/0xc10 net/9p/client.c:691 p9_client_read_once+0x24f/0x820 net/9p/client.c:1575 p9_client_read+0x13f/0x1b0 net/9p/client.c:1534 v9fs_issue_read+0x115/0x340 fs/9p/vfs_addr.c:76 netfs_retry_read_subrequests fs/netfs/read_retry.c:62 [inline] netfs_retry_reads+0x1512/0x1d40 fs/netfs/read_retry.c:235 netfs_rreq_assess+0x5d3/0x870 fs/netfs/read_collect.c:374 netfs_rreq_terminated+0xe5/0x110 fs/netfs/read_collect.c:409 netfs_retry_reads+0x15a4/0x1d40 fs/netfs/read_retry.c:238 netfs_rreq_assess+0x5d3/0x870 fs/netfs/read_collect.c:374 netfs_rreq_terminated+0xe5/0x110 fs/netfs/read_collect.c:409 netfs_retry_reads+0x15a4/0x1d40 fs/netfs/read_retry.c:238 netfs_rreq_assess+0x5d3/0x870 fs/netfs/read_collect.c:374 netfs_rreq_terminated+0xe5/0x110 fs/netfs/read_collect.c:409 netfs_retry_reads+0x15a4/0x1d40 fs/netfs/read_retry.c:238 netfs_rreq_assess+0x5d3/0x870 fs/netfs/read_collect.c:374 netfs_rreq_terminated+0xe5/0x110 fs/netfs/read_collect.c:409 netfs_retry_reads+0x15a4/0x1d40 fs/netfs/read_retry.c:238 netfs_rreq_assess+0x5d3/0x870 fs/netfs/read_collect.c:374 netfs_rreq_terminated+0xe5/0x110 fs/netfs/read_collect.c:409 netfs_retry_reads+0x15a4/0x1d40 fs/netfs/read_retry.c:238 netfs_rreq_assess+0x5d3/0x870 fs/netfs/read_collect.c:374 netfs_rreq_terminated+0xe5/0x110 fs/netfs/read_collect.c:409 netfs_retry_reads+0x15a4/0x1d40 fs/netfs/read_retry.c:238 netfs_rreq_assess+0x5d3/0x870 fs/netfs/read_collect.c:374 netfs_rreq_terminated+0xe5/0x110 fs/netfs/read_collect.c:409 netfs_retry_reads+0x15a4/0x1d40 fs/netfs/read_retry.c:238 netfs_rreq_assess+0x5d3/0x870 fs/netfs/read_collect.c:374 netfs_rreq_terminated+0xe5/0x110 fs/netfs/read_collect.c:409 netfs_retry_reads+0x15a4/0x1d40 fs/netfs/read_retry.c:238 netfs_rreq_assess+0x5d3/0x870 fs/netfs/read_collect.c:374 netfs_rreq_terminated+0xe5/0x110 fs/netfs/read_collect.c:409 netfs_retry_reads+0x15a4/0x1d40 fs/netfs/read_retry.c:238 netfs_rreq_assess+0x5d3/0x870 fs/netfs/read_collect.c:374 netfs_rreq_terminated+0xe5/0x110 fs/netfs/read_collect.c:409 netfs_retry_reads+0x15a4/0x1d40 fs/netfs/read_retry.c:238 netfs_rreq_assess+0x5d3/0x870 fs/netfs/read_collect.c:374 netfs_rreq_terminated+0xe5/0x110 fs/netfs/read_collect.c:409 netfs_retry_reads+0x15a4/0x1d40 fs/netfs/read_retry.c:238 netfs_rreq_assess+0x5d3/0x870 fs/netfs/read_collect.c:374 netfs_rreq_terminated+0xe5/0x110 fs/netfs/read_collect.c:409 netfs_retry_reads+0x15a4/0x1d40 fs/netfs/read_retry.c:238 netfs_rreq_assess+0x5d3/0x870 fs/netfs/read_collect.c:374 netfs_rreq_terminated+0xe5/0x110 fs/netfs/read_collect.c:409 netfs_retry_reads+0x15a4/0x1d40 fs/netfs/read_retry.c:238 netfs_rreq_assess+0x5d3/0x870 fs/netfs/read_collect.c:374 netfs_rreq_terminated+0xe5/0x110 fs/netfs/read_collect.c:409 netfs_retry_reads+0x15a4/0x1d40 fs/netfs/read_retry.c:238 netfs_rreq_assess+0x5d3/0x870 fs/netfs/read_collect.c:374 netfs_rreq_terminated+0xe5/0x110 fs/netfs/read_collect.c:409 netfs_retry_reads+0x15a4/0x1d40 fs/netfs/read_retry.c:238 netfs_rreq_assess+0x5d3/0x870 fs/netfs/read_collect.c:374 netfs_rreq_terminated+0xe5/0x110 fs/netfs/read_collect.c:409 netfs_retry_reads+0x15a4/0x1d40 fs/netfs/read_retry.c:238 netfs_rreq_assess+0x5d3/0x870 fs/netfs/read_collect.c:374 netfs_rreq_terminated+0xe5/0x110 fs/netfs/read_collect.c:409 netfs_retry_reads+0x15a4/0x1d40 fs/netfs/read_retry.c:238 netfs_rreq_assess+0x5d3/0x870 fs/netfs/read_collect.c:374 netfs_rreq_terminated+0xe5/0x110 fs/netfs/read_collect.c:409 netfs_retry_reads+0x15a4/0x1d40 fs/netfs/read_retry.c:238 netfs_rreq_assess+0x5d3/0x870 fs/netfs/read_collect.c:374 netfs_rreq_terminated+0xe5/0x110 fs/netfs/read_collect.c:409 netfs_retry_reads+0x15a4/0x1d40 fs/netfs/read_retry.c:238 netfs_rreq_assess+0x5d3/0x870 fs/netfs/read_collect.c:374 netfs_rreq_terminated+0xe5/0x110 fs/netfs/read_collect.c:409 netfs_retry_reads+0x15a4/0x1d40 fs/netfs/read_retry.c:238 netfs_rreq_assess+0x5d3/0x870 fs/netfs/read_collect.c:374 netfs_rreq_terminated+0xe5/0x110 fs/netfs/read_collect.c:409 netfs_retry_reads+0x15a4/0x1d40 fs/netfs/read_retry.c:238 netfs_rreq_assess+0x5d3/0x870 fs/netfs/read_collect.c:374 netfs_rreq_terminated+0xe5/0x110 fs/netfs/read_collect.c:409 netfs_retry_reads+0x15a4/0x1d40 fs/netfs/read_retry.c:238 netfs_rreq_assess+0x5d3/0x870 fs/netfs/read_collect.c:374 netfs_rreq_terminated+0xe5/0x110 fs/netfs/read_collect.c:409 netfs_retry_reads+0x15a4/0x1d40 fs/netfs/read_retry.c:238 netfs_rreq_assess+0x5d3/0x870 fs/netfs/read_collect.c:374 netfs_rreq_terminated+0xe5/0x110 fs/netfs/read_collect.c:409 netfs_retry_reads+0x15a4/0x1d40 fs/netfs/read_retry.c:238 netfs_rreq_assess+0x5d3/0x870 fs/netfs/read_collect.c:374 netfs_rreq_terminated+0xe5/0x110 fs/netfs/read_collect.c:409 netfs_retry_reads+0x15a4/0x1d40 fs/netfs/read_retry.c:238 netfs_rreq_assess+0x5d3/0x870 fs/netfs/read_collect.c:374 netfs_rreq_terminated+0xe5/0x110 fs/netfs/read_collect.c:409 netfs_retry_reads+0x15a4/0x1d40 fs/netfs/read_retry.c:238 netfs_rreq_assess+0x5d3/0x870 fs/netfs/read_collect.c:374 netfs_rreq_terminated+0xe5/0x110 fs/netfs/read_collect.c:409 netfs_retry_reads+0x15a4/0x1d40 fs/netfs/read_retry.c:238 netfs_rreq_assess+0x5d3/0x870 fs/netfs/read_collect.c:374 netfs_rreq_terminated+0xe5/0x110 fs/netfs/read_collect.c:409 netfs_retry_reads+0x15a4/0x1d40 fs/netfs/read_retry.c:238 netfs_rreq_assess+0x5d3/0x870 fs/netfs/read_collect.c:374 netfs_rreq_terminated+0xe5/0x110 fs/netfs/read_collect.c:409 netfs_retry_reads+0x15a4/0x1d40 fs/netfs/read_retry.c:238 netfs_rreq_assess+0x5d3/0x870 fs/netfs/read_collect.c:374 netfs_rreq_terminated+0xe5/0x110 fs/netfs/read_collect.c:409 netfs_retry_reads+0x15a4/0x1d40 fs/netfs/read_retry.c:238 netfs_rreq_assess+0x5d3/0x870 fs/netfs/read_collect.c:374 netfs_rreq_terminated+0xe5/0x110 fs/netfs/read_collect.c:409 netfs_retry_reads+0x15a4/0x1d40 fs/netfs/read_retry.c:238 netfs_rreq_assess+0x5d3/0x870 fs/netfs/read_collect.c:374 netfs_rreq_terminated+0xe5/0x110 fs/netfs/read_collect.c:409 netfs_retry_reads+0x15a4/0x1d40 fs/netfs/read_retry.c:238 netfs_rreq_assess+0x5d3/0x870 fs/netfs/read_collect.c:374 netfs_rreq_terminated+0xe5/0x110 fs/netfs/read_collect.c:409 netfs_retry_reads+0x15a4/0x1d40 fs/netfs/read_retry.c:238 netfs_rreq_assess+0x5d3/0x870 fs/netfs/read_collect.c:374 netfs_rreq_terminated+0xe5/0x110 fs/netfs/read_collect.c:409 netfs_retry_reads+0x15a4/0x1d40 fs/netfs/read_retry.c:238 netfs_rreq_assess+0x5d3/0x870 fs/netfs/read_collect.c:374 netfs_rreq_terminated+0xe5/0x110 fs/netfs/read_collect.c:409 netfs_retry_reads+0x15a4/0x1d40 fs/netfs/read_retry.c:238 netfs_rreq_assess+0x5d3/0x870 fs/netfs/read_collect.c:374 netfs_rreq_terminated+0xe5/0x110 fs/netfs/read_collect.c:409 netfs_retry_reads+0x15a4/0x1d40 fs/netfs/read_retry.c:238 netfs_rreq_assess+0x5d3/0x870 fs/netfs/read_collect.c:374 netfs_rreq_terminated+0xe5/0x110 fs/netfs/read_collect.c:409 netfs_retry_reads+0x15a4/0x1d40 fs/netfs/read_retry.c:238 netfs_rreq_assess+0x5d3/0x870 fs/netfs/read_collect.c:374 netfs_rreq_terminated+0xe5/0x110 fs/netfs/read_collect.c:409 netfs_retry_reads+0x15a4/0x1d40 fs/netfs/read_retry.c:238 netfs_rreq_assess+0x5d3/0x870 fs/netfs/read_collect.c:374 netfs_rreq_terminated+0xe5/0x110 fs/netfs/read_collect.c:409 netfs_retry_reads+0x15a4/0x1d40 fs/netfs/read_retry.c:238 netfs_rreq_assess+0x5d3/0x870 fs/netfs/read_collect.c:374 netfs_rreq_terminated+0xe5/0x110 fs/netfs/read_collect.c:409 netfs_retry_reads+0x15a4/0x1d40 fs/netfs/read_retry.c:238 netfs_rreq_assess+0x5d3/0x870 fs/netfs/read_collect.c:374 netfs_rreq_terminated+0xe5/0x110 fs/netfs/read_collect.c:409 netfs_retry_reads+0x15a4/0x1d40 fs/netfs/read_retry.c:238 netfs_rreq_assess+0x5d3/0x870 fs/netfs/read_collect.c:374 netfs_rreq_terminated+0xe5/0x110 fs/netfs/read_collect.c:409 netfs_retry_reads+0x15a4/0x1d40 fs/netfs/read_retry.c:238 netfs_rreq_assess+0x5d3/0x870 fs/netfs/read_collect.c:374 netfs_rreq_terminated+0xe5/0x110 fs/netfs/read_collect.c:409 netfs_retry_reads+0x15a4/0x1d40 fs/netfs/read_retry.c:238 netfs_rreq_assess+0x5d3/0x870 fs/netfs/read_collect.c:374 netfs_rreq_terminated+0xe5/0x110 fs/netfs/read_collect.c:409 netfs_dispatch_unbuffered_reads fs/netfs/direct_read.c:103 [inline] netfs_unbuffered_read fs/netfs/direct_read.c:127 [inline] netfs_unbuffered_read_iter_locked+0x12e1/0x19a0 fs/netfs/direct_read.c:221 netfs_unbuffered_read_iter+0xc5/0x100 fs/netfs/direct_read.c:256 v9fs_file_read_iter+0xbf/0x100 fs/9p/vfs_file.c:361 __kernel_read+0x3f1/0xb50 fs/read_write.c:523 integrity_kernel_read+0x7f/0xb0 security/integrity/iint.c:28 ima_calc_file_hash_tfm+0x2c9/0x3e0 security/integrity/ima/ima_crypto.c:480 ima_calc_file_shash security/integrity/ima/ima_crypto.c:511 [inline] ima_calc_file_hash+0x1ba/0x490 security/integrity/ima/ima_crypto.c:568 ima_collect_measurement+0x89f/0xa40 security/integrity/ima/ima_api.c:293 process_measurement+0x1271/0x2370 security/integrity/ima/ima_main.c:372 ima_file_check+0xbd/0x100 security/integrity/ima/ima_main.c:572 security_file_post_open+0x8e/0x210 security/security.c:3121 do_open fs/namei.c:3830 [inline] path_openat+0x1419/0x2d60 fs/namei.c:3987 do_filp_open+0x20c/0x470 fs/namei.c:4014 do_sys_openat2+0x17a/0x1e0 fs/open.c:1402 do_sys_open fs/open.c:1417 [inline] __do_sys_openat fs/open.c:1433 [inline] __se_sys_openat fs/open.c:1428 [inline] __x64_sys_openat+0x175/0x210 fs/open.c:1428 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xcd/0x250 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f1203ae7129 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 51 1c 00 00 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fffcc1760c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 0030656c69662f2e RCX: 00007f1203ae7129 RDX: 0000000000020842 RSI: 000000002000c380 RDI: 00000000ffffff9c RBP: 00007f1203b2d057 R08: 00007fffcc1760f8 R09: 00007fffcc1760f8 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:__bfs+0x2f8/0x670 kernel/locking/lockdep.c:1799 Code: 0f 85 d7 02 00 00 8b 35 b6 6d a8 14 39 73 5c 0f 85 72 fe ff ff 49 83 c5 30 e9 33 ff ff ff 48 8b 34 24 4c 89 ff 48 8b 44 24 08 d0 0f 1f 00 84 c0 0f 85 b1 01 00 00 48 89 e8 48 c1 e8 03 42 80 RSP: 0018:ffffc90003820000 EFLAGS: 00010046 RAX: ffffffff81761030 RBX: 0000000000000000 RCX: 1ffffffff2c3cf4c RDX: 0000000000000000 RSI: ffff888079dc53d8 RDI: ffffc900038200e0 RBP: ffffc900038200f0 R08: ffffc900038200c0 R09: 0000000000000020 R10: ffffffff96e57cc7 R11: 0000000000000004 R12: 0000000000000000 R13: ffffc90003820110 R14: dffffc0000000000 R15: ffffc900038200e0 FS: 0000555589b32380(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: ffffc9000381fff8 CR3: 000000007673e000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess): 0: 0f 85 d7 02 00 00 jne 0x2dd 6: 8b 35 b6 6d a8 14 mov 0x14a86db6(%rip),%esi # 0x14a86dc2 c: 39 73 5c cmp %esi,0x5c(%rbx) f: 0f 85 72 fe ff ff jne 0xfffffe87 15: 49 83 c5 30 add $0x30,%r13 19: e9 33 ff ff ff jmp 0xffffff51 1e: 48 8b 34 24 mov (%rsp),%rsi 22: 4c 89 ff mov %r15,%rdi 25: 48 8b 44 24 08 mov 0x8(%rsp),%rax * 2a: ff d0 call *%rax <-- trapping instruction 2c: 0f 1f 00 nopl (%rax) 2f: 84 c0 test %al,%al 31: 0f 85 b1 01 00 00 jne 0x1e8 37: 48 89 e8 mov %rbp,%rax 3a: 48 c1 e8 03 shr $0x3,%rax 3e: 42 rex.X 3f: 80 .byte 0x80