Critical NULL Dereference Vulnerability in Linux Kernel Package

linux Updated 02 Oct 2025

Summary

06/03/2025
N/A
Yes i
Unrated
Not published

DEBIAN-CVE-2024-58064: In the Linux kernel, the following vulnerability has been resolved: wifi: cfg80211: tests: Fix potential NULL dereference in test_cfg80211_parse_colocated_ap() kunit_kzalloc() may return NULL, dereferencing it without NU... Affects linux versions < 6.12.13-1. Fixed in 6.12.13-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 many operating systems, including Debian. It manages hardware resources and provides essential services for software applications. The kernel is known for its stability and performance, but vulnerabilities can lead to significant security risks. This specific vulnerability affects the cfg80211 subsystem, which is responsible for wireless networking in the kernel, potentially compromising system integrity.

Vulnerability Detail

In the Linux kernel, a vulnerability has been identified in the cfg80211 subsystem related to the function test_cfg80211_parse_colocated_ap(). The issue arises from the use of kunit_kzalloc(), which may return a NULL pointer. If this pointer is dereferenced without a proper NULL check, it can lead to a NULL dereference, causing system crashes or unexpected behavior. This vulnerability is particularly concerning as it could be exploited by an attacker to disrupt wireless connectivity or execute arbitrary code.

How To Fix

Minimum fixed version

6.12.13-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, no specific workaround is provided for this vulnerability. The best course of action is to apply the patch by updating to the fixed version of the Linux kernel.

Conclusion

The identified NULL dereference vulnerability in the Linux kernel's cfg80211 subsystem poses significant risks to system stability and security. Users are strongly advised to update their kernel to the patched version 6.12.13-1 to mitigate these risks. Regular monitoring for vulnerabilities is essential to maintain system integrity.

See every vulnerability recorded for linux →

Share this vulnerability

FAQ

The vulnerability can lead to system crashes or unexpected behavior due to NULL dereference, potentially allowing attackers to disrupt wireless connectivity.

You can use the Vulert platform to monitor and alert for open-source vulnerabilities. By uploading your manifest file, you can check if your application is affected by this vulnerability.

While the primary risk is system instability, there is a potential for data loss if the system crashes unexpectedly.

The vulnerability affects the Linux kernel versions prior to 6.12.13-1 in both Debian 13 and Debian 14.

It is recommended to regularly check for vulnerabilities, especially after updates or changes to your software environment. Using tools like Vulert can help automate this process.

Related vulnerabilities

Recent vulnerabilities recorded for linux.

How To Fix

Minimum fixed version

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