Description (CNA)
In the Linux kernel, the following vulnerability has been resolved: RDMA/hns: fix memory leak in hns_roce_alloc_mr() When hns_roce_mr_enable() failed in hns_roce_alloc_mr(), mr_key is not released. Compiled test only.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| Linux / Linux | affected 9b2cf76c9f052987ae5c4ad450ebebdc7c5d7b87 before 164fa80330a81db67c26d10d071083941d29a510; affected 9b2cf76c9f052987ae5c4ad450ebebdc7c5d7b87 before 35f9cd060e68ff910e49bf37b1b0d336a311849a; affected 9b2cf76c9f052987ae5c4ad450ebebdc7c5d7b87 before fd32e378bc1dea0d48767adf2bbb478581bb0a95; affected 9b2cf76c9f052987ae5c4ad450ebebdc7c5d7b87 before fc2c43bf41c89e7451fe750025ae55eb2e2a741d; affected 9b2cf76c9f052987ae5c4ad450ebebdc7c5d7b87 before a115aa00b18f7b8982b8f458149632caf64a862a |
| Linux / Linux | affected 5.8; unaffected 0 before 5.8; unaffected 5.10.163 through 5.10.*; unaffected 5.15.86 through 5.15.*; unaffected 6.0.16 through 6.0.*; unaffected 6.1.2 through 6.1.*; unaffected 6.2 through * |
CWE
No CWE identifiers supplied.
References
- https://git.kernel.org/stable/c/164fa80330a81db67c26d10d071083941d29a510
- https://git.kernel.org/stable/c/35f9cd060e68ff910e49bf37b1b0d336a311849a
- https://git.kernel.org/stable/c/fd32e378bc1dea0d48767adf2bbb478581bb0a95
- https://git.kernel.org/stable/c/fc2c43bf41c89e7451fe750025ae55eb2e2a741d
- https://git.kernel.org/stable/c/a115aa00b18f7b8982b8f458149632caf64a862a