syzbot


KCSAN: data-race in do_syslog / do_syslog

Status: auto-closed as invalid on 2020/12/21 11:58
Subsystems: kernel
[Documentation on labels]
Reported-by: syzbot+056469a356e70d762b4f@syzkaller.appspotmail.com
First crash: 1259d, last: 1259d
Similar bugs (1)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream KCSAN: data-race in do_syslog / do_syslog (2) fs 1 1088d 1088d 0/26 auto-closed as invalid on 2021/05/31 11:54

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

write to 0xffffffff882f5080 of 8 bytes by task 18749 on cpu 1:
 syslog_print kernel/printk/printk.c:1491 [inline]
 do_syslog+0x1283/0x1400 kernel/printk/printk.c:1615
 __do_sys_syslog kernel/printk/printk.c:1703 [inline]
 __se_sys_syslog kernel/printk/printk.c:1701 [inline]
 __x64_sys_syslog+0x3f/0x50 kernel/printk/printk.c:1701
 do_syscall_64+0x39/0x80 arch/x86/entry/common.c:46
 entry_SYSCALL_64_after_hwframe+0x44/0xa9

read to 0xffffffff882f5080 of 8 bytes by task 7996 on cpu 0:
 do_syslog+0xe07/0x1400 kernel/printk/printk.c:1611
 kmsg_read+0x7a/0xa0 fs/proc/kmsg.c:40
 pde_read fs/proc/inode.c:321 [inline]
 proc_reg_read+0xe1/0x1b0 fs/proc/inode.c:331
 vfs_read+0x154/0x5c0 fs/read_write.c:494
 ksys_read+0xce/0x180 fs/read_write.c:634
 __do_sys_read fs/read_write.c:644 [inline]
 __se_sys_read fs/read_write.c:642 [inline]
 __x64_sys_read+0x3e/0x50 fs/read_write.c:642
 do_syscall_64+0x39/0x80 arch/x86/entry/common.c:46
 entry_SYSCALL_64_after_hwframe+0x44/0xa9

Reported by Kernel Concurrency Sanitizer on:
CPU: 0 PID: 7996 Comm: in:imklog Not tainted 5.10.0-rc2-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
==================================================================

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2020/11/07 10:43 upstream bf3e76289cd2 cba33199 .config console log report info ci2-upstream-kcsan-gce
* Struck through repros no longer work on HEAD.