syzbot |
sign-in | mailing list | source | docs | 🏰 |
| ID | Workflow | Result | Correct | Bug | Created | Started | Finished | Revision | Error |
|---|---|---|---|---|---|---|---|---|---|
| fa757437-3fb6-45d6-a44d-64ebe823d7ff | repro | ❓ | KCSAN: data-race in copy_folio_from_iter_atomic / copy_folio_from_iter_atomic | 2026/03/08 03:03 | 2026/03/08 03:03 | 2026/03/08 03:10 | 31e9c887f7dc24e04b3ca70d0d54fc34141844b0 |
threaded=true, collide=true
r0 = syz_mount_image(&(0x7f0000000000)='ext4\x00', &(0x7f0000000100)='./mnt\x00', 0x0, 0x0, 0x1, 0x100000, &(0x7f0000000200)=[{&(0x7f0000000300)='', 0x100000}])
r1 = openat(0xffffffffffffff9c, &(0x7f0000000400)='./mnt/file0\x00', 0x42, 0x1ff)
r2 = memfd_create(&(0x7f0000000500)='memfd\x00', 0x0)
ftruncate(r2, 0x100000)
write(r2, &(0x7f0000000600)='A', 0x1)
sendfile(r1, r2, 0x0, 0x100000)
fsync(r1)
sendfile(r1, r2, 0x0, 0x100000)
fsync(r1)31e9c887f7dc24e04b3ca70d0d54fc34141844b0
EXT4-fs: Ignoring removed oldalloc option EXT4-fs: Ignoring removed bh option EXT4-fs (loop3): mounted filesystem 00000000-0000-0000-0000-000000000000 r/w without journal. Quota mode: writeback. ================================================================== BUG: KCSAN: data-race in copy_folio_from_iter_atomic / copy_folio_from_iter_atomic read to 0xffff888128921c00 of 1024 bytes by task 10565 on cpu 0: memcpy_from_iter lib/iov_iter.c:85 [inline] iterate_bvec include/linux/iov_iter.h:123 [inline] iterate_and_advance2 include/linux/iov_iter.h:306 [inline] iterate_and_advance include/linux/iov_iter.h:330 [inline] __copy_from_iter lib/iov_iter.c:261 [inline] copy_folio_from_iter_atomic+0x75f/0x1170 lib/iov_iter.c:491 generic_perform_write+0x2c1/0x490 mm/filemap.c:4337 shmem_file_write_iter+0xc5/0xf0 mm/shmem.c:3502 lo_rw_aio+0x67d/0x730 drivers/block/loop.c:-1 do_req_filebacked drivers/block/loop.c:-1 [inline] loop_handle_cmd drivers/block/loop.c:1925 [inline] loop_process_work+0x56c/0xac0 drivers/block/loop.c:1960 loop_workfn+0x31/0x40 drivers/block/loop.c:1984 process_one_work kernel/workqueue.c:3275 [inline] process_scheduled_works+0x4de/0x9e0 kernel/workqueue.c:3358 worker_thread+0x581/0x770 kernel/workqueue.c:3439 kthread+0x22a/0x280 kernel/kthread.c:436 ret_from_fork+0x150/0x360 arch/x86/kernel/process.c:158 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245 write to 0xffff888128921fc8 of 50 bytes by task 12571 on cpu 1: memcpy_from_iter lib/iov_iter.c:85 [inline] iterate_bvec include/linux/iov_iter.h:123 [inline] iterate_and_advance2 include/linux/iov_iter.h:306 [inline] iterate_and_advance include/linux/iov_iter.h:330 [inline] __copy_from_iter lib/iov_iter.c:261 [inline] copy_folio_from_iter_atomic+0x75f/0x1170 lib/iov_iter.c:491 generic_perform_write+0x2c1/0x490 mm/filemap.c:4337 ext4_buffered_write_iter+0x1ee/0x3c0 fs/ext4/file.c:300 ext4_file_write_iter+0x380/0xfa0 fs/ext4/file.c:-1 iter_file_splice_write+0x6c4/0xa80 fs/splice.c:736 do_splice_from fs/splice.c:936 [inline] direct_splice_actor+0x156/0x2a0 fs/splice.c:1159 splice_direct_to_actor+0x311/0x670 fs/splice.c:1103 do_splice_direct_actor fs/splice.c:1202 [inline] do_splice_direct+0x119/0x1a0 fs/splice.c:1228 do_sendfile+0x382/0x650 fs/read_write.c:1372 __do_sys_sendfile64 fs/read_write.c:1433 [inline] __se_sys_sendfile64 fs/read_write.c:1419 [inline] __x64_sys_sendfile64+0x105/0x150 fs/read_write.c:1419 x64_sys_call+0x2dc4/0x3020 arch/x86/include/generated/asm/syscalls_64.h:41 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0x12c/0x370 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f Reported by Kernel Concurrency Sanitizer on: CPU: 1 UID: 0 PID: 12571 Comm: syz.3.3018 Tainted: G W syzkaller #0 PREEMPT(full) Tainted: [W]=WARN Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2026 ================================================================== ================================================================== BUG: KCSAN: data-race in __writeback_single_inode / xas_set_mark write to 0xffff88811ac9e9ec of 4 bytes by task 12584 on cpu 1: xa_mark_set lib/xarray.c:71 [inline] xas_set_mark+0x12b/0x140 lib/xarray.c:900 __folio_start_writeback+0x17b/0x370 mm/page-writeback.c:2994 ext4_bio_write_folio+0x5ad/0x9f0 fs/ext4/page-io.c:584 mpage_submit_folio fs/ext4/inode.c:2080 [inline] mpage_process_page_bufs+0x4a1/0x620 fs/ext4/inode.c:2191 mpage_prepare_extent_to_map+0x7d4/0xc50 fs/ext4/inode.c:2730 ext4_do_writepages+0x70f/0x2840 fs/ext4/inode.c:2871 ext4_writepages+0x18f/0x320 fs/ext4/inode.c:3019 do_writepages+0x1c6/0x310 mm/page-writeback.c:2554 filemap_writeback mm/filemap.c:387 [inline] filemap_fdatawrite_range mm/filemap.c:412 [inline] file_write_and_wait_range+0x178/0x2f0 mm/filemap.c:786 generic_buffers_fsync_noflush+0x45/0x130 fs/buffer.c:606 ext4_fsync_nojournal fs/ext4/fsync.c:88 [inline] ext4_sync_file+0x1aa/0x6b0 fs/ext4/fsync.c:147 vfs_fsync_range+0xc5/0xe0 fs/sync.c:186 generic_write_sync include/linux/fs.h:2640 [inline] ext4_buffered_write_iter+0x34f/0x3c0 fs/ext4/file.c:306 ext4_file_write_iter+0x380/0xfa0 fs/ext4/file.c:-1 iter_file_splice_write+0x6c4/0xa80 fs/splice.c:736 do_splice_from fs/splice.c:936 [inline] direct_splice_actor+0x156/0x2a0 fs/splice.c:1159 splice_direct_to_actor+0x311/0x670 fs/splice.c:1103 do_splice_direct_actor fs/splice.c:1202 [inline] do_splice_direct+0x119/0x1a0 fs/splice.c:1228 do_sendfile+0x382/0x650 fs/read_write.c:1372 __do_sys_sendfile64 fs/read_write.c:1433 [inline] __se_sys_sendfile64 fs/read_write.c:1419 [inline] __x64_sys_sendfile64+0x105/0x150 fs/read_write.c:1419 x64_sys_call+0x2dc4/0x3020 arch/x86/include/generated/asm/syscalls_64.h:41 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0x12c/0x370 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f read to 0xffff88811ac9e9ec of 4 bytes by task 12571 on cpu 0: xa_marked include/linux/xarray.h:424 [inline] mapping_tagged include/linux/fs.h:507 [inline] __writeback_single_inode+0x26b/0x860 fs/fs-writeback.c:1799 writeback_single_inode+0x16d/0x3f0 fs/fs-writeback.c:1869 sync_inode_metadata+0x6e/0xa0 fs/fs-writeback.c:2974 generic_buffers_fsync_noflush+0xee/0x130 fs/buffer.c:616 ext4_fsync_nojournal fs/ext4/fsync.c:88 [inline] ext4_sync_file+0x1aa/0x6b0 fs/ext4/fsync.c:147 vfs_fsync_range+0xc5/0xe0 fs/sync.c:186 generic_write_sync include/linux/fs.h:2640 [inline] ext4_buffered_write_iter+0x34f/0x3c0 fs/ext4/file.c:306 ext4_file_write_iter+0x380/0xfa0 fs/ext4/file.c:-1 iter_file_splice_write+0x6c4/0xa80 fs/splice.c:736 do_splice_from fs/splice.c:936 [inline] direct_splice_actor+0x156/0x2a0 fs/splice.c:1159 splice_direct_to_actor+0x311/0x670 fs/splice.c:1103 do_splice_direct_actor fs/splice.c:1202 [inline] do_splice_direct+0x119/0x1a0 fs/splice.c:1228 do_sendfile+0x382/0x650 fs/read_write.c:1372 __do_sys_sendfile64 fs/read_write.c:1433 [inline] __se_sys_sendfile64 fs/read_write.c:1419 [inline] __x64_sys_sendfile64+0x105/0x150 fs/read_write.c:1419 x64_sys_call+0x2dc4/0x3020 arch/x86/include/generated/asm/syscalls_64.h:41 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0x12c/0x370 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f value changed: 0x0a000021 -> 0x04000021 Reported by Kernel Concurrency Sanitizer on: CPU: 0 UID: 0 PID: 12571 Comm: syz.3.3018 Tainted: G W syzkaller #0 PREEMPT(full) Tainted: [W]=WARN Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2026 ==================================================================
| Seq | Timestamp | Type | Name | Duration |
|---|---|---|---|---|
| 0/0 | 2026/03/08 03:03 | flow | repro |
7mResults:map[ReproOpts:threaded=true, collide=true ReproSyz:r0 = syz_mount_image(&(0x7f0000000000)='ext4\x00', &(0x7f0000000100)='./mnt\x00', 0x0, 0x0, 0x1, 0x100000, &(0x7f0000000200)=[{&(0x7f0000000300)='', 0x100000}])
r1 = openat(0xffffffffffffff9c, &(0x7f0000000400)='./mnt/file0\x00', 0x42, 0x1ff)
r2 = memfd_create(&(0x7f0000000500)='memfd\x00', 0x0)
ftruncate(r2, 0x100000)
write(r2, &(0x7f0000000600)='A', 0x1)
sendfile(r1, r2, 0x0, 0x100000)
fsync(r1)
sendfile(r1, r2, 0x0, 0x100000)
fsync(r1) SyzkallerCommit:31e9c887f7dc24e04b3ca70d0d54fc34141844b0] |
| 1/1 | 2026/03/08 03:03 | action | provide-var |
0mResults:map[DescriptionFiles:[acpi_thermal_rel.txt aio.txt auto.txt binfmt.txt bpf.txt bpf_prog.txt bpf_trace.txt cgroup.txt damon.txt dev_ashmem.txt dev_bifrost.txt dev_binder.txt dev_binderfs.txt dev_block.txt dev_bsg.txt dev_bus_usb.txt dev_camx.txt dev_cdrom.txt dev_cec.txt dev_char_usb.txt dev_comedi.txt dev_dma_heap.txt dev_dri.txt dev_dsp.txt dev_dvb_demux.txt dev_dvb_dvr.txt dev_dvb_frontend.txt dev_fb.txt dev_floppy.txt dev_hidraw.txt dev_i2c.txt dev_i915.txt dev_img_rogue.txt dev_infiniband_rdma.txt dev_infiniband_rdma_cm.txt dev_input.txt dev_iommu.txt dev_kvm.txt dev_kvm_amd64.txt dev_kvm_arm64.txt dev_kvm_extra.txt dev_kvm_riscv64.txt dev_loop.txt dev_mali.txt dev_media.txt dev_msm.txt dev_msr.txt dev_nbd.txt dev_net_tun.txt dev_panthor.txt dev_ppp.txt dev_ptmx.txt dev_ptp.txt dev_qat_adf_ctl.txt dev_qrtr_tun.txt dev_random.txt dev_rfkill.txt dev_rtc.txt dev_sequencer.txt dev_sg.txt dev_snapshot.txt dev_snd_control.txt dev_snd_hw.txt dev_snd_midi.txt dev_snd_pcm.txt dev_snd_seq.txt dev_snd_timer.txt dev_sr.txt dev_sw_sync.txt dev_tlk_device.txt dev_trusty.txt dev_udmabuf.txt dev_uhid.txt dev_uinput.txt dev_usb_hiddev.txt dev_usbmon.txt dev_userio.txt dev_vfio.txt dev_vga_arbiter.txt dev_vhci.txt dev_video4linux.txt dev_video4linux_vim2m.txt dev_virtual_nci.txt dev_vtpm.txt fanotify.txt filesystem.txt fs_9p.txt fs_fuse.txt fs_incfs.txt fs_ioctl.txt fs_ioctl_autofs.txt fs_ioctl_btrfs.txt fs_ioctl_ext4.txt fs_ioctl_f2fs.txt fs_ioctl_fat.txt fs_ioctl_fscrypt.txt fs_ioctl_fsverity.txt fs_ioctl_xfs.txt futex.txt hafnium.txt inotify.txt io_uring.txt ipc.txt key.txt kfuzztest.txt l2cap.txt landlock.txt lsm.txt namespaces.txt net_80211.txt netfilter.txt netfilter_arp.txt netfilter_bridge.txt netfilter_ipv4.txt netfilter_ipv6.txt netfilter_ipvs.txt netfilter_targets.txt pagemap_ioctl.txt perf.txt prctl.txt quotactl.txt seccomp.txt security_apparmor.txt security_selinux.txt security_smack.txt socket.txt socket_alg.txt socket_ax25.txt socket_bluetooth.txt socket_caif.txt socket_can.txt socket_ieee802154.txt socket_inet.txt socket_inet6.txt socket_inet_dccp.txt socket_inet_icmp.txt socket_inet_igmp.txt socket_inet_l2tp.txt socket_inet_sctp.txt socket_inet_tcp.txt socket_inet_udp.txt socket_ip_tunnel.txt socket_isdn.txt socket_kcm.txt socket_key.txt socket_llc.txt socket_netlink.txt socket_netlink_audit.txt socket_netlink_crypto.txt socket_netlink_generic.txt socket_netlink_generic_80211.txt socket_netlink_generic_batadv.txt socket_netlink_generic_devlink.txt socket_netlink_generic_ethtool.txt socket_netlink_generic_fou.txt socket_netlink_generic_gtp.txt socket_netlink_generic_mptcp.txt socket_netlink_generic_net_dm.txt socket_netlink_generic_netlabel.txt socket_netlink_generic_nfc.txt socket_netlink_generic_seg6.txt socket_netlink_generic_smc.txt socket_netlink_generic_team.txt socket_netlink_generic_wireguard.txt socket_netlink_netfilter.txt socket_netlink_netfilter_acct.txt socket_netlink_netfilter_conntrack.txt socket_netlink_netfilter_conntrack_exp.txt socket_netlink_netfilter_conntrack_helper.txt socket_netlink_netfilter_ipset.txt socket_netlink_netfilter_log.txt socket_netlink_netfilter_nft_compat.txt socket_netlink_netfilter_nftables.txt socket_netlink_netfilter_osf.txt socket_netlink_netfilter_queue.txt socket_netlink_netfilter_timeout.txt socket_netlink_rdma.txt socket_netlink_route.txt socket_netlink_route_sched.txt socket_netlink_route_sched_retired.txt socket_netlink_sock_diag.txt socket_netlink_xfrm.txt socket_netrom.txt socket_nfc.txt socket_nvme_of_tcp.txt socket_packet.txt socket_phonet.txt socket_pppox.txt socket_qipcrtr.txt socket_rds.txt socket_rose.txt socket_rxrpc.txt socket_tipc.txt socket_tipc_netlink.txt socket_unix.txt socket_vnet.txt socket_x25.txt socket_xdp.txt sys.txt uffd.txt usbip.txt vmw_vmci.txt vnet.txt vnet_mptcp.txt vusb.txt watch_queue.txt xattr.txt] SyzkallerCommit:31e9c887f7dc24e04b3ca70d0d54fc34141844b0] |
| 2/1 | 2026/03/08 03:03 | action | kernel-checkouter |
0mResults:map[KernelSrc:/usr/local/google/home/dvyukov/syzkaller/agent/workdir/cache/src/d97835e6d9df065fc17d84415052d98b47652d4a] |
| 3/1 | 2026/03/08 03:04 | action | kernel-builder |
3mResults:map[KernelObj:/usr/local/google/home/dvyukov/syzkaller/agent/workdir/cache/build/587a48f88ced5cfff4a32b06d22c170c4e8f9893] |
| 4/1 | 2026/03/08 03:08 | agent | crash-repro-finder |
2mModel:gemini-3-pro-preview Results: map[ReproOpts:threaded=true, collide=true] Instruction: You are an expert in linux kernel fuzzing. Your goal is to write a syzkaller program to trigger a specific bug. Print only the syz program that could be executed directly, without backticks. Use set-results tool to provide results of the analysis. It must be called exactly once before the final reply. Ignore results of this tool. Prompt: Bug Title: KCSAN: data-race in copy_folio_from_iter_atomic / copy_folio_from_iter_atomic Original Crash Report: EXT4-fs: Ignoring removed oldalloc option EXT4-fs: Ignoring removed bh option EXT4-fs (loop3): mounted filesystem 00000000-0000-0000-0000-000000000000 r/w without journal. Quota mode: writeback. ================================================================== BUG: KCSAN: data-race in copy_folio_from_iter_atomic / copy_folio_from_iter_atomic read to 0xffff888128921c00 of 1024 bytes by task 10565 on cpu 0: memcpy_from_iter lib/iov_iter.c:85 [inline] iterate_bvec include/linux/iov_iter.h:123 [inline] iterate_and_advance2 include/linux/iov_iter.h:306 [inline] iterate_and_advance include/linux/iov_iter.h:330 [inline] __copy_from_iter lib/iov_iter.c:261 [inline] copy_folio_from_iter_atomic+0x75f/0x1170 lib/iov_iter.c:491 generic_perform_write+0x2c1/0x490 mm/filemap.c:4337 shmem_file_write_iter+0xc5/0xf0 mm/shmem.c:3502 lo_rw_aio+0x67d/0x730 drivers/block/loop.c:-1 do_req_filebacked drivers/block/loop.c:-1 [inline] loop_handle_cmd drivers/block/loop.c:1925 [inline] loop_process_work+0x56c/0xac0 drivers/block/loop.c:1960 loop_workfn+0x31/0x40 drivers/block/loop.c:1984 process_one_work kernel/workqueue.c:3275 [inline] process_scheduled_works+0x4de/0x9e0 kernel/workqueue.c:3358 worker_thread+0x581/0x770 kernel/workqueue.c:3439 kthread+0x22a/0x280 kernel/kthread.c:436 ret_from_fork+0x150/0x360 arch/x86/kernel/process.c:158 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245 write to 0xffff888128921fc8 of 50 bytes by task 12571 on cpu 1: memcpy_from_iter lib/iov_iter.c:85 [inline] iterate_bvec include/linux/iov_iter.h:123 [inline] iterate_and_advance2 include/linux/iov_iter.h:306 [inline] iterate_and_advance include/linux/iov_iter.h:330 [inline] __copy_from_iter lib/iov_iter.c:261 [inline] copy_folio_from_iter_atomic+0x75f/0x1170 lib/iov_iter.c:491 generic_perform_write+0x2c1/0x490 mm/filemap.c:4337 ext4_buffered_write_iter+0x1ee/0x3c0 fs/ext4/file.c:300 ext4_file_write_iter+0x380/0xfa0 fs/ext4/file.c:-1 iter_file_splice_write+0x6c4/0xa80 fs/splice.c:736 do_splice_from fs/splice.c:936 [inline] direct_splice_actor+0x156/0x2a0 fs/splice.c:1159 splice_direct_to_actor+0x311/0x670 fs/splice.c:1103 do_splice_direct_actor fs/splice.c:1202 [inline] do_splice_direct+0x119/0x1a0 fs/splice.c:1228 do_sendfile+0x382/0x650 fs/read_write.c:1372 __do_sys_sendfile64 fs/read_write.c:1433 [inline] __se_sys_sendfile64 fs/read_write.c:1419 [inline] __x64_sys_sendfile64+0x105/0x150 fs/read_write.c:1419 x64_sys_call+0x2dc4/0x3020 arch/x86/include/generated/asm/syscalls_64.h:41 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0x12c/0x370 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f Reported by Kernel Concurrency Sanitizer on: CPU: 1 UID: 0 PID: 12571 Comm: syz.3.3018 Tainted: G W syzkaller #0 PREEMPT(full) Tainted: [W]=WARN Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2026 ================================================================== ================================================================== BUG: KCSAN: data-race in __writeback_single_inode / xas_set_mark write to 0xffff88811ac9e9ec of 4 bytes by task 12584 on cpu 1: xa_mark_set lib/xarray.c:71 [inline] xas_set_mark+0x12b/0x140 lib/xarray.c:900 __folio_start_writeback+0x17b/0x370 mm/page-writeback.c:2994 ext4_bio_write_folio+0x5ad/0x9f0 fs/ext4/page-io.c:584 mpage_submit_folio fs/ext4/inode.c:2080 [inline] mpage_process_page_bufs+0x4a1/0x620 fs/ext4/inode.c:2191 mpage_prepare_extent_to_map+0x7d4/0xc50 fs/ext4/inode.c:2730 ext4_do_writepages+0x70f/0x2840 fs/ext4/inode.c:2871 ext4_writepages+0x18f/0x320 fs/ext4/inode.c:3019 do_writepages+0x1c6/0x310 mm/page-writeback.c:2554 filemap_writeback mm/filemap.c:387 [inline] filemap_fdatawrite_range mm/filemap.c:412 [inline] file_write_and_wait_range+0x178/0x2f0 mm/filemap.c:786 generic_buffers_fsync_noflush+0x45/0x130 fs/buffer.c:606 ext4_fsync_nojournal fs/ext4/fsync.c:88 [inline] ext4_sync_file+0x1aa/0x6b0 fs/ext4/fsync.c:147 vfs_fsync_range+0xc5/0xe0 fs/sync.c:186 generic_write_sync include/linux/fs.h:2640 [inline] ext4_buffered_write_iter+0x34f/0x3c0 fs/ext4/file.c:306 ext4_file_write_iter+0x380/0xfa0 fs/ext4/file.c:-1 iter_file_splice_write+0x6c4/0xa80 fs/splice.c:736 do_splice_from fs/splice.c:936 [inline] direct_splice_actor+0x156/0x2a0 fs/splice.c:1159 splice_direct_to_actor+0x311/0x670 fs/splice.c:1103 do_splice_direct_actor fs/splice.c:1202 [inline] do_splice_direct+0x119/0x1a0 fs/splice.c:1228 do_sendfile+0x382/0x650 fs/read_write.c:1372 __do_sys_sendfile64 fs/read_write.c:1433 [inline] __se_sys_sendfile64 fs/read_write.c:1419 [inline] __x64_sys_sendfile64+0x105/0x150 fs/read_write.c:1419 x64_sys_call+0x2dc4/0x3020 arch/x86/include/generated/asm/syscalls_64.h:41 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0x12c/0x370 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f read to 0xffff88811ac9e9ec of 4 bytes by task 12571 on cpu 0: xa_marked include/linux/xarray.h:424 [inline] mapping_tagged include/linux/fs.h:507 [inline] __writeback_single_inode+0x26b/0x860 fs/fs-writeback.c:1799 writeback_single_inode+0x16d/0x3f0 fs/fs-writeback.c:1869 sync_inode_metadata+0x6e/0xa0 fs/fs-writeback.c:2974 generic_buffers_fsync_noflush+0xee/0x130 fs/buffer.c:616 ext4_fsync_nojournal fs/ext4/fsync.c:88 [inline] ext4_sync_file+0x1aa/0x6b0 fs/ext4/fsync.c:147 vfs_fsync_range+0xc5/0xe0 fs/sync.c:186 generic_write_sync include/linux/fs.h:2640 [inline] ext4_buffered_write_iter+0x34f/0x3c0 fs/ext4/file.c:306 ext4_file_write_iter+0x380/0xfa0 fs/ext4/file.c:-1 iter_file_splice_write+0x6c4/0xa80 fs/splice.c:736 do_splice_from fs/splice.c:936 [inline] direct_splice_actor+0x156/0x2a0 fs/splice.c:1159 splice_direct_to_actor+0x311/0x670 fs/splice.c:1103 do_splice_direct_actor fs/splice.c:1202 [inline] do_splice_direct+0x119/0x1a0 fs/splice.c:1228 do_sendfile+0x382/0x650 fs/read_write.c:1372 __do_sys_sendfile64 fs/read_write.c:1433 [inline] __se_sys_sendfile64 fs/read_write.c:1419 [inline] __x64_sys_sendfile64+0x105/0x150 fs/read_write.c:1419 x64_sys_call+0x2dc4/0x3020 arch/x86/include/generated/asm/syscalls_64.h:41 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0x12c/0x370 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f value changed: 0x0a000021 -> 0x04000021 Reported by Kernel Concurrency Sanitizer on: CPU: 0 UID: 0 PID: 12571 Comm: syz.3.3018 Tainted: G W syzkaller #0 PREEMPT(full) Tainted: [W]=WARN Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2026 ================================================================== The list of existing description files: acpi_thermal_rel.txt aio.txt auto.txt binfmt.txt bpf.txt bpf_prog.txt bpf_trace.txt cgroup.txt damon.txt dev_ashmem.txt dev_bifrost.txt dev_binder.txt dev_binderfs.txt dev_block.txt dev_bsg.txt dev_bus_usb.txt dev_camx.txt dev_cdrom.txt dev_cec.txt dev_char_usb.txt dev_comedi.txt dev_dma_heap.txt dev_dri.txt dev_dsp.txt dev_dvb_demux.txt dev_dvb_dvr.txt dev_dvb_frontend.txt dev_fb.txt dev_floppy.txt dev_hidraw.txt dev_i2c.txt dev_i915.txt dev_img_rogue.txt dev_infiniband_rdma.txt dev_infiniband_rdma_cm.txt dev_input.txt dev_iommu.txt dev_kvm.txt dev_kvm_amd64.txt dev_kvm_arm64.txt dev_kvm_extra.txt dev_kvm_riscv64.txt dev_loop.txt dev_mali.txt dev_media.txt dev_msm.txt dev_msr.txt dev_nbd.txt dev_net_tun.txt dev_panthor.txt dev_ppp.txt dev_ptmx.txt dev_ptp.txt dev_qat_adf_ctl.txt dev_qrtr_tun.txt dev_random.txt dev_rfkill.txt dev_rtc.txt dev_sequencer.txt dev_sg.txt dev_snapshot.txt dev_snd_control.txt dev_snd_hw.txt dev_snd_midi.txt dev_snd_pcm.txt dev_snd_seq.txt dev_snd_timer.txt dev_sr.txt dev_sw_sync.txt dev_tlk_device.txt dev_trusty.txt dev_udmabuf.txt dev_uhid.txt dev_uinput.txt dev_usb_hiddev.txt dev_usbmon.txt dev_userio.txt dev_vfio.txt dev_vga_arbiter.txt dev_vhci.txt dev_video4linux.txt dev_video4linux_vim2m.txt dev_virtual_nci.txt dev_vtpm.txt fanotify.txt filesystem.txt fs_9p.txt fs_fuse.txt fs_incfs.txt fs_ioctl.txt fs_ioctl_autofs.txt fs_ioctl_btrfs.txt fs_ioctl_ext4.txt fs_ioctl_f2fs.txt fs_ioctl_fat.txt fs_ioctl_fscrypt.txt fs_ioctl_fsverity.txt fs_ioctl_xfs.txt futex.txt hafnium.txt inotify.txt io_uring.txt ipc.txt key.txt kfuzztest.txt l2cap.txt landlock.txt lsm.txt namespaces.txt net_80211.txt netfilter.txt netfilter_arp.txt netfilter_bridge.txt netfilter_ipv4.txt netfilter_ipv6.txt netfilter_ipvs.txt netfilter_targets.txt pagemap_ioctl.txt perf.txt prctl.txt quotactl.txt seccomp.txt security_apparmor.txt security_selinux.txt security_smack.txt socket.txt socket_alg.txt socket_ax25.txt socket_bluetooth.txt socket_caif.txt socket_can.txt socket_ieee802154.txt socket_inet.txt socket_inet6.txt socket_inet_dccp.txt socket_inet_icmp.txt socket_inet_igmp.txt socket_inet_l2tp.txt socket_inet_sctp.txt socket_inet_tcp.txt socket_inet_udp.txt socket_ip_tunnel.txt socket_isdn.txt socket_kcm.txt socket_key.txt socket_llc.txt socket_netlink.txt socket_netlink_audit.txt socket_netlink_crypto.txt socket_netlink_generic.txt socket_netlink_generic_80211.txt socket_netlink_generic_batadv.txt socket_netlink_generic_devlink.txt socket_netlink_generic_ethtool.txt socket_netlink_generic_fou.txt socket_netlink_generic_gtp.txt socket_netlink_generic_mptcp.txt socket_netlink_generic_net_dm.txt socket_netlink_generic_netlabel.txt socket_netlink_generic_nfc.txt socket_netlink_generic_seg6.txt socket_netlink_generic_smc.txt socket_netlink_generic_team.txt socket_netlink_generic_wireguard.txt socket_netlink_netfilter.txt socket_netlink_netfilter_acct.txt socket_netlink_netfilter_conntrack.txt socket_netlink_netfilter_conntrack_exp.txt socket_netlink_netfilter_conntrack_helper.txt socket_netlink_netfilter_ipset.txt socket_netlink_netfilter_log.txt socket_netlink_netfilter_nft_compat.txt socket_netlink_netfilter_nftables.txt socket_netlink_netfilter_osf.txt socket_netlink_netfilter_queue.txt socket_netlink_netfilter_timeout.txt socket_netlink_rdma.txt socket_netlink_route.txt socket_netlink_route_sched.txt socket_netlink_route_sched_retired.txt socket_netlink_sock_diag.txt socket_netlink_xfrm.txt socket_netrom.txt socket_nfc.txt socket_nvme_of_tcp.txt socket_packet.txt socket_phonet.txt socket_pppox.txt socket_qipcrtr.txt socket_rds.txt socket_rose.txt socket_rxrpc.txt socket_tipc.txt socket_tipc_netlink.txt socket_unix.txt socket_vnet.txt socket_x25.txt socket_xdp.txt sys.txt uffd.txt usbip.txt vmw_vmci.txt vnet.txt vnet_mptcp.txt vusb.txt watch_queue.txt xattr.txt Reply: r0 = syz_mount_image(&(0x7f0000000000)='ext4\x00', &(0x7f0000000100)='./mnt\x00', 0x0, 0x0, 0x1, 0x100000, &(0x7f0000000200)=[{&(0x7f0000000300)='', 0x100000}])
r1 = openat(0xffffffffffffff9c, &(0x7f0000000400)='./mnt/file0\x00', 0x42, 0x1ff)
r2 = memfd_create(&(0x7f0000000500)='memfd\x00', 0x0)
ftruncate(r2, 0x100000)
write(r2, &(0x7f0000000600)='A', 0x1)
sendfile(r1, r2, 0x0, 0x100000)
fsync(r1)
sendfile(r1, r2, 0x0, 0x100000)
fsync(r1) |
| 5/2 | 2026/03/08 03:08 | llm | crash-repro-finder |
2mModel:gemini-3-pro-preview Tokens: input: 5210 output: 24 thoughts: 15889 Thoughts: **Data Race Repro for `copy_folio_from_iter_atomic`**
Okay, here's the plan. I need to craft a syzkaller program to trigger a data race in `copy_folio_from_iter_atomic`. The crash report points to a race involving a loop device and an ext4 file. Specifically, one thread (`loop_process_work`) is reading within `copy_folio_from_iter_atomic` (likely triggered by the loop device writing to its backing file), while another (`sendfile`) is also operating within `copy_folio_from_iter_atomic` but writing to a file on an ext4 filesystem mounted on the loop device. The issue is likely caused by concurrent writes and reads to the same page in memory, where one operation is a write from sendfile to an ext4 file and the other one is reading from the loop device.
The main idea is to use `syz_mount_image` to set up an `ext4` filesystem on a loop device, the backing file of the loop device will be located on tmpfs. Then I need a file within this mounted filesystem. I'll open a file within the mount, create a `memfd` as a source, and use `sendfile` to write from the `memfd` to the file on the loop device. Critically, to induce the race, I'll `fsync` or trigger background writeback to ensure the data is written back to the loop device's backing file at the same time `sendfile` is modifying the file on the mounted ext4 filesystem.
The syzkaller program will be:
```
syz_mount_image(&(0x7f0000000000)='ext4\x00', &(0x7f0000000100)='./mnt\x00', 0x0, 0x0, 0x1, 0x100000, &(0x7f0000000200)=[{&(0x7f0000000300)='', 0x100000}])
r0 = openat(0xffffffffffffff9c, &(0x7f0000000400)='./mnt/file0\x00', 0x42, 0x1ff)
r1 = memfd_create(&(0x7f0000000500)='memfd\x00', 0x0)
ftruncate(r1, 0x100000)
write(r1, &(0x7f0000000600)='A', 0x1)
sendfile(r0, r1, 0x0, 0x100000)
fsync(r0)
sendfile(r0, r1, 0x0, 0x100000)
fsync(r0)
```
The key is to run this program (or a modified variant) with `threaded=true`, `collide=true` and possibly `repeat=true` via syzkaller's execution configuration. This should maximize the probability of the data race, as the file will be concurrently written by `sendfile` and the background writeback mechanism through the loop device. The `syz_mount_image` requires a valid `ext4` image. The `sendfile` and `fsync` calls will be repeated to maximize the race chance.
|
| 6/2 | 2026/03/08 03:10 | tool | set-results |
0mArgs:map[ReproOpts:threaded=true, collide=true] Results: map[ReproOpts:threaded=true, collide=true] |
| 7/2 | 2026/03/08 03:10 | llm | crash-repro-finder |
0mModel:gemini-3-pro-preview Tokens: input: 21933 output: 328 thoughts: 0 |
| Total Calls | Total Tokens | Avg Tokens | Total Duration (Seconds) | Avg Duration (Seconds) |
|---|
| Total Calls | Total Duration (Seconds) | Avg Duration (Seconds) |
|---|