← CVE Intelligence

CVE-2023-52607

powerpc/mm: Fix null-pointer dereference in pgtable_cache_add PUBLISHED

Description (CNA)

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.

Affected (CNA)

Vendor / productVersions
Linux / Linuxaffected a0668cdc154e54bf0c85182e0535eea237d53146 before 21e45a7b08d7cd98d6a53c5fc5111879f2d96611; affected a0668cdc154e54bf0c85182e0535eea237d53146 before f6781add1c311c17eff43e14c786004bbacf901e; affected a0668cdc154e54bf0c85182e0535eea237d53146 before aa28eecb43cac6e20ef14dfc50b8892c1fbcda5b; affected a0668cdc154e54bf0c85182e0535eea237d53146 before ac3ed969a40357b0542d20f096a6d43acdfa6cc7; affected a0668cdc154e54bf0c85182e0535eea237d53146 before d482d61025e303a2bef3733a011b6b740215cfa1; affected a0668cdc154e54bf0c85182e0535eea237d53146 before 145febd85c3bcc5c74d87ef9a598fc7d9122d532; affected a0668cdc154e54bf0c85182e0535eea237d53146 before ffd29dc45bc0355393859049f6becddc3ed08f74; affected a0668cdc154e54bf0c85182e0535eea237d53146 before f46c8a75263f97bda13c739ba1c90aced0d3b071
Linux / Linuxaffected 2.6.33; unaffected 0 before 2.6.33; unaffected 4.19.307 through 4.19.*; unaffected 5.4.269 through 5.4.*; unaffected 5.10.210 through 5.10.*; unaffected 5.15.149 through 5.15.*; unaffected 6.1.77 through 6.1.*; unaffected 6.6.16 through 6.6.*; unaffected 6.7.4 through 6.7.*; unaffected 6.8 through *

CWE

No CWE identifiers supplied.

References

ADP enrichment

CISA-ADP

No English description supplied.

No references supplied.

CVE

No English description supplied.