CVE-2024-27075 media: dvb-frontends: avoid stack overflow warnings with clang

High 7.8 Published Updated

A stack overflow in the Linux kernel DVB frontend driver can cause a system crash when KASAN is enabled.

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

CVE-2024-27075 is a high-severity denial of service 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: dvb-frontends: avoid stack overflow warnings with clang

A previous patch worked around a KASAN issue in stv0367, now a similar problem showed up with clang:

drivers/media/dvb-frontends/stv0367.c:1222:12: error: stack frame size (3624) exceeds limit (2048) in 'stv0367ter_set_frontend' [-Werror,-Wframe-larger-than] 1214 | static int stv0367ter_set_frontend(struct dvb_frontend *fe)

Rework the stv0367_writereg() function to be simpler and mark both register access functions as noinline_for_stack so the temporary i2c_msg structures do not get duplicated on the stack when KASAN_STACK is enabled.

Which versions are affected by CVE-2024-27075?

It affects 2 products.

Products include Debian Debian Linux, Linux kernel.

How do I fix CVE-2024-27075?

Apply the vendor's patch.

Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.

Is CVE-2024-27075 being exploited?

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

All Debian Debian Linux vulnerabilities

Sources

Also known as BELL-CVE-2024-27075, DEBIAN-CVE-2024-27075, GHSA-7f6w-xw5x-vxfq, UBUNTU-CVE-2024-27075.

Is CVE-2024-27075 in your software?

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

Check your SBOMs for free