CVE-2024-44967 drm/mgag200: Bind I2C lifetime to DRM device

High 7.8 Published Updated

A use-after-free vulnerability in the Linux kernel's mgag200 DRM driver allows attackers to cause denial of service or execute arbitrary code via stale I2C pointers.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2024-44967?

CVE-2024-44967 is a high-severity use after free vulnerability in Linux kernel, published on 4 Sep 2024. It can only be exploited from the same machine or local network, with no action from the victim.

Official 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.

Which versions are affected by CVE-2024-44967?

It affects 1 product.

Products include Linux kernel.

How do I fix CVE-2024-44967?

Apply the vendor's patch.

Upgrade to the fixed version. These bugs are found with fuzzing and sanitisers and avoided by memory-safe languages. More about Use after free.

Is CVE-2024-44967 being exploited?

There is no known exploitation of CVE-2024-44967 in the wild and no public exploit code.

All Linux kernel vulnerabilities

Sources

Also known as BELL-CVE-2024-44967, DEBIAN-CVE-2024-44967, GHSA-2hcr-rj2w-r9vj, UBUNTU-CVE-2024-44967.

Is CVE-2024-44967 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free