Lucene search

K
cvelistLinuxCVELIST:CVE-2022-48776
HistoryJul 16, 2024 - 11:13 a.m.

CVE-2022-48776 mtd: parsers: qcom: Fix missing free for pparts in cleanup

2024-07-1611:13:15
Linux
www.cve.org
9
linux kernel
vulnerability
mtd parsers
qcom
cleanup
smem
leak

EPSS

0

Percentile

16.0%

In the Linux kernel, the following vulnerability has been resolved:

mtd: parsers: qcom: Fix missing free for pparts in cleanup

Mtdpart doesn’t free pparts when a cleanup function is declared.
Add missing free for pparts in cleanup function for smem to fix the
leak.

CNA Affected

[
  {
    "product": "Linux",
    "vendor": "Linux",
    "defaultStatus": "unaffected",
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "programFiles": [
      "drivers/mtd/parsers/qcomsmempart.c"
    ],
    "versions": [
      {
        "version": "10f3b4d79958",
        "lessThan": "3eb5185896a6",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "10f3b4d79958",
        "lessThan": "1b37889f9a15",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "10f3b4d79958",
        "lessThan": "3dd8ba961b93",
        "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/mtd/parsers/qcomsmempart.c"
    ],
    "versions": [
      {
        "version": "5.14",
        "status": "affected"
      },
      {
        "version": "0",
        "lessThan": "5.14",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "5.15.25",
        "lessThanOrEqual": "5.15.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "5.16.11",
        "lessThanOrEqual": "5.16.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "5.17",
        "lessThanOrEqual": "*",
        "status": "unaffected",
        "versionType": "original_commit_for_fix"
      }
    ]
  }
]

EPSS

0

Percentile

16.0%