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 56F3E1A840A for ; Wed, 26 Feb 2025 01:59:54 +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=1740535194; cv=none; b=REnr1AQxUt6OcD3wEvLkvWrDkSvjtIEpykGMIsT9cdgGX9keaadlt+0FqZ+uEbobcDXtly7T32H3lSQu+xnh1ySoGhxmdCfRvyWHoiItDqpcZVhQYq+GxZX6HpiUXBYll81946p6id7EqJiMovn6mDyExrUeW913+qIem3NMzq0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1740535194; c=relaxed/simple; bh=Vbr/9Ub//HvQ0HgVbTzkJAa31hGZKNj+nAkYzHk3nrc=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=EDf/UW64J2452jmGRw//hbAmAvq3x4GTz17fAohFnEDPUdFhW8hvXpfYzgq+nZxtYnNbJTlq1DmSdeZ9gBF57LaZtgsi7MYOXJg4B6jAiSXV1DqBsk0bIvKYkBxmasN6KELTuU9tVMhouku7Ctyp7fYbuOtXKw3ggnJjNKciZQ4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=OTluvyYI; 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="OTluvyYI" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 28C18C4CEDD; Wed, 26 Feb 2025 01:59:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1740535194; bh=Vbr/9Ub//HvQ0HgVbTzkJAa31hGZKNj+nAkYzHk3nrc=; h=From:To:Cc:Subject:Date:Reply-to:From; b=OTluvyYI69RKJo3SZzCGATrgSQUeOj5Xvxnlea0lYuEs8Z0S0PCghq5DUx4x+yy/b BTN0+uPs8WbYKQUcUaQx6hkThjKjg1J85vkOqATxacGjlVzH0TaYsMdr2s58bF7OUa g6txsHpXw6znj3FoWb3BDCiqg7bADdF5vk7Td+m4= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2022-49237: ath11k: add missing of_node_put() to avoid leak Date: Wed, 26 Feb 2025 02:57:22 +0100 Message-ID: <2025022624-CVE-2022-49237-760d@gregkh> X-Mailer: git-send-email 2.48.1 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=1963; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=Vbr/9Ub//HvQ0HgVbTzkJAa31hGZKNj+nAkYzHk3nrc=; b=owGbwMvMwCRo6H6F97bub03G02pJDOn7SgJWvf6QU5Vy9Kj8q9Cg/QoN3Vayy3PNJO/kWASwm gsxbBLsiGVhEGRikBVTZPmyjefo/opDil6Gtqdh5rAygQxh4OIUgIk8lmNYMOk/X3rY2kWSZa19 3WHzq5mVV89kZJgrcGfN+RDNHRMsbJOvlxn8L1PQzNsMAA== 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: ath11k: add missing of_node_put() to avoid leak The node pointer is returned by of_find_node_by_type() or of_parse_phandle() with refcount incremented. Calling of_node_put() to aovid the refcount leak. The Linux kernel CVE team has assigned CVE-2022-49237 to this issue. Affected and fixed versions =========================== Issue introduced in 5.17 with commit 6ac04bdc5edb418787ab2040b1f922c23464c750 and fixed in 5.17.2 with commit 7d51cb010b20d70b16dc6e4341bf29d6c5b32564 Issue introduced in 5.17 with commit 6ac04bdc5edb418787ab2040b1f922c23464c750 and fixed in 5.18 with commit 3d38faef0de1756994b3d95e47b2302842f729e2 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-49237 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/net/wireless/ath/ath11k/mhi.c drivers/net/wireless/ath/ath11k/qmi.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/7d51cb010b20d70b16dc6e4341bf29d6c5b32564 https://git.kernel.org/stable/c/3d38faef0de1756994b3d95e47b2302842f729e2