[BUG] can: kvaser_usb: WARN_ON(!dev->cfg) in kvaser_usb_probe() from an unhandled clock-frequency encoding

From: Farhad Alemi

Date: Thu Aug 27 2026 - 23:16:32 EST


Hello,

As part of the kernel research at ASU's SEFCOM
lab, we hit the crash below. Crash reports can be found here:

https://github.com/farhad-alemi/public_bug_reports/tree/main/123-can-kvaser-warn-null-dev-cfg-kvaser_usb_probe/

WARNING: drivers/net/can/usb/kvaser_usb/kvaser_usb_core.c:989
at kvaser_usb_probe+0x14a9/0x15e0

Our reproducer.c is available upon request.

Happy to test a patch if that would help.

Regards,