syzbot


KCSAN: data-race in next_uptodate_page / truncate_setsize (2)

Status: auto-obsoleted due to no activity on 2023/03/22 15:30
Subsystems: kernel
[Documentation on labels]
First crash: 720d, last: 720d
Similar bugs (1)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream KCSAN: data-race in next_uptodate_page / truncate_setsize exfat 1 1114d 1114d 0/28 auto-closed as invalid on 2022/02/15 03:51

Sample crash report:
==================================================================
BUG: KCSAN: data-race in next_uptodate_page / truncate_setsize

read-write to 0xffff88813488b768 of 8 bytes by task 16898 on cpu 0:
 truncate_setsize+0x21/0xb0
 fat_setattr+0x8ea/0xa00
 notify_change+0x9f6/0xb10
 do_truncate+0x116/0x150
 vfs_truncate+0x1e4/0x230
 do_sys_truncate+0x98/0x130
 __x64_sys_truncate+0x31/0x40
 do_syscall_64+0x41/0xc0
 entry_SYSCALL_64_after_hwframe+0x63/0xcd

read to 0xffff88813488b768 of 8 bytes by task 16882 on cpu 1:
 next_uptodate_page+0x47b/0x560
 filemap_map_pages+0x722/0x830
 handle_mm_fault+0x1044/0x24d0
 __get_user_pages+0x353/0xc60
 __mm_populate+0x23a/0x360
 vm_mmap_pgoff+0x174/0x210
 ksys_mmap_pgoff+0x2ac/0x320
 do_syscall_64+0x41/0xc0
 entry_SYSCALL_64_after_hwframe+0x63/0xcd

value changed: 0x000000000003fff7 -> 0x0000000000000000

Reported by Kernel Concurrency Sanitizer on:
CPU: 1 PID: 16882 Comm: syz-executor.4 Tainted: G        W          6.2.0-rc7-syzkaller-00018-g0983f6bf2bfc-dirty #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/12/2023
==================================================================

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/02/08 15:25 upstream 0983f6bf2bfc fc9c934e .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in next_uptodate_page / truncate_setsize
* Struck through repros no longer work on HEAD.