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 BE7D4542ED6 for ; Thu, 17 Sep 2026 16:41:37 +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=1789663299; cv=none; b=hZ7riFzWLc6IvV3eovBM2Vtvlmwzf2ECxtc5SUFZJtvb7UJDtKHZqr/7eI2ckqSc0uKc/4Sz6/xw5Gv1L6xWjxXiIvp7UPcNPj2/a+oytY8wU9UCEcbOhTrYMbFLuFMimQ3RCZjFgiAunuGLSXqsRItLDBuKUens4/e+ueB1QcQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1789663299; c=relaxed/simple; bh=nRTEwf9QzATOs5wlwx2aDym4Oj2Md/k9rhVs4TTbylU=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=WaVeYAz/p2+2JbvCySCdGq5FytGZ6P7UQ0TG2a1vlUyfgO6NU4WDoQlxSEJ6rGrH16c9UbGGFGKzCxmnkxZ7z1RCugsQJp4cVpaZvNXJrDzbfIWVpOxL1RLjJACKblh9bbWHh0LWbQrrK3P99ZdiLPQftgWl0LOUDPTqe5i0TPM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=QpbNDY0A; 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="QpbNDY0A" Received: by smtp.kernel.org (Postfix) with ESMTPSA id CCE821F00898; Thu, 17 Sep 2026 16:41:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1789663297; bh=5D8AEj53WQDAqVCdIR02rLjVBc0oJFshw32/Tu1sA2k=; h=From:To:Cc:Subject:Date:Reply-To; b=QpbNDY0ALlQ9Efm9rlC7ywZSyHsLfCacve95hvZnP4TpzPZMLC3tFiLXFjuHXEpbA V4BWbePUITRfeIZKv0z6cPhtqBwBrPhhlpZ2xCDOjlA0IelNYqK+IUp4dVRH62v5CS uBDW8N3z/GxLV6yVqdyEDx8C2pMLeLGry90o/IrM= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-93157: hwrng: xilinx-trng - propagate timeout before any data is read Date: Thu, 17 Sep 2026 17:17:14 +0100 Message-ID: <2026091757-CVE-2026-93157-55b3@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=2544; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=NFJGPu7d19umrzcmZkW3iMUlHk3z1kdoOLPqE3cIx2o=; b=owGbwMvMwCRo6H6F97bub03G02pJDFlrBK4yRyR+XX81wuX/jM2hi3rO9CWtZtgersv3ekP2n BPr161O74hlYRBkYpAVU2T5so3n6P6KQ4pehranYeawMoEMYeDiFICJyIYwzA+R3p75pM4zXeOF U9+mYt+j6g4pDAwLliz1XmLcq5ts/CF/nnFR+O5/q+KXAgA= 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: hwrng: xilinx-trng - propagate timeout before any data is read xtrng_readblock32() polls for 16-byte chunks but returns the number of bytes read even when the first poll times out. Its caller then treats a zero return as a short successful read, and partial reads for full 32-byte blocks can make the tail copy use a fixed block offset rather than the amount already produced. Return the poll error when no data has been read, preserve partial positive returns after some data is available, stop the generator on all collection exits, and append tail bytes at the current output count. The Linux kernel CVE team has assigned CVE-2026-93157 to this issue. Affected and fixed versions =========================== Issue introduced in 6.18 with commit 8979744aca8096ee5072798dfc1181606919b35d and fixed in 6.18.52 with commit 62219775a07ce0bd8085852f3d1e2d772bf6fdec Issue introduced in 6.18 with commit 8979744aca8096ee5072798dfc1181606919b35d and fixed in 7.2.6 with commit bdc3b37a935f28c3e9eb2f6e889b4644d859fb08 Issue introduced in 6.18 with commit 8979744aca8096ee5072798dfc1181606919b35d and fixed in 7.3-rc1 with commit ba088974419326daf46c5dc03e2cf6ab6ab701f7 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-93157 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/char/hw_random/xilinx-trng.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/62219775a07ce0bd8085852f3d1e2d772bf6fdec https://git.kernel.org/stable/c/bdc3b37a935f28c3e9eb2f6e889b4644d859fb08 https://git.kernel.org/stable/c/ba088974419326daf46c5dc03e2cf6ab6ab701f7