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 654D728C03B for ; Wed, 18 Jun 2025 11:10:35 +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=1750245035; cv=none; b=jTnucRbYka7VW5mrdB7JyoeTlvr3EW9NxoEaTEB245IRtZH0N7LAVAPYnWjZWJHOyJ75xF1UNy/nMyVm97nPFv1gZNJLiXuuFBNCz5e8sbl9O7haYjZ/ZKQNwGgNpPYIkOeD58t/akD0oqRaaWzboojTBFhT9SDAviQXgF+iGoM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1750245035; c=relaxed/simple; bh=4KBsLTmsSzhQfTt0P9nGUtE/WG1frjCp/zEfguCzJRw=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=Ec72D7aidd0I6yDb0BQRU8F/4G8gxMQe72+VKrIh91glfi/pjlz8PCVj9Bf3szGweH3A6BiMiMIsKlgY/sYKIGNBatN6RD6zgaLaEashzdMkQQuH8IP18KHk0vlVWukFDAbFi9HGKfbZos7Ly9bRxdvnp2Je97HT0ZkfpUb1Wr4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=mPqpMdxF; 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="mPqpMdxF" Received: by smtp.kernel.org (Postfix) with ESMTPSA id D667CC4CEE7; Wed, 18 Jun 2025 11:10:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1750245035; bh=4KBsLTmsSzhQfTt0P9nGUtE/WG1frjCp/zEfguCzJRw=; h=From:To:Cc:Subject:Date:Reply-to:From; b=mPqpMdxFTNN4SkFewUjtq3Q8qdM4TlLYeke30X1Ow9OUdL3UpRsrPZrSY8NKO5CPJ rfRdkgHwzrEjan/NNEmoRy8uaakeBwftlPYKBBYj+RitLvQlZd+af7rZzz3YDkUnB1 Jw+S8ayOefxdOnUhzx84o8XENH+hChZTkEYo7u4o= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2022-50111: ASoC: mt6359: Fix refcount leak bug Date: Wed, 18 Jun 2025 13:02:56 +0200 Message-ID: <2025061807-CVE-2022-50111-686f@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=2404; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=tTXfPn7BMo3Ko46pgoucZ7Wbqqqy8ahjbmBFCK17xnQ=; b=owGbwMvMwCRo6H6F97bub03G02pJDBlBc4pXBz04VNIS9uis2tX0tXedueXZQ2YYq919Iz5fu e7LrYIVHbEsDIJMDLJiiixftvEc3V9xSNHL0PY0zBxWJpAhDFycAjCRB98ZFvSl+CT+DdzoqvPG USE2rPrUxdTdMgzz3S4Km6f1nbzfzdXDsO7oz+MF1w/uBwA= 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: ASoC: mt6359: Fix refcount leak bug In mt6359_parse_dt() and mt6359_accdet_parse_dt(), we should call of_node_put() for the reference returned by of_get_child_by_name() which has increased the refcount. The Linux kernel CVE team has assigned CVE-2022-50111 to this issue. Affected and fixed versions =========================== Issue introduced in 5.10 with commit 6835302853169441069e11bc4642300c22009c2e and fixed in 5.15.61 with commit 3d69d86b3e9d82f524e7e1906adcbbe939dc836e Issue introduced in 5.10 with commit 6835302853169441069e11bc4642300c22009c2e and fixed in 5.18.18 with commit ffaef892bfef5ec68dadfd3bbed49e3d4ef7b6c7 Issue introduced in 5.10 with commit 6835302853169441069e11bc4642300c22009c2e and fixed in 5.19.2 with commit 1e7fe6906e9755d9e0242f9619c894ecd82fb9da Issue introduced in 5.10 with commit 6835302853169441069e11bc4642300c22009c2e and fixed in 6.0 with commit a8d5df69e2ec702d979f7d04ed519caf8691a032 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-50111 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: sound/soc/codecs/mt6359-accdet.c sound/soc/codecs/mt6359.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/3d69d86b3e9d82f524e7e1906adcbbe939dc836e https://git.kernel.org/stable/c/ffaef892bfef5ec68dadfd3bbed49e3d4ef7b6c7 https://git.kernel.org/stable/c/1e7fe6906e9755d9e0242f9619c894ecd82fb9da https://git.kernel.org/stable/c/a8d5df69e2ec702d979f7d04ed519caf8691a032