syzbot


KCSAN: data-race in next_uptodate_folio / shmem_write_end

Status: auto-obsoleted due to no activity on 2024/03/31 19:37
Subsystems: mm
[Documentation on labels]
Reported-by: syzbot+92075be90d0a2f5b0265@syzkaller.appspotmail.com
First crash: 479d, last: 294d

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

write to 0xffff88813911a9f0 of 8 bytes by task 24866 on cpu 1:
 i_size_write include/linux/fs.h:934 [inline]
 shmem_write_end+0x9a/0x470 mm/shmem.c:2741
 generic_perform_write+0x267/0x410 mm/filemap.c:3941
 shmem_file_write_iter+0xc8/0xe0 mm/shmem.c:2893
 call_write_iter include/linux/fs.h:2087 [inline]
 new_sync_write fs/read_write.c:497 [inline]
 vfs_write+0x760/0x8d0 fs/read_write.c:590
 ksys_write+0xeb/0x1a0 fs/read_write.c:643
 __do_sys_write fs/read_write.c:655 [inline]
 __se_sys_write fs/read_write.c:652 [inline]
 __x64_sys_write+0x42/0x50 fs/read_write.c:652
 do_syscall_x64 arch/x86/entry/common.c:52 [inline]
 do_syscall_64+0xcd/0x1d0 arch/x86/entry/common.c:83
 entry_SYSCALL_64_after_hwframe+0x63/0x6b

read to 0xffff88813911a9f0 of 8 bytes by task 24885 on cpu 0:
 i_size_read include/linux/fs.h:912 [inline]
 next_uptodate_folio+0x5c9/0x7a0 mm/filemap.c:3420
 filemap_map_pages+0x708/0x900 mm/filemap.c:3568
 do_fault_around mm/memory.c:4716 [inline]
 do_read_fault mm/memory.c:4749 [inline]
 do_fault mm/memory.c:4888 [inline]
 do_pte_missing mm/memory.c:3745 [inline]
 handle_pte_fault mm/memory.c:5164 [inline]
 __handle_mm_fault mm/memory.c:5305 [inline]
 handle_mm_fault+0x1063/0x27c0 mm/memory.c:5470
 faultin_page mm/gup.c:958 [inline]
 __get_user_pages+0x402/0xe40 mm/gup.c:1241
 populate_vma_page_range mm/gup.c:1679 [inline]
 __mm_populate+0x216/0x330 mm/gup.c:1788
 mm_populate include/linux/mm.h:3391 [inline]
 vm_mmap_pgoff+0x1a7/0x240 mm/util.c:561
 ksys_mmap_pgoff+0x2b8/0x330 mm/mmap.c:1425
 do_syscall_x64 arch/x86/entry/common.c:52 [inline]
 do_syscall_64+0xcd/0x1d0 arch/x86/entry/common.c:83
 entry_SYSCALL_64_after_hwframe+0x63/0x6b

value changed: 0x0000000000a22000 -> 0x0000000000a2b000

Reported by Kernel Concurrency Sanitizer on:
CPU: 0 PID: 24885 Comm: syz-executor.2 Not tainted 6.8.0-rc6-syzkaller-00194-g17ba56605bfd #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/25/2024
==================================================================

