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 6EBD42980AF for ; Wed, 18 Jun 2025 11:17:30 +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=1750245450; cv=none; b=ksYpESeCalsWZXYJPZNJIpKD/Emqkz3ccqmpdkoQ7eJhYSe0o4MHh2vxfK3RzxH10jJk5WpRpYopvBKtxYtsTYr9/UhfAdQIUpcpQ4vgOuj9rh56hRoQGvxzTxvUB1Ylh9xAIEwWN5DnEQmQuhfj1qqZ+iRKpOfajKqreeAETYQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1750245450; c=relaxed/simple; bh=IksSImGN9GVf4o3OGBUqkuMzopXYHVFwmN04W5/EKkY=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=k49cn9VGX5lJrT/AcXXifRDii1PhO9FZoUAa7oqU8mNkvliFYXb6tOCAhokbP2A/IGj/Dv8IxFr83no3FN7pnUjLVys/UV6/IrY/zKdgkhnyrt1xf0RkjbgNCKMFvoCay2E6z4MkAQ3or9s7gcOUaE7Ja7HR+yn38/MNbsSTW7U= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=FYt7Mhc3; 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="FYt7Mhc3" Received: by smtp.kernel.org (Postfix) with ESMTPSA id D29E6C4CEE7; Wed, 18 Jun 2025 11:17:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1750245450; bh=IksSImGN9GVf4o3OGBUqkuMzopXYHVFwmN04W5/EKkY=; h=From:To:Cc:Subject:Date:Reply-to:From; b=FYt7Mhc3580DnvASjMnNuz90VCINcIDXT0ZzA9gA91gsZ3HTdYAgk1q+Q2mJe7sX2 7wTcRTZ+Drx/gee90m+vtvEZxIUfTyxtvynbxB9+t8yPj3+SLjVupS8znUSvE+v0D8 AWRSQmaDEOGQLSjcXtXfkJdB9TsE6YUCTX3u8flg= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2022-50209: meson-mx-socinfo: Fix refcount leak in meson_mx_socinfo_init Date: Wed, 18 Jun 2025 13:04:34 +0200 Message-ID: <2025061843-CVE-2022-50209-2bc6@gregkh> X-Mailer: git-send-email 2.49.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=3110; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=AU5XLIdKQRnhYxTCuhTHEDUb1HcopU/5TtsRW2FBzPA=; b=owGbwMvMwCRo6H6F97bub03G02pJDBlBc6ZLdDK0MaVbnH/1jfHEWZl7ux1eBsfn8a9JUnrR/ O52owlbRywLgyATg6yYIsuXbTxH91ccUvQytD0NM4eVCWQIAxenAExEfRvD/ORPyXXvT/44/9jt WP90/h9Rj2JytjPMs3X4cvbeCtH+gh95Xz+3qv1dfCV5KgA= 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: meson-mx-socinfo: Fix refcount leak in meson_mx_socinfo_init of_find_matching_node() returns a node pointer with refcount incremented, we should use of_node_put() on it when not need anymore. Add missing of_node_put() to avoid refcount leak. The Linux kernel CVE team has assigned CVE-2022-50209 to this issue. Affected and fixed versions =========================== Issue introduced in 4.15 with commit 5e68c0fc8df8a588b15cd469b27b8b5dbfadc6c3 and fixed in 4.19.256 with commit 69a64c77aafcf3c772264a36214937514e31ad82 Issue introduced in 4.15 with commit 5e68c0fc8df8a588b15cd469b27b8b5dbfadc6c3 and fixed in 5.4.211 with commit 6b28bf3e044f12db0fc18c42f58ae7fc3fa0144a Issue introduced in 4.15 with commit 5e68c0fc8df8a588b15cd469b27b8b5dbfadc6c3 and fixed in 5.10.137 with commit 2691b8780f88e1b8b3578a5bc78a0011741bbd74 Issue introduced in 4.15 with commit 5e68c0fc8df8a588b15cd469b27b8b5dbfadc6c3 and fixed in 5.15.61 with commit e21744c6a0d4116a2d6ebccd947620ca4c952e92 Issue introduced in 4.15 with commit 5e68c0fc8df8a588b15cd469b27b8b5dbfadc6c3 and fixed in 5.18.18 with commit 8a4a33b3e898b13c750b1c0c9643516c7bf6473f Issue introduced in 4.15 with commit 5e68c0fc8df8a588b15cd469b27b8b5dbfadc6c3 and fixed in 5.19.2 with commit 0c1757480a6a61b8c3164ed371c359edb3928f12 Issue introduced in 4.15 with commit 5e68c0fc8df8a588b15cd469b27b8b5dbfadc6c3 and fixed in 6.0 with commit a2106f38077e78afcb4bf98fdda3e162118cfb3d 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-2022-50209 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/soc/amlogic/meson-mx-socinfo.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/69a64c77aafcf3c772264a36214937514e31ad82 https://git.kernel.org/stable/c/6b28bf3e044f12db0fc18c42f58ae7fc3fa0144a https://git.kernel.org/stable/c/2691b8780f88e1b8b3578a5bc78a0011741bbd74 https://git.kernel.org/stable/c/e21744c6a0d4116a2d6ebccd947620ca4c952e92 https://git.kernel.org/stable/c/8a4a33b3e898b13c750b1c0c9643516c7bf6473f https://git.kernel.org/stable/c/0c1757480a6a61b8c3164ed371c359edb3928f12 https://git.kernel.org/stable/c/a2106f38077e78afcb4bf98fdda3e162118cfb3d