)]}'
{
  "commit": "4388aee252f712d6c58566a5e41a11c7e938827e",
  "tree": "97817f4f3b7b06864658d141271ed79e3f0c09d3",
  "parents": [
    "466a913740c9a1e7249f9f8efda9f3c9b32367b2"
  ],
  "author": {
    "name": "He Gao",
    "email": "hegao@google.com",
    "time": "Thu Aug 14 21:36:08 2025 +0000"
  },
  "committer": {
    "name": "Cloud Image Release",
    "email": "cloud-image-release@prod.google.com",
    "time": "Thu Aug 14 20:36:02 2025 -0700"
  },
  "message": "net/packet: fix a race in packet_set_ring() and packet_notifier()\n\nupstream commit: 01d3c8417b9c1b884a8a981a3b886da556512f36\n\nWhen packet_set_ring() releases po-\u003ebind_lock, another thread can\nrun packet_notifier() and process an NETDEV_UP event.\n\nThis race and the fix are both similar to that of commit 15fe076edea7\n(\"net/packet: fix a race in packet_bind() and packet_notifier()\").\n\nThere too the packet_notifier NETDEV_UP event managed to run while a\npo-\u003ebind_lock critical section had to be temporarily released. And\nthe fix was similarly to temporarily set po-\u003enum to zero to keep\nthe socket unhooked until the lock is retaken.\n\nThe po-\u003ebind_lock in packet_set_ring and packet_notifier precede the\nintroduction of git history.\n\nBUG\u003db/438677841\nTEST\u003dpresubmit\nRELEASE_NOTE\u003dFixed KCTF-01d3c84 in the Linux kernel.\n\ncos-patch: security-high\nFixes: 1da177e4c3f4 (\"Linux-2.6.12-rc2\")\nCc: stable@vger.kernel.org\nChange-Id: I7efa71cc24262d1658ab2669798793eb5954ad2c\nSigned-off-by: Quang Le \u003cquanglex97@gmail.com\u003e\nSigned-off-by: Willem de Bruijn \u003cwillemb@google.com\u003e\nSigned-off-by: Jakub Kicinski \u003ckuba@kernel.org\u003e\nReviewed-on: https://cos-review.googlesource.com/c/third_party/kernel/+/109090\nTested-by: Cusky Presubmit Bot \u003cpresubmit@cos-infra-prod.iam.gserviceaccount.com\u003e\nReviewed-by: Kevin Berry \u003ckpberry@google.com\u003e\nMain-Branch-Verified: Cusky Presubmit Bot \u003cpresubmit@cos-infra-prod.iam.gserviceaccount.com\u003e\nReviewed-on: https://cos-review.googlesource.com/c/third_party/kernel/+/109096\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "a15367fce32d69f79467af07fd45625c23b4fc78",
      "old_mode": 33188,
      "old_path": "net/packet/af_packet.c",
      "new_id": "67607e400bc5cdcd5be3a651e88fc3b624881ace",
      "new_mode": 33188,
      "new_path": "net/packet/af_packet.c"
    }
  ]
}
