Not scored
RDMA/ionic: Embed counter driver data in rdma_counter allocation
- Severity
- Not scored
- Exploit likelihood
- 0.21% (higher than 6% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Linux
Description
In the Linux kernel, the following vulnerability has been resolved: RDMA/ionic: Embed counter driver data in rdma_counter allocation Commit 7e53b31acc7f ("RDMA/core: Create and destroy rdma_counter using rdma_zalloc_drv_obj()") requires drivers implementing counter ops to embed struct rdma_counter in a driver-specific struct, register its size via INIT_RDMA_OBJ_SIZE, and provide a counter_init callback. The ionic driver was merged without this adaptation, causing a NULL pointer dereference in alloc_and_bind() since rdma_zalloc_drv_obj() allocates zero bytes when size_rdma_counter is unset. Consolidate struct ionic_counter into a new struct ionic_rdma_counter that embeds struct rdma_counter, replace the xarray with a lightweight ida for ID allocation, and add the required counter_init and INIT_RDMA_OBJ_SIZE declarations.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Linux Linux | from ea4c399642b85dc30f44d90ee805c6a18fa03062 before c98197ee3cd28288da13dc9881bb9e74daa7cbbc, from ea4c399642b85dc30f44d90ee805c6a18fa03062 before 08b8630b557828aedb1d9ef0a6e2ec421f334ee2, from ea4c399642b85dc30f44d90ee805c6a18fa03062 before cf3ebd89e754015625fee90aa938f6bc79a2c974, 6.18 Not affected: before 6.18, from 6.18.51 up to 6.18.*, from 7.2.4 up to 7.2.*, from 7.3 up to * | CVE List |
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-89509 changed 2026-10-19 | CVE Terms of Use |
| NVD | CVE-2026-89509 changed 2026-10-19 | Public domain |