syzbot


KCSAN: data-race in filemap_read / filemap_read

Status: moderation: reported on 2021/08/05 09:46
Reported-by: syzbot+74bcf83a971e0c78aabd@syzkaller.appspotmail.com
First crash: 699d, last: 11h39m

Sample crash report:
loop2: detected capacity change from 0 to 2048
==================================================================
BUG: KCSAN: data-race in filemap_read / filemap_read

write to 0xffff88813b3732b0 of 8 bytes by task 8216 on cpu 0:
 filemap_read+0x1265/0x1530
 generic_file_read_iter+0x76/0x320
 generic_file_splice_read+0xe3/0x290
 splice_direct_to_actor+0x25a/0x5f0
 do_splice_direct+0x104/0x180
 do_sendfile+0x3b8/0x950
 __x64_sys_sendfile64+0x110/0x150
 do_syscall_64+0x41/0xc0
 entry_SYSCALL_64_after_hwframe+0x63/0xcd

read to 0xffff88813b3732b0 of 8 bytes by task 8209 on cpu 1:
 filemap_read+0x10af/0x1530
 generic_file_read_iter+0x76/0x320
 generic_file_splice_read+0xe3/0x290
 splice_direct_to_actor+0x25a/0x5f0
 do_splice_direct+0x104/0x180
 do_sendfile+0x3b8/0x950
 __x64_sys_sendfile64+0x110/0x150
 do_syscall_64+0x41/0xc0
 entry_SYSCALL_64_after_hwframe+0x63/0xcd

value changed: 0x0000000000010798 -> 0x00000000000108b0

Reported by Kernel Concurrency Sanitizer on:
CPU: 1 PID: 8209 Comm: syz-executor.2 Not tainted 6.2.0-rc6-syzkaller-00273-g837c07cf68fe-dirty #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/12/2023
==================================================================
syz-executor.2: attempt to access beyond end of device
loop2: rw=2049, sector=2048, nr_sectors = 4 limit=2048

