cveboard RSS feed

CVE-2025-38395

CVE.org · Published

Historical CVEsJSONAI instructions

Record status
Published
Identifier year (not publication year)
2025
Source publication
Source updated
Imported by cveboard
Source snapshot
cve_2026-10-24_midnight_baseline ·

Plain text

CNA source text (English)

regulator: gpio: Fix the out-of-bounds access to drvdata::gpiods

In the Linux kernel, the following vulnerability has been resolved: regulator: gpio: Fix the out-of-bounds access to drvdata::gpiods drvdata::gpiods is supposed to hold an array of 'gpio_desc' pointers. But the memory is allocated for only one pointer. This will lead to out-of-bounds access later in the code if 'config::ngpios' is > 1. So fix the code to allocate enough memory to hold 'config::ngpios' of GPIO descriptors. While at it, also move the check for memory allocation failure to be below the allocation to make it more readable.

Scoped product and version facts

Fix information unknown; no fixed version is derived here. Missing information does not prove that no fix exists.

Exploitation unknown; this catalogue does not assess exploitation.

Linux

Vendor
Linux
Product
Linux
Platforms
Unknown
Default status
unaffected
Linux · Scoped product and version facts
Version (version)Status (status)Version scheme (versionType)Exclusive end (lessThan)Inclusive end (lessThanOrEqual)Status changes (at → status)
d6cd33ad71029a3f77ba1686caf55d4dea58d916affectedgita3cd5ae7befbac849e0e0529c94ca04e8093cfd2UnavailableNone listed
d6cd33ad71029a3f77ba1686caf55d4dea58d916affectedgit9fe71972869faed1f8f9b3beb9040f9c1b300c79UnavailableNone listed
d6cd33ad71029a3f77ba1686caf55d4dea58d916affectedgit56738cbac3bbb1d39a71a07f57484dec1db8b239UnavailableNone listed
d6cd33ad71029a3f77ba1686caf55d4dea58d916affectedgita1e12fac214d4f49fcb186dbdf9c5592e7fa0a7aUnavailableNone listed
d6cd33ad71029a3f77ba1686caf55d4dea58d916affectedgit24418bc77a66cb5be9f5a837431ba3674ed8b52fUnavailableNone listed
d6cd33ad71029a3f77ba1686caf55d4dea58d916affectedgite4d19e5d71b217940e33f2ef6c6962b7b68c5606UnavailableNone listed
d6cd33ad71029a3f77ba1686caf55d4dea58d916affectedgit3830ab97cda9599872625cc0dc7b00160193634fUnavailableNone listed
d6cd33ad71029a3f77ba1686caf55d4dea58d916affectedgitc9764fd88bc744592b0604ccb6b6fc1a5f76b4e3UnavailableNone listed

Linux

Vendor
Linux
Product
Linux
Platforms
Unknown
Default status
affected
Linux · Scoped product and version facts
Version (version)Status (status)Version scheme (versionType)Exclusive end (lessThan)Inclusive end (lessThanOrEqual)Status changes (at → status)
5.1affectedUnavailableUnavailableUnavailableNone listed
0unaffectedsemver5.1UnavailableNone listed
5.4.296unaffectedsemverUnavailable5.4.*None listed
5.10.240unaffectedsemverUnavailable5.10.*None listed
5.15.187unaffectedsemverUnavailable5.15.*None listed
6.1.144unaffectedsemverUnavailable6.1.*None listed
6.6.97unaffectedsemverUnavailable6.6.*None listed
6.12.37unaffectedsemverUnavailable6.12.*None listed
6.15.6unaffectedsemverUnavailable6.15.*None listed
6.16unaffectedoriginal_commit_for_fixUnavailable*None listed