Skip to content

Commit

Permalink
fix: typos in exploit.md
Browse files Browse the repository at this point in the history
  • Loading branch information
V4bel-theori committed Dec 18, 2024
1 parent aa7cc3d commit 77356e2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pocs/linux/kernelctf/CVE-2024-50264_lts_cos/docs/exploit.md
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ int vsock_assign_transport(struct vsock_sock *vsk, struct vsock_sock *psk)
}
}
ret = new_transport->init(vsk, psk); // [0.4] When ->init() is called, vsk->trans gets overwritten.
ret = new_transport->init(vsk, psk); // [0.4] When ->init() is called, vsk->trans gets overwritten
if (ret) {
module_put(new_transport->module);
return ret;
Expand Down Expand Up @@ -259,7 +259,7 @@ void virtio_transport_recv_pkt(struct virtio_transport *t,
virtio_transport_recv_connected(sk, skb);
break;
case TCP_CLOSING:
virtio_transport_recv_disconnecting(sk, skb); // [0.7] When this is called, a null-ptr-deref occurs.
virtio_transport_recv_disconnecting(sk, skb); // [0.7] When this is called, a null-ptr-deref occurs
kfree_skb(skb);
break;
default:
Expand Down

0 comments on commit 77356e2

Please sign in to comment.