ci2 starts bisection 2023-02-05 21:16:11.210743274 +0000 UTC m=+112735.809065755 bisecting fixing commit since 41c03ba9beea760bd2d2ac9250b09a2e192da2dc building syzkaller on 1dac8c7a01e2bdd35cb04eb4901ddb157291ac2d ensuring issue is reproducible on original commit 41c03ba9beea760bd2d2ac9250b09a2e192da2dc testing commit 41c03ba9beea760bd2d2ac9250b09a2e192da2dc gcc compiler: Debian clang version 15.0.7, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: c5ff6aef4c269e87c0f151fb70558e79bac76626ab2fb99836fa8259c228d394 run #0: crashed: INFO: rcu detected stall in corrupted run #1: crashed: WARNING: nested lock was not taken in filemap_get_read_batch run #2: crashed: INFO: rcu detected stall in corrupted run #3: crashed: INFO: rcu detected stall in corrupted run #4: crashed: INFO: rcu detected stall in corrupted run #5: crashed: INFO: rcu detected stall in corrupted run #6: crashed: INFO: rcu detected stall in corrupted run #7: crashed: INFO: rcu detected stall in corrupted run #8: crashed: INFO: rcu detected stall in corrupted run #9: crashed: INFO: rcu detected stall in corrupted run #10: crashed: INFO: rcu detected stall in corrupted run #11: crashed: INFO: rcu detected stall in corrupted run #12: crashed: KASAN: out-of-bounds Write in end_buffer_read_sync run #13: crashed: KASAN: out-of-bounds Write in end_buffer_read_sync run #14: crashed: BUG: unable to handle kernel paging request in corrupted run #15: crashed: BUG: looking up invalid subclass: ADDR run #16: crashed: KASAN: out-of-bounds Write in end_buffer_read_sync run #17: crashed: KASAN: out-of-bounds Write in end_buffer_read_sync run #18: crashed: KASAN: out-of-bounds Write in end_buffer_read_sync run #19: crashed: KASAN: out-of-bounds Write in end_buffer_read_sync testing current HEAD c608f6b58f306ce0e4f459af69a196f5ed6ccf45 testing commit c608f6b58f306ce0e4f459af69a196f5ed6ccf45 gcc compiler: Debian clang version 15.0.7, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 9856af5ec7a8f21573aa9466a960258c64b891c55880193a3a8de3bf7da129a5 run #0: crashed: kernel panic: stack is corrupted in __filemap_fdatawait_range run #1: crashed: INFO: rcu detected stall in corrupted run #2: crashed: INFO: rcu detected stall in corrupted run #3: crashed: INFO: rcu detected stall in corrupted run #4: crashed: KASAN: out-of-bounds Write in end_buffer_read_sync run #5: crashed: kernel panic: stack is corrupted in __filemap_fdatawait_range run #6: crashed: KASAN: out-of-bounds Write in end_buffer_read_sync run #7: crashed: KASAN: out-of-bounds Write in end_buffer_read_sync run #8: crashed: kernel panic: stack is corrupted in __filemap_fdatawait_range run #9: crashed: KASAN: out-of-bounds Write in end_buffer_read_sync revisions tested: 2, total time: 52m49.344020853s (build: 35m40.378984514s, test: 14m30.564994528s) the crash still happens on HEAD commit msg: Merge tag 'usb-6.2-rc7' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb crash: KASAN: out-of-bounds Write in end_buffer_read_sync ================================================================== BUG: KASAN: out-of-bounds in end_buffer_read_sync+0x89/0x90 Write of size 4 at addr ffffc9000a6df2e0 by task ksoftirqd/0/15 CPU: 0 PID: 15 Comm: ksoftirqd/0 Not tainted 6.2.0-rc6-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/12/2023 Call Trace: dump_stack_lvl+0x12e/0x1d0 print_report+0x163/0x4c0 kasan_report+0xce/0x100 kasan_check_range+0x283/0x290 end_buffer_read_sync+0x89/0x90 end_bio_bh_io_sync+0x8d/0xe0 blk_update_request+0x3a3/0x1000 blk_mq_end_request+0x39/0x60 blk_done_softirq+0x83/0x120 __do_softirq+0x308/0xaf7 run_ksoftirqd+0xa6/0x100 smpboot_thread_fn+0x534/0x8e0 kthread+0x232/0x2b0 ret_from_fork+0x1f/0x30 The buggy address belongs to the virtual mapping at [ffffc9000a6d8000, ffffc9000a6e1000) created by: copy_process+0x3d5/0x3b10 The buggy address belongs to the physical page: page:ffffea0001f718c0 refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x7dc63 flags: 0xfff00000000000(node=0|zone=1|lastcpupid=0x7ff) raw: 00fff00000000000 0000000000000000 dead000000000122 0000000000000000 raw: 0000000000000000 0000000000000000 00000001ffffffff 0000000000000000 page dumped because: kasan: bad access detected page_owner tracks the page as allocated page last allocated via order 0, migratetype Unmovable, gfp_mask 0x102dc2(GFP_HIGHUSER|__GFP_NOWARN|__GFP_ZERO), pid 9121, tgid 9121 (syz-executor.0), ts 344751897168, free_ts 344581224719 get_page_from_freelist+0x3403/0x3580 __alloc_pages+0x291/0x7e0 __vmalloc_node_range+0x703/0x10b0 dup_task_struct+0x524/0x610 copy_process+0x3d5/0x3b10 kernel_clone+0x17d/0x6f0 __x64_sys_clone+0x228/0x290 do_syscall_64+0x41/0xc0 entry_SYSCALL_64_after_hwframe+0x63/0xcd page last free stack trace: free_unref_page_prepare+0xf3a/0x1040 free_unref_page_list+0x6b1/0x950 release_pages+0x1a07/0x1bc0 __pagevec_release+0x66/0xe0 truncate_inode_pages_range+0x360/0xd50 blkdev_flush_mapping+0xfb/0x1f0 blkdev_put+0x3da/0x5c0 blkdev_close+0x55/0x80 __fput+0x33f/0x720 task_work_run+0x20a/0x290 exit_to_user_mode_loop+0xd1/0xf0 exit_to_user_mode_prepare+0xb1/0x140 syscall_exit_to_user_mode+0x54/0x2d0 do_syscall_64+0x4d/0xc0 entry_SYSCALL_64_after_hwframe+0x63/0xcd Memory state around the buggy address: ffffc9000a6df180: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ffffc9000a6df200: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >ffffc9000a6df280: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ^ ffffc9000a6df300: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ffffc9000a6df380: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ==================================================================