)]}'
{
  "commit": "32eebab8d4fc97eb69fe095c4737e578f395ea56",
  "tree": "ea1e11a3e95c72ce4c7a1f52596d712cdad5d59c",
  "parents": [
    "ace9960408a28c41ce9babe030ca71ed4071e678"
  ],
  "author": {
    "name": "He Gao",
    "email": "hegao@google.com",
    "time": "Thu Aug 14 22:13:23 2025 +0000"
  },
  "committer": {
    "name": "Cloud Image Release",
    "email": "cloud-image-release@prod.google.com",
    "time": "Thu Aug 14 20:30:37 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/438679033\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: I6c124ff5cd91ea6f07875b506d6efa1e4a1943ad\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/+/109092\nReviewed-by: Kevin Berry \u003ckpberry@google.com\u003e\nTested-by: Cusky Presubmit Bot \u003cpresubmit@cos-infra-prod.iam.gserviceaccount.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/+/109095\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "cdde721f09f4e059a472d0c789d00e0bc2e98304",
      "old_mode": 33188,
      "old_path": "net/packet/af_packet.c",
      "new_id": "0540ce8ec02a52620d5c0a6cae360ae042d7c496",
      "new_mode": 33188,
      "new_path": "net/packet/af_packet.c"
    }
  ]
}
