BUG: TASK stack guard page was hit at ffffc9000d3ffed8 (stack is ffffc9000d400000..ffffc9000d408000) Oops: stack guard page: 0000 [#1] PREEMPT SMP KASAN NOPTI CPU: 0 UID: 0 PID: 5324 Comm: syz.0.0 Not tainted 6.13.0-syzkaller #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:validate_chain+0x1f/0x5920 kernel/locking/lockdep.c:3860 Code: 90 90 90 90 90 90 90 90 90 90 90 f3 0f 1e fa 55 48 89 e5 41 57 41 56 41 55 41 54 53 48 83 e4 e0 48 81 ec c0 02 00 00 49 89 ce <89> 54 24 58 48 89 bc 24 80 00 00 00 65 48 8b 04 25 28 00 00 00 48 RSP: 0018:ffffc9000d3ffee0 EFLAGS: 00010082 RAX: 1ffffffff27848bf RBX: ffffffff93c245f8 RCX: 4b63f27357dbc186 RDX: 0000000000000000 RSI: ffff888000d7af70 RDI: ffff888000d7a440 RBP: ffffc9000d4001e0 R08: ffffffff942aa887 R09: 1ffffffff2855510 R10: dffffc0000000000 R11: fffffbfff2855511 R12: ffff888000d7a440 R13: ffff888000d7a440 R14: 4b63f27357dbc186 R15: 0000000000000000 FS: 00007f54201f06c0(0000) GS:ffff88801fc00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: ffffc9000d3ffed8 CR3: 0000000042992000 CR4: 0000000000352ef0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: <#DF> __lock_acquire+0x1397/0x2100 kernel/locking/lockdep.c:5226 lock_acquire+0x1ed/0x550 kernel/locking/lockdep.c:5849 seqcount_lockdep_reader_access+0x127/0x1e0 include/linux/seqlock.h:72 read_seqbegin include/linux/seqlock.h:813 [inline] zone_span_seqbegin include/linux/memory_hotplug.h:103 [inline] page_outside_zone_boundaries mm/page_alloc.c:437 [inline] bad_range+0x5f/0x270 mm/page_alloc.c:456 rmqueue mm/page_alloc.c:3093 [inline] get_page_from_freelist+0x3640/0x37a0 mm/page_alloc.c:3473 __alloc_pages_noprof+0x292/0x710 mm/page_alloc.c:4753 alloc_pages_mpol_noprof+0x3e1/0x780 mm/mempolicy.c:2269 alloc_slab_page+0x6a/0x110 mm/slub.c:2423 allocate_slab+0x5a/0x2b0 mm/slub.c:2589 new_slab mm/slub.c:2642 [inline] ___slab_alloc+0xc27/0x14a0 mm/slub.c:3830 __slab_alloc+0x58/0xa0 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+0x2e6/0x4c0 mm/slub.c:4310 kmalloc_noprof include/linux/slab.h:905 [inline] p9_fcall_init net/9p/client.c:233 [inline] p9_tag_alloc net/9p/client.c:300 [inline] p9_client_prepare_req+0x583/0xf30 net/9p/client.c:644 p9_client_rpc+0x19d/0xac0 net/9p/client.c:691 p9_client_read_once+0x32b/0x8c0 net/9p/client.c:1575 p9_client_read+0xa7/0x190 net/9p/client.c:1534 v9fs_issue_read+0x14f/0x3a0 fs/9p/vfs_addr.c:76 netfs_retry_read_subrequests fs/netfs/read_retry.c:62 [inline] netfs_retry_reads+0x1ce3/0x1ee0 fs/netfs/read_retry.c:235 netfs_retry_reads+0x1b72/0x1ee0 fs/netfs/read_retry.c:238 netfs_retry_reads+0x1b72/0x1ee0 fs/netfs/read_retry.c:238 netfs_retry_reads+0x1b72/0x1ee0 fs/netfs/read_retry.c:238 netfs_retry_reads+0x1b72/0x1ee0 fs/netfs/read_retry.c:238 netfs_retry_reads+0x1b72/0x1ee0 fs/netfs/read_retry.c:238 netfs_retry_reads+0x1b72/0x1ee0 fs/netfs/read_retry.c:238 netfs_retry_reads+0x1b72/0x1ee0 fs/netfs/read_retry.c:238 netfs_retry_reads+0x1b72/0x1ee0 fs/netfs/read_retry.c:238 netfs_retry_reads+0x1b72/0x1ee0 fs/netfs/read_retry.c:238 netfs_retry_reads+0x1b72/0x1ee0 fs/netfs/read_retry.c:238 netfs_retry_reads+0x1b72/0x1ee0 fs/netfs/read_retry.c:238 netfs_retry_reads+0x1b72/0x1ee0 fs/netfs/read_retry.c:238 netfs_retry_reads+0x1b72/0x1ee0 fs/netfs/read_retry.c:238 netfs_retry_reads+0x1b72/0x1ee0 fs/netfs/read_retry.c:238 netfs_retry_reads+0x1b72/0x1ee0 fs/netfs/read_retry.c:238 netfs_retry_reads+0x1b72/0x1ee0 fs/netfs/read_retry.c:238 netfs_retry_reads+0x1b72/0x1ee0 fs/netfs/read_retry.c:238 netfs_retry_reads+0x1b72/0x1ee0 fs/netfs/read_retry.c:238 netfs_retry_reads+0x1b72/0x1ee0 fs/netfs/read_retry.c:238 netfs_retry_reads+0x1b72/0x1ee0 fs/netfs/read_retry.c:238 netfs_retry_reads+0x1b72/0x1ee0 fs/netfs/read_retry.c:238 netfs_retry_reads+0x1b72/0x1ee0 fs/netfs/read_retry.c:238 netfs_retry_reads+0x1b72/0x1ee0 fs/netfs/read_retry.c:238 netfs_retry_reads+0x1b72/0x1ee0 fs/netfs/read_retry.c:238 netfs_retry_reads+0x1b72/0x1ee0 fs/netfs/read_retry.c:238 netfs_retry_reads+0x1b72/0x1ee0 fs/netfs/read_retry.c:238 netfs_retry_reads+0x1b72/0x1ee0 fs/netfs/read_retry.c:238 netfs_retry_reads+0x1b72/0x1ee0 fs/netfs/read_retry.c:238 netfs_retry_reads+0x1b72/0x1ee0 fs/netfs/read_retry.c:238 netfs_retry_reads+0x1b72/0x1ee0 fs/netfs/read_retry.c:238 netfs_retry_reads+0x1b72/0x1ee0 fs/netfs/read_retry.c:238 netfs_retry_reads+0x1b72/0x1ee0 fs/netfs/read_retry.c:238 netfs_retry_reads+0x1b72/0x1ee0 fs/netfs/read_retry.c:238 netfs_retry_reads+0x1b72/0x1ee0 fs/netfs/read_retry.c:238 netfs_retry_reads+0x1b72/0x1ee0 fs/netfs/read_retry.c:238 netfs_retry_reads+0x1b72/0x1ee0 fs/netfs/read_retry.c:238 netfs_retry_reads+0x1b72/0x1ee0 fs/netfs/read_retry.c:238 netfs_retry_reads+0x1b72/0x1ee0 fs/netfs/read_retry.c:238 netfs_retry_reads+0x1b72/0x1ee0 fs/netfs/read_retry.c:238 netfs_retry_reads+0x1b72/0x1ee0 fs/netfs/read_retry.c:238 netfs_retry_reads+0x1b72/0x1ee0 fs/netfs/read_retry.c:238 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+0xc55/0x1640 fs/netfs/direct_read.c:221 netfs_unbuffered_read_iter+0xbf/0xe0 fs/netfs/direct_read.c:256 __kernel_read+0x513/0x9d0 fs/read_write.c:523 integrity_kernel_read+0xb0/0x100 security/integrity/iint.c:28 ima_calc_file_hash_tfm security/integrity/ima/ima_crypto.c:480 [inline] ima_calc_file_shash security/integrity/ima/ima_crypto.c:511 [inline] ima_calc_file_hash+0xae6/0x1b30 security/integrity/ima/ima_crypto.c:568 ima_collect_measurement+0x520/0xb10 security/integrity/ima/ima_api.c:293 process_measurement+0x1351/0x1fb0 security/integrity/ima/ima_main.c:372 ima_file_check+0xd9/0x120 security/integrity/ima/ima_main.c:572 security_file_post_open+0xb9/0x280 security/security.c:3121 do_open fs/namei.c:3830 [inline] path_openat+0x2ccd/0x3590 fs/namei.c:3987 do_filp_open+0x27f/0x4e0 fs/namei.c:4014 do_sys_openat2+0x13e/0x1d0 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+0x247/0x2a0 fs/open.c:1428 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f541f385d29 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:00007f54201f0038 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 00007f541f576080 RCX: 00007f541f385d29 RDX: 0000000000000000 RSI: 0000000020000180 RDI: ffffffffffffff9c RBP: 00007f541f401b08 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f541f576080 R15: 00007fff7437e498 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:validate_chain+0x1f/0x5920 kernel/locking/lockdep.c:3860 Code: 90 90 90 90 90 90 90 90 90 90 90 f3 0f 1e fa 55 48 89 e5 41 57 41 56 41 55 41 54 53 48 83 e4 e0 48 81 ec c0 02 00 00 49 89 ce <89> 54 24 58 48 89 bc 24 80 00 00 00 65 48 8b 04 25 28 00 00 00 48 RSP: 0018:ffffc9000d3ffee0 EFLAGS: 00010082 RAX: 1ffffffff27848bf RBX: ffffffff93c245f8 RCX: 4b63f27357dbc186 RDX: 0000000000000000 RSI: ffff888000d7af70 RDI: ffff888000d7a440 RBP: ffffc9000d4001e0 R08: ffffffff942aa887 R09: 1ffffffff2855510 R10: dffffc0000000000 R11: fffffbfff2855511 R12: ffff888000d7a440 R13: ffff888000d7a440 R14: 4b63f27357dbc186 R15: 0000000000000000 FS: 00007f54201f06c0(0000) GS:ffff88801fc00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: ffffc9000d3ffed8 CR3: 0000000042992000 CR4: 0000000000352ef0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess): 0: 90 nop 1: 90 nop 2: 90 nop 3: 90 nop 4: 90 nop 5: 90 nop 6: 90 nop 7: 90 nop 8: 90 nop 9: 90 nop a: 90 nop b: f3 0f 1e fa endbr64 f: 55 push %rbp 10: 48 89 e5 mov %rsp,%rbp 13: 41 57 push %r15 15: 41 56 push %r14 17: 41 55 push %r13 19: 41 54 push %r12 1b: 53 push %rbx 1c: 48 83 e4 e0 and $0xffffffffffffffe0,%rsp 20: 48 81 ec c0 02 00 00 sub $0x2c0,%rsp 27: 49 89 ce mov %rcx,%r14 * 2a: 89 54 24 58 mov %edx,0x58(%rsp) <-- trapping instruction 2e: 48 89 bc 24 80 00 00 mov %rdi,0x80(%rsp) 35: 00 36: 65 48 8b 04 25 28 00 mov %gs:0x28,%rax 3d: 00 00 3f: 48 rex.W