)]}'
{
  "commit": "d2ec5b118f6f5f38bb03d3079965327c76256ba1",
  "tree": "684cd9900432f925ee3b2d2814a49e3f611f16b1",
  "parents": [
    "c579fe13e0896dfc71dae67ea068c2cb48951fc9"
  ],
  "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:51 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/+/154283\nReviewed-by: Robert Kolchmeyer \u003crkolchmeyer@google.com\u003e\nMain-Branch-Verified: Cusky Presubmit Bot \u003cpresubmit@cos-infra-prod.iam.gserviceaccount.com\u003e\n(cherry picked from commit aa1b681f8680ce732fab267651c00239b676697f)\nReviewed-on: https://cos-review.googlesource.com/c/third_party/kernel/+/154745\nTested-by: Cusky Presubmit Bot \u003cpresubmit@cos-infra-prod.iam.gserviceaccount.com\u003e\nReviewed-by: Miri Amarilio \u003cmirilio@google.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "e426424d9875a6e38c6dbcbe15101ca543fc9560",
      "old_mode": 33188,
      "old_path": "net/vmw_vsock/virtio_transport_common.c",
      "new_id": "1d28a147e4cb6a03948823952cf2f93d9b8d1eb7",
      "new_mode": 33188,
      "new_path": "net/vmw_vsock/virtio_transport_common.c"
    }
  ]
}
