Lucene search
K

CVE-2024-57926 drm/mediatek: Set private->all_drm_private[i]->drm to NULL if mtk_drm_bind returns err

🗓️ 19 Jan 2025 11:52:43Reported by LinuxType 
cvelist
 cvelist
🔗 www.cve.org👁 7 Views

Fixed vulnerability to prevent use-after-free in drm/mediatek by setting pointer to NULL.

Related
Affected
Refs
[
  {
    "product": "Linux",
    "vendor": "Linux",
    "defaultStatus": "unaffected",
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "programFiles": [
      "drivers/gpu/drm/mediatek/mtk_drm_drv.c"
    ],
    "versions": [
      {
        "version": "1ef7ed48356cd5f9af2b7671956991b658d8c2ba",
        "lessThan": "7083b93e9755d60f0c2bcaa9d064308108280534",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "1ef7ed48356cd5f9af2b7671956991b658d8c2ba",
        "lessThan": "078b2ff7da200b7532398e668eef723ad40fb516",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "1ef7ed48356cd5f9af2b7671956991b658d8c2ba",
        "lessThan": "36684e9d88a2e2401ae26715a2e217cb4295cea7",
        "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/mediatek/mtk_drm_drv.c"
    ],
    "versions": [
      {
        "version": "6.4",
        "status": "affected"
      },
      {
        "version": "0",
        "lessThan": "6.4",
        "status": "unaffected",
        "versionType": "semver"
      },
      {
        "version": "6.6.72",
        "lessThanOrEqual": "6.6.*",
        "status": "unaffected",
        "versionType": "semver"
      },
      {
        "version": "6.12.10",
        "lessThanOrEqual": "6.12.*",
        "status": "unaffected",
        "versionType": "semver"
      },
      {
        "version": "6.13",
        "lessThanOrEqual": "*",
        "status": "unaffected",
        "versionType": "original_commit_for_fix"
      }
    ]
  }
]

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation