Skip to content

rpmsg: virtio: fix posseble double free

Hangyu Hua linux-remoteproc lkml 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest3 patches 3 repliesIn review
  2. v11 patch 2 repliesSuperseded

Changes in v2 from the cover letter

Use a cover letter to integrate the three patches. Add comments in rpmsg_probe() and rpmsg_virtio_add_ctrl_dev().

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3rpmsg: virtio: fix possible double free in rpmsg_probe()drivers/rpmsg/virtio_rpmsg_bus.c+2 -30 replies
2/3rpmsg: virtio: fix possible double free in rpmsg_virtio_add_ctrl_dev()drivers/rpmsg/virtio_rpmsg_bus.c+1 -10 replies
3/3rpmsg: virtio: Fix the unregistration of the device rpmsg_ctrldrivers/rpmsg/virtio_rpmsg_bus.c+1 -13 replies

Reviews trailers per patch

1 of 3 patches has a Reviewed-by or Acked-by.

PatchArnaud PouliquenHangyu Hua
1/3T-b
2/3T-b
3/3R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 0/3] rpmsg: virtio: fix posseble double free

There are double free in rpmsg_probe() and rpmsg_virtio_add_ctrl_dev(). In addition, rpmsg_virtio_del_ctrl_dev() didn't use correct function to free the object.

v2:
Use a cover letter to integrate the three patches. Add comments in rpmsg_probe() and rpmsg_virtio_add_ctrl_dev().

Hangyu Hua (2):
rpmsg: virtio: fix possible double free in rpmsg_probe()
rpmsg: virtio: fix possible double free in rpmsg_virtio_add_ctrl_dev()
Arnaud Pouliquen (1):
rpmsg: virtio: Fix the unregistration of the device rpmsg_ctrl

 drivers/rpmsg/virtio_rpmsg_bus.c | 9 ++++-----
 1 file changed, 4 insertions(+), 5 deletions(-)
Signature · 1 line
2.25.1