# CVE-2023-52607: powerpc/mm: Fix null-pointer dereference in pgtable_cache_add

- Severity: Medium 5.5 (CVSS:3.1, scored by CISA-ADP) `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.23%, higher than 15% of CVEs (2026-12-01)
- Published: 2024-03-06T06:45:31.769Z
- Modified: 2026-06-17T06:43:08.713Z
- Weaknesses: CWE-476
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## Description

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

powerpc/mm: Fix null-pointer dereference in pgtable_cache_add

kasprintf() returns a pointer to dynamically allocated memory
which can be NULL upon failure. Ensure the allocation was successful
by checking the pointer validity.

(As written by CVE List.)

## Affected

- Linux Linux: from a0668cdc154e54bf0c85182e0535eea237d53146 before 21e45a7b08d7cd98d6a53c5fc5111879f2d96611; from a0668cdc154e54bf0c85182e0535eea237d53146 before f6781add1c311c17eff43e14c786004bbacf901e; from a0668cdc154e54bf0c85182e0535eea237d53146 before aa28eecb43cac6e20ef14dfc50b8892c1fbcda5b; from a0668cdc154e54bf0c85182e0535eea237d53146 before ac3ed969a40357b0542d20f096a6d43acdfa6cc7; from a0668cdc154e54bf0c85182e0535eea237d53146 before d482d61025e303a2bef3733a011b6b740215cfa1; from a0668cdc154e54bf0c85182e0535eea237d53146 before 145febd85c3bcc5c74d87ef9a598fc7d9122d532; from a0668cdc154e54bf0c85182e0535eea237d53146 before ffd29dc45bc0355393859049f6becddc3ed08f74; from a0668cdc154e54bf0c85182e0535eea237d53146 before f46c8a75263f97bda13c739ba1c90aced0d3b071; 2.6.33 (not affected: before 2.6.33; from 4.19.307 up to 4.19.*; from 5.4.269 up to 5.4.*; from 5.10.210 up to 5.10.*; from 5.15.149 up to 5.15.*; from 6.1.77 up to 6.1.*; from 6.6.16 up to 6.6.*; from 6.7.4 up to 6.7.*; from 6.8 up to *)
- linux linux_kernel: before 4.19.307; from 4.20 up to 5.4.269; from 5.5 up to 5.10.210; from 5.11 up to 5.15.149; from 5.16 before 6.1.77; from 6.2 before 6.6.16; from 6.7 before 6.7.4

## References

- <https://git.kernel.org/stable/c/21e45a7b08d7cd98d6a53c5fc5111879f2d96611> (patch)
- <https://git.kernel.org/stable/c/f6781add1c311c17eff43e14c786004bbacf901e> (patch)
- <https://git.kernel.org/stable/c/aa28eecb43cac6e20ef14dfc50b8892c1fbcda5b> (patch)
- <https://git.kernel.org/stable/c/ac3ed969a40357b0542d20f096a6d43acdfa6cc7> (patch)
- <https://git.kernel.org/stable/c/d482d61025e303a2bef3733a011b6b740215cfa1> (patch)
- <https://git.kernel.org/stable/c/145febd85c3bcc5c74d87ef9a598fc7d9122d532> (patch)
- <https://git.kernel.org/stable/c/ffd29dc45bc0355393859049f6becddc3ed08f74> (patch)
- <https://git.kernel.org/stable/c/f46c8a75263f97bda13c739ba1c90aced0d3b071> (patch)
- <https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html> (patch)

## Sources

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

---

Page: https://cve.day/CVE-2023-52607 · Whole record: https://cve.day/CVE-2023-52607.json · Rebuilt by cve.day 2026-11-25T22:58:33.287Z
