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 54EF028B7C7 for ; Wed, 18 Jun 2025 11:10:32 +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=1750245032; cv=none; b=Uvi1F4BNL59y64gJgHdDdSswsGRazDA1sku9RtZTjdDqkxyjywt5zJf80StHYKVB/XwZHNcwwWhkUz8V9F2W0q1XWSRl+gbBuwVAY0crr7dcYNZBjx2Ku9LA8ku2AkrQptNv3PEHmMLwjWrRox1t4Y/WC3QZckwdQ7WL9vFXSC8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1750245032; c=relaxed/simple; bh=B9cTJ1TLmzcLDFZnpS3OWG2z1ul4ITVhLLXSblKe190=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=r9clmJEZvf1PgDQ8A/6dZovgjgqwab6PcGygjOUEDQH13UygqQQ2hDifSeNZCYVGhbkVXaXllj5VIqrUKBeJ9yYgIOxM2ul9PC+yVet+Ucv/D983g7fVeGbNePfaG/hv5TJa9i3lUmyl7eHNeqSWXqHNTIeflyItZFPsw+2fp3c= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=baP2wtk2; 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="baP2wtk2" Received: by smtp.kernel.org (Postfix) with ESMTPSA id B688DC4CEE7; Wed, 18 Jun 2025 11:10:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1750245032; bh=B9cTJ1TLmzcLDFZnpS3OWG2z1ul4ITVhLLXSblKe190=; h=From:To:Cc:Subject:Date:Reply-to:From; b=baP2wtk2ouHwOSqzNL+Hoj2T7l0efpYP9zjkaK0VBHvChfTk5tZY+LpaVC0rWPfw7 DukFLmD2AxjpjlRRB4v9vpXhQI5WoecXUemKQgiIGAYamcQv8Vavy5xH6eZ50D07Nh XoikPjW4NbR2FgYeLVjwQs++IzsIml/3l3kR/2J4= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2022-50110: watchdog: sp5100_tco: Fix a memory leak of EFCH MMIO resource Date: Wed, 18 Jun 2025 13:02:55 +0200 Message-ID: <2025061807-CVE-2022-50110-5027@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=2461; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=pNury67IdIOwvw8v3f+RkXOC/RxWGph8pYOd3Siwwuk=; b=owGbwMvMwCRo6H6F97bub03G02pJDBlBc4p3JCxWO/shRcuO/5RY4qMF84x/ZF52/qZ/PiHQQ N5h76t/HbEsDIJMDLJiiixftvEc3V9xSNHL0PY0zBxWJpAhDFycAjCRlwYM8/T9QlMvvlw1d0// paLN6fM9/loX/GWYp522QGrWY9aJJrPLrZasaM58KjCPCQA= 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: watchdog: sp5100_tco: Fix a memory leak of EFCH MMIO resource Unlike release_mem_region(), a call to release_resource() does not free the resource, so it has to be freed explicitly to avoid a memory leak. The Linux kernel CVE team has assigned CVE-2022-50110 to this issue. Affected and fixed versions =========================== Issue introduced in 5.15.42 with commit b4c0f1600df43245c8c3425dbd9426fdfba6c4b2 and fixed in 5.15.61 with commit 84ddf527f90755beec6b55ce2e31331f5ccd4e37 Issue introduced in 5.18 with commit 0578fff4aae5bce3f09875f58e68e9ffbab8daf5 and fixed in 5.18.18 with commit 3a1becb1f13268ef58f19190608a7c742fb6fcf5 Issue introduced in 5.18 with commit 0578fff4aae5bce3f09875f58e68e9ffbab8daf5 and fixed in 5.19.2 with commit ee1fb8f75abe361413913e3a6e93c8c0a4d83cd9 Issue introduced in 5.18 with commit 0578fff4aae5bce3f09875f58e68e9ffbab8daf5 and fixed in 6.0 with commit c6d9c0798ed366a09a9e53d71edcd2266e34a6eb Issue introduced in 5.17.10 with commit 15b5d74600b98adf396d416ed59e0d43726f2671 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-50110 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/watchdog/sp5100_tco.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/84ddf527f90755beec6b55ce2e31331f5ccd4e37 https://git.kernel.org/stable/c/3a1becb1f13268ef58f19190608a7c742fb6fcf5 https://git.kernel.org/stable/c/ee1fb8f75abe361413913e3a6e93c8c0a4d83cd9 https://git.kernel.org/stable/c/c6d9c0798ed366a09a9e53d71edcd2266e34a6eb