Skip to content

pull-request: can 2026-09-28

Marc Kleine-Budde linux-can netdev stable 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest22 patches 12 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/22can: dev: can_dropped_invalid_skb: drop CAN XL frames on non-CAN XL devicesdrivers/net/can/dev/skb.c+2 -10 replies
2/22can: skb: make echo skb freeing safe in any IRQ contextdrivers/net/can/dev/skb.c include/linux/can/dev.h include/linux/can/skb.h+6 -60 replies
3/22can: skb: make CAN skb allocation failure paths IRQ-safedrivers/net/can/dev/skb.c+3 -30 replies
4/22can: dev: can_put_echo_skb(): free skb on invalid echo indexdrivers/net/can/dev/skb.c+1 -00 replies
5/22can: dev: init_can_skb(): restore skb header initializationdrivers/net/can/dev/skb.c+4 -00 replies
6/22can: j1939: j1939_sk_bind(): fix j1939_ecu leak when re-bind failednet/can/j1939/socket.c+22 -157 replies
7/22can: isotp: check the frame type, not just the lengthnet/can/isotp.c+8 -00 replies
8/22can: cc770: platform_get_irq(): propagate the errordrivers/net/can/cc770/cc770_platform.c+6 -10 replies
9/22can: cc770: fix the clock divider check on the platform busdrivers/net/can/cc770/cc770_platform.c+1 -10 replies
10/22can: kvaser_pciefd: fix use-after-free in bec poll timerdrivers/net/can/kvaser_pciefd/kvaser_pciefd_core.c+2 -10 replies
11/22can: m_can: pci: add missing pm_runtime_dont_use_autosuspend() calldrivers/net/can/m_can/m_can_pci.c+1 -00 replies
12/22can: m_can: m_can_class_suspend(): fix suspend deinit() error pathdrivers/net/can/m_can/m_can.c+22 -13 replies
13/22can: sun4i_can: sun4ican_probe(): fix clk leakdrivers/net/can/sun4i_can.c+5 -30 replies
14/22can: xilinx_can: set CAN FD flags on received framesdrivers/net/can/xilinx_can.c+6 -00 replies
15/22can: mcp251xfd: mcp251xfd_probe(): reject devices without match datadrivers/net/can/spi/mcp251xfd/mcp251xfd-core.c+6 -10 replies
16/22can: hi311x: drop hi3110_lock before free_irq() on open failuredrivers/net/can/spi/hi311x.c+3 -00 replies
17/22can: ems_usb: use usb_kill_urb() to stop the intr URBdrivers/net/can/usb/ems_usb.c+1 -10 replies
18/22usb: f81604: fix struct f81604_int_data size mismatchdrivers/net/can/usb/f81604.c+1 -10 replies
19/22can: gs_usb: kill RX URBs before destroying the netdevsdrivers/net/can/usb/gs_usb.c+3 -10 replies
20/22can: gs_usb: add workarounds for HScanT USB to CAN adapterdrivers/net/can/usb/gs_usb.c+121 -40 replies
21/22can: kvaser_usb: validate command format before parsing in hydra receive pathdrivers/net/can/usb/kvaser_usb/kvaser_usb_hydra.c+128 -70 replies
22/22can: peak_usb: fix missing CAN_ERR_FLAG when reporting error countersdrivers/net/can/usb/peak_usb/pcan_usb.c+1 -10 replies

Reviews trailers per patch

7 of 22 patches have a Reviewed-by or Acked-by.

PatchOleksij RempelVincent MailholOliver HartkoppQuchaoshengMarkus Schneider-PargmannKendall WillisGreg Kroah-HartmanDrew Willey
1/22
2/22
3/22
4/22R-b
5/22R-b A-b T-b
6/22A-b
7/22R-b A-b R-b
8/22
9/22
10/22
11/22A-b
12/22R-b
13/22
14/22
15/22
16/22
17/22
18/22A-b T-b
19/22
20/22
21/22
22/22

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 8 reviewers.

Read the v1 thread

Cover letter [PATCH net 0/22] pull-request: can 2026-09-28

Hello netdev-team,

this is a pull request of 22 patches for net/main.

The first patch is by Vincent Mailhol and drops CAN-XL frames on non CAN-XL devices.

The next 3 patches are by Cunhao Lu and make CAN skb freeing safe in any context in several CAN helper functions.

A patch by zjamg restores the skb header initialization lost during the v7.0 release cycle.

Tetsuo Handa's patch fixes a j1939_ecu leak in the CAN J1939 protocol when re-bind fails.

A patch by Kaixuan Li for the CAN ISOTP protocol improves the check for the correct CAN CC/FD frames.

Quchaosheng contributes 2 patches for the cc770 driver, to properly propagate error values in the cc770_platform_probe() function and to fix the clock divider check on the platform bus in the cc770_get_platform_data() function.

Fan Wu's patch for the kvaser_pciefd driver fixes a potential use-after-free.

A patch by Joshua Crofts adds a missing pm_runtime_dont_use_autosuspend() to the m_can_pci driver.

Markus Schneider-Pargmann's patch for the m_can driver fixes the deinit() error path in the m_can_class_suspend() function.

