ci2 starts bisection 2023-05-03 18:50:05.046940982 +0000 UTC m=+21478.917542789 bisecting fixing commit since f9ff5644bcc04221bae56f922122f2b7f5d24d62 building syzkaller on 05494336991504e3c6137b89eeddd492e17af6b6 ensuring issue is reproducible on original commit f9ff5644bcc04221bae56f922122f2b7f5d24d62 testing commit f9ff5644bcc04221bae56f922122f2b7f5d24d62 gcc compiler: Debian clang version 15.0.7, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: f80f1f0bdb2922c66451a5dc0477b915686062c5160aa519d988989edc3ab58b all runs: crashed: general protection fault in __d_instantiate testing current HEAD 89b7fd5d7f3ceda236cc1d0026986a5f57ecaf4a testing commit 89b7fd5d7f3ceda236cc1d0026986a5f57ecaf4a gcc compiler: Debian clang version 15.0.7, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 0d3229403232690d3631ae4aa579a5a19582ba9e8a0fe95921789128b790b51c run #0: crashed: KASAN: out-of-bounds Write in end_buffer_read_sync run #1: crashed: KASAN: out-of-bounds Write in end_buffer_read_sync run #2: OK run #3: OK run #4: OK run #5: OK run #6: OK run #7: OK run #8: OK run #9: crashed: KASAN: out-of-bounds Write in end_buffer_read_sync reproducer seems to be flaky Reproducer flagged being flaky revisions tested: 2, total time: 1h18m59.052140723s (build: 1h5m35.483907388s, test: 12m28.335424483s) the crash still happens on HEAD commit msg: Merge tag 'pwm/for-6.4-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/thierry.reding/linux-pwm 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 ffffc90005557820 by task ksoftirqd/1/21 CPU: 1 PID: 21 Comm: ksoftirqd/1 Not tainted 6.3.0-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/14/2023 Call Trace: dump_stack_lvl+0x12e/0x1d0 print_report+0x163/0x510 kasan_report+0x108/0x140 kasan_check_range+0x283/0x290 end_buffer_read_sync+0x89/0x90 end_bio_bh_io_sync+0x8d/0xe0 blk_update_request+0x3fb/0x1080 blk_mq_end_request+0x48/0x260 blk_done_softirq+0x83/0x120 __do_softirq+0x2ab/0x8ea run_ksoftirqd+0xa6/0x100 smpboot_thread_fn+0x534/0x890 kthread+0x276/0x2f0 ret_from_fork+0x1f/0x30 The buggy address belongs to the virtual mapping at [ffffc90005550000, ffffc90005559000) created by: copy_process+0x40a/0x3c80 The buggy address belongs to the physical page: page:ffffea0000a55240 refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x29549 memcg:ffff88814749f682 flags: 0xfff00000000000(node=0|zone=1|lastcpupid=0x7ff) page_type: 0xffffffff() raw: 00fff00000000000 0000000000000000 dead000000000122 0000000000000000 raw: 0000000000000000 0000000000000000 00000001ffffffff ffff88814749f682 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 5339, tgid 5339 (syz-executor.0), ts 412314082365, free_ts 410900941485 get_page_from_freelist+0x31bf/0x3340 __alloc_pages+0x255/0x670 __vmalloc_node_range+0x7cc/0x10d0 dup_task_struct+0x5c3/0x720 copy_process+0x40a/0x3c80 kernel_clone+0x17d/0x5d0 __x64_sys_clone+0x268/0x2e0 do_syscall_64+0x41/0xc0 entry_SYSCALL_64_after_hwframe+0x63/0xcd page last free stack trace: free_unref_page_prepare+0x8fe/0xa10 free_unref_page_list+0x596/0x830 release_pages+0x1a07/0x1bc0 tlb_flush_mmu+0xe9/0x1e0 tlb_finish_mmu+0xb6/0x1c0 exit_mmap+0x317/0x860 __mmput+0xcb/0x300 exit_mm+0x1c4/0x280 do_exit+0x4d0/0x1cf0 do_group_exit+0x1b9/0x280 get_signal+0x11d1/0x1280 arch_do_signal_or_restart+0x7f/0x660 exit_to_user_mode_loop+0x6a/0xf0 exit_to_user_mode_prepare+0xb1/0x140 syscall_exit_to_user_mode+0x54/0x270 do_syscall_64+0x4d/0xc0 Memory state around the buggy address: ffffc90005557700: 00 00 00 00 00 00 00 00 00 00 00 00 00 f2 f2 f2 ffffc90005557780: f2 f2 f2 f2 f2 f2 00 00 00 00 00 00 00 00 00 00 >ffffc90005557800: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ^ ffffc90005557880: 00 00 00 f2 f2 f2 f2 f2 f2 f2 f2 f2 00 00 00 00 ffffc90005557900: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ==================================================================