BUG: TASK stack guard page was hit at ffffc9000fd0fff8 (stack is ffffc9000fd10000..ffffc9000fd18000) Oops: stack guard page: 0000 [#1] PREEMPT SMP KASAN NOPTI CPU: 0 UID: 0 PID: 9397 Comm: syz.0.856 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:kasan_check_range+0x19/0x1a0 mm/kasan/generic.c:188 Code: 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 66 0f 1f 00 48 85 f6 0f 84 50 01 00 00 48 89 f8 41 54 44 0f b6 c2 48 01 f0 <55> 53 0f 82 c6 00 00 00 48 b8 ff ff ff ff ff 7f ff ff 48 39 f8 0f RSP: 0018:ffffc9000fd10000 EFLAGS: 00010082 RAX: ffffffff96e57cc8 RBX: 000000000000002c RCX: ffffffff8175cf8e RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffffffff96e57cc0 RBP: ffffc9000fd10160 R08: 0000000000000000 R09: 0000000000000001 R10: ffffffff96e57cc7 R11: 0000000000000002 R12: ffff888054ea4880 R13: 0000000000000100 R14: 0000000000000008 R15: 1ffff92001fa200a FS: 00007f82e5b7e6c0(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: ffffc9000fd0fff8 CR3: 00000000308be000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 000000000000000e DR6: 00000000ffff0ff0 DR7: 0000000000000400 Call Trace: <#DF> instrument_atomic_read include/linux/instrumented.h:68 [inline] _test_bit include/asm-generic/bitops/instrumented-non-atomic.h:141 [inline] hlock_class+0x4e/0x130 kernel/locking/lockdep.c:228 mark_lock+0xb5/0xc60 kernel/locking/lockdep.c:4727 mark_usage kernel/locking/lockdep.c:4670 [inline] __lock_acquire+0x9f1/0x3c40 kernel/locking/lockdep.c:5180 lock_acquire.part.0+0x11b/0x380 kernel/locking/lockdep.c:5849 local_lock_acquire include/linux/local_lock_internal.h:29 [inline] put_cpu_partial+0x64/0x220 mm/slub.c:3204 get_partial_node.part.0+0xe8/0x360 mm/slub.c:2864 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] __do_kmalloc_node mm/slub.c:4297 [inline] __kmalloc_noprof+0x2ec/0x510 mm/slub.c:4310 kmalloc_noprof include/linux/slab.h:905 [inline] p9_fcall_init+0x97/0x260 net/9p/client.c:233 p9_tag_alloc+0x17a/0x870 net/9p/client.c:298 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_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:0x7f82e4d85d29 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 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 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f82e5b7e038 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 00007f82e4f75fa0 RCX: 00007f82e4d85d29 RDX: 0000000000020842 RSI: 000000002000c380 RDI: ffffffffffffff9c RBP: 00007f82e4e01b08 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f82e4f75fa0 R15: 00007fff6cc021e8 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:kasan_check_range+0x19/0x1a0 mm/kasan/generic.c:188 Code: 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 66 0f 1f 00 48 85 f6 0f 84 50 01 00 00 48 89 f8 41 54 44 0f b6 c2 48 01 f0 <55> 53 0f 82 c6 00 00 00 48 b8 ff ff ff ff ff 7f ff ff 48 39 f8 0f RSP: 0018:ffffc9000fd10000 EFLAGS: 00010082 RAX: ffffffff96e57cc8 RBX: 000000000000002c RCX: ffffffff8175cf8e RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffffffff96e57cc0 RBP: ffffc9000fd10160 R08: 0000000000000000 R09: 0000000000000001 R10: ffffffff96e57cc7 R11: 0000000000000002 R12: ffff888054ea4880 R13: 0000000000000100 R14: 0000000000000008 R15: 1ffff92001fa200a FS: 00007f82e5b7e6c0(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: ffffc9000fd0fff8 CR3: 00000000308be000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 000000000000000e DR6: 00000000ffff0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess): 0: 00 90 90 90 90 90 add %dl,-0x6f6f6f70(%rax) 6: 90 nop 7: 90 nop 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: 66 0f 1f 00 nopw (%rax) 15: 48 85 f6 test %rsi,%rsi 18: 0f 84 50 01 00 00 je 0x16e 1e: 48 89 f8 mov %rdi,%rax 21: 41 54 push %r12 23: 44 0f b6 c2 movzbl %dl,%r8d 27: 48 01 f0 add %rsi,%rax * 2a: 55 push %rbp <-- trapping instruction 2b: 53 push %rbx 2c: 0f 82 c6 00 00 00 jb 0xf8 32: 48 b8 ff ff ff ff ff movabs $0xffff7fffffffffff,%rax 39: 7f ff ff 3c: 48 39 f8 cmp %rdi,%rax 3f: 0f .byte 0xf