From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (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 2092F2E3AF1 for ; Tue, 9 Jun 2026 07:38:21 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1780990703; cv=none; b=be5Jwl8ghZrpbk/cyh/FYU9C3dYNfWGlk25qrZG9Yg7afeh1+wpQO13++bd5f1qhM5Zhy1Q5+EP10ISvHQCv6nxkV+fSQyo78ceJ2eFBhxv3cM0XWqRwrmP1ebNdWV2/OcAOhTPkQs7+aex0mmzDCRVKVYTxCZS0hEba5l1JPOY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1780990703; c=relaxed/simple; bh=tExVZskequvILB5mU9N7bdkx39G8YdxuU1/XWyunHOQ=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=FcEUkLwuiuNv7VMmfzIoML/cMOA19MFzoWYA6OYlcqoND6C8zSKuA/VveFlRCEI05AyhJsIwbgw+lkk7dnFyeLQ+9HzNIEnFUR2UZbI5dmO9Wmt5CIuFDb8RdZP1c3SLFsFt/n/bo4kqbyb6+vbx6T/vs3J+pW6PJp5Ci2JoKyQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=DFYW+RSF; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="DFYW+RSF" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 414BB1F00893; Tue, 9 Jun 2026 07:38:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1780990701; bh=NYkQ6BR+0z1JdsfAPu/iIKfAJQ0BpKhq3DmzOBFV1b8=; h=From:To:Cc:Subject:Date:Reply-To; b=DFYW+RSFAo0Sfk6zb+iXhSsOpd/fu8mVfB0XIR/f6AxcmtFGbQlfdw/inzy4jxPMs +cMd8SSK3HbVGVWlrQH0wPJnF/crFYHnQEMegiSrch2O9sQTksrMhDoz7/WCXsSoeM ZfI0/k+72N3tJwN21eW8nbFVrUWz9RQ2FeYivWVg= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-46315: io_uring/waitid: clear waitid info before copying it to userspace Date: Tue, 9 Jun 2026 09:37:21 +0200 Message-ID: <2026060920-CVE-2026-46315-2caa@gregkh> X-Mailer: git-send-email 2.54.0 Reply-To: , Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=2832; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=6IGkumq7Cz95VVFyF6c6PSyr4hgTQjnx0TjeTkvbVJs=; b=owGbwMvMwCRo6H6F97bub03G02pJDFnqhzasLzhTbRBoKR8/a1thwl718lVLX4vnl33yes7yX 1Pg0drdHbEsDIJMDLJiiixftvEc3V9xSNHL0PY0zBxWJpAhDFycAjCRzDsM87Tv1PRNn7RApC3b ocFz8TfVQPlp6xjm10RNnn9PQ1es/n7yxMzZjvI/+7epAQA= X-Developer-Key: i=gregkh@linuxfoundation.org; a=openpgp; fpr=F4B60CC5BF78C2214A313DCB3147D40DDB2DFB29 Content-Transfer-Encoding: 8bit From: Greg Kroah-Hartman Description =========== In the Linux kernel, the following vulnerability has been resolved: io_uring/waitid: clear waitid info before copying it to userspace IORING_OP_WAITID stores its result fields in struct io_waitid::info and later copies them to userspace siginfo. The prep path initializes the request arguments, but it does not initialize info itself. If the wait operation completes without reporting a child event, the common wait code can return without writing wo_info. In that case io_waitid_finish() still copies iw->info to userspace, exposing stale bytes from the reused io_kiocb command storage. Clear the result storage during prep so the io_uring path matches the regular waitid syscall, which uses a zero-initialized struct waitid_info. The Linux kernel CVE team has assigned CVE-2026-46315 to this issue. Affected and fixed versions =========================== Issue introduced in 6.7 with commit f31ecf671ddc498f20219453395794ff2383e06b and fixed in 6.12.92 with commit 954518e5a4a5efc5033253f6e36fc7b9f98363a3 Issue introduced in 6.7 with commit f31ecf671ddc498f20219453395794ff2383e06b and fixed in 6.18.34 with commit b737c6612c60c23b40a9f31749b99e6f61943847 Issue introduced in 6.7 with commit f31ecf671ddc498f20219453395794ff2383e06b and fixed in 7.0.11 with commit 4d2a0de611ab60d02fc768ae0cd5918b16bd5474 Issue introduced in 6.7 with commit f31ecf671ddc498f20219453395794ff2383e06b and fixed in 7.1-rc5 with commit 93d93f5f8da791e98159795c6ef683f45bd95d13 Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community. Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at https://cve.org/CVERecord/?id=CVE-2026-46315 will be updated if fixes are backported, please check that for the most up to date information about this issue. Affected files ============== The file(s) affected by this issue are: io_uring/waitid.c Mitigation ========== The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits: https://git.kernel.org/stable/c/954518e5a4a5efc5033253f6e36fc7b9f98363a3 https://git.kernel.org/stable/c/b737c6612c60c23b40a9f31749b99e6f61943847 https://git.kernel.org/stable/c/4d2a0de611ab60d02fc768ae0cd5918b16bd5474 https://git.kernel.org/stable/c/93d93f5f8da791e98159795c6ef683f45bd95d13