What’s Vulnerable › Vulnerabilities
CVE-2022-48968: octeontx2-pf: Fix potential memory leak in otx2_init_tc()
- Severity: medium (CVSS 5.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.2% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2024-10-21 · updated 2026-06-17
- Weakness: CWE-401
Description
In the Linux kernel, the following vulnerability has been resolved: octeontx2-pf: Fix potential memory leak in otx2_init_tc() In otx2_init_tc(), if rhashtable_init() failed, it does not free tc->tc_entries_bitmap which is allocated in otx2_tc_alloc_ent_bitmap().
Affected products
- Linux kernel: from 5.15 before 5.15.83; from 5.16 before 6.0.13; 6.1-rc1, 6.1-rc2, 6.1-rc3, 6.1-rc4, 6.1-rc5, 6.1-rc6 (+2) — fixed in 5.15.83, 6.0.13
How to fix
Upgrade to a fixed version: Linux kernel 5.15.83, 6.0.13. Check the vendor advisory for mitigations.
References
- https://git.kernel.org/stable/c/db5ec358cf4ef0ab382ee733d05f018e8bef9462
- https://git.kernel.org/stable/c/eefd8953a74822cb72006632b9ee9dd95f92c146
- https://git.kernel.org/stable/c/fbf33f5ac76f2cdb47ad9763f620026d5cfa57ce
Get alerted when CVE-2022-48968 or the next vulnerability affects your stack