Lucene search

K
osvGoogleOSV:CVE-2024-44967
HistorySep 04, 2024 - 7:15 p.m.

CVE-2024-44967

2024-09-0419:15:31
Google
osv.dev
linux kernel
vulnerability
mgag200
drm
i2c
adapter
connector
cleanup
lifetime
release
devm_add_action_or_reset
struct
drm_connector
ddc
managed
linux device

AI Score

6.8

Confidence

Low

In the Linux kernel, the following vulnerability has been resolved:

drm/mgag200: Bind I2C lifetime to DRM device

Managed cleanup with devm_add_action_or_reset() will release the I2C
adapter when the underlying Linux device goes away. But the connector
still refers to it, so this cleanup leaves behind a stale pointer
in struct drm_connector.ddc.

Bind the lifetime of the I2C adapter to the connector’s lifetime by
using DRM’s managed release. When the DRM device goes away (after
the Linux device) DRM will first clean up the connector and then
clean up the I2C adapter.

AI Score

6.8

Confidence

Low