# CVE-2026-43157: octeontx2-af: CGX: fix bitmap leaks

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.13%, higher than 2% of CVEs (2026-12-01)
- Published: 2026-05-06T11:27:37.185Z
- Modified: 2026-11-11T21:10:00.200Z
- Weaknesses: CWE-401
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from e740003874edc13e468d19233f99787bedb4bb8e before ad8a13a45c5c24d0d32de9a1c3fd58498a675ece; from e740003874edc13e468d19233f99787bedb4bb8e before 013ac469596a0b8671e62d89c89ae0bd46bbe667; from e740003874edc13e468d19233f99787bedb4bb8e before ccef79af58b43787c25710c9da96651c6ddfe50f; from e740003874edc13e468d19233f99787bedb4bb8e before 6d389382ee655128056fbdab86baad8495ffbf33; from e740003874edc13e468d19233f99787bedb4bb8e before ccca14bbdcc25829d355b9f4d3249f43dadb71c1; from e740003874edc13e468d19233f99787bedb4bb8e before 3def995c4ede842adf509c410e92d09a0cedc965; 5.18 (not affected: before 5.18; from 6.1.165 up to 6.1.*; from 6.6.128 up to 6.6.*; from 6.12.75 up to 6.12.*; from 6.18.16 up to 6.18.*; from 6.19.6 up to 6.19.*; from 7.0 up to *)
- linux linux_kernel: from 5.18 before 6.1.165; from 6.2 before 6.6.128; from 6.7 before 6.12.75; from 6.13 before 6.18.16; from 6.19 before 6.19.6

## References

- <https://git.kernel.org/stable/c/ad8a13a45c5c24d0d32de9a1c3fd58498a675ece> (patch)
- <https://git.kernel.org/stable/c/013ac469596a0b8671e62d89c89ae0bd46bbe667> (patch)
- <https://git.kernel.org/stable/c/ccef79af58b43787c25710c9da96651c6ddfe50f> (patch)
- <https://git.kernel.org/stable/c/6d389382ee655128056fbdab86baad8495ffbf33> (patch)
- <https://git.kernel.org/stable/c/ccca14bbdcc25829d355b9f4d3249f43dadb71c1> (patch)
- <https://git.kernel.org/stable/c/3def995c4ede842adf509c410e92d09a0cedc965> (patch)

## Sources

- CVE List: [CVE-2026-43157](https://www.cve.org/CVERecord?id=CVE-2026-43157), CVE Terms of Use, modified 2026-11-06
- NVD: [CVE-2026-43157](https://nvd.nist.gov/vuln/detail/CVE-2026-43157), Public domain, modified 2026-11-11

---

Page: https://cve.day/CVE-2026-43157 · Whole record: https://cve.day/CVE-2026-43157.json · Rebuilt by cve.day 2026-11-25T22:59:20.702Z
