# CVE-2022-50324: mtd: maps: pxa2xx-flash: fix memory leak in probe

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.17%, higher than 6% of CVEs (2026-12-01)
- Published: 2025-09-15T14:49:18.426Z
- Modified: 2026-06-17T05:23:14.240Z
- Weaknesses: CWE-401
- Assigned by: Linux

## Description

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]

(As written by CVE List.)

## Affected

- Linux Linux: from e644f7d6289456657996df4192de76c5d0a9f9c7 before cb3f35f44887a8486737fe88d58050f1df290758; from e644f7d6289456657996df4192de76c5d0a9f9c7 before e2324a0912ad26a0ea5baaf81aed0ca880804158; from e644f7d6289456657996df4192de76c5d0a9f9c7 before 6fa9550ef3e13d7e9b2d4db6dd57292ccd072a90; from e644f7d6289456657996df4192de76c5d0a9f9c7 before cf9c4c25caad05c6b492cbba739a467511814279; from e644f7d6289456657996df4192de76c5d0a9f9c7 before 1d0c2b762dad2b8dd166e17c0e90b88b86a3284f; from e644f7d6289456657996df4192de76c5d0a9f9c7 before f35981083cb3fc1ba6427c1543152c5e3f59d104; from e644f7d6289456657996df4192de76c5d0a9f9c7 before 932baf593eb63dff40e40d7674f076fb7932cd5b; from e644f7d6289456657996df4192de76c5d0a9f9c7 before a1b061cafdbcb1ff259731f30e2bdc1de64dcaba; from e644f7d6289456657996df4192de76c5d0a9f9c7 before 2399401feee27c639addc5b7e6ba519d3ca341bf; 2.6.24 (not affected: before 2.6.24; from 4.9.337 up to 4.9.*; from 4.14.303 up to 4.14.*; from 4.19.270 up to 4.19.*; from 5.4.229 up to 5.4.*; from 5.10.163 up to 5.10.*; from 5.15.86 up to 5.15.*; from 6.0.16 up to 6.0.*; from 6.1.2 up to 6.1.*; from 6.2 up to *)
- linux linux_kernel: from 2.6.24 before 4.9.337; from 4.10 before 4.14.303; from 4.15 before 4.19.270; from 4.20 before 5.4.229; from 5.5 before 5.10.163; from 5.11 before 5.15.86; from 5.16 before 6.0.16; from 6.1 before 6.1.2

## References

- <https://git.kernel.org/stable/c/cb3f35f44887a8486737fe88d58050f1df290758> (patch)
- <https://git.kernel.org/stable/c/e2324a0912ad26a0ea5baaf81aed0ca880804158> (patch)
- <https://git.kernel.org/stable/c/6fa9550ef3e13d7e9b2d4db6dd57292ccd072a90> (patch)
- <https://git.kernel.org/stable/c/cf9c4c25caad05c6b492cbba739a467511814279> (patch)
- <https://git.kernel.org/stable/c/1d0c2b762dad2b8dd166e17c0e90b88b86a3284f> (patch)
- <https://git.kernel.org/stable/c/f35981083cb3fc1ba6427c1543152c5e3f59d104> (patch)
- <https://git.kernel.org/stable/c/932baf593eb63dff40e40d7674f076fb7932cd5b> (patch)
- <https://git.kernel.org/stable/c/a1b061cafdbcb1ff259731f30e2bdc1de64dcaba> (patch)
- <https://git.kernel.org/stable/c/2399401feee27c639addc5b7e6ba519d3ca341bf> (patch)

## Sources

- CVE List: [CVE-2022-50324](https://www.cve.org/CVERecord?id=CVE-2022-50324), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2022-50324](https://nvd.nist.gov/vuln/detail/CVE-2022-50324), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-50324 · Whole record: https://cve.day/CVE-2022-50324.json · Rebuilt by cve.day 2026-11-25T22:58:21.165Z
