CVE-2022-48885

ice: Fix potential memory leak in ice_gnss_tty_write()

State
Published
Severity
Not scored
Published
Aug 21, 2024
Updated
May 11, 2026
Reserved
Jul 16, 2024

Read the record on cve.org

Description

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.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • d6b98c8d242aee40e7b8919dd07b593b0739e38d to before 500ca1da9d0876244eb4d1b0ece6fa0e9968d45dAffected
  • d6b98c8d242aee40e7b8919dd07b593b0739e38d to before f58985620f55580a07d40062c4115d8c9cf6ae27Affected
LinuxLinux
  • 6.0Affected
  • before 6.0Not affected
  • 6.1.7 through 6.1.*Not affected
  • 6.2 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.