Crashes (88):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/03/02 10:36 upstream 17ba56605bfd 25905f5d .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in next_uptodate_folio / shmem_write_end
2024/02/21 19:17 upstream 39133352cbed 345111b5 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in next_uptodate_folio / shmem_write_end
2024/02/07 22:59 upstream 547ab8fc4cb0 6404acf9 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in next_uptodate_folio / shmem_write_end
2024/02/07 02:11 upstream 99bd3cb0d12e 6404acf9 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in next_uptodate_folio / shmem_write_end
2024/02/04 02:30 upstream b555d191561a a67b2c42 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in next_uptodate_folio / shmem_write_end
2024/01/24 06:40 upstream 615d30064886 1e153dc8 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in next_uptodate_folio / shmem_write_end
2024/01/17 23:24 upstream 1b1934dbbdcf 915053c7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in next_uptodate_folio / shmem_write_end
2024/01/15 23:09 upstream 052d534373b7 2a7bcc7f .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in next_uptodate_folio / shmem_write_end
2024/01/14 05:42 upstream 052d534373b7 551587c1 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in next_uptodate_folio / shmem_write_end
2024/01/11 04:31 upstream de927f6c0b07 04815ef1 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in next_uptodate_folio / shmem_write_end
2024/01/06 12:06 upstream 95c8a35f1c01 d0304e9c .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in next_uptodate_folio / shmem_write_end
2024/01/05 10:40 upstream 1f874787ed9a 28c42cff .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in next_uptodate_folio / shmem_write_end
2024/01/03 23:12 upstream ac865f00af29 28c42cff .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in next_uptodate_folio / shmem_write_end
2023/12/24 10:31 upstream 861deac3b092 fb427a07 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in next_uptodate_folio / shmem_write_end
2023/12/20 16:05 upstream 55cb5f43689d de21eb89 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in next_uptodate_folio / shmem_write_end
2023/12/19 07:13 upstream 2cf4f94d8e86 3ad490ea .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in next_uptodate_folio / shmem_write_end
2023/12/18 20:12 upstream 2cf4f94d8e86 924661f4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in next_uptodate_folio / shmem_write_end
2023/12/17 19:13 upstream 0e389834672c 3222d10c .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in next_uptodate_folio / shmem_write_end
2023/12/13 09:56 upstream 88035e5694a8 ebcad15c .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in next_uptodate_folio / shmem_write_end
2023/12/10 11:56 upstream c527f5606aa5 28b24332 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in next_uptodate_folio / shmem_write_end
2023/12/08 13:54 upstream 5e3f5b81de80 28b24332 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in next_uptodate_folio / shmem_write_end
2023/12/07 21:49 upstream 9ace34a8e446 0a02ce36 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in next_uptodate_folio / shmem_write_end
2023/12/07 18:30 upstream bee0e7762ad2 0a02ce36 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in next_uptodate_folio / shmem_write_end
2023/12/04 01:05 upstream 33cc938e65a9 f819d6f7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in next_uptodate_folio / shmem_write_end
2023/11/28 09:48 upstream df60cee26a2e 9fe51b7c .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in next_uptodate_folio / shmem_write_end
2023/11/27 09:42 upstream 2cc14f52aeb7 5b429f39 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in next_uptodate_folio / shmem_write_end
2023/11/20 13:52 upstream 98b1cc82c4af cb976f63 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in next_uptodate_folio / shmem_write_end
2023/11/19 05:15 upstream 23dfa043f6d5 cb976f63 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in next_uptodate_folio / shmem_write_end
2023/11/17 19:11 upstream 6bc40e44f1dd cb976f63 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in next_uptodate_folio / shmem_write_end
2023/11/12 20:09 upstream b57b17e88bf5 6d6dbf8a .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in next_uptodate_folio / shmem_write_end
2023/11/09 15:41 upstream 6bc986ab839c 56230772 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in next_uptodate_folio / shmem_write_end
2023/11/08 08:23 upstream 13d88ac54ddd 83211397 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in next_uptodate_folio / shmem_write_end
2023/11/07 02:05 upstream be3ca57cfb77 83211397 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in next_uptodate_folio / shmem_write_end
2023/11/06 14:30 upstream d2f51b3516da 78fae24e .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in next_uptodate_folio / shmem_write_end
2023/11/04 23:41 upstream aea6bf908d73 500bfdc4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in next_uptodate_folio / shmem_write_end
2023/11/04 17:04 upstream 90b0c2b2edd1 500bfdc4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in next_uptodate_folio / shmem_write_end
2023/11/03 21:28 upstream 6bdfe2d88b9f 500bfdc4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in next_uptodate_folio / shmem_write_end
2023/11/03 09:35 upstream 8f6f76a6a29f c4ac074c .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in next_uptodate_folio / shmem_write_end
2023/11/02 06:55 upstream babe393974de 69904c9f .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in next_uptodate_folio / shmem_write_end
2023/11/01 17:39 upstream 8bc9e6515183 69904c9f .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in next_uptodate_folio / shmem_write_end
2023/10/30 21:00 upstream 14ab6d425e80 b5729d82 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in next_uptodate_folio / shmem_write_end
2023/10/29 15:18 upstream 2af9b20dbb39 3c418d72 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in next_uptodate_folio / shmem_write_end
2023/10/27 12:16 upstream 3a568e3a961b bf285f0c .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in next_uptodate_folio / shmem_write_end
2023/10/25 19:54 upstream 611da07b89fd 72e794c4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in next_uptodate_folio / shmem_write_end
2023/10/25 16:47 upstream 4f82870119a4 72e794c4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in next_uptodate_folio / shmem_write_end
2023/10/24 15:27 upstream d88520ad73b7 af8d2e46 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in next_uptodate_folio / shmem_write_end
2023/10/24 01:12 upstream e017769f4ce2 af8d2e46 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in next_uptodate_folio / shmem_write_end
2023/10/23 12:33 upstream 05d3ef8bba77 989a3687 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in next_uptodate_folio / shmem_write_end
2023/10/22 09:30 upstream 1acfd2bd3f0d 361b23dc .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in next_uptodate_folio / shmem_write_end
2023/10/21 20:30 upstream 45d3291c5201 361b23dc .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in next_uptodate_folio / shmem_write_end
2023/10/20 17:55 upstream c8045b4a33a5 361b23dc .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in next_uptodate_folio / shmem_write_end
2023/09/15 09:31 upstream 9fdfb15a3dbf 0b6a67ac .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in next_uptodate_folio / shmem_write_end
2023/09/12 17:39 upstream a747acc0b752 59da8366 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in next_uptodate_folio / shmem_write_end
2023/09/11 11:19 upstream 0bb80ecc33a8 59da8366 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in next_uptodate_folio / shmem_write_end
2023/09/10 20:02 upstream 1548b060d6f3 6654cf89 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in next_uptodate_folio / shmem_write_end
2023/09/09 03:45 upstream 32bf43e4efdb 6654cf89 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in next_uptodate_folio / shmem_write_end
2023/09/08 15:20 upstream a48fa7efaf11 6654cf89 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in next_uptodate_folio / shmem_write_end
2023/09/07 22:10 upstream 4a0fc73da97e 72324844 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in next_uptodate_folio / shmem_write_end
2023/09/06 19:16 upstream 744a759492b5 72324844 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in next_uptodate_folio / shmem_write_end
2023/09/06 10:46 upstream 65d6e954e378 0b6286dc .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in next_uptodate_folio / shmem_write_end
2023/09/05 20:21 upstream 7733171926cc 0b6286dc .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in next_uptodate_folio / shmem_write_end
2023/09/05 02:48 upstream 3f86ed6ec0b3 0b6286dc .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in next_uptodate_folio / shmem_write_end
2023/09/04 22:32 upstream 708283abf896 db3306a6 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in next_uptodate_folio / shmem_write_end
2023/09/04 07:26 upstream 708283abf896 696ea0d2 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in next_uptodate_folio / shmem_write_end
2023/09/03 00:05 upstream 92901222f83d 696ea0d2 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in next_uptodate_folio / shmem_write_end
2023/09/02 10:50 upstream 0468be89b3fa 696ea0d2 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in next_uptodate_folio / shmem_write_end
2023/09/01 13:28 upstream 99d99825fc07 696ea0d2 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in next_uptodate_folio / shmem_write_end
2023/08/30 08:05 upstream 6c1b980a7e79 ce731e62 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in next_uptodate_folio / shmem_write_end
* Struck through repros no longer work on HEAD.