syzbot


KCSAN: data-race in syslog_print_all / syslog_print_all

Status: auto-obsoleted due to no activity on 2023/11/04 23:25
Subsystems: kernel
[Documentation on labels]
First crash: 702d, last: 702d

Sample crash report:
SELinux: unrecognized netlink message: protocol=4 nlmsg_type=16 sclass=netlink_tcpdiag_socket pid=31917 comm=syz-executor.5
==================================================================
BUG: KCSAN: data-race in syslog_print_all / syslog_print_all

write to 0xffffffff86e986a0 of 8 bytes by task 31922 on cpu 1:
 latched_seq_write kernel/printk/printk.c:515 [inline]
 syslog_print_all+0x4f5/0x5a0 kernel/printk/printk.c:1694
 do_syslog+0x44f/0x860 kernel/printk/printk.c:1746
 __do_sys_syslog kernel/printk/printk.c:1824 [inline]
 __se_sys_syslog kernel/printk/printk.c:1822 [inline]
 __x64_sys_syslog+0x43/0x50 kernel/printk/printk.c:1822
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x41/0xc0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x63/0xcd

read to 0xffffffff86e986a0 of 8 bytes by task 31917 on cpu 0:
 latched_seq_read_nolock kernel/printk/printk.c:530 [inline]
 syslog_print_all+0xc8/0x5a0 kernel/printk/printk.c:1667
 do_syslog+0x44f/0x860 kernel/printk/printk.c:1746
 __do_sys_syslog kernel/printk/printk.c:1824 [inline]
 __se_sys_syslog kernel/printk/printk.c:1822 [inline]
 __x64_sys_syslog+0x43/0x50 kernel/printk/printk.c:1822
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x41/0xc0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x63/0xcd

value changed: 0x0000000000003007 -> 0x0000000000003008

Reported by Kernel Concurrency Sanitizer on:
CPU: 0 PID: 31917 Comm: syz-executor.5 Not tainted 6.6.0-rc3-syzkaller-00165-g3b517966c561 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/06/2023
==================================================================

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/09/30 23:18 upstream 3b517966c561 8e26a358 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in syslog_print_all / syslog_print_all
* Struck through repros no longer work on HEAD.