CVE-2026-72396

Source
https://cve.org/CVERecord?id=CVE-2026-72396
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-72396.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-72396
Downstream
Published
2026-08-15T05:56:23.067Z
Modified
2026-08-18T03:31:16.903019660Z
Summary
hwmon: adm1275: Prevent reading uninitialized stack
Details

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

hwmon: adm1275: Prevent reading uninitialized stack

While adding support for the ROHM BD127X0 hot-swap controllers, sashiko reported an error in device-name comparison, which can lead to reading uninitialized stack memory.

Quoting Sashiko:

This is a pre-existing issue, but I noticed that just before this block in adm1275_probe(), there might be an out-of-bounds stack read:

ret = i2c_smbus_read_block_data(client, PMBUS_MFR_MODEL, block_buffer);
if (ret < 0) { ... }
for (mid = adm1275_id; mid->name[0]; mid++) {
        if (!strncasecmp(mid->name, block_buffer, strlen(mid->name)))
                break;
}

Since i2csmbusreadblockdata() reads up to 32 bytes into the uninitialized stack array block_buffer without appending a null terminator, strncasecmp() could read past the valid bytes returned in ret.

For example, if the device returns a shorter string like "adm12", checking it against "adm1275" up to the length of "adm1275" will continue reading into uninitialized stack bounds.

Prevent reading uninitialized memory by zeroing the stack array.

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/72xxx/CVE-2026-72396.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
87102808d03948c825c3bdc48316e48f6422fd7e
Fixed
57d583f069fa9d3d0c0831e34b967d1f61edae94
Fixed
82e4ab03a6ab9b87667410f5143bc484d7a62bdc
Fixed
c9e04a52663bc6651c06c2427df088b751062bd6
Fixed
39a581bd64a0e91112ec8017a2dd4e70c1336e99
Fixed
aa35cee30686e6be3c890bf741429c5025d55abe
Fixed
36554592e2f5cac16ff8bf73720d38a6d9ef4a20
Fixed
93b96e723bdcba6172a5814262be875abcc5d269
Fixed
553f9517813912a5ab661af5504485d96824a61c

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-72396.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
3.3.0
Fixed
5.10.261
Type
ECOSYSTEM
Events
Introduced
5.11.0
Fixed
5.15.212
Type
ECOSYSTEM
Events
Introduced
5.16.0
Fixed
6.1.178
Type
ECOSYSTEM
Events
Introduced
6.2.0
Fixed
6.6.145
Type
ECOSYSTEM
Events
Introduced
6.7.0
Fixed
6.12.97
Type
ECOSYSTEM
Events
Introduced
6.13.0
Fixed
6.18.40
Type
ECOSYSTEM
Events
Introduced
6.19.0
Fixed
7.1.5

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-72396.json"