Lucene search

K
cvelistLinuxCVELIST:CVE-2020-36786
HistoryFeb 28, 2024 - 8:13 a.m.

CVE-2020-36786 media: [next] staging: media: atomisp: fix memory leak of object flash

2024-02-2808:13:06
Linux
www.cve.org
cve-2020-36786
fix memory leak
atomisp

6.3 Medium

AI Score

Confidence

Low

0.0004 Low

EPSS

Percentile

15.7%

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

media: [next] staging: media: atomisp: fix memory leak of object flash

In the case where the call to lm3554_platform_data_func returns an
error there is a memory leak on the error return path of object
flash. Fix this by adding an error return path that will free
flash and rename labels fail2 to fail3 and fail1 to fail2.

CNA Affected

[
  {
    "product": "Linux",
    "vendor": "Linux",
    "defaultStatus": "unaffected",
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "programFiles": [
      "drivers/staging/media/atomisp/i2c/atomisp-lm3554.c"
    ],
    "versions": [
      {
        "version": "9289cdf39992",
        "lessThan": "cc4cc2fb5aaf",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "9289cdf39992",
        "lessThan": "4f0f37d03cde",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "9289cdf39992",
        "lessThan": "27d2eab69f7d",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "9289cdf39992",
        "lessThan": "6045b01dd0e3",
        "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/staging/media/atomisp/i2c/atomisp-lm3554.c"
    ],
    "versions": [
      {
        "version": "5.10",
        "status": "affected"
      },
      {
        "version": "0",
        "lessThan": "5.10",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "5.10.37",
        "lessThanOrEqual": "5.10.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "5.11.21",
        "lessThanOrEqual": "5.11.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "5.12.4",
        "lessThanOrEqual": "5.12.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "5.13",
        "lessThanOrEqual": "*",
        "status": "unaffected",
        "versionType": "original_commit_for_fix"
      }
    ]
  }
]

6.3 Medium

AI Score

Confidence

Low

0.0004 Low

EPSS

Percentile

15.7%

Related for CVELIST:CVE-2020-36786