Crashes (602):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets Title
ci2-upstream-kcsan-gce 2023/02/05 13:16 upstream 837c07cf68fe be607b78 .config console log report info [disk image] [vmlinux] [kernel image] KCSAN: data-race in filemap_read / filemap_read
ci2-upstream-kcsan-gce 2023/02/05 08:31 upstream db27c22251e7 be607b78 .config console log report info [disk image] [vmlinux] [kernel image] KCSAN: data-race in filemap_read / filemap_read
ci2-upstream-kcsan-gce 2023/02/04 17:03 upstream 0136d86b7852 be607b78 .config console log report info [disk image] [vmlinux] [kernel image] KCSAN: data-race in filemap_read / filemap_read
ci2-upstream-kcsan-gce 2023/02/03 12:10 upstream e7368fd30165 1b2f701a .config console log report info [disk image] [vmlinux] [kernel image] KCSAN: data-race in filemap_read / filemap_read
ci2-upstream-kcsan-gce 2023/02/03 02:35 upstream e7368fd30165 33fc5c09 .config console log report info [disk image] [vmlinux] [kernel image] KCSAN: data-race in filemap_read / filemap_read
ci2-upstream-kcsan-gce 2023/02/02 23:58 upstream e7368fd30165 16d19e30 .config console log report info [disk image] [vmlinux] [kernel image] KCSAN: data-race in filemap_read / filemap_read
ci2-upstream-kcsan-gce 2023/02/02 14:50 upstream 9f266ccaa2f5 16d19e30 .config console log report info [disk image] [vmlinux] [kernel image] KCSAN: data-race in filemap_read / filemap_read
ci2-upstream-kcsan-gce 2023/02/02 02:23 upstream 9f266ccaa2f5 9a6f477c .config console log report info [disk image] [vmlinux] [kernel image] KCSAN: data-race in filemap_read / filemap_read
ci2-upstream-kcsan-gce 2023/02/01 12:51 upstream c0b67534c95c 9a6f477c .config console log report info [disk image] [vmlinux] [kernel image] KCSAN: data-race in filemap_read / filemap_read
ci2-upstream-kcsan-gce 2023/02/01 04:40 upstream c0b67534c95c b68fb8d6 .config console log report info [disk image] [vmlinux] [kernel image] KCSAN: data-race in filemap_read / filemap_read
ci2-upstream-kcsan-gce 2023/02/01 00:02 upstream 22b8077d0fce b68fb8d6 .config console log report info [disk image] [vmlinux] [kernel image] KCSAN: data-race in filemap_read / filemap_read
ci2-upstream-kcsan-gce 2023/01/31 05:39 upstream 6d796c50f84c b68fb8d6 .config console log report info [disk image] [vmlinux] [kernel image] KCSAN: data-race in filemap_read / filemap_read
ci2-upstream-kcsan-gce 2023/01/30 08:57 upstream ab072681eabe 9dfcf09c .config console log report info [disk image] [vmlinux] [kernel image] KCSAN: data-race in filemap_read / filemap_read
ci2-upstream-kcsan-gce 2023/01/29 04:38 upstream c96618275234 9dfcf09c .config console log report info [disk image] [vmlinux] [kernel image] KCSAN: data-race in filemap_read / filemap_read
ci2-upstream-kcsan-gce 2023/01/26 03:01 upstream 7c46948a6e9c 9dfcf09c .config console log report info [disk image] [vmlinux] [kernel image] KCSAN: data-race in filemap_read / filemap_read
ci2-upstream-kcsan-gce 2023/01/25 13:01 upstream 948ef7bb70c4 9dfcf09c .config console log report info [disk image] [vmlinux] [kernel image] KCSAN: data-race in filemap_read / filemap_read
ci2-upstream-kcsan-gce 2023/01/25 06:01 upstream fb6e71db53f3 9dfcf09c .config console log report info [disk image] [vmlinux] [kernel image] KCSAN: data-race in filemap_read / filemap_read
ci2-upstream-kcsan-gce 2023/01/23 23:38 upstream 7bf70dbb1882 9dfcf09c .config console log report info [disk image] [vmlinux] [kernel image] KCSAN: data-race in filemap_read / filemap_read
ci2-upstream-kcsan-gce 2023/01/23 14:00 upstream 2475bf0250de 9dfcf09c .config console log report info [disk image] [vmlinux] [kernel image] KCSAN: data-race in filemap_read / filemap_read
ci2-upstream-kcsan-gce 2023/01/23 09:29 upstream 2475bf0250de 44388686 .config console log report info [disk image] [vmlinux] [kernel image] KCSAN: data-race in filemap_read / filemap_read
ci2-upstream-kcsan-gce 2023/01/22 22:06 upstream 2475bf0250de cc0f9968 .config console log report info [disk image] [vmlinux] [kernel image] KCSAN: data-race in filemap_read / filemap_read
ci2-upstream-kcsan-gce 2023/01/22 09:31 upstream 2241ab53cbb5 cc0f9968 .config console log report info [disk image] [vmlinux] [kernel image] KCSAN: data-race in filemap_read / filemap_read
ci2-upstream-kcsan-gce 2023/01/20 09:30 upstream d368967cb103 dd15ff29 .config console log report info [disk image] [vmlinux] [kernel image] KCSAN: data-race in filemap_read / filemap_read
ci2-upstream-kcsan-gce 2023/01/19 10:30 upstream 7287904c8771 66fca3ae .config console log report info [disk image] [vmlinux] [kernel image] KCSAN: data-race in filemap_read / filemap_read
ci2-upstream-kcsan-gce 2023/01/17 23:00 upstream 6e50979a9c87 42660d9e .config console log report info [disk image] [vmlinux] [kernel image] KCSAN: data-race in filemap_read / filemap_read
ci2-upstream-kcsan-gce 2023/01/17 00:14 upstream d532dd102151 a63719e7 .config console log report info [disk image] [vmlinux] [kernel image] KCSAN: data-race in filemap_read / filemap_read
ci2-upstream-kcsan-gce 2023/01/16 02:51 upstream 5dc4c995db9e a63719e7 .config console log report info [disk image] [vmlinux] [kernel image] KCSAN: data-race in filemap_read / filemap_read
ci2-upstream-kcsan-gce 2023/01/15 06:48 upstream 7c6984405241 a63719e7 .config console log report info [disk image] [vmlinux] [kernel image] KCSAN: data-race in filemap_read / filemap_read
ci2-upstream-kcsan-gce 2023/01/14 16:09 upstream 97ec4d559d93 a63719e7 .config console log report info [disk image] [vmlinux] [kernel image] KCSAN: data-race in filemap_read / filemap_read
ci2-upstream-kcsan-gce 2023/01/13 18:08 upstream d9fc1511728c 529798b0 .config console log report info [disk image] [vmlinux] [kernel image] KCSAN: data-race in filemap_read / filemap_read
ci2-upstream-kcsan-gce 2023/01/13 06:16 upstream c757fc92a3f7 96166539 .config console log report info [disk image] [vmlinux] [kernel image] KCSAN: data-race in filemap_read / filemap_read
ci2-upstream-kcsan-gce 2023/01/12 11:12 upstream e8f60cd7db24 96166539 .config console log report info [disk image] [vmlinux] [kernel image] KCSAN: data-race in filemap_read / filemap_read
ci2-upstream-kcsan-gce 2023/01/10 11:56 upstream 5a41237ad1d4 48bc529a .config console log report info [disk image] [vmlinux] [kernel image] KCSAN: data-race in filemap_read / filemap_read
ci2-upstream-kcsan-gce 2023/01/09 22:46 upstream 1fe4fd6f5cad 48bc529a .config console log report info [disk image] [vmlinux] [kernel image] KCSAN: data-race in filemap_read / filemap_read
ci2-upstream-kcsan-gce 2023/01/09 06:16 upstream 1fe4fd6f5cad 1dac8c7a .config console log report info [disk image] [vmlinux] [kernel image] KCSAN: data-race in filemap_read / filemap_read
ci2-upstream-kcsan-gce 2023/01/08 14:02 upstream 9b43a525db12 1dac8c7a .config console log report info [disk image] [vmlinux] [kernel image] KCSAN: data-race in filemap_read / filemap_read
ci2-upstream-kcsan-gce 2023/01/07 15:55 upstream 0a71553536d2 1dac8c7a .config console log report info [disk image] [vmlinux] [kernel image] KCSAN: data-race in filemap_read / filemap_read
ci2-upstream-kcsan-gce 2023/01/06 20:51 upstream 1f5abbd77e2c 1dac8c7a .config console log report info [disk image] [vmlinux] [kernel image] KCSAN: data-race in filemap_read / filemap_read
ci2-upstream-kcsan-gce 2023/01/05 22:56 upstream 41c03ba9beea 1dac8c7a .config console log report info [disk image] [vmlinux] [kernel image] KCSAN: data-race in filemap_read / filemap_read
ci2-upstream-kcsan-gce 2023/01/05 05:23 upstream 512dee0c00ad 1dac8c7a .config console log report info [disk image] [vmlinux] [kernel image] KCSAN: data-race in filemap_read / filemap_read
ci2-upstream-kcsan-gce 2023/01/04 10:14 upstream 69b41ac87e4a 1dac8c7a .config console log report info [disk image] [vmlinux] [kernel image] KCSAN: data-race in filemap_read / filemap_read
ci2-upstream-kcsan-gce 2023/01/03 10:45 upstream 69b41ac87e4a f0036e18 .config console log report info [disk image] [vmlinux] [kernel image] KCSAN: data-race in filemap_read / filemap_read
ci2-upstream-kcsan-gce 2023/01/03 06:56 upstream 69b41ac87e4a ab32d508 .config console log report info [disk image] [vmlinux] [kernel image] KCSAN: data-race in filemap_read / filemap_read
ci2-upstream-kcsan-gce 2021/08/04 20:52 upstream 251a1524293d b97d64c9 .config console log report info KCSAN: data-race in filemap_read / filemap_read
ci2-upstream-kcsan-gce 2021/08/01 09:36 upstream f3438b4c4e69 6c236867 .config console log report info KCSAN: data-race in filemap_read / filemap_read
ci2-upstream-kcsan-gce 2021/03/08 09:34 upstream 144c79ef3353 09fbf400 .config console log report info KCSAN: data-race in filemap_read / filemap_read
* Struck through repros no longer work on HEAD.