Lucene search

K
cve416baaa9-dc9f-4396-8d5f-8c081fb06d67CVE-2020-36788
HistoryMay 21, 2024 - 3:15 p.m.

CVE-2020-36788

2024-05-2115:15:11
416baaa9-dc9f-4396-8d5f-8c081fb06d67
web.nvd.nist.gov
30
linux kernel
use-after-free
vulnerability
nouveau_bo_init
ttm_bo_init
memory freed

6.8 Medium

AI Score

Confidence

Low

0.0004 Low

EPSS

Percentile

15.6%

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

drm/nouveau: avoid a use-after-free when BO init fails

nouveau_bo_init() is backed by ttm_bo_init() and ferries its return code
back to the caller. On failures, ttm_bo_init() invokes the provided
destructor which should de-initialize and free the memory.

Thus, when nouveau_bo_init() returns an error the gem object has already
been released and the memory freed by nouveau_bo_del_ttm().

Affected configurations

Vulners
Node
linuxlinux_kernelRange5.45.10.73
OR
linuxlinux_kernelRange5.11.05.14.12
OR
linuxlinux_kernelRange5.15.0

CNA Affected

[
  {
    "product": "Linux",
    "vendor": "Linux",
    "defaultStatus": "unaffected",
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "programFiles": [
      "drivers/gpu/drm/nouveau/nouveau_gem.c"
    ],
    "versions": [
      {
        "version": "019cbd4a4feb",
        "lessThan": "f86e19d918a8",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "019cbd4a4feb",
        "lessThan": "548f2ff8ea5e",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "019cbd4a4feb",
        "lessThan": "bcf34aa5082e",
        "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/gpu/drm/nouveau/nouveau_gem.c"
    ],
    "versions": [
      {
        "version": "5.4",
        "status": "affected"
      },
      {
        "version": "0",
        "lessThan": "5.4",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "5.10.73",
        "lessThanOrEqual": "5.10.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "5.14.12",
        "lessThanOrEqual": "5.14.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "5.15",
        "lessThanOrEqual": "*",
        "status": "unaffected",
        "versionType": "original_commit_for_fix"
      }
    ]
  }
]

6.8 Medium

AI Score

Confidence

Low

0.0004 Low

EPSS

Percentile

15.6%