bisecting fixing commit since d2b6f8a179194de0ffc4886ffc2c4358d86047b8 building syzkaller on bc5434be1a615eca6d901c20b026712bd9697fd4 testing commit d2b6f8a179194de0ffc4886ffc2c4358d86047b8 compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: c8f1fe0f0b4bac1ea98c178b6f4fe5b3808ae15b3084c944e4d322adfdbe870e run #0: crashed: UBSAN: shift-out-of-bounds in do_mpage_readpage run #1: crashed: UBSAN: shift-out-of-bounds in do_mpage_readpage run #2: crashed: UBSAN: shift-out-of-bounds in do_mpage_readpage run #3: crashed: UBSAN: shift-out-of-bounds in do_mpage_readpage run #4: crashed: UBSAN: shift-out-of-bounds in do_mpage_readpage run #5: crashed: UBSAN: shift-out-of-bounds in do_mpage_readpage run #6: crashed: UBSAN: shift-out-of-bounds in do_mpage_readpage run #7: crashed: UBSAN: shift-out-of-bounds in do_mpage_readpage run #8: crashed: UBSAN: shift-out-of-bounds in do_mpage_readpage run #9: crashed: UBSAN: shift-out-of-bounds in do_mpage_readpage run #10: crashed: UBSAN: shift-out-of-bounds in do_mpage_readpage run #11: crashed: UBSAN: shift-out-of-bounds in do_mpage_readpage run #12: crashed: UBSAN: shift-out-of-bounds in do_mpage_readpage run #13: crashed: UBSAN: shift-out-of-bounds in do_mpage_readpage run #14: crashed: UBSAN: shift-out-of-bounds in do_mpage_readpage run #15: crashed: UBSAN: shift-out-of-bounds in do_mpage_readpage run #16: crashed: UBSAN: shift-out-of-bounds in do_mpage_readpage run #17: crashed: UBSAN: shift-out-of-bounds in do_mpage_readpage run #18: OK run #19: OK testing current HEAD 2f111a6fd5b5297b4e92f53798ca086f7c7d33a4 testing commit 2f111a6fd5b5297b4e92f53798ca086f7c7d33a4 compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 45e2bca3d14f43c7708ded0faef5f312d25fc1c304813942b7327e86a4824460 run #0: crashed: UBSAN: shift-out-of-bounds in do_mpage_readpage run #1: crashed: UBSAN: shift-out-of-bounds in do_mpage_readpage run #2: crashed: UBSAN: shift-out-of-bounds in do_mpage_readpage run #3: crashed: UBSAN: shift-out-of-bounds in do_mpage_readpage run #4: crashed: UBSAN: shift-out-of-bounds in do_mpage_readpage run #5: crashed: UBSAN: shift-out-of-bounds in do_mpage_readpage run #6: crashed: UBSAN: shift-out-of-bounds in do_mpage_readpage run #7: crashed: UBSAN: shift-out-of-bounds in do_mpage_readpage run #8: crashed: UBSAN: shift-out-of-bounds in do_mpage_readpage run #9: OK revisions tested: 2, total time: 32m53.059564227s (build: 13m50.190548488s, test: 18m10.465129725s) the crash still happens on HEAD commit msg: Merge tag 'ceph-for-5.15-rc7' of git://github.com/ceph/ceph-client crash: UBSAN: shift-out-of-bounds in do_mpage_readpage ================================================================================ UBSAN: shift-out-of-bounds in fs/mpage.c:189:40 shift exponent 4294967279 is too large for 64-bit type 'long long unsigned int' CPU: 1 PID: 9086 Comm: systemd-udevd Not tainted 5.15.0-rc6-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x57/0x7d lib/dump_stack.c:106 ubsan_epilogue+0x5/0x40 lib/ubsan.c:151 __ubsan_handle_shift_out_of_bounds.cold+0x61/0xe9 lib/ubsan.c:330 do_mpage_readpage.cold+0xb8/0x299 fs/mpage.c:189 mpage_readahead+0x2c0/0x6c0 fs/mpage.c:389 read_pages+0x1b0/0x7c0 mm/readahead.c:130 page_cache_ra_unbounded+0x47c/0x7c0 mm/readahead.c:239 do_page_cache_ra mm/readahead.c:269 [inline] force_page_cache_ra+0x301/0x560 mm/readahead.c:301 page_cache_sync_readahead include/linux/pagemap.h:883 [inline] filemap_get_pages+0x253/0x1380 mm/filemap.c:2545 filemap_read+0x261/0xb90 mm/filemap.c:2628 blkdev_read_iter+0xfb/0x180 block/fops.c:545 call_read_iter include/linux/fs.h:2157 [inline] new_sync_read+0x35d/0x5f0 fs/read_write.c:404 vfs_read+0x265/0x4c0 fs/read_write.c:485 ksys_read+0xf4/0x1d0 fs/read_write.c:623 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x7f9d23f7e210 Code: 73 01 c3 48 8b 0d 98 7d 20 00 f7 d8 64 89 01 48 83 c8 ff c3 66 0f 1f 44 00 00 83 3d b9 c1 20 00 00 75 10 b8 00 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 31 c3 48 83 ec 08 e8 4e fc ff ff 48 89 04 24 RSP: 002b:00007ffe6a8c4d28 EFLAGS: 00000246 ORIG_RAX: 0000000000000000 RAX: ffffffffffffffda RBX: 000056103eb7e310 RCX: 00007f9d23f7e210 RDX: 0000000000000400 RSI: 000056103eb7e338 RDI: 000000000000000f RBP: 000056103eb7dd50 R08: 00007f9d23f68ff8 R09: 0000000000000430 R10: 000000000000006d R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000400 R14: 000056103eb7dda0 R15: 0000000000000400 ================================================================================