CVE-2024-27074 media: go7007: fix a memleak in go7007_load_encoder

Medium 5.5 Published Updated

A memory leak in the go7007 kernel driver allows attackers to cause a denial of service by exhausting system memory.

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-27074?

CVE-2024-27074 is a medium-severity memory corruption vulnerability in Debian Debian Linux, published on 1 May 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:

media: go7007: fix a memleak in go7007_load_encoder

In go7007_load_encoder, bounce(i.e. go->boot_fw), is allocated without a deallocation thereafter. After the following call chain:

saa7134_go7007_init |-> go7007_boot_encoder |-> go7007_load_encoder |-> kfree(go)

go is freed and thus bounce is leaked.

Weakness: CWE-401

Which versions are affected by CVE-2024-27074?

It affects 2 products.

Products include Debian Debian Linux, Linux kernel.

How do I fix CVE-2024-27074?

Apply the vendor's patch.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2024-27074 being exploited?

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

All Debian Debian Linux vulnerabilities

Sources

Also known as BELL-CVE-2024-27074, DEBIAN-CVE-2024-27074, GHSA-m4vr-jmc8-6xrj, UBUNTU-CVE-2024-27074.

Is CVE-2024-27074 in your software?

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

Check your SBOMs for free