From mboxrd@z Thu Jan 1 00:00:00 1970 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 1E85D131E38 for ; Wed, 7 Aug 2024 15:27:01 +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=1723044422; cv=none; b=nmWsXsSx4U7/nDtg8APQ4Zq5aBbBZxIercIVOGOGl07S2PXmzR2wXZ5sVBkGfAwmD8hwXgU5RNe0J9gWLW70BDoFyikkXC6pMz16ApvZKutN8bn0HKV8ImE77Oy5cQTHKggymK/7ygwmgsTg+UEqh6zEdGxNTWFEpLaT/0AldSs= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1723044422; c=relaxed/simple; bh=CgZ4eIqIOSwuBx/nSBDsVPhK6bupgTY0yZIsuByx0Ig=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=WUK0Ke4RQvqXUDnv0OvsnUHcoWpQRLXXgBScmZ1bHLAQ9jHuugyVsU4RATOOnVQic1CY/Yebico5TKkLs7jFtGh9Uxz6Of6X2wVuCZEZnXYiXUVb9qCyzlD4AsbUUlFtGfeWNupvbkMYjYxJC3DLeGLYwNELDgBt5cDAh1N35A0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=BO1U06z0; 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="BO1U06z0" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 5D6AEC4AF0B; Wed, 7 Aug 2024 15:27:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1723044421; bh=CgZ4eIqIOSwuBx/nSBDsVPhK6bupgTY0yZIsuByx0Ig=; h=From:To:Cc:Subject:Date:Reply-to:From; b=BO1U06z0TN7PQIpi9mtEiBzaKMSWpSYTAPpOYhBD7cLW7C588uo6vKg6K+OfmuSAu 6q/9x4RpPiF+4H8I6bPVakuYE3Gd1Szjm1VzIiddWSgfdh5xK+xze7aZwWLAMVKh8R V4A4y2TufHNeE/1p5vxd5SbF3Y/FdcDlLCu+kYmE= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2024-42248: tty: serial: ma35d1: Add a NULL check for of_node Date: Wed, 7 Aug 2024 17:14:54 +0200 Message-ID: <2024080742-CVE-2024-42248-e682@gregkh> X-Mailer: git-send-email 2.46.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=1941; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=CgZ4eIqIOSwuBx/nSBDsVPhK6bupgTY0yZIsuByx0Ig=; b=owGbwMvMwCRo6H6F97bub03G02pJDGmb+5N43k174yGj87pC3ubbtyTnezx7+413rdr8oWbqd YmknGsTO2JZGASZGGTFFFm+bOM5ur/ikKKXoe1pmDmsTCBDGLg4BWAiZuEMcyUf3BGT1q7aP/Fw bv2CR4/Xp6dvq2ZYMFdTt0/rxc6+o2+XTFlzrZ37ZL2/HQA= 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: tty: serial: ma35d1: Add a NULL check for of_node The pdev->dev.of_node can be NULL if the "serial" node is absent. Add a NULL check to return an error in such cases. The Linux kernel CVE team has assigned CVE-2024-42248 to this issue. Affected and fixed versions =========================== Issue introduced in 6.5 with commit 930cbf92db01 and fixed in 6.6.41 with commit 23efa74cfe6e Issue introduced in 6.5 with commit 930cbf92db01 and fixed in 6.9.10 with commit 0e0e15ab2d3a Issue introduced in 6.5 with commit 930cbf92db01 and fixed in 6.10 with commit acd09ac253b5 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-42248 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/tty/serial/ma35d1_serial.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/23efa74cfe6eb923abb5b9bc51b2a04879013c67 https://git.kernel.org/stable/c/0e0e15ab2d3a094a38525d23c03d78ec7d14a40e https://git.kernel.org/stable/c/acd09ac253b5de8fd79fc61a482ee19154914c7a