mtd: rawnand: pl353: fix probe resource allocation
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ 08d8c62164a322eb923034acacf25246b775593a · < 3c44f6c62f652d3ac9d03beb8a199e6388256cdd| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
mtd: rawnand: pl353: fix probe resource allocation
During probe(), the devm_ioremap() is called with the parent device instead of the current one. So when the module is unloaded, the register area isn't released.
Target the pl35x device in the devm_ioremap() instead of its parent.
From the CVE record · Linux
The Linux kernel pl353 raw NAND driver maps a register area to the parent device during probe, so the area is not released when the module is unloaded. The input does not describe an attacker action or specify network access, authentication, or user interaction requirements.
Engineers running Linux kernels with the pl353 raw NAND driver should check their versions; affected versions are not specified.