Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 42BC6358D3D for ; Tue, 16 Dec 2025 13:43:41 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1765892622; cv=none; b=hFP/oC6xfW/pbmQJdspVkt+WDx5yRcrbETnQpY/kP+FNbzSQO1BjKnldwhpE18xMXm0gmGtdvE3t+yw7eItERPscfKcaWGPjZm5vBEKH0n5yu7omS/mOCo9nKgYBsUG9g+U8rfV9Vi0PcjZEGQ6RTgX1ofh7uXhzvco1JurmSrg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1765892622; c=relaxed/simple; bh=yUP2Fxu9UDgtewlb7U7CZyklmIVKue84f4jPEE3thic=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=nr5NH8hD0japPhJJeA0gzRi0VdINcr9q6TN1PN8jFANL/AdEaScVrU51yGC8EqOCArV2XApTA9Cog3dqXWpsmogvPyww8m927io0K+F1DCVvhcdEEL0+YN/0jnKBfvkCvi52vs2wszOhHMu6fMx0BHj8roittNhIFot1G2usNKw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=DogLKuND; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="DogLKuND" Received: by smtp.kernel.org (Postfix) with ESMTPSA id A6BA6C4CEF1; Tue, 16 Dec 2025 13:43:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1765892621; bh=yUP2Fxu9UDgtewlb7U7CZyklmIVKue84f4jPEE3thic=; h=From:To:Cc:Subject:Date:Reply-To:From; b=DogLKuNDvRn2LHK65o7yWNrhOIY6xadA/RJxvIWEalVHvQn5JTmYQdbGFm+IZ5p7l aTdjECP49PxoOAWqDqZwe1jziOXnom8TyUOQaod98+SjXoxxavVvqE9C60tmFfnvkb XhYm52vzeadtumz7eJQnuRcy+2M3nbsJhy/Z8Ejo= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2025-68168: jfs: fix uninitialized waitqueue in transaction manager Date: Tue, 16 Dec 2025 14:43:29 +0100 Message-ID: <2025121627-CVE-2025-68168-7341@gregkh> X-Mailer: git-send-email 2.52.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=3200; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=jWNEXQ7SJqZYUymTF9Nn6sr+DwwWjaLquveqOJsUPv0=; b=owGbwMvMwCRo6H6F97bub03G02pJDJmOif/1NC9umZ4aJHfBl6Po3Tv2swXP7H/sdn/OmDThe 4FkTKV+RywLgyATg6yYIsuXbTxH91ccUvQytD0NM4eVCWQIAxenAEwkfS7DgtXfGsRNek/OmBZ7 TezvzwWNfo/ymBjmCsW+zFD+Jrfz3J0feYZdvtOL25dkAQA= 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: jfs: fix uninitialized waitqueue in transaction manager The transaction manager initialization in txInit() was not properly initializing TxBlock[0].waitor waitqueue, causing a crash when txEnd(0) is called on read-only filesystems. When a filesystem is mounted read-only, txBegin() returns tid=0 to indicate no transaction. However, txEnd(0) still gets called and tries to access TxBlock[0].waitor via tid_to_tblock(0), but this waitqueue was never initialized because the initialization loop started at index 1 instead of 0. This causes a 'non-static key' lockdep warning and system crash: INFO: trying to register non-static key in txEnd Fix by ensuring all transaction blocks including TxBlock[0] have their waitqueues properly initialized during txInit(). The Linux kernel CVE team has assigned CVE-2025-68168 to this issue. Affected and fixed versions =========================== Fixed in 5.4.302 with commit d6af7fce2e162ac68e85d3a11eb6ac8c35b24b64 Fixed in 5.10.247 with commit 8cae9cf23e0bd424ac904e753639a587543ce03a Fixed in 5.15.197 with commit a2aa97cde9857f881920635a2e3d3b11769619c5 Fixed in 6.1.159 with commit d2dd7ca05a11685c314e62802a55e8d67a90e974 Fixed in 6.6.117 with commit 2a9575a372182ca075070b3cd77490dcf0c951e7 Fixed in 6.12.58 with commit cbf2f527ae4ca7c7dabce42e85e8deb58588a37e Fixed in 6.17.8 with commit 038861414ab383b41dd35abbf9ff0ef715592d53 Fixed in 6.18 with commit 300b072df72694ea330c4c673c035253e07827b8 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-2025-68168 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: fs/jfs/jfs_txnmgr.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/d6af7fce2e162ac68e85d3a11eb6ac8c35b24b64 https://git.kernel.org/stable/c/8cae9cf23e0bd424ac904e753639a587543ce03a https://git.kernel.org/stable/c/a2aa97cde9857f881920635a2e3d3b11769619c5 https://git.kernel.org/stable/c/d2dd7ca05a11685c314e62802a55e8d67a90e974 https://git.kernel.org/stable/c/2a9575a372182ca075070b3cd77490dcf0c951e7 https://git.kernel.org/stable/c/cbf2f527ae4ca7c7dabce42e85e8deb58588a37e https://git.kernel.org/stable/c/038861414ab383b41dd35abbf9ff0ef715592d53 https://git.kernel.org/stable/c/300b072df72694ea330c4c673c035253e07827b8