From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-io1-f44.google.com (mail-io1-f44.google.com [209.85.166.44]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 6A1A7446DB for ; Wed, 24 Jul 2024 21:04:48 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.166.44 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1721855091; cv=none; b=So8DzxSrBzid43R+IP1fnKZwZc6pmIXGZQptUmslyPeOPb4C79pm7GYMBonTQv7aAQjd5nwVl9b12+MlFF2kxAfzycJ+X/YQOctA366Pjbxv4mOXpAH7MdWkMI9PBvjSMhmSsdsk7tRLMf3pKMNDzwHRhbjOggxYWgCLLLPhKlA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1721855091; c=relaxed/simple; bh=CHeYC9W1d47b/aww8k8E62+pwbJuSkQOvj4cEP+1CrQ=; h=Message-ID:Date:MIME-Version:Subject:To:References:From: In-Reply-To:Content-Type; b=nUWsELIYS3DF7RhD6R47BQyC835aAKVWcLD2wPDSQ3rFTG44c/E9uCu8qpqBYA5cpPfxkJu7B2YDUil6TUt5/8gYjYxGeLx596O/5Hoh2OOlggMbrtc3zbQd3taXDf+K4WzRvlLOBtc97EYKmyxGIuQL4tuxkItiqz6J2WTBnQ0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=kernel.dk; spf=pass smtp.mailfrom=kernel.dk; dkim=pass (2048-bit key) header.d=kernel-dk.20230601.gappssmtp.com header.i=@kernel-dk.20230601.gappssmtp.com header.b=xnZO97pd; arc=none smtp.client-ip=209.85.166.44 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=kernel.dk Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=kernel.dk Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel-dk.20230601.gappssmtp.com header.i=@kernel-dk.20230601.gappssmtp.com header.b="xnZO97pd" Received: by mail-io1-f44.google.com with SMTP id ca18e2360f4ac-7f906800b4cso1702339f.3 for ; Wed, 24 Jul 2024 14:04:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel-dk.20230601.gappssmtp.com; s=20230601; t=1721855087; x=1722459887; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:from:content-language :references:to:subject:user-agent:mime-version:date:message-id:from :to:cc:subject:date:message-id:reply-to; bh=P5FR53FnM4j9bsqovYq3dRDA4fvBTAx/Np2/J5mAWYc=; b=xnZO97pdrJ+/q9Cbmo6rjCOfoCp8zfWOVaP2Dspi4g+Ycc5DEHmEl7UTEmWsyblBV3 OR8+Dc9LHohxobcZZTm7TIzhDy72OjAqN51EVSk97zOP8++xqehQ14BKDMnqxIyuI13d fwnUxyq/JF0oCtkd7Mag0thw78cllNl4c07Va2jcnMxHmCTAGrrjigtXsnl+0wiyLtEu q8gj+aDMlpRRPSHtlKTAAEqHIVfUn0bLuth5f8R7+SCG20rWdq9xXvgAkbMKjt/wiLDa q7/iVYKbwpq0vMGvpt0gXawJ4w2eVb4bBdFcQl6ggCeQnM1AovjU5SdryIugCvEV4tdh ieNw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1721855087; x=1722459887; h=content-transfer-encoding:in-reply-to:from:content-language :references:to:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=P5FR53FnM4j9bsqovYq3dRDA4fvBTAx/Np2/J5mAWYc=; b=gNs51JZQtEnky6aObr6rAU8P6koLHAcP6rQjzzFNp85cs4Dgdw1nvul66zZUmg9Mn/ iODWAKkKROy4xWG0TPN9xsfARuQ50Ty4pd4aEQtwgO/utzyO/LbOqy/mG+7hPSbY8Tm8 xJet4iqShDdxR8HuZDRKk6WXU97yR5rD2c63pZbBfVbJNv2VnZzLeuaJmJB2oUleKzRZ knv7owGHlxWrK0P8FYo2RBBMSwkYtoahnrhbZ1wfw4xkBhxambNQ/h0a7Mv5xBNT4WU0 nvduJdMYkM7DoSy7UFKo/UpKVojjp8AqOQgxPeAiDiqmeZGfDx9QPACma0RcXq9cHxZv wHkw== X-Forwarded-Encrypted: i=1; AJvYcCU45emCSeb5cl+scJuXSjISbb3gLXOuDrEz4kw5Bp78+/f4cpV5IneLrUkCIPvER1uAyrcPY2Tn3X8lHst3iSieOnzPJ9/DReudH8n7 X-Gm-Message-State: AOJu0YyNnXekaCcuNxRyq7rsOZebXJ0RM3wv8yXpHMKhh365tgrwEBXP n94929UchBcXIz5Ha9gTjEfn0xmTKvj/rzyBBYuDKTjbqCjEXgNQ3aU/bRSzKkAvF5Fc5s/uBYu / X-Google-Smtp-Source: AGHT+IEaOzeK0O5UbyTTDtFYjiHqeN5WenoQZb1OoHTZenXrLhcCOyFGivw8jmZhFIRfjQBImMMn1Q== X-Received: by 2002:a5e:c105:0:b0:7f9:3fd9:cbd with SMTP id ca18e2360f4ac-81f7cf3f757mr33863139f.0.1721855087435; Wed, 24 Jul 2024 14:04:47 -0700 (PDT) Received: from [192.168.1.116] ([96.43.243.2]) by smtp.gmail.com with ESMTPSA id 8926c6da1cb9f-4c28c9384bcsm584489173.100.2024.07.24.14.04.46 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 24 Jul 2024 14:04:46 -0700 (PDT) Message-ID: <82a0cfca-c1d2-4d53-a00d-8283ddd81621@kernel.dk> Date: Wed, 24 Jul 2024 15:04:46 -0600 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [syzbot] [io-uring?] KMSAN: uninit-value in io_req_task_work_add_remote To: syzbot , asml.silence@gmail.com, io-uring@vger.kernel.org, linux-kernel@vger.kernel.org, syzkaller-bugs@googlegroups.com References: <000000000000a4fe65061e049a02@google.com> Content-Language: en-US From: Jens Axboe In-Reply-To: <000000000000a4fe65061e049a02@google.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 7/24/24 3:03 PM, syzbot wrote: > Hello, > > syzbot has tested the proposed patch and the reproducer did not trigger any issue: > > Reported-by: syzbot+82609b8937a4458106ca@syzkaller.appspotmail.com > Tested-by: syzbot+82609b8937a4458106ca@syzkaller.appspotmail.com > > Tested on: > > commit: c33ffdb7 Merge tag 'phy-for-6.11' of git://git.kernel... > git tree: upstream > console output: https://syzkaller.appspot.com/x/log.txt?x=17d29bb5980000 > kernel config: https://syzkaller.appspot.com/x/.config?x=f26f43c6f7db5ad2 > dashboard link: https://syzkaller.appspot.com/bug?extid=82609b8937a4458106ca > compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 > patch: https://syzkaller.appspot.com/x/patch.diff?x=120b7dad980000 > > Note: testing is done by a robot and is best-effort only. As I figured... No idea what's going on here, nr_tw is what is being complained about and it's _clearly_ initialized. Randomly disabling a branch that won't touch it off this path (hence it should be a no-op in terms of code executed messing with nr_tw) makes it go away. -- Jens Axboe