)]}'
{
  "commit": "9c3660f9dbf2be1b7d45b775372855e84eee786d",
  "tree": "77c2e9e8f63a4222b4e225b4e46410d2aecd1d8c",
  "parents": [
    "0b5ce47120b9728acc0049293a9d529ee7b0066e"
  ],
  "author": {
    "name": "Pedro Tammela",
    "email": "pctammela@mojatatu.com",
    "time": "Thu Oct 24 12:55:47 2024 -0400"
  },
  "committer": {
    "name": "COS Cherry Picker",
    "email": "cloud-image-release@prod.google.com",
    "time": "Fri Nov 08 03:06:30 2024 -0800"
  },
  "message": "net/sched: stop qdisc_tree_reduce_backlog on TC_H_ROOT\n\n[ Upstream commit 2e95c4384438adeaa772caa560244b1a2efef816 ]\n\nIn qdisc_tree_reduce_backlog, Qdiscs with major handle ffff: are assumed\nto be either root or ingress. This assumption is bogus since it\u0027s valid\nto create egress qdiscs with major handle ffff:\nBudimir Markovic found that for qdiscs like DRR that maintain an active\nclass list, it will cause a UAF with a dangling class pointer.\n\nIn 066a3b5b2346, the concern was to avoid iterating over the ingress\nqdisc since its parent is itself. The proper fix is to stop when parent\nTC_H_ROOT is reached because the only way to retrieve ingress is when a\nhierarchy which does not contain a ffff: major handle call into\nqdisc_lookup with TC_H_MAJ(TC_H_ROOT).\n\nIn the scenario where major ffff: is an egress qdisc in any of the tree\nlevels, the updates will also propagate to TC_H_ROOT, which then the\niteration must stop.\n\nFixes: 066a3b5b2346 (\"[NET_SCHED] sch_api: fix qdisc_tree_decrease_qlen() loop\")\nReported-by: Budimir Markovic \u003cmarkovicbudimir@gmail.com\u003e\nSuggested-by: Jamal Hadi Salim \u003cjhs@mojatatu.com\u003e\nTested-by: Victor Nogueira \u003cvictor@mojatatu.com\u003e\nSigned-off-by: Pedro Tammela \u003cpctammela@mojatatu.com\u003e\nSigned-off-by: Jamal Hadi Salim \u003cjhs@mojatatu.com\u003e\n\n net/sched/sch_api.c | 2 +-\n 1 file changed, 1 insertion(+), 1 deletion(-)\nReviewed-by: Simon Horman \u003chorms@kernel.org\u003e\n\nBUG\u003db/377213198\nTEST\u003dpresubmit\nRELEASE_NOTE\u003dFixed KCTF-2e95c43 in the Linux kernel.\n\ncos-patch: security-high\nLink: https://patch.msgid.link/20241024165547.418570-1-jhs@mojatatu.com\nChange-Id: Ied6348261e0fd510e47443b6ab9ae32827aa0dbd\nSigned-off-by: Jakub Kicinski \u003ckuba@kernel.org\u003e\nReviewed-on: https://cos-review.googlesource.com/c/third_party/kernel/+/85659\nMain-Branch-Verified: Cusky Presubmit Bot \u003cpresubmit@cos-infra-prod.iam.gserviceaccount.com\u003e\nTested-by: Cusky Presubmit Bot \u003cpresubmit@cos-infra-prod.iam.gserviceaccount.com\u003e\nReviewed-by: Oleksandr Tymoshenko \u003covt@google.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "87ba5aaef20643995fe4b1368527cc7abdac40f0",
      "old_mode": 33188,
      "old_path": "net/sched/sch_api.c",
      "new_id": "fe053e717260e71f9c6756c92ed849b9e63e3ba5",
      "new_mode": 33188,
      "new_path": "net/sched/sch_api.c"
    }
  ]
}
