← CVE Intelligence

CVE-2022-48885

ice: Fix potential memory leak in ice_gnss_tty_write() PUBLISHED

Description (CNA)

In the Linux kernel, the following vulnerability has been resolved: ice: Fix potential memory leak in ice_gnss_tty_write() The ice_gnss_tty_write() return directly if the write_buf alloc failed, leaking the cmd_buf. Fix by free cmd_buf if write_buf alloc failed.

Affected (CNA)

Vendor / productVersions
Linux / Linuxaffected d6b98c8d242aee40e7b8919dd07b593b0739e38d before 500ca1da9d0876244eb4d1b0ece6fa0e9968d45d; affected d6b98c8d242aee40e7b8919dd07b593b0739e38d before f58985620f55580a07d40062c4115d8c9cf6ae27
Linux / Linuxaffected 6.0; unaffected 0 before 6.0; unaffected 6.1.7 through 6.1.*; unaffected 6.2 through *

CWE

No CWE identifiers supplied.

References

ADP enrichment

CISA-ADP

No English description supplied.

No references supplied.