Re: KMSAN: uninit-value in can_receive

From: Oliver Hartkopp
Date: Tue Dec 03 2019 - 05:38:16 EST


No. I have analyzed several solutions which turn out to be either unsafe in processing or need some changes in af_packet :-(

I'm currently very busy @work but will come up with a discussion until end of this week.

There is no big pressure as the problem is more unpleasant than causing a real problem right now.

Best regards,
Oliver

On 03/12/2019 11.09, Marc Kleine-Budde wrote:
On 11/20/19 9:10 PM, Oliver Hartkopp wrote:
[...]
So the KMSAN detection was right at the end :-(

I'll take a closer look to enable PF_PACKET to send CAN frames again
which will fix up the entire problem.

I'm going to send a pull request today. Do you already have a fix for this?

regards,
Marc