The next patch by Wentao Liang fixes a clk leak in the error path of the sun4ican_probe()'s function.

Maximilian Zimmermann's patch for the xilinx CAN driver adds the setting the ESI and BSR flags in the receive path if they are active.

Jiale Yao's patch for the mcp251xfd driver rejects devices without match data.

A patch by Runyu Xiao fixes a potential deadlock in the error path of the hi311x CAN driver.

Fan Wu's patch for the ems_usb driver properly stops the interrupt URB when shutting down the device.

Ji-Ze Hong fixes a struct size mismatch in the f81604 CAN driver.

The next 2 patches are for the gs_usb driver. Fan Wu's patch properly kills the RX URBs before destroying the netdevs. The other patch is by me and adds workarounds for the HScanT USB to CAN adapter.

Cen Zhang fixes a slab-out-of-bounds read access in the kvaser_usb driver.

The last patch is by Stefan Günther, target the peak_usb driver and fixes the CAN-ID when reporting CAN errors.

regards,
Marc

---

The following changes since commit a7bfaba4823e3c165bb2004c74eff7c096672bc7:

ipv6: fix prefix route expiry in modify_prefix_route() (2026-09-25 17:34:11 -0700)

are available in the Git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/mkl/linux-can.git tags/linux-can-fixes-for-7.3-20260928

for you to fetch changes up to 3a8690cbd943aef99252073d560366f25d1b6b9a:

can: peak_usb: fix missing CAN_ERR_FLAG when reporting error counters (2026-09-28 20:38:34 +0200)

----------------------------------------------------------------
linux-can-fixes-for-7.3-20260928

----------------------------------------------------------------
Cen Zhang (Microsoft Security FORGE Labs) (1):
can: kvaser_usb: validate command format before parsing in hydra receive path

Cunhao Lu (3):
can: skb: make echo skb freeing safe in any IRQ context
can: skb: make CAN skb allocation failure paths IRQ-safe
can: dev: can_put_echo_skb(): free skb on invalid echo index

Fan Wu (3):
can: kvaser_pciefd: fix use-after-free in bec poll timer
can: ems_usb: use usb_kill_urb() to stop the intr URB
can: gs_usb: kill RX URBs before destroying the netdevs

Ji-Ze Hong (Peter Hong) (1):

      usb: f81604: fix struct f81604_int_data size mismatch

Jiale Yao (1):
can: mcp251xfd: mcp251xfd_probe(): reject devices without match data

Joshua Crofts (1):
can: m_can: pci: add missing pm_runtime_dont_use_autosuspend() call

Kaixuan Li (1):
can: isotp: check the frame type, not just the length

Marc Kleine-Budde (2):
Merge patch series "can: skb: make echo skb freeing safe in any IRQ context"
can: gs_usb: add workarounds for HScanT USB to CAN adapter

Markus Schneider-Pargmann (TI) (1):
can: m_can: m_can_class_suspend(): fix suspend deinit() error path

Maximilian Zimmermann (1):
can: xilinx_can: set CAN FD flags on received frames

Quchaosheng (2):
can: cc770: platform_get_irq(): propagate the error
can: cc770: fix the clock divider check on the platform bus

Runyu Xiao (1):
can: hi311x: drop hi3110_lock before free_irq() on open failure

Stefan Günther (1):
can: peak_usb: fix missing CAN_ERR_FLAG when reporting error counters

Tetsuo Handa (1):

      can: j1939: j1939_sk_bind(): fix j1939_ecu leak when re-bind failed

Vincent Mailhol (1):
can: dev: can_dropped_invalid_skb: drop CAN XL frames on non-CAN XL devices

Wentao Liang (1):
can: sun4i_can: sun4ican_probe(): fix clk leak

zjamg (1):
can: dev: init_can_skb(): restore skb header initialization

 drivers/net/can/cc770/cc770_platform.c             |   9 +-
 drivers/net/can/dev/skb.c                          |  20 +--
 drivers/net/can/kvaser_pciefd/kvaser_pciefd_core.c |   3 +-
 drivers/net/can/m_can/m_can.c                      |  23 +++-
 drivers/net/can/m_can/m_can_pci.c                  |   1 +
 drivers/net/can/spi/hi311x.c                       |   3 +
 drivers/net/can/spi/mcp251xfd/mcp251xfd-core.c     |   7 +-
 drivers/net/can/sun4i_can.c                        |   8 +-
 drivers/net/can/usb/ems_usb.c                      |   2 +-
 drivers/net/can/usb/f81604.c                       |   2 +-
 drivers/net/can/usb/gs_usb.c                       | 129 +++++++++++++++++++-
 drivers/net/can/usb/kvaser_usb/kvaser_usb_hydra.c  | 135 +++++++++++++++++++--
 drivers/net/can/usb/peak_usb/pcan_usb.c            |   2 +-
 drivers/net/can/xilinx_can.c                       |   6 +
 include/linux/can/dev.h                            |   2 +-
 include/linux/can/skb.h                            |   4 +-
 net/can/isotp.c                                    |   8 ++
 net/can/j1939/socket.c                             |  37 +++---
 18 files changed, 353 insertions(+), 48 deletions(-)