Description
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 products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
Linux Linux
Default version status: unaffected
e740003874edc13e468d19233f99787bedb4bb8e to < ad8a13a45c5c24d0d32de9a1c3fd58498a675eceaffectede740003874edc13e468d19233f99787bedb4bb8e to < 013ac469596a0b8671e62d89c89ae0bd46bbe667affectede740003874edc13e468d19233f99787bedb4bb8e to < ccef79af58b43787c25710c9da96651c6ddfe50faffectede740003874edc13e468d19233f99787bedb4bb8e to < 6d389382ee655128056fbdab86baad8495ffbf33affectede740003874edc13e468d19233f99787bedb4bb8e to < ccca14bbdcc25829d355b9f4d3249f43dadb71c1affectede740003874edc13e468d19233f99787bedb4bb8e to < 3def995c4ede842adf509c410e92d09a0cedc965affected
Linux Linux
Default version status: affected
5.18affected0 to < 5.18unaffected6.1.165 to ≤ 6.1.*unaffected6.6.128 to ≤ 6.6.*unaffected6.12.75 to ≤ 6.12.*unaffected6.18.16 to ≤ 6.18.*unaffected6.19.6 to ≤ 6.19.*unaffected7.0 to ≤ *unaffected
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 ↗