← CVE Intelligence

CVE-2022-50708

HSI: ssi_protocol: fix potential resource leak in ssip_pn_open() PUBLISHED

Description (CNA)

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.

Affected (CNA)

Vendor / productVersions
Linux / Linuxaffected dc7bf5d7186849aa36b9f0e42e250a813a7b0bdb before 78b0ef14896f843c45372f9bbdb6f6070f977eaf; affected dc7bf5d7186849aa36b9f0e42e250a813a7b0bdb before e78b45b3eeee1cec77c794fcbf0512537c20b1dc; affected dc7bf5d7186849aa36b9f0e42e250a813a7b0bdb before b28dbcb379e6a7f80262c2732a57681b1ee548ca
Linux / Linuxaffected 3.16; unaffected 0 before 3.16; unaffected 5.19.17 through 5.19.*; unaffected 6.0.3 through 6.0.*; unaffected 6.1 through *

CWE

No CWE identifiers supplied.

References