From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 7B214CDB484 for ; Wed, 18 Oct 2023 09:15:57 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229740AbjJRJP4 (ORCPT ); Wed, 18 Oct 2023 05:15:56 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45788 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229700AbjJRJPw (ORCPT ); Wed, 18 Oct 2023 05:15:52 -0400 Received: from mail-oo1-f78.google.com (mail-oo1-f78.google.com [209.85.161.78]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 78E9AFD for ; Wed, 18 Oct 2023 02:15:50 -0700 (PDT) Received: by mail-oo1-f78.google.com with SMTP id 006d021491bc7-581df11b5b4so1739754eaf.0 for ; Wed, 18 Oct 2023 02:15:50 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1697620550; x=1698225350; h=to:from:subject:message-id:date:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=rnf7mxU5ljq5PJpqjMzySXNNyUScoKkMxLEuUfdA8+0=; b=KiwPkA/kC8kDz3WixtECmGQhA21MdlzJUixY6MdU6YRctV+pFM60c9A7aBC02Zi85a v2TLRaC5SWo9sJU8JwK+yRIAR6+buhrgWdRg6MgWz2XraIoWfdzqHG0upwaRJ6l0hl1d uHbjP1layXHvd1yh9I2fqKuqHMYeTflJHCzCuF1Mcn1C2IDle/g54FYgMewbqR8qw2j2 VsW3RmpNK6otho4XDCR13JB/y0FK7V9+foGAO9gbOqYAOG3cUjhgWVtsQG7qIqkeypkB xLI32AhFIif0BNdK+kuhyxLX0p27TJgnLn9u6y72VDR6wcg06TQ/Sp+lyshprW+M2F3u uP9w== X-Gm-Message-State: AOJu0YywDFvIatbsq97Qqg+BwpcE6pGPa7kJAVvczoKqAVDCzfZk3tqw Kch2zCM/QS+vRtPb/OFkbZqeEN2ta/q5fAqxxKg8EmY51//j X-Google-Smtp-Source: AGHT+IEVyOpzK0ciUkUl8pn15LkIrJ8+nZaZyVv+YpJTW6P3ZFsyCiCzeN+C9hCwesLkD1y4lMba0bHLzEuoXGWcYMP7LQdzCAk6 MIME-Version: 1.0 X-Received: by 2002:a05:6870:6586:b0:1e1:2f43:1dc6 with SMTP id fp6-20020a056870658600b001e12f431dc6mr2262117oab.1.1697620549825; Wed, 18 Oct 2023 02:15:49 -0700 (PDT) Date: Wed, 18 Oct 2023 02:15:49 -0700 X-Google-Appengine-App-Id: s~syzkaller X-Google-Appengine-App-Id-Alias: syzkaller Message-ID: <000000000000d5fbc80607fa152b@google.com> Subject: [syzbot] [rds?] KCSAN: data-race in rds_sendmsg / rds_sendmsg From: syzbot To: davem@davemloft.net, edumazet@google.com, kuba@kernel.org, linux-kernel@vger.kernel.org, linux-rdma@vger.kernel.org, netdev@vger.kernel.org, pabeni@redhat.com, rds-devel@oss.oracle.com, santosh.shilimkar@oracle.com, syzkaller-bugs@googlegroups.com Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello, syzbot found the following issue on: HEAD commit: 401644852d0b Merge tag 'fs_for_v6.6-rc6' of git://git.kern.. git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=10bbf9ce680000 kernel config: https://syzkaller.appspot.com/x/.config?x=70d8e328e7a4e377 dashboard link: https://syzkaller.appspot.com/bug?extid=00563755980a79a575f6 compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 Unfortunately, I don't have any reproducer for this issue yet. Downloadable assets: disk image: https://storage.googleapis.com/syzbot-assets/32193fa290fa/disk-40164485.raw.xz vmlinux: https://storage.googleapis.com/syzbot-assets/45596bbf452b/vmlinux-40164485.xz kernel image: https://storage.googleapis.com/syzbot-assets/930999dd8dfc/bzImage-40164485.xz IMPORTANT: if you fix the issue, please add the following tag to the commit: Reported-by: syzbot+00563755980a79a575f6@syzkaller.appspotmail.com ================================================================== BUG: KCSAN: data-race in rds_sendmsg / rds_sendmsg write to 0xffff8881039110f8 of 8 bytes by task 15969 on cpu 0: rds_sendmsg+0xbc6/0x1410 net/rds/send.c:1304 sock_sendmsg_nosec net/socket.c:730 [inline] __sock_sendmsg net/socket.c:745 [inline] ____sys_sendmsg+0x37c/0x4d0 net/socket.c:2558 ___sys_sendmsg net/socket.c:2612 [inline] __sys_sendmsg+0x1e9/0x270 net/socket.c:2641 __do_sys_sendmsg net/socket.c:2650 [inline] __se_sys_sendmsg net/socket.c:2648 [inline] __x64_sys_sendmsg+0x46/0x50 net/socket.c:2648 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 0xffff8881039110f8 of 8 bytes by task 15973 on cpu 1: rds_sendmsg+0xa51/0x1410 net/rds/send.c:1291 sock_sendmsg_nosec net/socket.c:730 [inline] __sock_sendmsg net/socket.c:745 [inline] ____sys_sendmsg+0x37c/0x4d0 net/socket.c:2558 ___sys_sendmsg net/socket.c:2612 [inline] __sys_sendmsg+0x1e9/0x270 net/socket.c:2641 __do_sys_sendmsg net/socket.c:2650 [inline] __se_sys_sendmsg net/socket.c:2648 [inline] __x64_sys_sendmsg+0x46/0x50 net/socket.c:2648 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: 0x0000000000000000 -> 0xffff888137df17e8 Reported by Kernel Concurrency Sanitizer on: CPU: 1 PID: 15973 Comm: syz-executor.0 Not tainted 6.6.0-rc5-syzkaller-00072-g401644852d0b #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/06/2023 ================================================================== --- This report is generated by a bot. It may contain errors. See https://goo.gl/tpsmEJ for more information about syzbot. syzbot engineers can be reached at syzkaller@googlegroups.com. syzbot will keep track of this issue. See: https://goo.gl/tpsmEJ#status for how to communicate with syzbot. If the bug is already fixed, let syzbot know by replying with: #syz fix: exact-commit-title If you want to overwrite bug's subsystems, reply with: #syz set subsystems: new-subsystem (See the list of subsystem names on the web dashboard) If the bug is a duplicate of another bug, reply with: #syz dup: exact-subject-of-another-report If you want to undo deduplication, reply with: #syz undup