)]}'
{
  "commit": "e20f88c4f08bc9dba09c48ddc9806015f79fb20b",
  "tree": "df006fce3c5b73d29f6b77b8624d60826445d0f9",
  "parents": [
    "8301cdd07d4385c651699a4d9a0ee094b7f1f205"
  ],
  "author": {
    "name": "Ian Rogers",
    "email": "irogers@google.com",
    "time": "Thu Nov 19 09:10:09 2026 -0800"
  },
  "committer": {
    "name": "Paolo Abeni",
    "email": "pabeni@redhat.com",
    "time": "Wed Nov 25 16:52:29 2026 +0100"
  },
  "message": "ncsi: Initialize vid in set_one_vid() to handle concurrent VLAN removal\n\nset_one_vid() checks list_empty(\u0026ndp-\u003evlan_vids) before acquiring\nnc-\u003elock and rcu_read_lock(). If ncsi_vlan_rx_kill_vid() removes the\nlast VLAN entry in that window, list_for_each_entry_rcu() executes\nzero iterations and leaves vid uninitialized on the stack. The\nsubsequent \u0027if (!vid)\u0027 check can then proceed and program stack\ngarbage into ncf-\u003evids[index] and an NCSI_PKT_CMD_SVF command packet.\n\nInitialize vid to 0 so that an empty RCU list cleanly hits \u0027if (!vid)\u0027\nand returns -1.\n\nFound via Clang -Wconditional-uninitialized on an x86_64 allyesconfig\nbuild. Verified by building net/ncsi/ncsi-manage.o with LLVM\u003d1 W\u003d1\n(-Werror) and -Wconditional-uninitialized; not runtime-tested on NCSI\nhardware.\n\nFixes: 062b3e1b6d4f (\"net/ncsi: Refactor MAC, VLAN filters\")\nSigned-off-by: Ian Rogers \u003cirogers@google.com\u003e\nReviewed-by: Daniel Machon \u003cdaniel.machon@microchip.com\u003e\nLink: https://patch.msgid.link/20261119171009.1534335-1-irogers@google.com\nSigned-off-by: Paolo Abeni \u003cpabeni@redhat.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "1d63958c4429b490ab1fb49f5d0bc30fb6033d42",
      "old_mode": 33188,
      "old_path": "net/ncsi/ncsi-manage.c",
      "new_id": "f7eca228c281bd44c704d8a8646de63701fee72f",
      "new_mode": 33188,
      "new_path": "net/ncsi/ncsi-manage.c"
    }
  ]
}
