drm/nouveau/disp: fix use-after-free in error handling of nouveau_connector_create
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
6.1.476.4.126.5In the Linux kernel, the following vulnerability has been resolved:
drm/nouveau/disp: fix use-after-free in error handling of nouveau_connector_create
We can't simply free the connector after calling drm_connector_init on it. We need to clean up the drm side first.
It might not fix all regressions from commit 2b5d1c29f6c4 ("drm/nouveau/disp: PIOR DP uses GPIO for HPD, not PMGR AUX interrupts"), but at least it fixes a memory corruption in error handling related to that commit.
From the CVE record · Linux
The Linux kernel’s nouveau display driver has a use-after-free in error handling when creating a connector. It can cause memory corruption; the input does not establish how an attacker could trigger it or whether access, authentication, or user interaction is required.
Engineers running Linux kernels with the nouveau display driver should check their installations; affected versions are not specified.