Use-After-Free Vulnerability in Linux Kernel's Greybus Interface

linux Updated 02 Oct 2025

Summary

12/07/2024
N/A
Yes i
Unrated
Not published

DEBIAN-CVE-2024-39495: In the Linux kernel, the following vulnerability has been resolved: greybus: Fix use-after-free bug in gb_interface_release due to race condition. 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 MarkAI Find prospects already talking about the problem you solve AI watches the communities your customers use to find qualified prospects, then alerts you when a conversation is worth joining. See MarkAI

Background

The Linux kernel is the core component of the Linux operating system, responsible for managing hardware resources and providing essential services to applications. It supports a wide range of functionalities, including process management, memory management, and device control. The Greybus interface is a communication protocol used in devices that require high-speed data transfer. This vulnerability affects various versions of the Linux package across multiple Debian releases, making it critical for users to address it promptly.

Vulnerability Detail

In the Linux kernel, a use-after-free vulnerability has been identified in the Greybus interface due to a race condition. The issue arises when the gb_interface_release function is called to clean up resources. If this occurs while a work item (gb_interface_mode_switch_work) is still pending, the object 'intf' may be freed prematurely. Consequently, if the work item attempts to access 'intf' after it has been freed, it can lead to undefined behavior, crashes, or potential exploitation by malicious actors.

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 invoking gb_interface_release while gb_interface_mode_switch_work is still pending. However, this is not a permanent solution and updating the package is strongly recommended.

Conclusion

The identified use-after-free vulnerability in the Linux kernel's Greybus interface poses significant risks to system stability and security. It is crucial for users to update their packages to the patched versions provided for their respective Debian releases. Utilizing tools like Vulert can aid in monitoring and managing vulnerabilities effectively.

See every vulnerability recorded for linux →

Share this vulnerability

FAQ

A use-after-free vulnerability occurs when a program continues to use a memory reference after it has been freed, potentially leading to crashes or exploitation.

You can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time. Visit Vulert Scanner to check your application without any signup.

Failing to fix this vulnerability could lead to system crashes, data corruption, or exploitation by attackers, compromising system integrity and security.

Yes, this vulnerability affects multiple Debian versions, including Debian 11, 12, 13, and 14, each requiring specific patched versions.

If immediate updates are not possible, consider implementing the suggested workaround and monitor for any unusual behavior in your system.

Related vulnerabilities

Recent vulnerabilities recorded for linux.

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