hwmon: (xgene) Fix ioremap and memremap leak
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 6.1.25, Kernel 6.2.12, Kernel 813cc94c7847ae4a17e9f744fb4dbdf7df6bd732 and 2 more.
In the Linux kernel, the following vulnerability has been resolved: hwmon: (xgene) Fix ioremap and memremap leak Smatch reports: drivers/hwmon/xgene-hwmon.c:757 xgene_hwmon_probe() warn: 'ctx->pcc_comm_addr' from ioremap() not released on line: 757. This is because in drivers/hwmon/xgene-hwmon.c:701 xgene_hwmon_probe(), ioremap and memremap is not released, which may cause a leak. To fix this, ioremap and memremap is modified to devm_ioremap and devm_memremap. [groeck: Fixed formatting and subject]
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | >=4.9 <6.1.25, >=6.2 <6.2.12, =6.3, >=ed42cfa881e1d8d9603b7cb872199e3c8e0d1b19 <813cc94c7847ae4a17e9f744fb4dbdf7df6bd732, >=ed42cfa881e1d8d9603b7cb872199e3c8e0d1b19 <9d482a09acd3d5f61a56aefc125d32c81994707b, =4.9, >=ed42cfa881e1d8d9603b7cb872199e3c8e0d1b19 <1773185a0a87006c1be78a978d9dd61aa7a33db8 | 6.1.25, 6.2.12, 813cc94c7847ae4a17e9f744fb4dbdf7df6bd732, 9d482a09acd3d5f61a56aefc125d32c81994707b, 1773185a0a87006c1be78a978d9dd61aa7a33db8 |
| linux-kernel: Kernel | >=4.9.0 <6.1.25, >=6.2.0 <6.2.12 | 6.1.25, 6.2.12 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket