)]}'
{
  "commit": "ef55a40bd2b3af2acd1197d83f203f892d717819",
  "tree": "110a119c2adbf2096bca41da8b1fdc967fa9f23a",
  "parents": [
    "0c333f6a7b49b4a001ab23fca27c39d4f694ebcd"
  ],
  "author": {
    "name": "He Gao",
    "email": "hegao@google.com",
    "time": "Thu Aug 14 21:36:08 2025 +0000"
  },
  "committer": {
    "name": "He Gao",
    "email": "hegao@google.com",
    "time": "Thu Aug 14 19:56:59 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/438673338\nTEST\u003dpresubmit\nRELEASE_NOTE\u003dFixed KCTF-01d3c84 in the Linux kernel.\n\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/+/109088\nTested-by: Cusky Presubmit Bot \u003cpresubmit@cos-infra-prod.iam.gserviceaccount.com\u003e\nReviewed-by: Kevin Berry \u003ckpberry@google.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "19c4c1f27e586c1561b386dab3c6d4892e372b51",
      "old_mode": 33188,
      "old_path": "net/packet/af_packet.c",
      "new_id": "e8589fede4d4c9465adfd5c9b20a3e4f39ba494a",
      "new_mode": 33188,
      "new_path": "net/packet/af_packet.c"
    }
  ]
}
