SocketCAN CAN and CAN FD controllers and adapters
Linux's collection of drivers for Controller Area Network hardware, the messaging bus used in cars, trucks, factory automation, and embedded control systems since the 1990s. It covers on-chip CAN controllers, SPI parts like Microchip MCP251x, and USB and PCIe adapters from vendors such as PEAK and Kvaser, including newer CAN FD hardware, all exposed through the SocketCAN API.
recommendation
It should stay because CAN is still everywhere in 2025 — vendors like PEAK-System and Kvaser actively sell new CAN and CAN FD adapters that rely on these in-tree drivers, and the subsystem saw roughly 230 substantive commits in five years plus brand-new work like a virtio-CAN driver in early 2026. This is a living, growing part of the kernel rather than a legacy backwater.
repository signals
sources
- lore.kernel.org
April 2026 upstream patch activity touched `drivers/net/can/spi/mcp251x.c`, showing ongoing maintenance of in-tree CAN hardware drivers.
- lore.kernel.org
April 2026 upstream discussion added a new virtio CAN driver, showing the subsystem is still gaining new functionality rather than heading toward removal.
- peak-system.com
PEAK-System was still selling the PCAN-USB FD CAN/CAN-FD USB adapter, indicating new CAN hardware remains commercially available.
- kvaser.com
Kvaser was still selling a PCIe multi-channel CAN/CAN FD interface, indicating ongoing new deployments in test, industrial, and embedded environments.
- peak-system.com
PEAK states its CAN interfaces operate on Linux and that many Linux kernels already include the drivers via the SocketCAN framework.
- en.wikipedia.org
CAN remains a current bus used across automotive and multiple industrial domains, supporting the conclusion that deployments are still widespread.
codex reasoning notes (technical)
`drivers/net/can` is an active driver subsystem, not a legacy orphan: `lore_regex` on patch bodies for `^diff --git a/drivers/net/can/` returned multiple April 2026 fixes plus new virtio-CAN work (first two lore URLs). A separate `lore_regex` subject search for removal/deprecation talk timed out and produced no usable removal evidence; combined with the provided 230 substantive commits in 5y, that argues against deprecation. Web `search_query` produced current vendor product pages (PEAK, Kvaser) and PEAK's Linux/SocketCAN support page, plus Wikipedia for present-day CAN deployment context. Because this directory is the in-tree CAN driver ecosystem itself, there is no single upstream replacement driver.