syzbot |
sign-in | mailing list | source | docs |
================================================================== BUG: KCSAN: data-race in check_xattrs / copy_page_from_iter_atomic write to 0xffff888140289000 of 4096 bytes by task 11194 on cpu 0: instrument_copy_from_user_before include/linux/instrumented.h:130 [inline] copyin lib/iov_iter.c:192 [inline] copy_page_from_iter_atomic+0x292/0xcf0 lib/iov_iter.c:581 generic_perform_write+0x212/0x410 mm/filemap.c:3931 __generic_file_write_iter+0xa1/0x120 mm/filemap.c:4018 blkdev_write_iter+0x256/0x3c0 block/fops.c:573 call_write_iter include/linux/fs.h:1877 [inline] new_sync_write fs/read_write.c:491 [inline] vfs_write+0x4ab/0x7d0 fs/read_write.c:584 ksys_write+0xeb/0x1a0 fs/read_write.c:637 __do_sys_write fs/read_write.c:649 [inline] __se_sys_write fs/read_write.c:646 [inline] __x64_sys_write+0x42/0x50 fs/read_write.c:646 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x41/0xc0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd read to 0xffff8881402896bc of 4 bytes by task 11202 on cpu 1: check_xattrs+0x1ac/0x770 fs/ext4/xattr.c:227 __xattr_check_inode fs/ext4/xattr.c:315 [inline] ext4_xattr_ibody_find+0x1a6/0x390 fs/ext4/xattr.c:2263 ext4_find_inline_data_nolock+0xb9/0x1f0 fs/ext4/inline.c:157 ext4_write_inline_data_end+0x1a2/0x7b0 fs/ext4/inline.c:771 ext4_write_end+0x3f6/0x820 fs/ext4/inode.c:1274 ext4_da_write_end+0xac/0x700 fs/ext4/inode.c:2952 generic_perform_write+0x26d/0x410 mm/filemap.c:3934 ext4_buffered_write_iter+0x1f6/0x370 fs/ext4/file.c:299 ext4_file_write_iter+0x283/0x1230 call_write_iter include/linux/fs.h:1877 [inline] new_sync_write fs/read_write.c:491 [inline] vfs_write+0x4ab/0x7d0 fs/read_write.c:584 ksys_write+0xeb/0x1a0 fs/read_write.c:637 __do_sys_write fs/read_write.c:649 [inline] __se_sys_write fs/read_write.c:646 [inline] __x64_sys_write+0x42/0x50 fs/read_write.c:646 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x41/0xc0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd value changed: 0x00000704 -> 0x00000000 Reported by Kernel Concurrency Sanitizer on: CPU: 1 PID: 11202 Comm: syz-executor.2 Not tainted 6.5.0-rc6-syzkaller-00030-gd4f8e13b0614 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/26/2023 ================================================================== EXT4-fs error (device loop2): __ext4_get_inode_loc:4345: comm syz-executor.2: Invalid inode table block 0 in block_group 0 EXT4-fs error (device loop2) in ext4_reserve_inode_write:5718: Corrupt filesystem EXT4-fs error (device loop2): ext4_dirty_inode:5922: inode #18: comm syz-executor.2: mark_inode_dirty error
Time | Kernel | Commit | Syzkaller | Config | Log | Report | Syz repro | C repro | VM info | Assets (help?) | Manager | Title |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2023/08/16 04:34 | upstream | d4f8e13b0614 | 39990d51 | .config | console log | report | info | [disk image] [vmlinux] [kernel image] | ci2-upstream-kcsan-gce | KCSAN: data-race in check_xattrs / copy_page_from_iter_atomic |