drm/panel-edp: fix i2c adapter leak on probe failure
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ cc5a3fc041f0104d97ac61b0423ec533d7a93214 · < e2a9e291275a74e309a21cbb1def6296a72d6aed| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
drm/panel-edp: fix i2c adapter leak on probe failure
Make sure to drop the i2c adapter reference on probe failure (e.g. probe deferral) and on driver unbind also if a devicetree redundantly uses the 'ddc-i2c-bus' property to point to the aux ddc bus.
From the CVE record · Linux
The Linux kernel’s drm/panel-edp driver can leak an I2C adapter reference on probe failure or driver unbind when a devicetree redundantly points the 'ddc-i2c-bus' property to the AUX DDC bus. The input does not describe an attacker action, access requirement, or user interaction.
Engineers running Linux kernels with the drm/panel-edp driver should check whether their devicetree uses this configuration; affected versions are not specified.