CVE-2022-50708

Summary

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 Software

VendorProductVersion RangeStatus
LinuxLinuxdc7bf5d7186849aa36b9f0e42e250a813a7b0bdb < 78b0ef14896f843c45372f9bbdb6f6070f977eafaffected
LinuxLinuxdc7bf5d7186849aa36b9f0e42e250a813a7b0bdb < e78b45b3eeee1cec77c794fcbf0512537c20b1dcaffected
LinuxLinuxdc7bf5d7186849aa36b9f0e42e250a813a7b0bdb < b28dbcb379e6a7f80262c2732a57681b1ee548caaffected
LinuxLinux3.16affected
LinuxLinux0 < 3.16unaffected
LinuxLinux5.19.17 <= 5.19.*unaffected
LinuxLinux6.0.3 <= 6.0.*unaffected
LinuxLinux6.1 <= *unaffected

Weaknesses

References