Critical Use-After-Free Vulnerability in Linux Kernel Affecting Debian Packages

linux Updated 02 Oct 2025

Summary

12/08/2025
N/A
Yes i
Unrated
Not published

CVE-2025-38500: In the Linux kernel, the following vulnerability has been resolved: xfrm: interface: fix use-after-free after changing collect_md xfrm interface collect_md property on xfrm interfaces can only be set on device creation,... Affects linux versions < 6.1.148-1. Fixed in 6.1.148-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 Your last release was probably never penetration tested 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 Debian operating system, responsible for managing hardware resources and providing essential services to applications. It is known for its stability, security, and performance. However, vulnerabilities can arise due to complex interactions within the kernel, potentially compromising system integrity and security. This specific vulnerability affects the xfrm interface, which is used for IPsec and other networking functionalities.

Vulnerability Detail

In the Linux kernel, a use-after-free vulnerability has been identified in the xfrm interface related to the collect_md property. This issue arises when the collect_md property is modified after the interface has been created, leading to a situation where the kernel erroneously manages memory. The failure to enforce checks on this property can result in a double free error, potentially causing system crashes or exploitation by malicious actors. The vulnerability is particularly critical as it can lead to kernel panics and system instability.

How To Fix

Minimum fixed version

6.1.148-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 available for this vulnerability. It is recommended to apply the patch as soon as it becomes available for your Debian version.

Conclusion

The identified use-after-free vulnerability in the Linux kernel poses significant risks to systems running Debian. It is crucial to stay informed about updates and apply patches promptly to maintain system security and stability. Utilizing tools like Vulert can aid in monitoring 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 pointer after the memory it points to has been freed, potentially leading to arbitrary code execution or crashes.

You can use Vulert, which allows you to monitor and alert for open-source vulnerabilities in your software. Visit Vulert Scanner to check if your application is affected without requiring any signup.

The vulnerability can lead to system crashes, data corruption, or exploitation by attackers, compromising the security and stability of the system.

Currently, a patch is available for Debian 13 (version 6.12.41-1). Other versions are still pending updates.

If an immediate update is not possible, ensure that your system is not exposed to untrusted networks and monitor for any unusual activity until a patch can be applied.

Related vulnerabilities

Recent vulnerabilities recorded for linux.

How To Fix

Minimum fixed version

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