)]}'
{
  "commit": "1dd147644c2ffa2b98ed57056012bfed5c2d2190",
  "tree": "b263bd787a87e31c39017511ffea4de575c58f99",
  "parents": [
    "d76ca200c3330ac340c7df5b700cd96ec7a5d3e8"
  ],
  "author": {
    "name": "Weiming Shi",
    "email": "bestswngs@gmail.com",
    "time": "Thu May 21 09:33:13 2026 -0700"
  },
  "committer": {
    "name": "Kevin Liu",
    "email": "zhihuil@google.com",
    "time": "Mon Jun 15 11:10:02 2026 -0700"
  },
  "message": "tun: free page on build_skb failure in tun_xdp_one()\n\n[ Upstream commit aa8963fdce667a42fb7f0bdd2909fadcab02f9a8 ]\n\nWhen build_skb() fails in tun_xdp_one(), the function sets ret to\n-ENOMEM and jumps to the out label, which returns without freeing the\npage that vhost_net_build_xdp() allocated for the frame. As with the\nshort-frame rejection path, tun_sendmsg() discards the per-buffer error\nand still returns total_len, so vhost_tx_batch() takes the success path\nand never frees the page. Each build_skb() failure in a batch leaks one\npage-frag chunk.\n\nFree the page before taking the error path, matching the put_page() the\nother error exits of tun_xdp_one() already perform.\n\nBUG\u003db/522218268\nTEST\u003dpresubmit\nRELEASE_NOTE\u003dFixed CVE-2026-46322 in the Linux kernel.\n\ncos-patch: security-high\nFixes: 043d222f93ab (\"tuntap: accept an array of XDP buffs through sendmsg()\")\nReported-by: Xiang Mei \u003cxmei5@asu.edu\u003e\nChange-Id: I2a1f1e73790f1f624caedd500a626d18c38ce13a\nSigned-off-by: Weiming Shi \u003cbestswngs@gmail.com\u003e\nReviewed-by: Dongli Zhang \u003cdongli.zhang@oracle.com\u003e\nReviewed-by: Willem de Bruijn \u003cwillemb@google.com\u003e\nLink: https://patch.msgid.link/20260521163312.1479805-2-bestswngs@gmail.com\nSigned-off-by: Jakub Kicinski \u003ckuba@kernel.org\u003e\nSigned-off-by: Sasha Levin \u003csashal@kernel.org\u003e\nReviewed-on: https://cos-review.googlesource.com/c/third_party/kernel/+/160104\nTested-by: Cusky Presubmit Bot \u003cpresubmit@cos-infra-prod.iam.gserviceaccount.com\u003e\nReviewed-by: Daniel Velasquez \u003crdvelasquez@google.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "19c33d21bab947434c85480ea9093d4b2a394775",
      "old_mode": 33188,
      "old_path": "drivers/net/tun.c",
      "new_id": "d53e60823bf1bbe823f2d0e562f4c8b84133691f",
      "new_mode": 33188,
      "new_path": "drivers/net/tun.c"
    }
  ]
}
