nvdimm/btt: Free arenas on btt_init() error paths
3Vexday Risk Score
No sign of exploitation. No public exploitation artifact known so far.
ssvc Trackepss 0.2%
exploitation probability
0.2%top 89% of all CVEs
observed exploitation
nono source reports it
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 ]
Affected products
Linux · LinuxReferences
https://git.kernel.org/stable/c/0b63788093ff6ccfffe6e87de9e08aeeb406599chttps://git.kernel.org/stable/c/1a6b6442a982d0ca5fb6a1a39b6f6dfd760eda57https://git.kernel.org/stable/c/52a7e7ece79c4b0f406149e19cd2b4b11a6c19e4https://git.kernel.org/stable/c/5804e6a6912b5a1e47c821777d69191d69a3fe64https://git.kernel.org/stable/c/68c967e105d50f885e02b0dbdc9211fd5f84bdcdhttps://git.kernel.org/stable/c/7e49684d90faa34ff6d5586be658e986d9d475achttps://git.kernel.org/stable/c/9ab5293d9ac3f2c4232220e563d04701f5f44607https://git.kernel.org/stable/c/f4ca396bdd60b4e0a665b2589bfc4ddbea9bda2b