)]}'
{
  "commit": "6c119c63599291cd468409254669be8082f330b9",
  "tree": "f3f5d2c0e2d18e41581f472a272d69457bae6d5b",
  "parents": [
    "2b0c8bf6c52993e08e88517f1a6b99668947f079"
  ],
  "author": {
    "name": "Eric Dumazet",
    "email": "edumazet@google.com",
    "time": "Thu Apr 30 12:26:52 2026 +0000"
  },
  "committer": {
    "name": "Miri Amarilio",
    "email": "mirilio@google.com",
    "time": "Fri May 29 16:34:56 2026 -0700"
  },
  "message": "vsock/virtio: fix potential unbounded skb queue\n\nvirtio_transport_inc_rx_pkt() checks vvs-\u003erx_bytes + len \u003e vvs-\u003ebuf_alloc.\n\nvirtio_transport_recv_enqueue() skips coalescing for packets\nwith VIRTIO_VSOCK_SEQ_EOM.\n\nIf fed with packets with len \u003d\u003d 0 and VIRTIO_VSOCK_SEQ_EOM,\na very large number of packets can be queued\nbecause vvs-\u003erx_bytes stays at 0.\n\nFix this by estimating the skb metadata size:\n\n\t(Number of skbs in the queue) * SKB_TRUESIZE(0)\n\nBUG\u003db/515133258\nTEST\u003dpresubmit\nRELEASE_NOTE\u003dNone\n\nFixes: 077706165717 (\"virtio/vsock: don\u0027t use skbuff state to account credit\")\nSigned-off-by: Eric Dumazet \u003cedumazet@google.com\u003e\nSigned-off-by: Kevin Berry \u003ckpberry@google.com\u003e\nCc: Arseniy Krasnov \u003cAVKrasnov@sberdevices.ru\u003e\nCc: Stefan Hajnoczi \u003cstefanha@redhat.com\u003e\nCc: Stefano Garzarella \u003csgarzare@redhat.com\u003e\nCc: \"Michael S. Tsirkin\" \u003cmst@redhat.com\u003e\nCc: Jason Wang \u003cjasowang@redhat.com\u003e\nCc: Xuan Zhuo \u003cxuanzhuo@linux.alibaba.com\u003e\nCc: \"Eugenio Pérez\" \u003ceperezma@redhat.com\u003e\nCc: kvm@vger.kernel.org\nCc: virtualization@lists.linux.dev\nChange-Id: Ia66d128ca2beae4f09e3d453f669fc3405a52aad\nReviewed-on: https://cos-review.googlesource.com/c/third_party/kernel/+/154266\nMain-Branch-Verified: Cusky Presubmit Bot \u003cpresubmit@cos-infra-prod.iam.gserviceaccount.com\u003e\nReviewed-by: Robert Kolchmeyer \u003crkolchmeyer@google.com\u003e\n(cherry picked from commit 695c8675e691ea92d58c8336c166f8509f64a131)\nReviewed-on: https://cos-review.googlesource.com/c/third_party/kernel/+/154766\nReviewed-by: Miri Amarilio \u003cmirilio@google.com\u003e\nTested-by: Cusky Presubmit Bot \u003cpresubmit@cos-infra-prod.iam.gserviceaccount.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "4c374c36c29d117676a56ac50e4cd70f7d002df3",
      "old_mode": 33188,
      "old_path": "net/vmw_vsock/virtio_transport_common.c",
      "new_id": "86e3051d000e9c0cbabdf12517c28c9421463085",
      "new_mode": 33188,
      "new_path": "net/vmw_vsock/virtio_transport_common.c"
    }
  ]
}
