Skip to content

can: bcm: backport of 9 patches that failed to apply to 5.15-stable

Oliver Hartkopp stable 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest9 patches 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
2/9can: bcm: add locking when updating filter and timer valuesnet/can/bcm.c+134 -440 replies
2/9can: bcm: add locking when updating filter and timer valuesnet/can/bcm.c+134 -440 replies
3/9can: bcm: fix CAN frame rx/tx statisticsnet/can/bcm.c+45 -220 replies
3/9can: bcm: fix CAN frame rx/tx statisticsnet/can/bcm.c+45 -220 replies
4/9can: bcm: extend bcm_tx_lock usage for data and timer updatesnet/can/bcm.c+75 -290 replies
4/9can: bcm: extend bcm_tx_lock usage for data and timer updatesnet/can/bcm.c+75 -290 replies
5/9can: bcm: validate frame length in bcm_rx_setup() for RTR repliesnet/can/bcm.c+41 -180 replies
5/9can: bcm: validate frame length in bcm_rx_setup() for RTR repliesnet/can/bcm.c+41 -180 replies
6/9can: bcm: add missing device refcount for CAN filter removalnet/can/bcm.c+24 -200 replies
6/9can: bcm: add missing device refcount for CAN filter removalnet/can/bcm.c+24 -200 replies
7/9can: bcm: fix stale rx/tx ops after device removalnet/can/bcm.c+44 -100 replies
7/9can: bcm: fix stale rx/tx ops after device removalnet/can/bcm.c+44 -100 replies
8/9can: bcm: fix data race on rx_stamp/rx_ifindex in bcm_rx_handler()net/can/bcm.c+8 -50 replies
8/9can: bcm: fix data race on rx_stamp/rx_ifindex in bcm_rx_handler()net/can/bcm.c+8 -50 replies
9/9can: bcm: track a single source interface for ANYDEV timeout/throttle opsnet/can/bcm.c+44 -50 replies
9/9can: bcm: track a single source interface for ANYDEV timeout/throttle opsnet/can/bcm.c+44 -50 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [PATCH 5.15.y 0/9] can: bcm: backport of 9 patches that failed to apply to 5.15-stable

This resubmits "can: bcm: add locking when updating filter and timer values" (commit 749179c2e25b95d22499ed29096b3e02d6dfd2b4 upstream), which failed to apply to the 5.15-stable tree, together with 8 further bcm.c patches from the same upstream series that build on it and would otherwise fail for the same reason. This is the full set of 11 upstream bcm.c patches from 7.2-rc3 minus the 2 already queued by the normal stable process for 5.15 ("can: bcm: fix lockless bound/ifindex race and silent RX_SETUP failure", "can: bcm: add missing rcu list annotations and operations").

This assumes the 2 already-queued bcm.c patches for 5.15-stable have landed by the time this is applied. If not, please let me know and I will rebase.

Lee Jones (1):
can: bcm: defer rx_op deallocation to workqueue to fix thrtimer UAF

Oliver Hartkopp (8):
can: bcm: add locking when updating filter and timer values
can: bcm: fix CAN frame rx/tx statistics
can: bcm: extend bcm_tx_lock usage for data and timer updates
can: bcm: validate frame length in bcm_rx_setup() for RTR replies
can: bcm: add missing device refcount for CAN filter removal
can: bcm: fix stale rx/tx ops after device removal
can: bcm: fix data race on rx_stamp/rx_ifindex in bcm_rx_handler()
can: bcm: track a single source interface for ANYDEV timeout/throttle
ops

 net/can/bcm.c | 558 ++++++++++++++++++++++++++++++++++++++++++++--------------
 1 file changed, 425 insertions(+), 133 deletions(-)
Signature · 1 line
2.43.0