# CVE-2022-48968: octeontx2-pf: Fix potential memory leak in otx2_init_tc()

- 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.24%, higher than 15% of CVEs (2026-12-02)
- Published: 2024-10-21T20:05:50.402Z
- Modified: 2026-06-17T05:16:44.330Z
- 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-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().

(As written by CVE List.)

## Affected

- Linux Linux: from 2e2a8126ffac66b9b177ce78ad430281c0c8cc74 before eefd8953a74822cb72006632b9ee9dd95f92c146; from 2e2a8126ffac66b9b177ce78ad430281c0c8cc74 before db5ec358cf4ef0ab382ee733d05f018e8bef9462; from 2e2a8126ffac66b9b177ce78ad430281c0c8cc74 before fbf33f5ac76f2cdb47ad9763f620026d5cfa57ce; 5.15 (not affected: before 5.15; from 5.15.83 up to 5.15.*; from 6.0.13 up to 6.0.*; from 6.1 up to *)
- linux linux_kernel: from 5.15 before 5.15.83; from 5.16 before 6.0.13; 6.1

## References

- <https://git.kernel.org/stable/c/eefd8953a74822cb72006632b9ee9dd95f92c146> (patch)
- <https://git.kernel.org/stable/c/db5ec358cf4ef0ab382ee733d05f018e8bef9462> (patch)
- <https://git.kernel.org/stable/c/fbf33f5ac76f2cdb47ad9763f620026d5cfa57ce> (patch)

## Sources

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

---

Page: https://cve.day/CVE-2022-48968 · Whole record: https://cve.day/CVE-2022-48968.json · Rebuilt by cve.day 2026-11-25T22:58:20.008Z
