CVE-2023-54319

Source
https://cve.org/CVERecord?id=CVE-2023-54319
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2023-54319.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2023-54319
Downstream
Related
Published
2025-12-30T12:34:13.468Z
Modified
2026-03-31T17:29:18.529941693Z
Summary
pinctrl: at91-pio4: check return value of devm_kasprintf()
Details

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")

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/54xxx/CVE-2023-54319.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
776180848b574c9c01217fa958f10843ffce584f
Fixed
8d788f2ba830d6d32499b198c526d577c590eedf
Fixed
3e8ce1d5a1a9d758b359e5c426543957f35991f8
Fixed
aa3932eb07392d626486428e2ffddc660658e22a
Fixed
f3c7b95c9991dab02e616fc251b6c3516e0bd0ac
Fixed
0a95dd17a73b7603818ad7c46c99d757232be331
Fixed
0af388fce352ed2ab383fd5d1a08db551ca15c38
Fixed
5bfd577cc728270d6cd7af6c652a1e7661f25487
Fixed
8a1fa202f47f39680a4305af744f499a324f8a03
Fixed
f6fd5d4ff8ca0b24cee1af4130bcb1fa96b61aa0

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2023-54319.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
4.4.0
Fixed
4.14.322
Type
ECOSYSTEM
Events
Introduced
4.15.0
Fixed
4.19.291
Type
ECOSYSTEM
Events
Introduced
4.20.0
Fixed
5.4.251
Type
ECOSYSTEM
Events
Introduced
5.5.0
Fixed
5.10.188
Type
ECOSYSTEM
Events
Introduced
5.11.0
Fixed
5.15.121
Type
ECOSYSTEM
Events
Introduced
5.16.0
Fixed
6.1.39
Type
ECOSYSTEM
Events
Introduced
6.2.0
Fixed
6.3.13
Type
ECOSYSTEM
Events
Introduced
6.4.0
Fixed
6.4.4

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2023-54319.json"