From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net [23.128.96.19]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 27EA2134BF for ; Wed, 18 Oct 2023 09:15:52 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=none Received: from mail-oa1-f77.google.com (mail-oa1-f77.google.com [209.85.160.77]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 79DBBFE for ; Wed, 18 Oct 2023 02:15:50 -0700 (PDT) Received: by mail-oa1-f77.google.com with SMTP id 586e51a60fabf-1e9bc53c828so8276031fac.1 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=ezm8zWO/oaNqG7pqUcRMW+WwY1MSy1M7jGvxWD9360vEg08awQy09tNpqCgBLV818J DYML6mtqIcEsySA7h13b+5bDvkzEzNgaXp3ddA6WOsExWqe54zACuRkzyr3lodDIZl9Q Adn9vf2rwmL0VcAj+dNgZWqh5Sens0n6HpOSj6pViUHC2qU4IBzY2UKyyoeOOqaYBqEY Gv42JYvhani9OCSEZap88wKE9RURvEef+p7+TbY9D5ZYAZxDYxLgqykrv2+EOQdBkp6V vPN/lvFHYKhHw+NAoidXgOUznof6IhoHC7ULciu+yFUVcOOJNoWhubzedxrJW2ox8HKG 9KHA== X-Gm-Message-State: AOJu0Yy2/Cqa3fBRCAB1IDzY1HwtzqXcccR2Ha9Jn8le6AJZFnFfLaKo m+QKbnLeIkwfRmCrWzkcnGJIoW+1t057FKCkfKqxIlOQTA/g X-Google-Smtp-Source: AGHT+IEVyOpzK0ciUkUl8pn15LkIrJ8+nZaZyVv+YpJTW6P3ZFsyCiCzeN+C9hCwesLkD1y4lMba0bHLzEuoXGWcYMP7LQdzCAk6 Precedence: bulk X-Mailing-List: netdev@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: 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" X-Spam-Status: No, score=0.9 required=5.0 tests=BAYES_00,FROM_LOCAL_DIGITS, FROM_LOCAL_HEX,HEADER_FROM_DIFFERENT_DOMAINS,RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SORTED_RECIPS,SPF_HELO_NONE, SPF_PASS autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net 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