drm/mgag200: Bind I2C lifetime to DRM device (Linux Linux)

CVE-2024-44967
HIGH 7.8

At a glance

Source
NVD
EPSS
EPSS 0.22 % · percentile 12 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
NVD status
Modified

Description

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.

References

Scores

VersionScoreVectorScored by
CVSS 3.1HIGH 7.8CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HLinux
CVSS 3.1HIGH 7.8CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HNVD · 416baaa9-dc9f-4396-8d5f-8c081fb06d67 (Secondary)
CVSS 3.1HIGH 7.8CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HNVD · nvd@nist.gov (Primary)

European references

CERT-FR advisories

Affected configurations (NVD CPE)

Affected products

ProductVersions
Linux · Linuxaffected b279df242972ae816a75cf1cc732af836f999100 < 55a6916db77102765b22855d3a0add4751988b7c ; affected b279df242972ae816a75cf1cc732af836f999100 < 81d34df843620e902dd04aa9205c875833d61c17 ; affected b279df242972ae816a75cf1cc732af836f999100 < 9d96b91e03cba9dfcb4ac370c93af4dbc47d5191 ; affected b279df242972ae816a75cf1cc732af836f999100 < eb1ae34e48a09b7a1179c579aed042b032e408f4
Linux · Linuxaffected 6.0 ; unaffected 0 < 6.0 ; unaffected 6.1.105 ≤ 6.1.* ; unaffected 6.6.46 ≤ 6.6.* ; unaffected 6.10.5 ≤ 6.10.* ; unaffected 6.11 ≤ *

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD