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 077261D5CCD for ; Thu, 7 Nov 2024 09:35:50 +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=1730972150; cv=none; b=RL5K1HrgyaFRv2ZBvrIhp3yoPmauVE6+rZsgEA0bYrusuMOBXiNqB/gRPcCBzyVuijWicv/obFxKgWh37AjuZVZCQG5swJWXeIps2t94WnwlQZApZoITxXy5wI2yyft7JH0DelGJfogE/9JW+pSTk6DiLs2ACSlQzjxLl0RjjSw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1730972150; c=relaxed/simple; bh=0feR61OmIG94uzS71O5b42JWY1MEpUDpCPRU28zsb+w=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=nUWsuNhRG3dg8f+beKkJpYTsn1KFuDx1YZWW19Ng6yEB5vOmg/OgkNxxxpf7LYU0FsgYgYXhvgAPqN2+0/AlYXaCMR/VruGFJPDYflv36BZrTfamqRv/5VMHIVE1c33XEO3oFGzjds3vaLXnweGn0MrHsihvmwhwU1aCpF19zJs= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=JvBsuYyq; 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="JvBsuYyq" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 77295C4CECC; Thu, 7 Nov 2024 09:35:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1730972149; bh=0feR61OmIG94uzS71O5b42JWY1MEpUDpCPRU28zsb+w=; h=From:To:Cc:Subject:Date:Reply-to:From; b=JvBsuYyqn7fbZEosC1PlcImgZiKZzvMVeDjt6sj3P2ijaltx7ertSfl1t5VZUtaaY IVutwm2ywCFBkcv84PUaVRjK23+YhX1gVNN0Clz50Yh58upRFJlWlF7LMmAWfNAYvi Xs74/4+AUR5V+K/T0Id15W/UOtV3NqGlwBqJ4OZ4= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2024-50143: udf: fix uninit-value use in udf_get_fileshortad Date: Thu, 7 Nov 2024 10:34:43 +0100 Message-ID: <2024110743-CVE-2024-50143-4678@gregkh> X-Mailer: git-send-email 2.47.0 Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Reply-to: , X-Developer-Signature: v=1; a=openpgp-sha256; l=2215; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=0feR61OmIG94uzS71O5b42JWY1MEpUDpCPRU28zsb+w=; b=owGbwMvMwCRo6H6F97bub03G02pJDOk6nZv7G5YnXtvDPeV4bOtRp1g3ds9vvCFRn5o1d/VN6 qtKX8XeEcvCIMjEICumyPJlG8/R/RWHFL0MbU/DzGFlAhnCwMUpABNxbWRYcPL//VPTM3esyn3w yD2zlNc+T07sPsP8sh/WRSUTCm3/bFHcXLs4VcH0vOIuAA== X-Developer-Key: i=gregkh@linuxfoundation.org; a=openpgp; fpr=F4B60CC5BF78C2214A313DCB3147D40DDB2DFB29 Content-Transfer-Encoding: 8bit Description =========== In the Linux kernel, the following vulnerability has been resolved: udf: fix uninit-value use in udf_get_fileshortad Check for overflow when computing alen in udf_current_aext to mitigate later uninit-value use in udf_get_fileshortad KMSAN bug[1]. After applying the patch reproducer did not trigger any issue[2]. [1] https://syzkaller.appspot.com/bug?extid=8901c4560b7ab5c2f9df [2] https://syzkaller.appspot.com/x/log.txt?x=10242227980000 The Linux kernel CVE team has assigned CVE-2024-50143 to this issue. Affected and fixed versions =========================== Fixed in 5.15.170 with commit 4fc0d8660e39 Fixed in 6.1.115 with commit 72e445df65a0 Fixed in 6.6.59 with commit 1ac49babc952 Fixed in 6.11.6 with commit e52e0b92ed31 Fixed in 6.12-rc2 with commit 264db9d666ad 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-2024-50143 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/udf/inode.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/4fc0d8660e391dcd8dde23c44d702be1f6846c61 https://git.kernel.org/stable/c/72e445df65a0aa9066c6fe2b8736ba2fcca6dac7 https://git.kernel.org/stable/c/1ac49babc952f48d82676979b20885e480e69be8 https://git.kernel.org/stable/c/e52e0b92ed31dc62afbda15c243dcee0bb5bb58d https://git.kernel.org/stable/c/264db9d666ad9a35075cc9ed9ec09d021580fbb1