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 2971B2F360A for ; Wed, 24 Jun 2026 16:41:23 +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=1782319285; cv=none; b=KjPU15Ah1thqaTwQ3VVsogmiNXeodKIaROxs0mfa0HC6UaG61ekaQLW7nztMnChfu7S7FEKLWwFhPVzcEdtNEI7PRzQQDFrZlz/qLzIY8OQ2zouOybjJAGwzK29nx4s2TIBLunMbXHCGAOPexR/S4rQWDmw+9ZwNuqkWi0n3mYQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1782319285; c=relaxed/simple; bh=oU/LzQfOTWgTS8l0ZHc7X6A25irReS/n7oEQG7hG410=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=TEWT0tUX3aYRSZN4HU9qVCHPLcUwgvAOtm4WY32QSpHWgw1IXc7ezhEPJ0y6/yKjdq0xopjnWWk2SsY+tukR13FLWlSfnVzF/aHSxCaW6YHod+f1uq8fRb34mzZoL1/lw95oseS9TyFOA9E5YFppduR/kCNVrxXgYzge49kvBPo= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=uHvoomDs; 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="uHvoomDs" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 41E521F000E9; Wed, 24 Jun 2026 16:41:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1782319283; bh=HUv5McjjVQ2DwjX1nuxZmhpj98DLfcqPnFe4HyKBC4E=; h=From:To:Cc:Subject:Date:Reply-To; b=uHvoomDsu8DUsz5sKkETc8CtxyxRewY7Z+alQkIcSkWcI0LNZEHhUXJeAeW72fx8t dDWEk2z720qFsZW7ThUril9VLSVpMT/LA4dmBm9CefXqs7HYSIabjjsJvA2pt6VyDS KRBnnSy18k/vfk6sQ/4bava9nVhCDL84Ygxv5Uv4= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-53124: ublk: reset per-IO canceled flag on each fetch Date: Wed, 24 Jun 2026 17:32:28 +0100 Message-ID: <2026062417-CVE-2026-53124-4c95@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=2736; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=NkPzKlx/4JzNFykS2jqJaTzqbvlCNVTHKADfaV7YKvU=; b=owGbwMvMwCRo6H6F97bub03G02pJDFk2bJKN7EciQiVFLgj/2u92uTT40J11W3c3GV5NlOYtY Gn5Hm3ZEcvCIMjEICumyPJlG8/R/RWHFL0MbU/DzGFlAhnCwMUpABPRzGeYnyDk2hq+OWtOP09h 6upHmwvf/v7Fy7Bg994tpveuOJ87N7ltmauG6qf8R6/2AQA= 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: ublk: reset per-IO canceled flag on each fetch If a ublk server starts recovering devices but dies before issuing fetch commands for all IOs, cancellation of the fetch commands that were successfully issued may never complete. This is because the per-IO canceled flag can remain set even after the fetch for that IO has been submitted - the per-IO canceled flags for all IOs in a queue are reset together only once all IOs for that queue have been fetched. So if a nonempty proper subset of the IOs for a queue are fetched when the ublk server dies, the IOs in that subset will never successfully be canceled, as their canceled flags remain set, and this prevents ublk_cancel_cmd from actually calling io_uring_cmd_done on the commands, despite the fact that they are outstanding. Fix this by resetting the per-IO cancel flags immediately when each IO is fetched instead of waiting for all IOs for the queue (which may never happen). The Linux kernel CVE team has assigned CVE-2026-53124 to this issue. Affected and fixed versions =========================== Issue introduced in 6.15 with commit 728cbac5fe219d3b8a21a0688a08f2b7f8aeda2b and fixed in 7.0.10 with commit 63335e5a67d89bb7cb9b023bbb3785896587a648 Issue introduced in 6.15 with commit 728cbac5fe219d3b8a21a0688a08f2b7f8aeda2b and fixed in 7.1 with commit 0842186d2c4e67d2f8c8c2d1d779e8acffd41b5b Issue introduced in 6.14.6 with commit 42ea64e01c96e594fb4f80c54dfe4f934d008a6e 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-53124 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: drivers/block/ublk_drv.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/63335e5a67d89bb7cb9b023bbb3785896587a648 https://git.kernel.org/stable/c/0842186d2c4e67d2f8c8c2d1d779e8acffd41b5b