nvdimm/btt: Free arenas on btt_init() error paths
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ 5212e11fde4d40fa627668b4f2222d20db488f71 · < f4ca396bdd60b4e0a665b2589bfc4ddbea9bda2b| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
nvdimm/btt: Free arenas on btt_init() error paths
The arenas allocated by discover_arenas() or create_arenas() are not freed on some error paths in btt_init(). This leaks memory when BTT initialization fails.
Call free_arenas() from the affected error paths to release the allocations.
[ as: commit message and log edits ]
From the CVE record · Linux
The Linux kernel's nvdimm/btt code does not free arenas on some btt_init() error paths, leaking memory when BTT initialization fails. The input does not specify how an attacker could trigger the failure or whether access or user interaction is required.
Engineers running the Linux kernel with nvdimm/btt should check their systems; affected versions are not specified.