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 B089F18C039 for ; Fri, 27 Sep 2024 12:40:38 +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=1727440838; cv=none; b=EEsoX/rCTnX+iF+KGXMLBhCwD3NMOHGGVyfDvv25ZxSxiYOI/kg1qQWdBDmrkZjijUrVE5tCDvTXphve6uXHpW5xct8lO7qWoCi2BYra3LZHjrdDdSdPRVU0a7APtc7zg0wY809AqII2eUlHzf4lTW88UItOtbmJuR0EBZ2Z8oQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1727440838; c=relaxed/simple; bh=CD+0+PWi890CNjCpO9py0OMWdObKwl6SKRtcLjzL2SY=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=nzqFxfV3fAscRXKjajd2l6eHUtqF/T3IoLc0jRKO0+bF+hkOf0jB/wIj6GivMvy/WO1qX8mfXB39klM0+7Pqez0+BHb640zBh8WpdP04Wq0wWOIu9yIyC/odmMMf/NAKgzABRBff67cIgZjlWkiBjOycTewWe3uzNeQdKhJoUrk= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=f0brYtov; 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="f0brYtov" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 44218C4CEC4; Fri, 27 Sep 2024 12:40:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1727440838; bh=CD+0+PWi890CNjCpO9py0OMWdObKwl6SKRtcLjzL2SY=; h=From:To:Cc:Subject:Date:Reply-to:From; b=f0brYtovfFOGmavnAmrlR+t+JXP0REGjUpUSC6fewL2yAfboB/7qW2UeZrJSz/oba j12J2jTy8wCccISR2j+JsS89H66UJKFgRd/tADmqsB1pmMEHmKoyzFwJrMjBVJGN8h 0XASEr6aG4vreEce1RNcauNx+KU9ynAZT6l17IM0= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2024-46844: um: line: always fill *error_out in setup_one_line() Date: Fri, 27 Sep 2024 14:40:12 +0200 Message-ID: <2024092755-CVE-2024-46844-af64@gregkh> X-Mailer: git-send-email 2.46.2 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=2410; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=CD+0+PWi890CNjCpO9py0OMWdObKwl6SKRtcLjzL2SY=; b=owGbwMvMwCRo6H6F97bub03G02pJDGnfls9WXnDW5WiJwgpDttMqggdd5dhed66fsHZ/8U9ts WW5ElIVHbEsDIJMDLJiiixftvEc3V9xSNHL0PY0zBxWJpAhDFycAjCREyoMCw5e8r80J/1dmPcZ L8aOXReP71A7+ZFhfkmM060Fs2SZZv6/I/PvjFDwr1alXgA= 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: um: line: always fill *error_out in setup_one_line() The pointer isn't initialized by callers, but I have encountered cases where it's still printed; initialize it in all possible cases in setup_one_line(). The Linux kernel CVE team has assigned CVE-2024-46844 to this issue. Affected and fixed versions =========================== Fixed in 4.19.322 with commit 3bedb7ce0806 Fixed in 5.4.284 with commit 96301fdc2d53 Fixed in 5.10.226 with commit c8944d449fda Fixed in 5.15.167 with commit 43f782c27907 Fixed in 6.1.110 with commit 289979d64573 Fixed in 6.6.51 with commit ec5b47a37017 Fixed in 6.10.10 with commit fc843d3837eb Fixed in 6.11 with commit 824ac4a5edd3 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-46844 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: arch/um/drivers/line.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/3bedb7ce080690d0d6172db790790c1219bcbdd5 https://git.kernel.org/stable/c/96301fdc2d533a196197c055af875fe33d47ef84 https://git.kernel.org/stable/c/c8944d449fda9f58c03bd99649b2df09948fc874 https://git.kernel.org/stable/c/43f782c27907f306c664b6614fd6f264ac32cce6 https://git.kernel.org/stable/c/289979d64573f43df1d0e6bc6435de63a0d69cdf https://git.kernel.org/stable/c/ec5b47a370177d79ae7773858042c107e21f8ecc https://git.kernel.org/stable/c/fc843d3837ebcb1c16d3768ef3eb55e25d5331f2 https://git.kernel.org/stable/c/824ac4a5edd3f7494ab1996826c4f47f8ef0f63d