Critical Spin Lock Initialization Issue in Linux Kernel Package

linux Updated 02 Oct 2025

Summary

29/05/2025
N/A
Yes i
Unrated
Not published

DEBIAN-CVE-2025-37993: In the Linux kernel, the following vulnerability has been resolved: can: m_can: m_can_class_allocate_dev(): initialize spin lock on device probe The spin lock tx_handling_spinlock in struct m_can_classdev is not being in... Affects linux versions < 6.12.29-1. Fixed in 6.12.29-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 software applications. It is widely used in various environments, from servers to embedded systems. The kernel's stability and security are paramount, as vulnerabilities can lead to system crashes or unauthorized access. This specific vulnerability affects the 'linux' package in Debian versions 13 and 14, highlighting a critical issue in the CAN (Controller Area Network) subsystem.

Vulnerability Detail

In the Linux kernel, a vulnerability has been identified in the CAN subsystem, specifically within the m_can_class_allocate_dev() function. The spin lock 'tx_handling_spinlock' in the struct 'm_can_classdev' is not initialized properly. This oversight can lead to a 'spinlock bad magic' error when attempting to send CAN frames using tools like 'cansend' from the can-utils package. The error manifests as a kernel panic, potentially causing system instability and affecting the reliability of CAN communications.

How To Fix

Minimum fixed version

6.12.29-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. The best course of action is to apply the patch by updating the package as described in the 'how_to_fix' section.

Conclusion

The identified vulnerability in the Linux kernel's CAN subsystem poses significant risks to system stability and reliability. It is crucial for users to update their 'linux' package to the patched version 6.12.29-1 to mitigate these risks. Regular monitoring for vulnerabilities using tools like Vulert can help maintain system security.

See every vulnerability recorded for linux →

Share this vulnerability

FAQ

The vulnerability is related to the improper initialization of a spin lock in the Linux kernel's CAN subsystem, which can lead to system instability.

The vulnerability affects Debian versions 13 and 14 of the 'linux' package prior to version 6.12.29-1.

You can use the Vulert platform 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.

If exploited, this vulnerability can cause kernel panics, leading to system crashes and potential data loss, especially in systems relying on CAN communications.

The most effective mitigation is to update the package to the patched version. There are no known workarounds to address the issue without applying the update.

Related vulnerabilities

Recent vulnerabilities recorded for linux.

How To Fix

Minimum fixed version

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