ci starts bisection 2023-05-26 14:53:54.985432604 +0000 UTC m=+42082.166938679 bisecting fixing commit since a962b54e162c2977ff37905726cab29728380835 building syzkaller on feb5635181eb12a6e3516172a3f5af06a3bc93e1 ensuring issue is reproducible on original commit a962b54e162c2977ff37905726cab29728380835 testing commit a962b54e162c2977ff37905726cab29728380835 gcc compiler: gcc (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 1229ec162832b03cf4f594540c7957f88d7ec82c473c499fd3e117782a25cdc3 run #0: crashed: INFO: rcu detected stall in corrupted 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: 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: BUG: unable to handle kernel paging request in inode_wait_for_writeback run #12: crashed: BUG: unable to handle kernel paging request in inode_wait_for_writeback run #13: OK run #14: OK run #15: OK run #16: OK run #17: OK run #18: OK run #19: OK testing current HEAD 0d85b27b0cc6b5cf54567c5ad913a247a71583ce testing commit 0d85b27b0cc6b5cf54567c5ad913a247a71583ce gcc compiler: gcc (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: ea3ed9757d3594ca83ccefbdfd38a5c800a8e5e5fedf90ae5ee5f50e001fa2f3 all runs: crashed: KASAN: out-of-bounds Write in end_buffer_read_sync crash still not fixed/happens on the oldest tested release revisions tested: 2, total time: 39m2.842436366s (build: 15m36.47221086s, test: 22m34.952243228s) crash still not fixed on HEAD or HEAD had kernel test errors commit msg: Merge tag '6.4-rc3-smb3-client-fixes' of git://git.samba.org/sfrench/cifs-2.6 crash: KASAN: out-of-bounds Write in end_buffer_read_sync ================================================================== BUG: KASAN: out-of-bounds in instrument_atomic_read_write include/linux/instrumented.h:96 [inline] BUG: KASAN: out-of-bounds in atomic_dec include/linux/atomic/atomic-instrumented.h:257 [inline] BUG: KASAN: out-of-bounds in put_bh include/linux/buffer_head.h:329 [inline] BUG: KASAN: out-of-bounds in end_buffer_read_sync+0x5c/0x90 fs/buffer.c:161 Write of size 4 at addr ffffc9000bad7978 by task ksoftirqd/0/15 CPU: 0 PID: 15 Comm: ksoftirqd/0 Not tainted 6.4.0-rc3-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/16/2023 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x60/0xa0 lib/dump_stack.c:106 print_address_description.constprop.0+0x2c/0x3c0 mm/kasan/report.c:351 print_report mm/kasan/report.c:462 [inline] kasan_report+0x118/0x130 mm/kasan/report.c:572 check_region_inline mm/kasan/generic.c:181 [inline] kasan_check_range+0x13d/0x180 mm/kasan/generic.c:187 instrument_atomic_read_write include/linux/instrumented.h:96 [inline] atomic_dec include/linux/atomic/atomic-instrumented.h:257 [inline] put_bh include/linux/buffer_head.h:329 [inline] end_buffer_read_sync+0x5c/0x90 fs/buffer.c:161 end_bio_bh_io_sync+0xa9/0xf0 fs/buffer.c:2730 req_bio_endio block/blk-mq.c:761 [inline] blk_update_request+0x45b/0x1320 block/blk-mq.c:906 blk_mq_end_request+0x51/0x3f0 block/blk-mq.c:1023 blk_complete_reqs+0xa0/0xd0 block/blk-mq.c:1101 __do_softirq+0x1d0/0x901 kernel/softirq.c:571 run_ksoftirqd kernel/softirq.c:939 [inline] run_ksoftirqd+0x2d/0x60 kernel/softirq.c:931 smpboot_thread_fn+0x548/0x8c0 kernel/smpboot.c:164 kthread+0x2e6/0x3c0 kernel/kthread.c:379 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308 The buggy address belongs to the virtual mapping at [ffffc9000bad0000, ffffc9000bad9000) created by: kernel_clone+0xb8/0x5f0 kernel/fork.c:2918 The buggy address belongs to the physical page: page:ffffea0001caff80 refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x72bfe flags: 0xfff00000000000(node=0|zone=1|lastcpupid=0x7ff) page_type: 0xffffffff() 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 18484, tgid 18484 (syz-executor396), ts 554704325382, free_ts 554696208115 prep_new_page mm/page_alloc.c:1738 [inline] get_page_from_freelist+0xf85/0x2ca0 mm/page_alloc.c:3502 __alloc_pages+0x1c7/0x490 mm/page_alloc.c:4768 vm_area_alloc_pages mm/vmalloc.c:3009 [inline] __vmalloc_area_node mm/vmalloc.c:3085 [inline] __vmalloc_node_range+0x7fb/0x1060 mm/vmalloc.c:3257 alloc_thread_stack_node kernel/fork.c:313 [inline] dup_task_struct kernel/fork.c:1116 [inline] copy_process+0x117a/0x6c40 kernel/fork.c:2333 kernel_clone+0xb8/0x5f0 kernel/fork.c:2918 __do_sys_clone+0xa1/0xe0 kernel/fork.c:3061 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+0x63/0xcd page last free stack trace: reset_page_owner include/linux/page_owner.h:24 [inline] free_pages_prepare mm/page_alloc.c:1302 [inline] free_unref_page_prepare+0x620/0xc80 mm/page_alloc.c:2564 free_unref_page_list+0xdf/0xa70 mm/page_alloc.c:2705 release_pages+0x31c/0x10c0 mm/swap.c:1042 __pagevec_release+0x59/0xb0 mm/swap.c:1062 pagevec_release include/linux/pagevec.h:63 [inline] folio_batch_release include/linux/pagevec.h:132 [inline] truncate_inode_pages_range+0x234/0xb80 mm/truncate.c:372 kill_bdev block/bdev.c:76 [inline] blkdev_flush_mapping+0x12c/0x270 block/bdev.c:596 blkdev_put_whole+0x9a/0xc0 block/bdev.c:627 blkdev_put+0x1bd/0x670 block/bdev.c:887 deactivate_locked_super+0x7b/0x130 fs/super.c:331 cleanup_mnt+0x253/0x360 fs/namespace.c:1177 task_work_run+0x12b/0x220 kernel/task_work.c:179 resume_user_mode_work include/linux/resume_user_mode.h:49 [inline] exit_to_user_mode_loop kernel/entry/common.c:171 [inline] exit_to_user_mode_prepare+0x210/0x240 kernel/entry/common.c:204 __syscall_exit_to_user_mode_work kernel/entry/common.c:286 [inline] syscall_exit_to_user_mode+0x19/0x50 kernel/entry/common.c:297 do_syscall_64+0x42/0xb0 arch/x86/entry/common.c:86 entry_SYSCALL_64_after_hwframe+0x63/0xcd Memory state around the buggy address: ffffc9000bad7880: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ffffc9000bad7900: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >ffffc9000bad7980: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ^ ffffc9000bad7a00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ffffc9000bad7a80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ==================================================================