CVE-2022-50324Published Sep 15, 2025 · Sep 15Updated Oct 28
mtd: maps: pxa2xx-flash: fix memory leak in probe
Linux
Medium5.5Fix available
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ e644f7d6289456657996df4192de76c5d0a9f9c7 · < f35981083cb3fc1ba6427c1543152c5e3f59d104| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
mtd: maps: pxa2xx-flash: fix memory leak in probe
Free 'info' upon remapping error to avoid a memory leak.
[<miquel.raynal@bootlin.com>: Reword the commit log]
From the CVE record · Linux
The Linux kernel's pxa2xx-flash probe can leak memory if remapping fails because it does not free `info`. The input does not specify how an attacker could trigger this error or whether access or user interaction is required.
Engineers running the Linux kernel with the pxa2xx-flash component should check their versions; affected versions are not specified.