# CVE-2024-36030: octeontx2-af: fix the double free in rvu_npc_freemem()

- Severity: High 7.1 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/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.23%, higher than 14% of CVEs (2026-12-01)
- Published: 2024-05-30T15:19:43.693Z
- Modified: 2026-06-17T07:35:59.520Z
- Weaknesses: CWE-415
- 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: fix the double free in rvu_npc_freemem()

Clang static checker(scan-build) warning：
drivers/net/ethernet/marvell/octeontx2/af/rvu_npc.c:line 2184, column 2
Attempt to free released memory.

npc_mcam_rsrcs_deinit() has released 'mcam->counters.bmap'. Deleted this
redundant kfree() to fix this double free problem.

(As written by CVE List.)

## Affected

- Linux Linux: from dd7842878633453e38d6a4927593dd28b9d8ab91 before f5aa87a2c0a72132ffc793fb0a5375b2a65d520a; from dd7842878633453e38d6a4927593dd28b9d8ab91 before 6e965eba43e9724f3e603d7b7cc83e53b23d155e; 6.8 (not affected: before 6.8; from 6.8.9 up to 6.8.*; from 6.9 up to *)
- linux linux_kernel: from 6.8 before 6.8.9; 6.9

## References

- <https://git.kernel.org/stable/c/f5aa87a2c0a72132ffc793fb0a5375b2a65d520a> (patch)
- <https://git.kernel.org/stable/c/6e965eba43e9724f3e603d7b7cc83e53b23d155e> (patch)

## Sources

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

---

Page: https://cve.day/CVE-2024-36030 · Whole record: https://cve.day/CVE-2024-36030.json · Rebuilt by cve.day 2026-11-25T22:58:41.127Z
