syzbot


KCSAN: data-race in rds_poll / rds_send_queue_rm

Status: auto-obsoleted due to no activity on 2025/05/01 12:21
Subsystems: rds
[Documentation on labels]
First crash: 177d, last: 177d

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

write to 0xffff888102305120 of 4 bytes by task 8088 on cpu 0:
 rds_send_queue_rm+0xdc/0x370 net/rds/send.c:843
 rds_sendmsg+0xf07/0x1400 net/rds/send.c:1345
 sock_sendmsg_nosec net/socket.c:718 [inline]
 __sock_sendmsg+0x140/0x180 net/socket.c:733
 ____sys_sendmsg+0x326/0x4b0 net/socket.c:2573
 ___sys_sendmsg net/socket.c:2627 [inline]
 __sys_sendmsg+0x19d/0x230 net/socket.c:2659
 __do_sys_sendmsg net/socket.c:2664 [inline]
 __se_sys_sendmsg net/socket.c:2662 [inline]
 __x64_sys_sendmsg+0x46/0x50 net/socket.c:2662
 x64_sys_call+0x2734/0x2dc0 arch/x86/include/generated/asm/syscalls_64.h:47
 do_syscall_x64 arch/x86/entry/common.c:52 [inline]
 do_syscall_64+0xc9/0x1c0 arch/x86/entry/common.c:83
 entry_SYSCALL_64_after_hwframe+0x77/0x7f

read to 0xffff888102305120 of 4 bytes by task 8082 on cpu 1:
 rds_poll+0x223/0x320 net/rds/af_rds.c:242
 sock_poll+0x22d/0x250 net/socket.c:1386
 vfs_poll include/linux/poll.h:82 [inline]
 select_poll_one fs/select.c:480 [inline]
 do_select+0x8d4/0xfc0 fs/select.c:536
 core_sys_select+0x457/0x680 fs/select.c:677
 do_pselect fs/select.c:759 [inline]
 __do_sys_pselect6 fs/select.c:802 [inline]
 __se_sys_pselect6+0x21b/0x280 fs/select.c:793
 __x64_sys_pselect6+0x78/0x90 fs/select.c:793
 x64_sys_call+0x2ac2/0x2dc0 arch/x86/include/generated/asm/syscalls_64.h:271
 do_syscall_x64 arch/x86/entry/common.c:52 [inline]
 do_syscall_64+0xc9/0x1c0 arch/x86/entry/common.c:83
 entry_SYSCALL_64_after_hwframe+0x77/0x7f

value changed: 0x00000000 -> 0x00000030

Reported by Kernel Concurrency Sanitizer on:
CPU: 1 UID: 0 PID: 8082 Comm: syz.0.1641 Not tainted 6.14.0-rc5-syzkaller-00039-g848e07631744 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025
==================================================================

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2025/03/06 12:19 upstream 848e07631744 831e3629 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in rds_poll / rds_send_queue_rm
* Struck through repros no longer work on HEAD.