syzbot


KCSAN: data-race in ondemand_readahead / ondemand_readahead (10)

Status: auto-obsoleted due to no activity on 2024/04/11 01:33
Subsystems: fs mm
[Documentation on labels]
Reported-by: syzbot+abc81f1acf3ae0281d2e@syzkaller.appspotmail.com
First crash: 559d, last: 99d
Similar bugs (10)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream KCSAN: data-race in ondemand_readahead / ondemand_readahead (4) fs mm 1 1155d 1155d 0/27 auto-closed as invalid on 2021/05/21 19:40
upstream KCSAN: data-race in ondemand_readahead / ondemand_readahead (5) mm fs 2 1111d 1116d 0/27 auto-closed as invalid on 2021/07/05 00:47
upstream KCSAN: data-race in ondemand_readahead / ondemand_readahead (2) fs mm 201 1232d 1394d 0/27 auto-closed as invalid on 2021/03/05 09:30
upstream KCSAN: data-race in ondemand_readahead / ondemand_readahead (8) fs mm 1 753d 753d 0/27 auto-closed as invalid on 2022/06/27 21:27
upstream KCSAN: data-race in ondemand_readahead / ondemand_readahead fs mm 44 1457d 1671d 0/27 closed as invalid on 2020/06/18 14:24
upstream KCSAN: data-race in ondemand_readahead / ondemand_readahead (9) mm fs 3 657d 663d 0/27 auto-closed as invalid on 2022/10/01 03:27
upstream KCSAN: data-race in ondemand_readahead / ondemand_readahead (3) fs mm 1 1192d 1192d 0/27 auto-closed as invalid on 2021/04/14 20:49
upstream KCSAN: data-race in ondemand_readahead / ondemand_readahead (7) fs mm 5 815d 878d 0/27 auto-closed as invalid on 2022/04/26 07:02
upstream KCSAN: data-race in ondemand_readahead / ondemand_readahead (6) fs mm 17 981d 1051d 0/27 auto-closed as invalid on 2021/11/11 03:01
upstream KCSAN: data-race in ondemand_readahead / ondemand_readahead (11) fs mm 67 1h00m 60d 0/27 moderation: reported on 2024/04/16 01:12

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

