CVE-2025-37993 Information
Description
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 initialized. This leads the following spinlock bad magic complaint from the kernel eg. when trying to send CAN frames with cansend from can-utils:
| BUG: spinlock bad magic on CPU0 cansend/95
| lock: 0xff60000002ec1010 .magic: 00000000 .owner:
Initializing the spin lock in m_can_class_allocate_dev solves that problem.
Reference
https://git.kernel.org/stable/c/2ecce25ea296f328d79070ee36229a15aeeb7aca https://git.kernel.org/stable/c/7d5379cfecfdd665e4206bc4f19824656388779f https://git.kernel.org/stable/c/dcaeeb8ae84c5506ebc574732838264f3887738c
Share on: