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 A14533242BA for ; Fri, 24 Jul 2026 15:23:44 +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=1784906625; cv=none; b=lkJhh2dRFsDA3kmn0gokrmYOrnXSvJI2pdFjLZaNub7ye3FyP7VMvqmu98TF/SMv5DPuHuWbOCPBf18MNbGXjhEXYSrdhTpAPeCjCcqsfSoysUv/YxXTGTKSQfCqSvUWoDTmUjJd4VBrQ4ZZlXV9cA3l9Wuyhiclx0ZDqtnNJFA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784906625; c=relaxed/simple; bh=LfCalVhB/tTbcZJp2QHwmFHyEZeKhfBszBUi0xtjITE=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=XHEAcljqkW9iAePx5IFiLDs1ofTRCdXZ4HnOFlZlcAyU/BX7qp3v5tnIlTnEseKi9FAurI5B3vfPBPHsXqC795Y6RBX8ZyMnh43XlWrvVoVeEDz797lrN0vqLTCCeK0QRveyNi3c2p0cBivXFkj8eLNywXLSzjAz8T01CVBcXqU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=CdII4fQa; 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="CdII4fQa" Received: by smtp.kernel.org (Postfix) with ESMTPSA id D79111F000E9; Fri, 24 Jul 2026 15:23:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1784906624; bh=gQda3qqXCX6yvgSk3sAogM5e7hsE1M1azXP4uKRJDss=; h=From:To:Cc:Subject:Date:Reply-To; b=CdII4fQahQrF2PEXU1yMjgjm6pHcTHb6bgTI+i8kWvGVPdRnjPRDqrS0MFKMS7GAK eOQOmVkgvimaQCacdaGehCO4hrwHM3LVD80HjivN7fNLqTUEqZxJjrM8jJnP9qez8A sXbmPWkIYsu4W9wiC8sQ5iCHp+qnQtlzOjLCPSgg= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-64220: device property: set fwnode->secondary to NULL in fwnode_init() Date: Fri, 24 Jul 2026 17:23:23 +0200 Message-ID: <2026072416-CVE-2026-64220-bff1@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=3354; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=xJZQm57rOMASACn1m5kw9VGqMlkgOiwTmFlpR1dNUpA=; b=owGbwMvMwCRo6H6F97bub03G02pJDFnJzSlRN/ovv7hpGMu/Re37dDVtmdVP9uc/+PH19c3pL H7/FotO7IhlYRBkYpAVU2T5so3n6P6KQ4pehranYeawMoEMYeDiFICJaB9imO/Xnaqo/WDT29m1 kx5UHq3XmCAWFsUwP6msb1//1cc/7ISmzSp/W5668cSLQwA= 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: device property: set fwnode->secondary to NULL in fwnode_init() If a firmware node is allocated on the stack (for instance: temporary software node whose life-time we control) or on the heap - but using a non-zeroing allocation function - and initialized using fwnode_init(), its secondary pointer will contain uninitalized memory which likely will be neither NULL nor IS_ERR() and so may end up being dereferenced (for example: in dev_to_swnode()). Set fwnode->secondary to NULL on initialization. The Linux kernel CVE team has assigned CVE-2026-64220 to this issue. Affected and fixed versions =========================== Issue introduced in 5.11 with commit 01bb86b380a306bd937c96da36f66429f3362137 and fixed in 5.15.209 with commit f0e211d6539fae800217c10797993b7592d6ab01 Issue introduced in 5.11 with commit 01bb86b380a306bd937c96da36f66429f3362137 and fixed in 6.1.175 with commit 3f1024deeab3b5443c29b3de4fe475e87309b8fa Issue introduced in 5.11 with commit 01bb86b380a306bd937c96da36f66429f3362137 and fixed in 6.6.142 with commit 371f53925a6714d0aa35f1aefdffc3e8cd62f480 Issue introduced in 5.11 with commit 01bb86b380a306bd937c96da36f66429f3362137 and fixed in 6.12.92 with commit 34bf74b1fd2e4a44e27821a329204caf09df2976 Issue introduced in 5.11 with commit 01bb86b380a306bd937c96da36f66429f3362137 and fixed in 6.18.34 with commit 508fd8ab158abd04b7f7d0f707cd6d6c405df4ea Issue introduced in 5.11 with commit 01bb86b380a306bd937c96da36f66429f3362137 and fixed in 7.0.11 with commit f59e686c778cb41b8f7aa8fab2afd6a01afb3d47 Issue introduced in 5.11 with commit 01bb86b380a306bd937c96da36f66429f3362137 and fixed in 7.1 with commit 215c90ee656114f5e8c32408228d97082f8e0eef 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-64220 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: include/linux/fwnode.h 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/f0e211d6539fae800217c10797993b7592d6ab01 https://git.kernel.org/stable/c/3f1024deeab3b5443c29b3de4fe475e87309b8fa https://git.kernel.org/stable/c/371f53925a6714d0aa35f1aefdffc3e8cd62f480 https://git.kernel.org/stable/c/34bf74b1fd2e4a44e27821a329204caf09df2976 https://git.kernel.org/stable/c/508fd8ab158abd04b7f7d0f707cd6d6c405df4ea https://git.kernel.org/stable/c/f59e686c778cb41b8f7aa8fab2afd6a01afb3d47 https://git.kernel.org/stable/c/215c90ee656114f5e8c32408228d97082f8e0eef