CVE-2023-53851
Last modified
CVE-2023-53851 is a high-severity vulnerability rated 8.4/10 on the CVSS scale. 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/. EPSS estimates a 0.20% chance of exploitation in the next 30 days.
Description
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/
Metrics
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | >= 2b57f726611e294dc4297dd48eb8c98ef1938e82, < e09ed06938807cb113cddd0708ed74bd8cdaff33; >= 2b57f726611e294dc4297dd48eb8c98ef1938e82, < 2fde37445807e6e6d7981402d0bf1be0e5d81291; >= 2b57f726611e294dc4297dd48eb8c98ef1938e82, < a7bfb2ad2184a1fba78be35209b6019aa8cc8d4d; 8768663188e4169333f66583e4d2432e65c421df; >= 6.0.7, < 6.1 |
| Linux | Linux | 6.1 |
References
Timeline
- Published
- Last Modified
- Status
- Deferred
Frequently Asked Questions
What is CVE-2023-53851?
How severe is CVE-2023-53851?
How do I fix CVE-2023-53851?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2023
- CVE-2023-53846In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2023-53847In the Linux kernel, the following vulnerability has been re…
- CVE-2023-53848In the Linux kernel, the following vulnerability has been re…
- CVE-2023-53849In the Linux kernel, the following vulnerability has been re…
- CVE-2023-5385The Funnelforms Free plugin for WordPress is vulnerable to u…4.3
- CVE-2023-53850In the Linux kernel, the following vulnerability has been re…
- CVE-2023-53852In the Linux kernel, the following vulnerability has been re…
- CVE-2023-53853In the Linux kernel, the following vulnerability has been re…
- CVE-2023-53854In the Linux kernel, the following vulnerability has been re…
- CVE-2023-53855In the Linux kernel, the following vulnerability has been re…
- CVE-2023-53856In the Linux kernel, the following vulnerability has been re…
- CVE-2023-53857In the Linux kernel, the following vulnerability has been re…
Are you affected by CVE-2023-53851?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
