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 AC55E31AA82 for ; Wed, 24 Dec 2025 10:56:56 +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=1766573816; cv=none; b=mpKhiufjnQYXSFtcSZbkiZa6MmKAAkMGtnGr5zA7plyFtYq61TSb0iR1bsAzLH12tWFTMTd8RzwZCasQPhegDTBZRWksqK/Oc1I//jVgRwXAK1H0rZ7iuOZnA5Q3CYoM6feNVZNb8yx+4z7YAnD7iEIRavkDBH4MWQjzMb//j3Q= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1766573816; c=relaxed/simple; bh=jtZoy3ZM4lZU2yszUtOWf/6tVQffskbakkeFanWQwqo=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=sO9VH4tFCRylfE2L//FJpV8UK3hOzxY/CLDRepRywKlx4wSBSjueQwrr0XJ1WzjDWE9y2gTwbAEPzmWl9WNMEcQMVBjxZ4CnK2ryoktxMpH3B2ZO9qdncDu9i/Jw5QejO98TJfNjwQp6DqG6A6zqkGhnlj67RAYKplTGynVGtyE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=KGwWjEbG; 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="KGwWjEbG" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 2D5F8C4CEFB; Wed, 24 Dec 2025 10:56:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1766573816; bh=jtZoy3ZM4lZU2yszUtOWf/6tVQffskbakkeFanWQwqo=; h=From:To:Cc:Subject:Date:Reply-To:From; b=KGwWjEbGzc2EoLb2Zcl1Ncd4AWjt6R1vmY1HaLle/tdqjEXlow3VdTvSA4ZfnQQXc FW0LTuR71Jqs154UsKiYb+AK+H/St0s7Q3NPdTriirGOALeamtF9Wj10Hb8UGtxeEr PXKJc4X36w0gi4GlstJWdjbc1gJc/DW9KZtxYlSg= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2022-50708: HSI: ssi_protocol: fix potential resource leak in ssip_pn_open() Date: Wed, 24 Dec 2025 11:56:25 +0100 Message-ID: <2025122420-CVE-2022-50708-dfe3@gregkh> X-Mailer: git-send-email 2.52.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=2052; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=zH9Bqa4oesZj/i+av/DzgeZg6mQMFk21PXN3cJk6AOk=; b=owGbwMvMwCRo6H6F97bub03G02pJDJnex678/GItMtXw77pnIQ/49y9tV0wPX3eH64V+Xtxdw WvlRgyeHbEsDIJMDLJiiixftvEc3V9xSNHL0PY0zBxWJpAhDFycAjCRhe4Mc3gi9JhKlmwULnui dJ8hqs/pfu+xiQwLLtktueq0zUD8gf1ZLoGNG5ZMcsySBQA= 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: HSI: ssi_protocol: fix potential resource leak in ssip_pn_open() ssip_pn_open() claims the HSI client's port with hsi_claim_port(). When hsi_register_port_event() gets some error and returns a negetive value, the HSI client's port should be released with hsi_release_port(). Fix it by calling hsi_release_port() when hsi_register_port_event() fails. The Linux kernel CVE team has assigned CVE-2022-50708 to this issue. Affected and fixed versions =========================== Fixed in 5.19.17 with commit 78b0ef14896f843c45372f9bbdb6f6070f977eaf Fixed in 6.0.3 with commit e78b45b3eeee1cec77c794fcbf0512537c20b1dc Fixed in 6.1 with commit b28dbcb379e6a7f80262c2732a57681b1ee548ca 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-50708 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/hsi/clients/ssi_protocol.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/78b0ef14896f843c45372f9bbdb6f6070f977eaf https://git.kernel.org/stable/c/e78b45b3eeee1cec77c794fcbf0512537c20b1dc https://git.kernel.org/stable/c/b28dbcb379e6a7f80262c2732a57681b1ee548ca