Lucene search

K
cvelistLinuxCVELIST:CVE-2022-48885
HistoryAug 21, 2024 - 6:10 a.m.

CVE-2022-48885 ice: Fix potential memory leak in ice_gnss_tty_write()

2024-08-2106:10:16
Linux
www.cve.org
2
linux kernel
vulnerability
memory leak
fix
ice
cmd_buf
cve

EPSS

0

Percentile

9.5%

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.

CNA Affected

[
  {
    "product": "Linux",
    "vendor": "Linux",
    "defaultStatus": "unaffected",
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "programFiles": [
      "drivers/net/ethernet/intel/ice/ice_gnss.c"
    ],
    "versions": [
      {
        "version": "d6b98c8d242a",
        "lessThan": "500ca1da9d08",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "d6b98c8d242a",
        "lessThan": "f58985620f55",
        "status": "affected",
        "versionType": "git"
      }
    ]
  },
  {
    "product": "Linux",
    "vendor": "Linux",
    "defaultStatus": "affected",
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "programFiles": [
      "drivers/net/ethernet/intel/ice/ice_gnss.c"
    ],
    "versions": [
      {
        "version": "6.0",
        "status": "affected"
      },
      {
        "version": "0",
        "lessThan": "6.0",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.1.7",
        "lessThanOrEqual": "6.1.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.2",
        "lessThanOrEqual": "*",
        "status": "unaffected",
        "versionType": "original_commit_for_fix"
      }
    ]
  }
]

EPSS

0

Percentile

9.5%