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 ED3CF55D866 for ; Fri, 11 Sep 2026 19:49:29 +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=1789156181; cv=none; b=mf/aIYNV1JwelRehvrfPz+TMpNvTehspNvKJvu+t9AbEFyYoswwbrWMq9OdCXshfgkyxXHY2xvpVptHmXKP383sd6mu/+0AwVl08RGiQJ/E6b6MD1QkgMV7xep9728Zr8kvvOIwIT8UMEJnEw6c6C5APMY87N8xPw6neSpXfuyM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1789156181; c=relaxed/simple; bh=vKy31W3UMO2kufzqt+QkPnMJwqE1flbghi8YSq3FmUA=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=pwp3AO/QPuxrRRLltlYHlfYbmDZPm/BU0JAj3RZhOPRaxMYL9gvMsE7N9x12T7MgknBq29Yunum0t3P7V9tQBYFNpn3EOfOssi5hTtSlS5IlooqjjtmfO2Eyk8vcGHYT3Ajsv4K8zdHXdvDg6owAl410VaDvgCnx9+ZPQ/nBd3U= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=XUdwKhlL; 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="XUdwKhlL" Received: by smtp.kernel.org (Postfix) with ESMTPSA id A10AB1F0089A; Fri, 11 Sep 2026 19:49:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1789156169; bh=1A7yLJauynTEFyRHtHeftJl5RFDgiHCqGkGrUd/pGis=; h=From:To:Cc:Subject:Date:Reply-To; b=XUdwKhlLVRzkZWEIuCMP53csraYV5wYc8G/gPtuztZKI2DXWrOHsxlbZl+9ORkWV3 HvGsDuNFZReDOUDb4zjP9CrJpfrioEd4CFuM9vtA9qBjxADKs+moPnnHQYHCC2E5np p0e2/VVVUyuT2jp6ewLLFmi7Fp1LV5Jko1UbUHOg= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-81010: io_uring/waitid: honor task_work cancellation Date: Fri, 11 Sep 2026 21:41:56 +0200 Message-ID: <2026091153-CVE-2026-81010-ea7c@gregkh> X-Mailer: git-send-email 2.55.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=2610; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=xaKWC4UFfvLyuAHHrGTo+1C7OThmYyL5XRIlbkiQXEI=; b=owGbwMvMwCRo6H6F97bub03G02pJDFlLIl1dS9P3VL/n5jc0lfmTkvXzm24+45lFx1Qezzxwr y55s/PGjlgWBkEmBlkxRZYv23iO7q84pOhlaHsaZg4rE8gQBi5OAZjIzvUM89TdlufYJrcr9T+e yvE1gcth+6K94gzzFDZxXJn7WLHr7ty11Vs4TxbEGnT5AAA= 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: honor task_work cancellation io_waitid_cb() may run through the fallback task_work path when task_work_add() can no longer queue work to the originating task. The fallback runs from a kworker and io_uring marks such task work as canceled through tw.cancel. io_waitid_cb() currently ignores tw.cancel and calls __do_wait(). waitid is task-context dependent: __do_wait() performs child lookup relative to current, and the retry path also uses current->signal->wait_chldexit. If the callback runs from the fallback kworker, current is therefore not the task that submitted the request. Honor tw.cancel before entering __do_wait(). Complete the request with -ECANCELED and skip the siginfo copy, since canceled task work may run without the submitting task's userspace execution context. Keep the existing siginfo handling for normal waitid completion and explicit cancellation. The Linux kernel CVE team has assigned CVE-2026-81010 to this issue. Affected and fixed versions =========================== Issue introduced in 6.7 with commit f31ecf671ddc498f20219453395794ff2383e06b and fixed in 7.2.4 with commit 7bc98e2de8c58a2bfaf0f540eb096a386ecfc96c Issue introduced in 6.7 with commit f31ecf671ddc498f20219453395794ff2383e06b and fixed in 7.3-rc1 with commit 14572de82e5022899e5856008bc9cac97004a88c 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-81010 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/7bc98e2de8c58a2bfaf0f540eb096a386ecfc96c https://git.kernel.org/stable/c/14572de82e5022899e5856008bc9cac97004a88c