nvdimm/btt: Free arena sub-allocations on discover_arenas() error path
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel eeb95774bc79268e2b78ebf01d8781560b5bd671, Kernel 0b0d9404951aacc9717aa61e77af4a6e9e8f8249, Kernel 13fe4cd9ddd0aacb7777812328be525a11ea3fea and 12 more.
In the Linux kernel, the following vulnerability has been resolved: nvdimm/btt: Free arena sub-allocations on discover_arenas() error path Memory allocated by btt_freelist_init(), btt_rtt_init(), and btt_maplocks_init() is not freed on some discover_arenas() error paths. This leaks memory when arena discovery fails. Add the missing kfree() calls to release the allocations before returning an error. [ as: commit message and log edits ]
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | >=5212e11fde4d40fa627668b4f2222d20db488f71 <eeb95774bc79268e2b78ebf01d8781560b5bd671, >=5212e11fde4d40fa627668b4f2222d20db488f71 <0b0d9404951aacc9717aa61e77af4a6e9e8f8249, >=5212e11fde4d40fa627668b4f2222d20db488f71 <13fe4cd9ddd0aacb7777812328be525a11ea3fea, >=5212e11fde4d40fa627668b4f2222d20db488f71 <2d0364937550a7b3e2592629c2a68753ac020b28, >=5212e11fde4d40fa627668b4f2222d20db488f71 <30d490bb2c4cd220e7dedf862ab6a09eb5dcbad5, >=5212e11fde4d40fa627668b4f2222d20db488f71 <7563f69caa9143a491d5f26e563255c734751545, >=5212e11fde4d40fa627668b4f2222d20db488f71 <873ced7f345e99f7ee16f9ff226515580332ecc4, >=5212e11fde4d40fa627668b4f2222d20db488f71 <ba59b96d8d21dc8729fca44a022ca5919c1848c9, =4.2 | eeb95774bc79268e2b78ebf01d8781560b5bd671, 0b0d9404951aacc9717aa61e77af4a6e9e8f8249, 13fe4cd9ddd0aacb7777812328be525a11ea3fea, 2d0364937550a7b3e2592629c2a68753ac020b28, 30d490bb2c4cd220e7dedf862ab6a09eb5dcbad5, 7563f69caa9143a491d5f26e563255c734751545, 873ced7f345e99f7ee16f9ff226515580332ecc4, ba59b96d8d21dc8729fca44a022ca5919c1848c9 |
| linux-kernel: Kernel | >=5.11.0 <5.15.212, >=5.16.0 <6.1.178, >=6.13.0 <6.18.40, >=6.19.0 <7.1.5, >=6.2.0 <6.6.145, >=6.7.0 <6.12.97, >=4.2.0 <5.10.261 | 5.15.212, 6.1.178, 6.18.40, 7.1.5, 6.6.145, 6.12.97, 5.10.261 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket