syzbot


KCSAN: data-race in ext4_mark_iloc_dirty / find_inode_bit (2)

Status: auto-closed as invalid on 2021/11/19 10:41
Reported-by: syzbot+5d1d576eaf2246b8a84c@syzkaller.appspotmail.com
First crash: 633d, last: 416d
similar bugs (1):
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream KCSAN: data-race in ext4_mark_iloc_dirty / find_inode_bit 650 671d 886d 0/24 auto-closed as invalid on 2021/03/09 09:55

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

write to 0xffff88813a413f14 of 4 bytes by task 13311 on cpu 0:
 ext4_do_update_inode fs/ext4/inode.c:5029 [inline]
 ext4_mark_iloc_dirty+0x888/0x1700 fs/ext4/inode.c:5683
 ext4_xattr_set_handle+0xf77/0x1120 fs/ext4/xattr.c:2402
 ext4_initxattrs+0x66/0xb0 fs/ext4/xattr_security.c:44
 security_inode_init_security+0x1a9/0x260 security/security.c:1099
 ext4_init_security+0x30/0x40 fs/ext4/xattr_security.c:58
 __ext4_new_inode+0x2a0a/0x2fd0 fs/ext4/ialloc.c:1325
 ext4_symlink+0x2cc/0x700 fs/ext4/namei.c:3293
 vfs_symlink+0x23f/0x350 fs/namei.c:4250
 do_symlinkat+0x104/0x380 fs/namei.c:4279
 __do_sys_symlink fs/namei.c:4301 [inline]
 __se_sys_symlink fs/namei.c:4299 [inline]
 __x64_sys_symlink+0x52/0x60 fs/namei.c:4299
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x44/0xa0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x44/0xae

read to 0xffff88813a413f14 of 4 bytes by task 13310 on cpu 1:
 recently_deleted fs/ext4/ialloc.c:705 [inline]
 find_inode_bit+0x1ef/0x330 fs/ext4/ialloc.c:731
 __ext4_new_inode+0xc9a/0x2fd0 fs/ext4/ialloc.c:1066
 ext4_symlink+0x2cc/0x700 fs/ext4/namei.c:3293
 vfs_symlink+0x23f/0x350 fs/namei.c:4250
 do_symlinkat+0x104/0x380 fs/namei.c:4279
 __do_sys_symlink fs/namei.c:4301 [inline]
 __se_sys_symlink fs/namei.c:4299 [inline]
 __x64_sys_symlink+0x52/0x60 fs/namei.c:4299
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x44/0xa0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x44/0xae

value changed: 0x6169591b -> 0x00000000

Reported by Kernel Concurrency Sanitizer on:
CPU: 1 PID: 13310 Comm: syz-executor.0 Not tainted 5.15.0-rc5-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
==================================================================

