================================== WARNING: Nested lock was not taken 6.2.0-syzkaller #0 Not tainted ---------------------------------- syz-executor.0/6724 is trying to lock: ffffffff8bf1cac0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x0/0x30 but this task is not holding: general protection fault, probably for non-canonical address 0xdffffc0000000003: 0000 [#1] PREEMPT SMP KASAN KASAN: null-ptr-deref in range [0x0000000000000018-0x000000000000001f] CPU: 0 PID: 6724 Comm: syz-executor.0 Not tainted 6.2.0-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/16/2023 RIP: 0010:__lock_acquire+0x10cd/0x1f80 Code: 3c 30 00 48 8b 5c 24 78 74 12 48 89 df e8 7b ca 62 00 49 be 00 00 00 00 00 fc ff df 48 8b 1b 48 83 c3 18 48 89 d8 48 c1 e8 03 <42> 80 3c 30 00 74 08 48 89 df e8 54 ca 62 00 48 8b 33 48 c7 c7 80 RSP: 0018:ffffc9000616f120 EFLAGS: 00010006 RAX: 0000000000000003 RBX: 0000000000000018 RCX: 92dfd0335e053100 RDX: 0000000000000001 RSI: 0000000000000004 RDI: 0000000000000001 RBP: ffff8880252c3a00 R08: dffffc0000000000 R09: ffffed101738515b R10: 0000000000000000 R11: dffffc0000000001 R12: ffff8880252c4430 R13: 0000000000000000 R14: dffffc0000000000 R15: ffff8880252c4208 FS: 00007f46923fe700(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ffea28cebd8 CR3: 00000000259f0000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: lock_acquire+0x214/0x600 rcu_lock_acquire+0x24/0x30 filemap_get_read_batch+0x152/0x8d0 filemap_get_pages+0x498/0x1b40 filemap_read+0x39f/0xd80 generic_file_splice_read+0x1f5/0x570 splice_direct_to_actor+0x39c/0xa60 do_splice_direct+0x26a/0x3b0 do_sendfile+0x508/0xcd0 __se_sys_sendfile64+0x10b/0x160 do_syscall_64+0x41/0xc0 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f469b28c0d9 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 19 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:00007f46923fe168 EFLAGS: 00000246 ORIG_RAX: 0000000000000028 RAX: ffffffffffffffda RBX: 00007f469b3ac050 RCX: 00007f469b28c0d9 RDX: 0000000000000000 RSI: 0000000000000005 RDI: 0000000000000004 RBP: 00007f469b2e7ae9 R08: 0000000000000000 R09: 0000000000000000 R10: 00008400fffffffa R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffea28d01bf R14: 00007f46923fe300 R15: 0000000000022000 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:__lock_acquire+0x10cd/0x1f80 Code: 3c 30 00 48 8b 5c 24 78 74 12 48 89 df e8 7b ca 62 00 49 be 00 00 00 00 00 fc ff df 48 8b 1b 48 83 c3 18 48 89 d8 48 c1 e8 03 <42> 80 3c 30 00 74 08 48 89 df e8 54 ca 62 00 48 8b 33 48 c7 c7 80 RSP: 0018:ffffc9000616f120 EFLAGS: 00010006 RAX: 0000000000000003 RBX: 0000000000000018 RCX: 92dfd0335e053100 RDX: 0000000000000001 RSI: 0000000000000004 RDI: 0000000000000001 RBP: ffff8880252c3a00 R08: dffffc0000000000 R09: ffffed101738515b R10: 0000000000000000 R11: dffffc0000000001 R12: ffff8880252c4430 R13: 0000000000000000 R14: dffffc0000000000 R15: ffff8880252c4208 FS: 00007f46923fe700(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ffea28cebd8 CR3: 00000000259f0000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess): 0: 3c 30 cmp $0x30,%al 2: 00 48 8b add %cl,-0x75(%rax) 5: 5c pop %rsp 6: 24 78 and $0x78,%al 8: 74 12 je 0x1c a: 48 89 df mov %rbx,%rdi d: e8 7b ca 62 00 callq 0x62ca8d 12: 49 be 00 00 00 00 00 movabs $0xdffffc0000000000,%r14 19: fc ff df 1c: 48 8b 1b mov (%rbx),%rbx 1f: 48 83 c3 18 add $0x18,%rbx 23: 48 89 d8 mov %rbx,%rax 26: 48 c1 e8 03 shr $0x3,%rax * 2a: 42 80 3c 30 00 cmpb $0x0,(%rax,%r14,1) <-- trapping instruction 2f: 74 08 je 0x39 31: 48 89 df mov %rbx,%rdi 34: e8 54 ca 62 00 callq 0x62ca8d 39: 48 8b 33 mov (%rbx),%rsi 3c: 48 rex.W 3d: c7 .byte 0xc7 3e: c7 .byte 0xc7 3f: 80 .byte 0x80