Critical Vulnerability in Linux Kernel: Media Stream Handling Flaw

linux Updated 02 Oct 2025

Summary

16/04/2025
N/A
Yes i
Unrated
Not published

DEBIAN-CVE-2025-22028: In the Linux kernel, the following vulnerability has been resolved: media: vimc: skip .s_stream() for stopped entities Syzbot reported [1] a warning prompted by a check in call_s_stream() that checks whether .s_stream()... Affects linux versions < 6.12.25-1. Fixed in 6.12.25-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 Devnack Penetration testing for web, API and mobile Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

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 and is widely used across various devices, from servers to embedded systems. The kernel's media subsystem facilitates video and audio processing, making it crucial for applications that rely on multimedia functionality. However, a recent vulnerability has been identified in the media handling code, specifically related to the vimc (Virtual Media Controller) driver, which could lead to improper stream management.

Vulnerability Detail

In the Linux kernel, a vulnerability has been discovered in the media subsystem, particularly in the vimc driver. The issue arises when the .s_stream() operation is called for media entities that have not been properly started or are in a stopped state. This flaw can lead to unexpected behavior and potential system instability. The vulnerability was reported by Syzbot and is associated with a warning triggered during the call_s_stream() function. The root cause is a failure to check the state of media entities before invoking stream operations, which could result in crashes or undefined behavior.

How To Fix

Minimum fixed version

6.12.25-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

Currently, there are no specific workarounds mentioned for this vulnerability. However, users are advised to avoid using the affected media functionalities until the kernel is updated to the patched version.

Conclusion

The identified vulnerability in the Linux kernel's media subsystem poses significant risks related to improper stream handling. Users are strongly encouraged to update their systems to the latest patched version to mitigate these risks. Utilizing tools like Vulert can further enhance security by providing real-time monitoring of open-source vulnerabilities.

See every vulnerability recorded for linux →

Share this vulnerability

FAQ

The vulnerability involves improper handling of media stream operations in the Linux kernel, specifically affecting the vimc driver.

You can use Vulert, which monitors open-source vulnerabilities in your software. By uploading your manifest file, you can check for vulnerabilities without needing to install any software.

Exploiting this vulnerability could lead to system crashes or undefined behavior when handling media streams, potentially compromising system stability.

Yes, the vulnerability has been patched in version 6.12.25-1 of the Linux kernel for both Debian 13 and 14.

You can use Vulert to receive real-time alerts for open-source vulnerabilities in your software, ensuring you are always informed about potential risks.

Related vulnerabilities

Recent vulnerabilities recorded for linux.

How To Fix

Minimum fixed version

6.12.25-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