GSD-2021-1002305 drm/prime: Fix use after free in mmap with drm_gem_ttm_mmap

Not scored Published

A use-after-free vulnerability in the Linux kernel DRM subsystem allows local attackers to potentially execute code or escalate privileges.

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

What is GSD-2021-1002305?

GSD-2021-1002305 is an use after free vulnerability in Kernel, published on 29 Nov 2021. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

drm/prime: Fix use after free in mmap with drm_gem_ttm_mmap

This is an automated ID intended to aid in discovery of potential security vulnerabilities. The actual impact and attack plausibility have not yet been proven. This ID is fixed in Linux Kernel version v5.15.5 by commit 4f8e469a2384dfa4047145b0093126462cbb6dc0, it was introduced in version v5.5 by commit 9786b65bc61acec63f923978c75e707afbb74bc7. For more details please see the references link.

Which versions are affected by GSD-2021-1002305?

1 open source package ship an affected version, including Kernel.

PackageAffectedFixed in
Kernel LinuxAll versionsNone

How do I fix GSD-2021-1002305?

No fix has been published for GSD-2021-1002305 yet. Limit exposure of the affected software until one is available.

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 GSD-2021-1002305 being exploited?

There is no known exploitation of GSD-2021-1002305 in the wild and no public exploit code.

Sources

Is GSD-2021-1002305 in your software?

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

Check your SBOMs for free