Null Pointer Dereference in Linux Kernel's Media MTK VCodec Package

linux Updated 02 Oct 2025

Summary

12/07/2024
N/A
No i
Medium
5.5

CVE-2024-40973: In the Linux kernel, the following vulnerability has been resolved: media: mtk-vcodec: potential null pointer deference in SCP The return value of devm_kzalloc() needs to be checked to avoid NULL pointer deference. Affects linux versions 5.10.103-1 – 6.9.9-1. No fix is published. 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 Mobile apps built by Devnack Design, build and launch iOS and Android apps with a senior product team. From idea to store release Start a project

Background

The Linux kernel is a core component of many operating systems, providing essential services for hardware and software interaction. The media subsystem, particularly the MTK VCodec, is responsible for video encoding and decoding functionalities. This subsystem is critical for multimedia applications, and vulnerabilities within it can lead to severe operational issues, including system crashes or data corruption.

Vulnerability Detail

CVE-2024-40973 is a vulnerability found in the Linux kernel's media subsystem, specifically within the MTK VCodec. The issue arises from a failure to check the return value of the devm_kzalloc() function, which can lead to a null pointer dereference. This oversight can cause the system to crash or behave unpredictably when the memory allocation fails. The vulnerability is similar to CVE-2022-3113, indicating a recurring issue in memory management within the kernel's media components.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Workaround

Currently, there are no specific workarounds available for this vulnerability. The best course of action is to apply the necessary updates as soon as they are available.

Conclusion

CVE-2024-40973 represents a significant vulnerability within the Linux kernel's media subsystem, specifically affecting the MTK VCodec. Users are advised to update their systems promptly to mitigate potential risks associated with this issue. Regular monitoring for vulnerabilities using tools like Vulert can help maintain system security.

See every vulnerability recorded for linux →

Share this vulnerability

FAQ

CVE-2024-40973 is a vulnerability in the Linux kernel's media subsystem that can lead to a null pointer dereference due to improper memory allocation checks.

If exploited, this vulnerability can cause system crashes or unpredictable behavior, particularly in applications relying on the MTK VCodec for media processing.

The vulnerability affects multiple versions of the Linux kernel across Debian 11, 12, and 13, with specific fixes available in later releases.

Yes, you can use Vulert, which monitors open-source vulnerabilities in your software. You can check if your application is affected by this vulnerability using the Vulert playground without any signup.

The CVSS score for CVE-2024-40973 is 5.5, indicating a moderate severity level.

Related vulnerabilities

Recent vulnerabilities recorded for linux.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. 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