CVE-2022-48968Published Oct 21, 2024 · Oct 21Updated Oct 28
octeontx2-pf: Fix potential memory leak in otx2_init_tc()
Linux
Medium5.5Fix available
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
5.15.836.0.136.1In 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().
From the CVE record · Linux
The Linux kernel's octeontx2-pf driver can leak memory in otx2_init_tc() if rhashtable_init() fails, because an allocated bitmap is not freed. The input does not specify how an attacker could trigger the failure or whether network access, authentication, or user interaction is required.
Engineers running Linux kernels with the octeontx2-pf driver should check their versions; affected versions are not specified.