Crashes (484):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Title
ci2-upstream-kcsan-gce 2021/10/15 10:34 upstream ec681c53f8d2 aab7690b .config log report info KCSAN: data-race in ext4_mark_iloc_dirty / find_inode_bit
ci2-upstream-kcsan-gce 2021/10/14 19:19 upstream 26d657410983 7aa5fe41 .config log report info KCSAN: data-race in ext4_mark_iloc_dirty / find_inode_bit
ci2-upstream-kcsan-gce 2021/10/14 19:14 upstream 26d657410983 7aa5fe41 .config log report info KCSAN: data-race in ext4_mark_iloc_dirty / find_inode_bit
ci2-upstream-kcsan-gce 2021/10/14 17:04 upstream 26d657410983 5462d470 .config log report info KCSAN: data-race in ext4_mark_iloc_dirty / find_inode_bit
ci2-upstream-kcsan-gce 2021/10/13 19:42 upstream 348949d9a444 5462d470 .config log report info KCSAN: data-race in ext4_mark_iloc_dirty / find_inode_bit
ci2-upstream-kcsan-gce 2021/10/13 08:28 upstream f4d0cc426f77 9d56e7dd .config log report info KCSAN: data-race in ext4_mark_iloc_dirty / find_inode_bit
ci2-upstream-kcsan-gce 2021/10/12 22:18 upstream f4d0cc426f77 08362356 .config log report info KCSAN: data-race in ext4_mark_iloc_dirty / find_inode_bit
ci2-upstream-kcsan-gce 2021/10/12 14:29 upstream fa5878760579 08362356 .config log report info KCSAN: data-race in ext4_mark_iloc_dirty / find_inode_bit
ci2-upstream-kcsan-gce 2021/10/12 02:06 upstream fa5878760579 838e7e2c .config log report info KCSAN: data-race in ext4_mark_iloc_dirty / find_inode_bit
ci2-upstream-kcsan-gce 2021/10/11 08:00 upstream 64570fbc14f8 838e7e2c .config log report info KCSAN: data-race in ext4_mark_iloc_dirty / find_inode_bit
ci2-upstream-kcsan-gce 2021/10/10 18:42 upstream efb52a7d9511 838e7e2c .config log report info KCSAN: data-race in ext4_mark_iloc_dirty / find_inode_bit
ci2-upstream-kcsan-gce 2021/10/10 01:35 upstream 7fd2bf83d59a 838e7e2c .config log report info KCSAN: data-race in ext4_mark_iloc_dirty / find_inode_bit
ci2-upstream-kcsan-gce 2021/10/09 11:21 upstream 5d6ab0bb408f 838e7e2c .config log report info KCSAN: data-race in ext4_mark_iloc_dirty / find_inode_bit
ci2-upstream-kcsan-gce 2021/10/09 09:53 upstream 5d6ab0bb408f efe0f24d .config log report info KCSAN: data-race in ext4_mark_iloc_dirty / find_inode_bit
ci2-upstream-kcsan-gce 2021/10/08 22:10 upstream 741668ef7832 efe0f24d .config log report info KCSAN: data-race in ext4_mark_iloc_dirty / find_inode_bit
ci2-upstream-kcsan-gce 2021/10/08 06:54 upstream 1da38549dd64 efe0f24d .config log report info KCSAN: data-race in ext4_mark_iloc_dirty / find_inode_bit
ci2-upstream-kcsan-gce 2021/10/07 17:51 upstream 4a16df549d23 efe0f24d .config log report info KCSAN: data-race in ext4_mark_iloc_dirty / find_inode_bit
ci2-upstream-kcsan-gce 2021/10/07 16:20 upstream 5af4055fa813 efe0f24d .config log report info KCSAN: data-race in ext4_mark_iloc_dirty / find_inode_bit
ci2-upstream-kcsan-gce 2021/10/07 02:25 upstream 5af4055fa813 62ee0987 .config log report info KCSAN: data-race in ext4_mark_iloc_dirty / find_inode_bit
ci2-upstream-kcsan-gce 2021/10/06 18:55 upstream 60a9483534ed 62ee0987 .config log report info KCSAN: data-race in ext4_mark_iloc_dirty / find_inode_bit
ci2-upstream-kcsan-gce 2021/10/06 03:26 upstream 60a9483534ed 0a63fd36 .config log report info KCSAN: data-race in ext4_mark_iloc_dirty / find_inode_bit
ci2-upstream-kcsan-gce 2021/10/05 12:50 upstream f6274b06e326 8a6b1a8d .config log report info KCSAN: data-race in ext4_mark_iloc_dirty / find_inode_bit
ci2-upstream-kcsan-gce 2021/10/05 10:15 upstream f6274b06e326 ce697b49 .config log report info KCSAN: data-race in ext4_mark_iloc_dirty / find_inode_bit
ci2-upstream-kcsan-gce 2021/10/04 21:05 upstream 84b3e42564ac ce697b49 .config log report info KCSAN: data-race in ext4_mark_iloc_dirty / find_inode_bit
ci2-upstream-kcsan-gce 2021/10/04 08:52 upstream 9e1ff307c779 ce697b49 .config log report info KCSAN: data-race in ext4_mark_iloc_dirty / find_inode_bit
ci2-upstream-kcsan-gce 2021/10/03 21:50 upstream 6761a0ae9895 db0f5787 .config log report info KCSAN: data-race in ext4_mark_iloc_dirty / find_inode_bit
ci2-upstream-kcsan-gce 2021/10/03 09:09 upstream 7b66f4393ad4 db0f5787 .config log report info KCSAN: data-race in ext4_mark_iloc_dirty / find_inode_bit
ci2-upstream-kcsan-gce 2021/10/02 20:47 upstream ab2a7a35c4e7 db0f5787 .config log report info KCSAN: data-race in ext4_mark_iloc_dirty / find_inode_bit
ci2-upstream-kcsan-gce 2021/10/02 04:09 upstream 53d5fc89d66a db0f5787 .config log report info KCSAN: data-race in ext4_mark_iloc_dirty / find_inode_bit
ci2-upstream-kcsan-gce 2021/10/01 19:01 upstream 24f67d82c43c cc80db95 .config log report info KCSAN: data-race in ext4_mark_iloc_dirty / find_inode_bit
ci2-upstream-kcsan-gce 2021/10/01 15:24 upstream 4de593fb965f cc80db95 .config log report info KCSAN: data-race in ext4_mark_iloc_dirty / find_inode_bit
ci2-upstream-kcsan-gce 2021/10/01 02:39 upstream 4de593fb965f 1d849ab4 .config log report info KCSAN: data-race in ext4_mark_iloc_dirty / find_inode_bit
ci2-upstream-kcsan-gce 2021/09/30 22:16 upstream 4de593fb965f 0f01403d .config log report info KCSAN: data-race in ext4_mark_iloc_dirty / find_inode_bit
ci2-upstream-kcsan-gce 2021/09/30 13:21 upstream 02d5e016800d 0f01403d .config log report info KCSAN: data-race in ext4_mark_iloc_dirty / find_inode_bit
ci2-upstream-kcsan-gce 2021/09/29 23:35 upstream 02d5e016800d be530f6c .config log report info KCSAN: data-race in ext4_mark_iloc_dirty / find_inode_bit
ci2-upstream-kcsan-gce 2021/09/29 11:27 upstream a4e6f95a891a e08fe937 .config log report info KCSAN: data-race in ext4_mark_iloc_dirty / find_inode_bit
ci2-upstream-kcsan-gce 2021/09/29 07:12 upstream a4e6f95a891a d82cb927 .config log report info KCSAN: data-race in ext4_mark_iloc_dirty / find_inode_bit
ci2-upstream-kcsan-gce 2021/09/28 17:33 upstream d33bec7b3dfa d82cb927 .config log report info KCSAN: data-race in ext4_mark_iloc_dirty / find_inode_bit
ci2-upstream-kcsan-gce 2021/09/28 03:48 upstream 0513e464f900 78494d16 .config log report info KCSAN: data-race in ext4_mark_iloc_dirty / find_inode_bit
ci2-upstream-kcsan-gce 2021/09/27 13:31 upstream 5816b3e6577e 78494d16 .config log report info KCSAN: data-race in ext4_mark_iloc_dirty / find_inode_bit
ci2-upstream-kcsan-gce 2021/09/26 08:45 upstream a3b397b4fffb 8cac236e .config log report info KCSAN: data-race in ext4_mark_iloc_dirty / find_inode_bit
ci2-upstream-kcsan-gce 2021/09/25 18:56 upstream 85736168463d 8cac236e .config log report info KCSAN: data-race in ext4_mark_iloc_dirty / find_inode_bit
ci2-upstream-kcsan-gce 2021/09/25 02:12 upstream 7d42e9818258 8cac236e .config log report info KCSAN: data-race in ext4_mark_iloc_dirty / find_inode_bit
ci2-upstream-kcsan-gce 2021/04/09 12:09 upstream 17e7124aad76 6a81331a .config log report info KCSAN: data-race in ext4_mark_iloc_dirty / find_inode_bit
ci2-upstream-kcsan-gce 2021/04/08 09:14 upstream 454859c552da 6a81331a .config log report info KCSAN: data-race in ext4_mark_iloc_dirty / find_inode_bit
ci2-upstream-kcsan-gce 2021/03/13 02:57 upstream f296bfd5cd04 429d8a6b .config log report info KCSAN: data-race in ext4_mark_iloc_dirty / find_inode_bit
* Struck through repros no longer work on HEAD.