Skip to content
Heist/ feed
Back to feed
HighFix available

drm/msm/dp: Drop aux devices together with DP controller

Type: advisorySources: OSV

In the Linux kernel, the following vulnerability has been resolved: drm/msm/dp: Drop aux devices together with DP controller Using devres to depopulate the aux bus made sure that upon a probe deferral the EDP panel device would be destroyed and recreated upon next attempt. But the struct device which the devres is tied to is the DPUs (drm_dev->dev), which may be happen after the DP controller is torn down. Indications of this can be seen in the commonly seen EDID-hexdump full of zeros in the log, or the occasional/rare KASAN fault where the panel's attempt to read the EDID information causes a use after free on DP resources. It's tempting to move the devres to the DP controller's struct device, but the resources used by the device(s) on the aux bus are explicitly torn down in the error path. The KASAN-reported use-after-free also remains, as the DP aux "module" explicitly frees its devres-allocated memory in this code path. As such, explicitly depopulate the aux bus in the error path, and in the component unbind path, to avoid these issues. Patchwork: https://patchwork.freedesktop.org/patch/542163/

Products
Kernel
Affected versions
Not specified
Fixed versions
6.1.189, 6.3.13, 6.4.4
CVEs
CVE-2023-53851
Confirmed fixed CVEs
Not specified
Updated in this feed
28 Oct 2026, 08:57 UTC · Revision 1

Source evidence

drm/msm/dp: Drop aux devices together with DP controller

core-osv · Original source

Published 9 Dec 2025, 01:30 UTC

In the Linux kernel, the following vulnerability has been resolved: drm/msm/dp: Drop aux devices together with DP controller Using devres to depopulate the aux bus made sure that upon a probe deferral the EDP panel device would be destroyed and recreated upon next attempt. But the struct device which the devres is tied to is the DPUs (drm_dev->dev), which may be happen after the DP controller is torn down. Indications of this can be seen in the commonly seen EDID-hexdump full of zeros in the log, or the occasional/rare KASAN fault where the panel's attempt to read the EDID information causes a use after free on DP resources. It's tempting to move the devres to the DP controller's struct device, but the resources used by the device(s) on the aux bus are explicitly torn down in the error path. The KASAN-reported use-after-free also remains, as the DP aux "module" explicitly frees its devres-allocated memory in this code path. As such, explicitly depopulate the aux bus in the error path, and in the component unbind path, to avoid these issues. Patchwork: https://patchwork.freedesktop.org/patch/542163/

osv:CVE-2023-53851

Kernel

Fixed versions: 6.1.189, 6.3.13, 6.4.4

Complete source record
{
  "id": "badad585bec3f5fd8f3ac183c19f4856b162bf42853cad8ca6ffe8e6baaa0095",
  "url": "https://osv.dev/vulnerability/CVE-2023-53851",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "drm/msm/dp: Drop aux devices together with DP controller",
    "summary": "In the Linux kernel, the following vulnerability has been resolved: drm/msm/dp: Drop aux devices together with DP controller Using devres to depopulate the aux bus made sure that upon a probe deferral the EDP panel device would be destroyed and recreated upon next attempt. But the struct device which the devres is tied to is the DPUs (drm_dev->dev), which may be happen after the DP controller is torn down. Indications of this can be seen in the commonly seen EDID-hexdump full of zeros in the log, or the occasional/rare KASAN fault where the panel's attempt to read the EDID information causes a use after free on DP resources. It's tempting to move the devres to the DP controller's struct device, but the resources used by the device(s) on the aux bus are explicitly torn down in the error path. The KASAN-reported use-after-free also remains, as the DP aux \"module\" explicitly frees its devres-allocated memory in this code path. As such, explicitly depopulate the aux bus in the error path, and in the component unbind path, to avoid these issues. Patchwork: https://patchwork.freedesktop.org/patch/542163/",
    "evidence": "osv:CVE-2023-53851",
    "products": [
      {
        "name": {
          "value": "Kernel",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "6.1.189",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.3.13",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.4.4",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "high",
    "structured": {
      "id": "CVE-2023-53851",
      "aliases": [
        "CVE-2023-53851"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
              "type": "GIT",
              "events": [
                {
                  "introduced": "2b57f726611e294dc4297dd48eb8c98ef1938e82"
                },
                {
                  "fixed": "ff1338a3bfaa2f35b5f49a434f2ad6884b75fafe"
                },
                {
                  "fixed": "e09ed06938807cb113cddd0708ed74bd8cdaff33"
                },
                {
                  "fixed": "2fde37445807e6e6d7981402d0bf1be0e5d81291"
                },
                {
                  "fixed": "a7bfb2ad2184a1fba78be35209b6019aa8cc8d4d"
                }
              ]
            },
            {
              "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
              "type": "GIT",
              "events": [
                {
                  "introduced": "6.0.7"
                },
                {
                  "fixed": "6.1"
                }
              ]
            },
            {
              "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
              "type": "GIT",
              "events": [
                {
                  "introduced": "8768663188e4169333f66583e4d2432e65c421df"
                }
              ]
            }
          ],
          "versions": [
            "v6.0.19",
            "v6.0.18",
            "v6.0.17",
            "v6.0.16",
            "v6.0.15",
            "v6.0.14",
            "v6.0.13",
            "v6.0.12",
            "v6.0.11",
            "v6.0.10",
            "v6.0.9",
            "v6.0.8",
            "v6.0.7"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-53851.json"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.1.0"
                },
                {
                  "fixed": "6.1.189"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.2.0"
                },
                {
                  "fixed": "6.3.13"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.4.0"
                },
                {
                  "fixed": "6.4.4"
                }
              ]
            }
          ],
          "package": {
            "name": "Kernel",
            "ecosystem": "Linux"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-53851.json"
          }
        }
      ],
      "modified": "2026-10-08T02:48:01.886568619Z",
      "provider": "osv",
      "references": [
        "https://git.kernel.org/stable/c/2fde37445807e6e6d7981402d0bf1be0e5d81291",
        "https://git.kernel.org/stable/c/a7bfb2ad2184a1fba78be35209b6019aa8cc8d4d",
        "https://git.kernel.org/stable/c/e09ed06938807cb113cddd0708ed74bd8cdaff33",
        "https://git.kernel.org/stable/c/ff1338a3bfaa2f35b5f49a434f2ad6884b75fafe",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/53xxx/CVE-2023-53851.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2023-53851",
        "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
      ],
      "provider_metadata": {
        "cna_assigner": "Linux",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/53xxx/CVE-2023-53851.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2023-53851",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 98249,
  "published_at": "2025-12-09T01:30:16.081+00:00"
}