CVE-2024-27075

7.8 HIGH

📋 TL;DR

This CVE addresses a stack overflow vulnerability in the Linux kernel's DVB frontend driver for STV0367 chips. The vulnerability occurs when clang compiler warnings reveal excessive stack usage in the stv0367ter_set_frontend function, potentially leading to kernel crashes or instability. Systems using Linux kernels with the affected media driver are vulnerable.

💻 Affected Systems

Products:
  • Linux kernel with media subsystem
Versions: Linux kernel versions containing the vulnerable stv0367 driver code prior to fixes
Operating Systems: Linux distributions using affected kernel versions
Default Config Vulnerable: ⚠️ Yes
Notes: Only affects systems with DVB-T/C frontend hardware using STV0367 chips and clang-compiled kernels with stack size warnings enabled.

📦 What is this software?

Linux Kernel by Linux

The Linux Kernel is the core component of the Linux operating system, serving as the critical interface between computer hardware and software processes. As the heart of millions of servers, cloud infrastructure, embedded systems, Android devices, and IoT deployments worldwide, the Linux Kernel mana...

Learn more about Linux Kernel →

Linux Kernel by Linux

The Linux Kernel is the core component of the Linux operating system, serving as the critical interface between computer hardware and software processes. As the heart of millions of servers, cloud infrastructure, embedded systems, Android devices, and IoT deployments worldwide, the Linux Kernel mana...

Learn more about Linux Kernel →

Linux Kernel by Linux

The Linux Kernel is the core component of the Linux operating system, serving as the critical interface between computer hardware and software processes. As the heart of millions of servers, cloud infrastructure, embedded systems, Android devices, and IoT deployments worldwide, the Linux Kernel mana...

Learn more about Linux Kernel →

Linux Kernel by Linux

The Linux Kernel is the core component of the Linux operating system, serving as the critical interface between computer hardware and software processes. As the heart of millions of servers, cloud infrastructure, embedded systems, Android devices, and IoT deployments worldwide, the Linux Kernel mana...

Learn more about Linux Kernel →

Linux Kernel by Linux

The Linux Kernel is the core component of the Linux operating system, serving as the critical interface between computer hardware and software processes. As the heart of millions of servers, cloud infrastructure, embedded systems, Android devices, and IoT deployments worldwide, the Linux Kernel mana...

Learn more about Linux Kernel →

Linux Kernel by Linux

The Linux Kernel is the core component of the Linux operating system, serving as the critical interface between computer hardware and software processes. As the heart of millions of servers, cloud infrastructure, embedded systems, Android devices, and IoT deployments worldwide, the Linux Kernel mana...

Learn more about Linux Kernel →

Linux Kernel by Linux

The Linux Kernel is the core component of the Linux operating system, serving as the critical interface between computer hardware and software processes. As the heart of millions of servers, cloud infrastructure, embedded systems, Android devices, and IoT deployments worldwide, the Linux Kernel mana...

Learn more about Linux Kernel →

Linux Kernel by Linux

The Linux Kernel is the core component of the Linux operating system, serving as the critical interface between computer hardware and software processes. As the heart of millions of servers, cloud infrastructure, embedded systems, Android devices, and IoT deployments worldwide, the Linux Kernel mana...

Learn more about Linux Kernel →

Linux Kernel by Linux

The Linux Kernel is the core component of the Linux operating system, serving as the critical interface between computer hardware and software processes. As the heart of millions of servers, cloud infrastructure, embedded systems, Android devices, and IoT deployments worldwide, the Linux Kernel mana...

Learn more about Linux Kernel →

Linux Kernel by Linux

The Linux Kernel is the core component of the Linux operating system, serving as the critical interface between computer hardware and software processes. As the heart of millions of servers, cloud infrastructure, embedded systems, Android devices, and IoT deployments worldwide, the Linux Kernel mana...

Learn more about Linux Kernel →

Linux Kernel by Linux

The Linux Kernel is the core component of the Linux operating system, serving as the critical interface between computer hardware and software processes. As the heart of millions of servers, cloud infrastructure, embedded systems, Android devices, and IoT deployments worldwide, the Linux Kernel mana...

Learn more about Linux Kernel →

⚠️ Risk & Real-World Impact

🔴

Worst Case

Kernel panic or system crash due to stack overflow, potentially causing denial of service or system instability.

🟠

Likely Case

System instability or crashes when using DVB-T/C frontend hardware with STV0367 chips, particularly with clang-compiled kernels.

🟢

If Mitigated

Minor performance impact from the noinline_for_stack workaround, but stable system operation.

🌐 Internet-Facing: LOW - This is a driver-level vulnerability requiring local access or specific hardware interaction.
🏢 Internal Only: MEDIUM - Systems using DVB hardware with affected drivers could experience crashes affecting services.

🎯 Exploit Status

Public PoC: ✅ No
Weaponized: UNKNOWN
Unauthenticated Exploit: ✅ No
Complexity: HIGH

This appears to be a stability/compiler warning issue rather than a traditional security exploit. Requires specific hardware and kernel configuration.

🛠️ Fix & Mitigation

✅ Official Fix

Patch Version: Linux kernel versions with commits 107052a8cfeff3a97326277192b4f052e4860a8a and related fixes

Vendor Advisory: https://git.kernel.org/stable/c/107052a8cfeff3a97326277192b4f052e4860a8a

Restart Required: Yes

Instructions:

1. Update Linux kernel to version containing the fix commits. 2. Recompile kernel if using custom build. 3. Reboot system to load new kernel.

🔧 Temporary Workarounds

Disable clang stack warnings

linux

Temporarily disable the -Wframe-larger-than warning in clang builds

Add -Wno-frame-larger-than to CFLAGS in kernel build configuration

Disable STV0367 driver

linux

Remove or blacklist the vulnerable driver module

echo 'blacklist stv0367' >> /etc/modprobe.d/blacklist.conf
rmmod stv0367

🧯 If You Can't Patch

  • Disable DVB hardware using STV0367 chips
  • Use GCC instead of clang for kernel compilation

🔍 How to Verify

Check if Vulnerable:

Check kernel version and if stv0367 module is loaded: lsmod | grep stv0367

Check Version:

uname -r

Verify Fix Applied:

Verify kernel version includes fix commits and stv0367 module loads without errors

📡 Detection & Monitoring

Log Indicators:

  • Kernel panic messages
  • Stack overflow warnings in dmesg
  • Driver load failures

Network Indicators:

  • None - this is a local driver issue

SIEM Query:

Search for kernel panic events or driver failure messages in system logs

🔗 References

📤 Share & Export