Description (CNA)
In the Linux kernel, the following vulnerability has been resolved: drm/msm/dpu: don't mix devm and drmm functions Mixing devm and drmm functions will result in a use-after-free on msm driver teardown if userspace keeps a reference on the drm device: The WB connector data will be destroyed because of the use of devm_kzalloc()), while the usersoace still can try interacting with the WB connector (which uses drmm_ functions). Change dpu_writeback_init() to use drmm_. Patchwork: https://patchwork.freedesktop.org/patch/722656/
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| Linux / Linux | affected 0b37ac63fc9db7779168ad18d7e6e8ab9df6a40b before ff58e5ef1b46ce614af048d2d04986df05ffab90; affected 0b37ac63fc9db7779168ad18d7e6e8ab9df6a40b before 95048a12f48c627bc2ccc4d84f87640630ba2bdb; affected 0b37ac63fc9db7779168ad18d7e6e8ab9df6a40b before c0c70a11365cba7fba25a77463582bcec0f7846e |
| Linux / Linux | affected 6.18; unaffected 0 before 6.18; unaffected 6.18.34 through 6.18.*; unaffected 7.0.11 through 7.0.*; unaffected 7.1 through * |
CWE
No CWE identifiers supplied.