{"id":"CVE-2026-89509","aliases":["CVE-2026-89509"],"related":[],"kind":"vulnerability","state":"published","title":"RDMA/ionic: Embed counter driver data in rdma_counter allocation","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nRDMA/ionic: Embed counter driver data in rdma_counter allocation\n\nCommit 7e53b31acc7f (\"RDMA/core: Create and destroy rdma_counter using\nrdma_zalloc_drv_obj()\") requires drivers implementing counter ops to\nembed struct rdma_counter in a driver-specific struct, register its size\nvia INIT_RDMA_OBJ_SIZE, and provide a counter_init callback.\n\nThe ionic driver was merged without this adaptation, causing a NULL\npointer dereference in alloc_and_bind() since rdma_zalloc_drv_obj()\nallocates zero bytes when size_rdma_counter is unset.\n\nConsolidate struct ionic_counter into a new struct ionic_rdma_counter\nthat embeds struct rdma_counter, replace the xarray with a lightweight\nida for ID allocation, and add the required counter_init and\nINIT_RDMA_OBJ_SIZE declarations.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nRDMA/ionic: Embed counter driver data in rdma_counter allocation\n\nCommit 7e53b31acc7f (\"RDMA/core: Create and destroy rdma_counter using\nrdma_zalloc_drv_obj()\") requires drivers implementing counter ops to\nembed struct rdma_counter in a driver-specific struct, register its size\nvia INIT_RDMA_OBJ_SIZE, and provide a counter_init callback.\n\nThe ionic driver was merged without this adaptation, causing a NULL\npointer dereference in alloc_and_bind() since rdma_zalloc_drv_obj()\nallocates zero bytes when size_rdma_counter is unset.\n\nConsolidate struct ionic_counter into a new struct ionic_rdma_counter\nthat embeds struct rdma_counter, replace the xarray with a lightweight\nida for ID allocation, and add the required counter_init and\nINIT_RDMA_OBJ_SIZE declarations.","source":"cvelist"}],"published":"2026-09-11T19:43:55.336Z","modified":"2026-10-19T09:17:45.203Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"ea4c399642b85dc30f44d90ee805c6a18fa03062","fixed":"c98197ee3cd28288da13dc9881bb9e74daa7cbbc","status":"affected"},{"type":"git","introduced":"ea4c399642b85dc30f44d90ee805c6a18fa03062","fixed":"08b8630b557828aedb1d9ef0a6e2ec421f334ee2","status":"affected"},{"type":"git","introduced":"ea4c399642b85dc30f44d90ee805c6a18fa03062","fixed":"cf3ebd89e754015625fee90aa938f6bc79a2c974","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"6.18","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.18","status":"unaffected"},{"type":"semver","introduced":"6.18.51","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.2.4","lastAffected":"7.2.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.3","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/c98197ee3cd28288da13dc9881bb9e74daa7cbbc","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/08b8630b557828aedb1d9ef0a6e2ec421f334ee2","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/cf3ebd89e754015625fee90aa938f6bc79a2c974","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-89509","url":"https://www.cve.org/CVERecord?id=CVE-2026-89509","licence":"CVE Terms of Use","modified":"2026-10-19T08:48:00.667Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-89509","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-89509","licence":"Public domain","modified":"2026-10-19T09:17:45.203Z"}],"updatedAt":"2026-11-25T22:59:38.047Z","epss":{"score":0.00198,"percentile":0.0999,"date":"2026-12-01T12:00:22.000Z"}}