write to 0xffff88812ba6a384 of 4 bytes by task 14664 on cpu 0:
 ondemand_readahead+0x308/0x670 mm/readahead.c:645
 page_cache_async_ra+0x94/0xa0 mm/readahead.c:715
 do_async_mmap_readahead mm/filemap.c:3181 [inline]
 filemap_fault+0x3da/0xc30 mm/filemap.c:3235
 __do_fault+0xb2/0x1f0 mm/memory.c:4396
 do_shared_fault mm/memory.c:4818 [inline]
 do_fault mm/memory.c:4892 [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+0xb9a/0x27c0 mm/memory.c:5470
 do_user_addr_fault arch/x86/mm/fault.c:1355 [inline]
 handle_page_fault arch/x86/mm/fault.c:1498 [inline]
 exc_page_fault+0x401/0x6d0 arch/x86/mm/fault.c:1554
 asm_exc_page_fault+0x26/0x30 arch/x86/include/asm/idtentry.h:570

write to 0xffff88812ba6a384 of 4 bytes by task 14676 on cpu 1:
 ondemand_readahead+0x350/0x670
 page_cache_async_ra+0x94/0xa0 mm/readahead.c:715
 do_async_mmap_readahead mm/filemap.c:3181 [inline]
 filemap_fault+0x3da/0xc30 mm/filemap.c:3235
 __do_fault+0xb2/0x1f0 mm/memory.c:4396
 do_read_fault mm/memory.c:4758 [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+0xd5f/0x27c0 mm/memory.c:5470
 do_user_addr_fault arch/x86/mm/fault.c:1406 [inline]
 handle_page_fault arch/x86/mm/fault.c:1498 [inline]
 exc_page_fault+0x2f9/0x6d0 arch/x86/mm/fault.c:1554
 asm_exc_page_fault+0x26/0x30 arch/x86/include/asm/idtentry.h:570
 rep_movs_alternative+0x30/0x70 arch/x86/lib/copy_user_64.S:50
 copy_user_generic arch/x86/include/asm/uaccess_64.h:112 [inline]
 raw_copy_from_user arch/x86/include/asm/uaccess_64.h:127 [inline]
 _copy_from_user+0x80/0xd0 lib/usercopy.c:23
 copy_from_user include/linux/uaccess.h:183 [inline]
 copy_msghdr_from_user+0x54/0x2a0 net/socket.c:2514
 recvmsg_copy_msghdr net/socket.c:2769 [inline]
 ___sys_recvmsg net/socket.c:2841 [inline]
 do_recvmmsg+0x290/0x720 net/socket.c:2939
 __sys_recvmmsg net/socket.c:3018 [inline]
 __do_sys_recvmmsg net/socket.c:3041 [inline]
 __se_sys_recvmmsg net/socket.c:3034 [inline]
 __x64_sys_recvmmsg+0xe2/0x160 net/socket.c:3034
 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: 0x00000020 -> 0x00000010

Reported by Kernel Concurrency Sanitizer on:
CPU: 1 PID: 14676 Comm: syz-executor.2 Not tainted 6.8.0-rc7-syzkaller-00051-g67be068d31d4 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/25/2024
==================================================================

Crashes (147):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/03/07 01:33 upstream 67be068d31d4 f39a7eed .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in ondemand_readahead / ondemand_readahead
2024/02/26 14:22 upstream d206a76d7d27 da36a36b .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in ondemand_readahead / ondemand_readahead
2024/02/19 18:49 upstream b401b621758e 3af7dd65 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in ondemand_readahead / ondemand_readahead
2024/02/14 04:45 upstream 7e90b5c295ec d902085f .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in ondemand_readahead / ondemand_readahead
2024/02/13 13:44 upstream c664e16bb1ba e66542d7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in ondemand_readahead / ondemand_readahead
2024/02/12 18:16 upstream 716f4aaa7b48 77b23aa1 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in ondemand_readahead / ondemand_readahead
2024/02/12 01:07 upstream 841c35169323 77b23aa1 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in ondemand_readahead / ondemand_readahead
2024/02/11 11:27 upstream 7521f258ea30 77b23aa1 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in ondemand_readahead / ondemand_readahead
2024/02/10 22:34 upstream a5b6244cf87c 77b23aa1 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in ondemand_readahead / ondemand_readahead
2024/02/10 08:42 upstream 4a7bbe7519b6 77b23aa1 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in ondemand_readahead / ondemand_readahead
2024/02/08 07:23 upstream 547ab8fc4cb0 6404acf9 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in ondemand_readahead / ondemand_readahead
2024/02/05 11:27 upstream 54be6c6c5ae8 e23e8c20 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in ondemand_readahead / ondemand_readahead
2024/02/03 20:27 upstream b555d191561a a67b2c42 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in ondemand_readahead / ondemand_readahead
2024/01/27 06:37 upstream 3a5879d495b2 cc4a4020 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in ondemand_readahead / ondemand_readahead
2024/01/20 18:40 upstream 125514880ddd 9bd8dcda .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in ondemand_readahead / ondemand_readahead
2024/01/16 03:48 upstream 052d534373b7 2a7bcc7f .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in ondemand_readahead / ondemand_readahead
2024/01/08 17:12 upstream 0dd3ee311255 d0304e9c .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in ondemand_readahead / ondemand_readahead
2024/01/07 11:26 upstream 52b1853b080a d0304e9c .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in ondemand_readahead / ondemand_readahead
2024/01/07 00:54 upstream 95c8a35f1c01 d0304e9c .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in ondemand_readahead / ondemand_readahead
2024/01/05 09:21 upstream 1f874787ed9a 28c42cff .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in ondemand_readahead / ondemand_readahead
2024/01/05 06:02 upstream 5eff55d725a4 28c42cff .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in ondemand_readahead / ondemand_readahead
2024/01/02 12:04 upstream 610a9b8f49fb fb427a07 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in ondemand_readahead / ondemand_readahead
2024/01/01 06:30 upstream 2639772a11c8 fb427a07 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in ondemand_readahead / ondemand_readahead
2023/12/30 23:02 upstream 453f5db0619e fb427a07 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in ondemand_readahead / ondemand_readahead
2023/12/30 01:53 upstream f016f7547aee fb427a07 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in ondemand_readahead / ondemand_readahead
2023/12/29 12:39 upstream 8735c7c84d1b fb427a07 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in ondemand_readahead / ondemand_readahead
2023/12/29 07:11 upstream 505e701c0b2c fb427a07 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in ondemand_readahead / ondemand_readahead
2023/12/28 05:24 upstream f5837722ffec fb427a07 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in ondemand_readahead / ondemand_readahead
2023/12/26 09:23 upstream fbafc3e621c3 fb427a07 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in ondemand_readahead / ondemand_readahead
2023/12/24 10:29 upstream 861deac3b092 fb427a07 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in ondemand_readahead / ondemand_readahead
2023/12/23 21:59 upstream 3f82f1c3a036 fb427a07 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in ondemand_readahead / ondemand_readahead
2023/12/23 18:06 upstream 5254c0cbc92d fb427a07 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in ondemand_readahead / ondemand_readahead
2023/12/21 21:26 upstream 9a6b294ab496 4f9530a3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in ondemand_readahead / ondemand_readahead
2023/12/21 19:56 upstream a4aebe936554 4f9530a3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in ondemand_readahead / ondemand_readahead
2023/12/20 16:45 upstream 55cb5f43689d de21eb89 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in ondemand_readahead / ondemand_readahead
2023/12/20 03:07 upstream 55cb5f43689d 3ad490ea .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in ondemand_readahead / ondemand_readahead
2023/12/18 20:27 upstream 2cf4f94d8e86 924661f4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in ondemand_readahead / ondemand_readahead
2023/12/16 11:08 upstream 3bd7d7488169 3222d10c .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in ondemand_readahead / ondemand_readahead
2023/12/15 11:59 upstream 3f7168591ebf 3222d10c .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in ondemand_readahead / ondemand_readahead
2023/12/13 20:34 upstream 5bd7ef53ffe5 3222d10c .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in ondemand_readahead / ondemand_readahead
2023/12/13 18:10 upstream 88035e5694a8 ebcad15c .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in ondemand_readahead / ondemand_readahead
2023/12/12 03:28 upstream 26aff849438c 28b24332 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in ondemand_readahead / ondemand_readahead
2023/12/09 22:44 upstream b10a3ccaf6e3 28b24332 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in ondemand_readahead / ondemand_readahead
2023/12/07 11:31 upstream bee0e7762ad2 0a02ce36 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in ondemand_readahead / ondemand_readahead
2023/12/07 05:37 upstream bee0e7762ad2 e3299f55 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in ondemand_readahead / ondemand_readahead
2023/12/05 19:33 upstream bee0e7762ad2 858d62d1 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in ondemand_readahead / ondemand_readahead
2023/12/02 16:13 upstream 815fb87b7530 f819d6f7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in ondemand_readahead / ondemand_readahead
2023/12/01 13:41 upstream 994d5c58e50e f819d6f7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in ondemand_readahead / ondemand_readahead
2023/11/29 12:39 upstream 18d46e76d7c2 6e78f9ce .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in ondemand_readahead / ondemand_readahead
2023/11/26 07:47 upstream 090472ed9c92 5b429f39 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in ondemand_readahead / ondemand_readahead
2022/12/03 21:22 upstream 97ee9d1c1696 e080de16 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in ondemand_readahead / ondemand_readahead
* Struck through repros no longer work on HEAD.