Skip to content

can: isotp: backport of 2 patches that failed to apply to 5.10-stable

Oliver Hartkopp stable 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
2/2can: isotp: serialize TX state transitions under so->rx_locknet/can/isotp.c+154 -380 replies
2/2can: isotp: serialize TX state transitions under so->rx_locknet/can/isotp.c+154 -380 replies
2/2can: isotp: serialize TX state transitions under so->rx_locknet/can/isotp.c+154 -380 replies
2/2can: isotp: serialize TX state transitions under so->rx_locknet/can/isotp.c+154 -380 replies
2/2can: isotp: serialize TX state transitions under so->rx_locknet/can/isotp.c+154 -380 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 6.12.y 0/2] can: isotp: backport of 2 patches that failed to apply to 6.12-stable

This resubmits "can: isotp: fix use-after-free race with concurrent NETDEV_UNREGISTER" (commit 20bab8b88baac140ca3701116e1d486c7f51e311 upstream), which failed to apply to the 6.12-stable tree, together with "can: isotp: serialize TX state transitions under so->rx_lock" (commit cf070fe33bfbd1a4c21236078fadb35dd223a157 upstream) from the same upstream series, which builds on it and would otherwise fail for the same reason. This is the full set of 3 upstream isotp.c patches from 7.2-rc3 minus the 1 already queued by the normal stable process for 6.12 ("can: isotp: use unconditional synchronize_rcu() in isotp_release()").

This assumes the 1 already-queued isotp.c patch for 6.12-stable has landed by the time this is applied. If not, please let me know and I will rebase.

Oliver Hartkopp (2):
can: isotp: fix use-after-free race with concurrent NETDEV_UNREGISTER
can: isotp: serialize TX state transitions under so->rx_lock

 net/can/isotp.c | 280 ++++++++++++++++++++++++++++++++++++++++++--------------
 1 file changed, 213 insertions(+), 67 deletions(-)
Signature · 1 line
2.43.0