# CVE-2022-50525: iommu/fsl_pamu: Fix resource leak in fsl_pamu_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.16%, higher than 5% of CVEs (2026-12-01)
- Published: 2025-10-07T15:19:17.929Z
- Modified: 2026-06-17T05:23:43.497Z
- Weaknesses: CWE-401
- Assigned by: Linux

## Description

In the Linux kernel, the following vulnerability has been resolved:

iommu/fsl_pamu: Fix resource leak in fsl_pamu_probe()

The fsl_pamu_probe() returns directly when create_csd() failed, leaving
irq and memories unreleased.
Fix by jumping to error if create_csd() returns error.

(As written by CVE List.)

## Affected

- Linux Linux: from 695093e38c3ef63fcb43a2840ed865efa20671d5 before c93983230562883e0b5f122040efbb3d478c36d4; from 695093e38c3ef63fcb43a2840ed865efa20671d5 before a305d0e4d0ce3166e31d7dbcb4c98b09cad6d49a; from 695093e38c3ef63fcb43a2840ed865efa20671d5 before 9fbccdf2fefa3944dd8ba8c6a808b387787f3917; from 695093e38c3ef63fcb43a2840ed865efa20671d5 before 17fd440594961c5e2ea0f58591bc1bdba0629c75; from 695093e38c3ef63fcb43a2840ed865efa20671d5 before 0d240ac0e4c35d3f64fc782c11433138c1bd016e; from 695093e38c3ef63fcb43a2840ed865efa20671d5 before e42b543d08052c3b223bcfb48f05cbaf0b767f86; from 695093e38c3ef63fcb43a2840ed865efa20671d5 before 9238b687fd62cde14c6e2e8576a40e4246de7ebe; from 695093e38c3ef63fcb43a2840ed865efa20671d5 before de7eb55009796687fc0a1670e0b944fa8ed54e9b; from 695093e38c3ef63fcb43a2840ed865efa20671d5 before 73f5fc5f884ad0c5f7d57f66303af64f9f002526; 3.12 (not affected: before 3.12; 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 3.12 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/c93983230562883e0b5f122040efbb3d478c36d4> (patch)
- <https://git.kernel.org/stable/c/a305d0e4d0ce3166e31d7dbcb4c98b09cad6d49a> (patch)
- <https://git.kernel.org/stable/c/9fbccdf2fefa3944dd8ba8c6a808b387787f3917> (patch)
- <https://git.kernel.org/stable/c/17fd440594961c5e2ea0f58591bc1bdba0629c75> (patch)
- <https://git.kernel.org/stable/c/0d240ac0e4c35d3f64fc782c11433138c1bd016e> (patch)
- <https://git.kernel.org/stable/c/e42b543d08052c3b223bcfb48f05cbaf0b767f86> (patch)
- <https://git.kernel.org/stable/c/9238b687fd62cde14c6e2e8576a40e4246de7ebe> (patch)
- <https://git.kernel.org/stable/c/de7eb55009796687fc0a1670e0b944fa8ed54e9b> (patch)
- <https://git.kernel.org/stable/c/73f5fc5f884ad0c5f7d57f66303af64f9f002526> (patch)

## Sources

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

---

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