Description (CNA)
In the Linux kernel, the following vulnerability has been resolved: octeontx2-af: CGX: fix bitmap leaks The RX/TX flow-control bitmaps (rx_fc_pfvf_bmap and tx_fc_pfvf_bmap) are allocated by cgx_lmac_init() but never freed in cgx_lmac_exit(). Unbinding and rebinding the driver therefore triggers kmemleak: unreferenced object (size 16): backtrace: rvu_alloc_bitmap cgx_probe Free both bitmaps during teardown.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| Linux / Linux | affected e740003874edc13e468d19233f99787bedb4bb8e before ad8a13a45c5c24d0d32de9a1c3fd58498a675ece; affected e740003874edc13e468d19233f99787bedb4bb8e before 013ac469596a0b8671e62d89c89ae0bd46bbe667; affected e740003874edc13e468d19233f99787bedb4bb8e before ccef79af58b43787c25710c9da96651c6ddfe50f; affected e740003874edc13e468d19233f99787bedb4bb8e before 6d389382ee655128056fbdab86baad8495ffbf33; affected e740003874edc13e468d19233f99787bedb4bb8e before ccca14bbdcc25829d355b9f4d3249f43dadb71c1; affected e740003874edc13e468d19233f99787bedb4bb8e before 3def995c4ede842adf509c410e92d09a0cedc965 |
| Linux / Linux | affected 5.18; unaffected 0 before 5.18; unaffected 6.1.165 through 6.1.*; unaffected 6.6.128 through 6.6.*; unaffected 6.12.75 through 6.12.*; unaffected 6.18.16 through 6.18.*; unaffected 6.19.6 through 6.19.*; unaffected 7.0 through * |
CWE
No CWE identifiers supplied.
References
- https://git.kernel.org/stable/c/ad8a13a45c5c24d0d32de9a1c3fd58498a675ece
- https://git.kernel.org/stable/c/013ac469596a0b8671e62d89c89ae0bd46bbe667
- https://git.kernel.org/stable/c/ccef79af58b43787c25710c9da96651c6ddfe50f
- https://git.kernel.org/stable/c/6d389382ee655128056fbdab86baad8495ffbf33
- https://git.kernel.org/stable/c/ccca14bbdcc25829d355b9f4d3249f43dadb71c1
- https://git.kernel.org/stable/c/3def995c4ede842adf509c410e92d09a0cedc965