Buffer Overflow Vulnerability in Linux Kernel: Media STK1160 Package

linux Updated 02 Oct 2025

Summary

21/06/2024
N/A
Yes i
Unrated
Not published

DEBIAN-CVE-2024-38621: In the Linux kernel, the following vulnerability has been resolved: media: stk1160: fix bounds checking in stk1160_copy_video() The subtract in this condition is reversed. Affects linux versions < 5.10.221-1. Fixed in 5.10.221-1. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

Background

The Linux kernel is the core component of the Linux operating system, responsible for managing hardware and system resources. It provides essential services for all other parts of the operating system. The STK1160 driver is a part of the media subsystem in the Linux kernel, which handles video capture devices. This driver is crucial for ensuring proper communication between the operating system and video hardware. However, a vulnerability has been identified in the STK1160 driver that could lead to a buffer overflow, potentially compromising system stability and security.

Vulnerability Detail

In the Linux kernel, specifically within the STK1160 driver, a vulnerability has been discovered that involves improper bounds checking in the function stk1160_copy_video(). The issue arises from a reversed subtraction condition, which leads to an incorrect overflow check. This flaw allows for the possibility of writing beyond the allocated buffer, resulting in a buffer overflow. The consequences of this vulnerability could range from system crashes to the execution of arbitrary code, posing significant risks to system integrity and security.

How To Fix

Minimum fixed version

5.10.221-1

This is the first release that contains the fix.

sudo apt-get install --only-upgrade linux

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

As a temporary workaround, users can avoid using the STK1160 driver until the update is applied. This may involve disabling the driver or using alternative video capture methods that do not rely on the vulnerable component.

Conclusion

The buffer overflow vulnerability in the STK1160 driver of the Linux kernel poses significant risks to system security and stability. Users are strongly advised to update their systems to the patched versions of the Linux kernel to mitigate these risks. Additionally, utilizing tools like Vulert can help in monitoring for such vulnerabilities in real-time.

See every vulnerability recorded for linux →

Share this vulnerability

FAQ

The vulnerability is a buffer overflow caused by improper bounds checking in the STK1160 driver of the Linux kernel.

The vulnerability affects Debian systems running specific versions of the Linux kernel that include the STK1160 driver.

You can use tools like Vulert to monitor and alert for open-source vulnerabilities in your software. Visit Vulert Scanner to check if your application is affected.

Exploiting this vulnerability could lead to system crashes, data corruption, or unauthorized access to system resources.

Yes, temporarily disabling the STK1160 driver or using alternative video capture methods can mitigate the risk until the patch is applied.

Related vulnerabilities

Recent vulnerabilities recorded for linux.

Sponsored Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

How To Fix

Minimum fixed version

5.10.221-1

This is the first release that contains the fix.

sudo apt-get install --only-upgrade linux

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback