mbox

[net,0/4] pull-request: can 2023-04-05

Message ID 20230405092444.1802340-1-mkl@pengutronix.de (mailing list archive)
State Accepted
Delegated to: Netdev Maintainers
Headers show

Pull-request

git://git.kernel.org/pub/scm/linux/kernel/git/mkl/linux-can.git tags/linux-can-fixes-for-6.3-20230405

Message

Marc Kleine-Budde April 5, 2023, 9:24 a.m. UTC
Hello netdev-team,

this is a pull request of 4 patches for net/master.

The first patch is by Oleksij Rempel and fixes a out-of-bounds memory
access in the j1939 protocol.

The remaining 3 patches target the ISOTP protocol. Oliver Hartkopp
fixes the ISOTP protocol to pass information about dropped PDUs to the
user space via control messages. Michal Sojka's patch fixes poll() to
not forward false EPOLLOUT events. And Oliver Hartkopp fixes a race
condition between isotp_sendsmg() and isotp_release().

regards,
Marc

---

The following changes since commit 3ce9345580974863c060fa32971537996a7b2d57:

  gve: Secure enough bytes in the first TX desc for all TCP pkts (2023-04-04 18:58:12 -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-6.3-20230405

for you to fetch changes up to 051737439eaee5bdd03d3c2ef5510d54a478fd05:

  can: isotp: fix race between isotp_sendsmg() and isotp_release() (2023-04-05 11:16:37 +0200)

----------------------------------------------------------------
linux-can-fixes-for-6.3-20230405

----------------------------------------------------------------
Michal Sojka (1):
      can: isotp: isotp_ops: fix poll() to not report false EPOLLOUT events

Oleksij Rempel (1):
      can: j1939: j1939_tp_tx_dat_new(): fix out-of-bounds memory access

Oliver Hartkopp (2):
      can: isotp: isotp_recvmsg(): use sock_recv_cmsgs() to get SOCK_RXQ_OVFL infos
      can: isotp: fix race between isotp_sendsmg() and isotp_release()

 net/can/isotp.c           | 74 ++++++++++++++++++++++++++++++-----------------
 net/can/j1939/transport.c |  5 +++-
 2 files changed, 52 insertions(+), 27 deletions(-)