Re: [PATCH] can: m_can: initialize spin lock on device probe
From: Vincent Mailhol
Date: Thu Apr 24 2025 - 11:24:01 EST
On 24/04/2025 at 22:11, Marc Kleine-Budde wrote:
> Hello Antonios,
>
> On 24.04.2025 14:52:20, Antonios Salios wrote:
>> The spin lock tx_handling_spinlock in struct m_can_classdev is not being
>> initialized. This leads to bug complaints from the kernel, eg. when
^^^^^^^^^^^^^^
Maybe you can briefly describe what kind of bug (NULL pointer dereference).
Also, if you have the dmesg log of the error, this is something you can add at
the end of the patch description.
You will probably get a CVE for your finding.
Yours sincerely,
Vincent Mailhol