syzbot


KCSAN: data-race in next_uptodate_page / shmem_write_end (5)

Status: auto-obsoleted due to no activity on 2023/09/26 18:47
Subsystems: mm
[Documentation on labels]
First crash: 590d, last: 518d
Similar bugs (4)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream KCSAN: data-race in next_uptodate_page / shmem_write_end mm 17 1375d 1424d 0/28 auto-closed as invalid on 2021/05/29 18:32
upstream KCSAN: data-race in next_uptodate_page / shmem_write_end (4) mm 3 638d 654d 0/28 auto-obsoleted due to no activity on 2023/06/05 21:51
upstream KCSAN: data-race in next_uptodate_page / shmem_write_end (2) mm 20 1188d 1322d 0/28 auto-closed as invalid on 2021/12/02 06:35
upstream KCSAN: data-race in next_uptodate_page / shmem_write_end (3) mm 110 700d 1116d 0/28 auto-obsoleted due to no activity on 2023/04/08 11:16

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

write to 0xffff888124b6c710 of 8 bytes by task 5114 on cpu 0:
 i_size_write include/linux/fs.h:932 [inline]
 shmem_write_end+0x9a/0x4a0 mm/shmem.c:2713
 generic_perform_write+0x26d/0x410 mm/filemap.c:3939
 shmem_file_write_iter+0xc8/0xe0 mm/shmem.c:2865
 call_write_iter include/linux/fs.h:1985 [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 0xffff888124b6c710 of 8 bytes by task 5119 on cpu 1:
 i_size_read include/linux/fs.h:910 [inline]
 next_uptodate_page+0x47b/0x560 mm/filemap.c:3470
 next_map_page mm/filemap.c:3495 [inline]
 filemap_map_pages+0x6df/0x890 mm/filemap.c:3572
 do_fault_around mm/memory.c:4510 [inline]
 do_read_fault mm/memory.c:4542 [inline]
 do_fault mm/memory.c:4670 [inline]
 do_pte_missing mm/memory.c:3664 [inline]
 handle_pte_fault mm/memory.c:4939 [inline]
 __handle_mm_fault mm/memory.c:5079 [inline]
 handle_mm_fault+0x104d/0x2c10 mm/memory.c:5233
 faultin_page mm/gup.c:963 [inline]
 __get_user_pages+0x42e/0xd20 mm/gup.c:1262
 populate_vma_page_range mm/gup.c:1653 [inline]
 __mm_populate+0x23b/0x360 mm/gup.c:1762
 mm_populate include/linux/mm.h:3213 [inline]
 vm_mmap_pgoff+0x1a3/0x240 mm/util.c:548
 ksys_mmap_pgoff+0x2b8/0x330 mm/mmap.c:1409
 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: 0x000000000062c000 -> 0x000000000062f000

Reported by Kernel Concurrency Sanitizer on:
CPU: 1 PID: 5119 Comm: syz-executor.5 Not tainted 6.5.0-syzkaller-01810-gf97e18a3f2fb #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/26/2023
==================================================================

Crashes (60):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/08/29 18:44 upstream f97e18a3f2fb ce731e62 .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in next_uptodate_page / shmem_write_end
2023/08/29 14:25 upstream 1c59d383390f 7ba13a15 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in next_uptodate_page / shmem_write_end
2023/08/27 10:59 upstream 28f20a19294d 7ba13a15 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in next_uptodate_page / shmem_write_end
2023/08/26 06:14 upstream 382d4cd18475 7ba13a15 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in next_uptodate_page / shmem_write_end
2023/08/25 23:07 upstream 382d4cd18475 03d9c195 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in next_uptodate_page / shmem_write_end
2023/08/25 10:10 upstream 4f9e7fabf864 03d9c195 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in next_uptodate_page / shmem_write_end
2023/08/24 03:34 upstream a5e505a99ca7 4d7ae7ab .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in next_uptodate_page / shmem_write_end
2023/08/23 22:16 upstream a5e505a99ca7 b81ca3f6 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in next_uptodate_page / shmem_write_end
2023/08/23 08:52 upstream 89bf6209cad6 b81ca3f6 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in next_uptodate_page / shmem_write_end
2023/08/22 19:03 upstream 53663f4103ff b81ca3f6 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in next_uptodate_page / shmem_write_end
2023/08/21 17:52 upstream f7757129e3de 6b415825 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in next_uptodate_page / shmem_write_end
2023/08/21 06:35 upstream f7757129e3de d216d8a0 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in next_uptodate_page / shmem_write_end
2023/08/20 17:14 upstream 706a74159504 d216d8a0 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in next_uptodate_page / shmem_write_end
2023/08/20 03:53 upstream 9e6c269de404 d216d8a0 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in next_uptodate_page / shmem_write_end
2023/08/19 14:02 upstream aa9ea98cca3a d216d8a0 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in next_uptodate_page / shmem_write_end
2023/08/18 11:19 upstream 0e8860d2125f acb1ba71 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in next_uptodate_page / shmem_write_end
2023/08/18 06:43 upstream 0e8860d2125f 74b106b6 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in next_uptodate_page / shmem_write_end
2023/08/17 16:02 upstream 16931859a650 74b106b6 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in next_uptodate_page / shmem_write_end
2023/08/16 22:36 upstream 4853c74bd7ab 74b106b6 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in next_uptodate_page / shmem_write_end
2023/08/15 08:01 upstream 91aa6c412d7f 39990d51 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in next_uptodate_page / shmem_write_end
2023/08/14 01:37 upstream 2ccdd1b13c59 39990d51 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in next_uptodate_page / shmem_write_end
2023/08/12 21:51 upstream ae545c3283dc 39990d51 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in next_uptodate_page / shmem_write_end
2023/08/10 08:25 upstream cacc6e22932f 13ca4cd6 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in next_uptodate_page / shmem_write_end
2023/08/09 01:58 upstream 13b937206866 9552ae77 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in next_uptodate_page / shmem_write_end
2023/08/08 08:30 upstream 14f9643dc90a b1b6ae3d .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in next_uptodate_page / shmem_write_end
2023/08/07 10:46 upstream 52a93d39b17d 0ef3dfda .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in next_uptodate_page / shmem_write_end
2023/08/07 06:21 upstream 52a93d39b17d 4ffcc9ef .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in next_uptodate_page / shmem_write_end
2023/08/06 16:32 upstream f0ab9f34e59e 4ffcc9ef .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in next_uptodate_page / shmem_write_end
2023/08/04 16:23 upstream c1a515d3c027 cdae481e .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in next_uptodate_page / shmem_write_end
2023/08/02 20:57 upstream 4b954598a47b b178af49 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in next_uptodate_page / shmem_write_end
2023/08/02 10:37 upstream 5d0c230f1de8 df07ffe8 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in next_uptodate_page / shmem_write_end
2023/07/28 06:04 upstream 57012c57536f 92476829 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in next_uptodate_page / shmem_write_end
2023/07/27 13:43 upstream 0a8db05b571a 92476829 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in next_uptodate_page / shmem_write_end
2023/07/26 18:15 upstream 18b44bc5a672 41fe1bae .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in next_uptodate_page / shmem_write_end
2023/07/25 08:23 upstream 20ea1e7d13c1 b03242d7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in next_uptodate_page / shmem_write_end
2023/07/21 22:23 upstream f7e3a1bafdea abdf9bae .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in next_uptodate_page / shmem_write_end
2023/07/21 01:35 upstream 46670259519f f49af159 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in next_uptodate_page / shmem_write_end
2023/07/19 21:42 upstream bfa3037d8280 4547cdf9 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in next_uptodate_page / shmem_write_end
2023/07/17 13:45 upstream fdf0eaf11452 20f8b3c2 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in next_uptodate_page / shmem_write_end
2023/07/16 21:16 upstream 20edcec23f92 35d9ecc5 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in next_uptodate_page / shmem_write_end
2023/07/16 08:04 upstream 831fe284d827 35d9ecc5 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in next_uptodate_page / shmem_write_end
2023/07/13 20:27 upstream eb26cbb1a754 55eda22f .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in next_uptodate_page / shmem_write_end
2023/07/08 00:47 upstream 5133c9e51de4 668cb1fa .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in next_uptodate_page / shmem_write_end
2023/07/07 03:25 upstream a452483508d7 22ae5830 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in next_uptodate_page / shmem_write_end
2023/07/06 13:32 upstream c17414a273b8 1a2f6297 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in next_uptodate_page / shmem_write_end
2023/07/04 11:34 upstream 24be4d0b46bb 6e553898 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in next_uptodate_page / shmem_write_end
2023/07/03 19:53 upstream 99bdeae21d25 6e553898 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in next_uptodate_page / shmem_write_end
2023/06/30 16:05 upstream e55e5df193d2 af3053d2 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in next_uptodate_page / shmem_write_end
2023/06/30 13:11 upstream c6b0271053e7 01298212 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in next_uptodate_page / shmem_write_end
2023/06/29 10:17 upstream 3a8a670eeeaa 134ddc02 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in next_uptodate_page / shmem_write_end
2023/06/28 18:36 upstream 6aeadf7896bf ca69c785 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in next_uptodate_page / shmem_write_end
2023/06/26 15:39 upstream 6995e2de6891 4cd5bb25 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in next_uptodate_page / shmem_write_end
2023/06/26 09:42 upstream 6995e2de6891 79782afc .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in next_uptodate_page / shmem_write_end
2023/06/21 13:04 upstream e660abd551f1 79782afc .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in next_uptodate_page / shmem_write_end
2023/06/20 21:14 upstream 99ec1ed7c2ed 79782afc .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in next_uptodate_page / shmem_write_end
2023/06/20 19:43 upstream 99ec1ed7c2ed 09ffe269 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in next_uptodate_page / shmem_write_end
2023/06/20 00:59 upstream 692b7dc87ca6 09ffe269 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in next_uptodate_page / shmem_write_end
2023/06/19 14:14 upstream 45a3e24f65e9 d521bc56 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in next_uptodate_page / shmem_write_end
2023/06/18 08:40 upstream 1b29d271614a f3921d4d .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in next_uptodate_page / shmem_write_end
* Struck through repros no longer work on HEAD.