)]}'
{
  "commit": "1cb8553c02e93e5a150cebd42f9ee3db0ece4707",
  "tree": "2797b22625cce076c1ae05976e35367a00d6294f",
  "parents": [
    "e0b5252a59383b77d1b8dbeda00b7184dd95f4d3"
  ],
  "author": {
    "name": "Ruoyu Wang",
    "email": "ruoyuw560@gmail.com",
    "time": "Sun Jul 12 00:37:16 2026 +0800"
  },
  "committer": {
    "name": "Paolo Abeni",
    "email": "pabeni@redhat.com",
    "time": "Fri Jul 17 12:43:57 2026 +0200"
  },
  "message": "bnxt_en: Handle partially initialized auxiliary devices\n\nbnxt_aux_devices_init() calls auxiliary_device_init() before all fields\nused by bnxt_aux_dev_release() are initialized.  After\nauxiliary_device_init() succeeds, later errors must unwind with\nauxiliary_device_uninit(), which invokes the release callback.\n\nThe release callback assumes that aux_priv-\u003eid, aux_priv-\u003eedev,\nedev-\u003enet and edev-\u003eulp_tbl are all populated.  If allocation fails\nafter auxiliary_device_init(), the release path can otherwise dereference\nor clear partially initialized state.\n\nAllocate and attach the bnxt_en_dev and ULP table before calling\nauxiliary_device_init(), so the release callback only sees a fully\ninitialized auxiliary private object.  If auxiliary_device_init() itself\nfails, free those allocations directly because device_initialize() has not\nrun and the release callback will not be invoked.\n\nThis issue was found by a static analysis checker and confirmed by manual\nsource review.\n\nFixes: 194fad5b2781 (\"bnxt_en: Refactor bnxt_rdma_aux_device_init/uninit functions\")\nSigned-off-by: Ruoyu Wang \u003cruoyuw560@gmail.com\u003e\nReviewed-by: Pavan Chebbi \u003cpavan.chebbi@broadcom.com\u003e\nLink: https://patch.msgid.link/20260711163716.3996929-1-ruoyuw560@gmail.com\nSigned-off-by: Paolo Abeni \u003cpabeni@redhat.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "5c751933da6a9d9852f08cd54a50f1bf98e5d56f",
      "old_mode": 33188,
      "old_path": "drivers/net/ethernet/broadcom/bnxt/bnxt_ulp.c",
      "new_id": "a515c368bac0153e1c33298e5a0f025a11dd70e1",
      "new_mode": 33188,
      "new_path": "drivers/net/ethernet/broadcom/bnxt/bnxt_ulp.c"
    }
  ]
}
