CVE-2024-27075·Kernel vulnerability
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.
- Severity
- high
- Software
- Kernel
- Fixed in
- 6.8.2
- Published
How likely is exploitation
FIRST's Exploit Prediction Scoring System puts the probability of this CVE being exploited in the next 30 days at <0.1% — higher than 3% of all published CVEs. EPSS is an independent forecast of exploitation, not a severity rating: it says nothing about how much damage a successful attack does, which is what a CVSS score measures.
Read the two together. CVE-2024-27075 scores 7.8 on CVSS, so a successful attack would be serious — but at <0.1%, almost nobody is currently attempting it. That is a different situation from a flaw under mass exploitation, and it is usually the difference between patching on your next maintenance window and patching tonight.
Affected versions
From: 6.8
Until: 6.8.2
Fixed in: 6.8.2
How to fix this CVE
Update your Linux kernel to version 6.8.2 or later to resolve a stack overflow vulnerability in the DVB frontend driver. This issue affects kernel versions 6.8 through 6.8.2 and can cause system instability when compiling with clang or when KASAN_STACK is enabled. Apply the kernel update through your distribution's package manager immediately.
sudo dnf update kernel kernel-develDefensia detects this vulnerability
How to check if you are affected
- Check your current kernel version: uname -r
- Verify if the stv0367 DVB frontend driver is loaded: lsmod | grep stv0367 or dmesg | grep stv0367
- Search kernel logs for stack overflow warnings related to stv0367ter_set_frontend: dmesg | grep -i 'stack\|stv0367'
- Confirm the fix by comparing your kernel version against 6.8.2: if kernel version is 6.8.2 or higher, the vulnerability is patched
FAQ
What is CVE-2024-27075?
CVE-2024-27075 is a stack overflow vulnerability in the Linux kernel's stv0367 DVB frontend driver that causes excessive stack frame allocation, particularly when compiling with clang or when kernel address sanitizer stack instrumentation is enabled. This can lead to stack exhaustion and system instability.
Is CVE-2024-27075 being actively exploited?
No, CVE-2024-27075 is not listed in the CISA Known Exploited Vulnerabilities catalog and there are no public exploits available. This is primarily a stability issue triggered during compilation or specific kernel configurations.
What versions of Kernel are affected by CVE-2024-27075?
Linux kernel versions 6.8 through 6.8.2 are affected. Kernel version 6.8.2 and all later versions include the fix.
How do I check if my server is vulnerable to CVE-2024-27075?
Run 'uname -r' to check your kernel version. If the output shows 6.8.0, 6.8.1, or 6.8.2 with a kernel compiled with clang, your system may be vulnerable. For systems running 6.8.2 or later, the vulnerability is already patched.
Does Defensia detect CVE-2024-27075?
Yes — Defensia's CVE advisory scanner compares installed package versions against the NVD database. If Linux kernel is installed on a monitored server, CVE-2024-27075 will appear in your dashboard with remediation steps.
Related Kernel CVEs
References
- https://git.kernel.org/stable/c/107052a8cfeff3a97326277192b4f052e4860a8a
- https://git.kernel.org/stable/c/7a4cf27d1f0538f779bf31b8c99eda394e277119
- https://git.kernel.org/stable/c/8fad9c5bb00d3a9508d18bbfe832e33a47377730
- https://git.kernel.org/stable/c/c073c8cede5abd3836e83d70d72606d11d0759d4
- https://git.kernel.org/stable/c/d20b64f156de5d10410963fe238d82a4e7e97a2f
Track CVEs across your fleet automatically
Defensia scans your Linux servers and tells you exactly which ones are running vulnerable versions — including CVE-2024-27075. Free for 1 server.
Get started free