[PATCH can v1 0/2] can: j1939: resend lost patches for buffer init and netdevice tracking

Oleksij Rempel <[email protected]> Tue, 28 Jul 2026 07:58:33 +0200
Newsgroups org.kernel.vger.linux-can,org.kernel.vger.linux-kernel
Message-ID <[email protected]>
This series collects and resends two j1939 patches that were previously
lost on their way upstream. They address different, unconnected issues
in the stack:

- Patch 1 prevents residual data leaks by zeroing the allocated receive
  buffer in j1939_session_fresh_new().

- Patch 2 implements netdevice_tracker for j1939_{priv,session,ecu}
  management to help investigate a dev_hold/dev_put refcount leak
  (unregister_netdevice waiting for vcan0) reported by syzbot.

Oleksij Rempel (1):
  can: j1939: transport: initialize receive buffer

Tetsuo Handa (1):
  can: j1939: use netdevice_tracker for j1939_{priv,session,ecu}
    tracking

 net/can/j1939/bus.c        | 2 ++
 net/can/j1939/j1939-priv.h | 3 +++
 net/can/j1939/main.c       | 8 ++++----
 net/can/j1939/transport.c  | 4 +++-
 4 files changed, 12 insertions(+), 5 deletions(-)

--
2.47.3