vsock/virtio: fix null-pointer dereference and related precautions
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 2 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | vsock/virtio: fix null-pointer dereference in virtio_transport_recv_listen()net/ | +4 | 0 replies | |
| 1/2 | vsock/virtio: fix null-pointer dereference in virtio_transport_recv_listen()net/ | +4 | 0 replies | |
| 2/2 | vsock/virtio: add WARN_ON check on virtio_transport_get_ops()net/ | +15 | 0 replies | |
| 2/2 | vsock/virtio: add WARN_ON check on virtio_transport_get_ops()net/ | +15 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH net 0/2] vsock/virtio: fix null-pointer dereference and related precautions
This series mainly solves a possible null-pointer dereference in virtio_transport_recv_listen() introduced with the multi-transport support [PATCH 1].
PATCH 2 adds a WARN_ON check for the same potential issue and a returned error in the virtio_transport_send_pkt_info() function to avoid crashing the kernel.
Stefano Garzarella (2):
vsock/virtio: fix null-pointer dereference in
virtio_transport_recv_listen()
vsock/virtio: add WARN_ON check on virtio_transport_get_ops()
net/vmw_vsock/virtio_transport_common.c | 25 +++++++++++++++++++------ 1 file changed, 19 insertions(+), 6 deletions(-)
Signature · 1 line
2.23.0