Description (CNA)
In the Linux kernel, the following vulnerability has been resolved: octeontx2-af: Free BPID bitmap on setup failure nix_setup_bpids() allocates bp->bpids with rvu_alloc_bitmap(), which uses a plain kcalloc(). If any of the following devm_kcalloc() allocations for the BPID mapping arrays fails, the function returns without freeing the bitmap. Free the BPID bitmap before returning from those error paths.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| Linux / Linux | affected d6212d2e41a0cb1ff6b059db79c70752cdafc95e before 7a939b683a74bd7d7ce4e3b7f696b491c8d71af4; affected d6212d2e41a0cb1ff6b059db79c70752cdafc95e before 19c148cb82d11bb7cc7d86038a94e608a297e63c; affected d6212d2e41a0cb1ff6b059db79c70752cdafc95e before d0c880c9f4051100517040d065caff60e913b659; affected d6212d2e41a0cb1ff6b059db79c70752cdafc95e before 36323f54cd323122a1be89ab2c316a6e55a94e30 |
| Linux / Linux | affected 6.9; unaffected 0 before 6.9; unaffected 6.12.97 through 6.12.*; unaffected 6.18.40 through 6.18.*; unaffected 7.1.5 through 7.1.*; unaffected 7.2 through * |
CWE
No CWE identifiers supplied.