Lucene search

K
cvelistLinuxCVELIST:CVE-2022-48863
HistoryJul 16, 2024 - 12:25 p.m.

CVE-2022-48863 mISDN: Fix memory leak in dsp_pipeline_build()

2024-07-1612:25:26
Linux
www.cve.org
5
linux kernel
misdn
memory leak

EPSS

0

Percentile

5.1%

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

mISDN: Fix memory leak in dsp_pipeline_build()

dsp_pipeline_build() allocates dup pointer by kstrdup(cfg),
but then it updates dup variable by strsep(&dup, “|”).
As a result when it calls kfree(dup), the dup variable contains NULL.

Found by Linux Driver Verification project (linuxtesting.org) with SVACE.

CNA Affected

[
  {
    "product": "Linux",
    "vendor": "Linux",
    "defaultStatus": "unaffected",
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "programFiles": [
      "drivers/isdn/mISDN/dsp_pipeline.c"
    ],
    "versions": [
      {
        "version": "960366cf8dbb",
        "lessThan": "a3d5fcc6cf2e",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "960366cf8dbb",
        "lessThan": "7777b1f795af",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "960366cf8dbb",
        "lessThan": "640445d6fc05",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "960366cf8dbb",
        "lessThan": "c6a502c22999",
        "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/isdn/mISDN/dsp_pipeline.c"
    ],
    "versions": [
      {
        "version": "2.6.27",
        "status": "affected"
      },
      {
        "version": "0",
        "lessThan": "2.6.27",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "5.10.106",
        "lessThanOrEqual": "5.10.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "5.15.29",
        "lessThanOrEqual": "5.15.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "5.16.15",
        "lessThanOrEqual": "5.16.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "5.17",
        "lessThanOrEqual": "*",
        "status": "unaffected",
        "versionType": "original_commit_for_fix"
      }
    ]
  }
]