Description (CNA)
In the Linux kernel, the following vulnerability has been resolved: reset: sunxi: fix memory region leak on ioremap failure In sunxi_reset_init(), when ioremap() fails, the memory region obtained via request_mem_region() is not released, leading to a resource leak. Add an err_mem_region label to properly release the memory region before freeing the data structure.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| Linux / Linux | affected 8f1ae77f466660b6da2455cccecc07ae631fa66d before 23af4ea217800a20c405d72e82b11e24e27721f3; affected 8f1ae77f466660b6da2455cccecc07ae631fa66d before ec836995c00a1968e403ef6beb53a73a9b0f318c; affected 8f1ae77f466660b6da2455cccecc07ae631fa66d before b4d7333849839ff42e1bc802d5b5f63d71c65add; affected 8f1ae77f466660b6da2455cccecc07ae631fa66d before 6dc0c8cd9c8a84808c6df760024d2604bc6d31fe; affected 8f1ae77f466660b6da2455cccecc07ae631fa66d before 01e43f4e7d12dae6fa82ae1b2e91c9ce07e06cd8; affected 8f1ae77f466660b6da2455cccecc07ae631fa66d before 82753ac86cb3d641b8634a61335fd0f04a61cc1a; affected 8f1ae77f466660b6da2455cccecc07ae631fa66d before d826d3e04c5bd9d284ba29f330246a317a8a7023; affected 8f1ae77f466660b6da2455cccecc07ae631fa66d before 1a8c89f8c112c75e84ff9a140f969e372aed0c9a |
| Linux / Linux | affected 3.14; unaffected 0 before 3.14; unaffected 5.10.261 through 5.10.*; unaffected 5.15.212 through 5.15.*; unaffected 6.1.178 through 6.1.*; unaffected 6.6.145 through 6.6.*; 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.
References
- https://git.kernel.org/stable/c/23af4ea217800a20c405d72e82b11e24e27721f3
- https://git.kernel.org/stable/c/ec836995c00a1968e403ef6beb53a73a9b0f318c
- https://git.kernel.org/stable/c/b4d7333849839ff42e1bc802d5b5f63d71c65add
- https://git.kernel.org/stable/c/6dc0c8cd9c8a84808c6df760024d2604bc6d31fe
- https://git.kernel.org/stable/c/01e43f4e7d12dae6fa82ae1b2e91c9ce07e06cd8
- https://git.kernel.org/stable/c/82753ac86cb3d641b8634a61335fd0f04a61cc1a
- https://git.kernel.org/stable/c/d826d3e04c5bd9d284ba29f330246a317a8a7023
- https://git.kernel.org/stable/c/1a8c89f8c112c75e84ff9a140f969e372aed0c9a