------------[ cut here ]------------ kernel BUG at ./include/linux/pagemap.h:1426! Oops: invalid opcode: 0000 [#1] SMP KASAN NOPTI CPU: 3 UID: 0 PID: 18286 Comm: syz.0.3583 Tainted: G L syzkaller #0 PREEMPT(full) Tainted: [L]=SOFTLOCKUP Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014 RIP: 0010:__readahead_folio include/linux/pagemap.h:1426 [inline] RIP: 0010:readahead_folio include/linux/pagemap.h:1452 [inline] RIP: 0010:mpage_readahead+0x4ad/0x5a0 fs/mpage.c:367 Code: 5e 41 5f e9 55 db 29 09 e8 80 13 6d ff 48 89 ef e8 a8 c3 aa ff e9 54 fe ff ff 4c 8b 6c 24 18 e9 43 ff ff ff e8 64 13 6d ff 90 <0f> 0b e8 5c 13 6d ff 48 c7 c6 c0 65 a1 8b 48 89 ef e8 9d f0 b7 ff RSP: 0018:ffffc9000e3b72e0 EFLAGS: 00010246 RAX: 0000000000080000 RBX: ffffc9000e3b7748 RCX: ffffc90033e0c000 RDX: 0000000000080000 RSI: ffffffff8251e86c RDI: 0000000000000004 RBP: 0000000000000004 R08: 0000000000000004 R09: 0000000000000004 R10: 0000000000000001 R11: 0000000000000000 R12: dffffc0000000000 R13: fffff52001c76eed R14: 0000000000000001 R15: 1ffff92001c76eed FS: 00007f7adc2976c0(0000) GS:ffff8880d6bf2000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f7adc296f98 CR3: 0000000065022000 CR4: 0000000000352ef0 Call Trace: read_pages+0x1c4/0xc70 mm/readahead.c:163 page_cache_ra_unbounded+0x66c/0x9e0 mm/readahead.c:269 do_page_cache_ra mm/readahead.c:332 [inline] page_cache_sync_ra+0xa88/0xbc0 mm/readahead.c:611 do_sync_mmap_readahead mm/filemap.c:3329 [inline] filemap_fault+0x2384/0x29d0 mm/filemap.c:3549 __do_fault+0x10d/0x490 mm/memory.c:5320 do_shared_fault mm/memory.c:5819 [inline] do_fault+0x302/0x1ad0 mm/memory.c:5893 do_pte_missing mm/memory.c:4401 [inline] handle_pte_fault mm/memory.c:6273 [inline] __handle_mm_fault+0x1919/0x2bb0 mm/memory.c:6411 handle_mm_fault+0x3fe/0xad0 mm/memory.c:6580 faultin_page mm/gup.c:1126 [inline] __get_user_pages+0x54e/0x3590 mm/gup.c:1428 __get_user_pages_locked mm/gup.c:1692 [inline] faultin_page_range+0x338/0x940 mm/gup.c:1912 madvise_populate mm/madvise.c:976 [inline] madvise_do_behavior+0x34c/0x530 mm/madvise.c:1935 do_madvise+0x176/0x240 mm/madvise.c:2030 __do_sys_madvise mm/madvise.c:2039 [inline] __se_sys_madvise mm/madvise.c:2037 [inline] __x64_sys_madvise+0xa9/0x110 mm/madvise.c:2037 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xcd/0xf80 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f7adb38f7c9 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:00007f7adc297038 EFLAGS: 00000246 ORIG_RAX: 000000000000001c RAX: ffffffffffffffda RBX: 00007f7adb5e5fa0 RCX: 00007f7adb38f7c9 RDX: 0000000000000017 RSI: 0000000000c00000 RDI: 0000200000000000 RBP: 00007f7adb413f91 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f7adb5e6038 R14: 00007f7adb5e5fa0 R15: 00007ffd6c4d8668 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:__readahead_folio include/linux/pagemap.h:1426 [inline] RIP: 0010:readahead_folio include/linux/pagemap.h:1452 [inline] RIP: 0010:mpage_readahead+0x4ad/0x5a0 fs/mpage.c:367 Code: 5e 41 5f e9 55 db 29 09 e8 80 13 6d ff 48 89 ef e8 a8 c3 aa ff e9 54 fe ff ff 4c 8b 6c 24 18 e9 43 ff ff ff e8 64 13 6d ff 90 <0f> 0b e8 5c 13 6d ff 48 c7 c6 c0 65 a1 8b 48 89 ef e8 9d f0 b7 ff RSP: 0018:ffffc9000e3b72e0 EFLAGS: 00010246 RAX: 0000000000080000 RBX: ffffc9000e3b7748 RCX: ffffc90033e0c000 RDX: 0000000000080000 RSI: ffffffff8251e86c RDI: 0000000000000004 RBP: 0000000000000004 R08: 0000000000000004 R09: 0000000000000004 R10: 0000000000000001 R11: 0000000000000000 R12: dffffc0000000000 R13: fffff52001c76eed R14: 0000000000000001 R15: 1ffff92001c76eed FS: 00007f7adc2976c0(0000) GS:ffff8880d6bf2000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f7adc296f98 CR3: 0000000065022000 CR4: 0000000000352ef0