{"id":"CVE-2026-72396","state":"PUBLISHED","title":"hwmon: adm1275: Prevent reading uninitialized stack","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nhwmon: adm1275: Prevent reading uninitialized stack\n\nWhile adding support for the ROHM BD127X0 hot-swap controllers, sashiko\nreported an error in device-name comparison, which can lead to reading\nuninitialized stack memory.\n\nQuoting Sashiko:\n\nThis is a pre-existing issue, but I noticed that just before this block in\nadm1275_probe(), there might be an out-of-bounds stack read:\n\n    ret = i2c_smbus_read_block_data(client, PMBUS_MFR_MODEL, block_buffer);\n    if (ret < 0) { ... }\n    for (mid = adm1275_id; mid->name[0]; mid++) {\n            if (!strncasecmp(mid->name, block_buffer, strlen(mid->name)))\n                    break;\n    }\n\nSince i2c_smbus_read_block_data() reads up to 32 bytes into the\nuninitialized stack array block_buffer without appending a null\nterminator, strncasecmp() could read past the valid bytes returned in ret.\n\nFor example, if the device returns a shorter string like \"adm12\", checking\nit against \"adm1275\" up to the length of \"adm1275\" will continue reading\ninto uninitialized stack bounds.\n\nPrevent reading uninitialized memory by zeroing the stack array.","publishedAt":"2026-08-15T05:56:23.067Z","updatedAt":"2026-08-17T05:13:52.535Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"87102808d03948c825c3bdc48316e48f6422fd7e","status":"affected","lessThan":"57d583f069fa9d3d0c0831e34b967d1f61edae94","versionType":"git"},{"version":"87102808d03948c825c3bdc48316e48f6422fd7e","status":"affected","lessThan":"82e4ab03a6ab9b87667410f5143bc484d7a62bdc","versionType":"git"},{"version":"87102808d03948c825c3bdc48316e48f6422fd7e","status":"affected","lessThan":"c9e04a52663bc6651c06c2427df088b751062bd6","versionType":"git"},{"version":"87102808d03948c825c3bdc48316e48f6422fd7e","status":"affected","lessThan":"39a581bd64a0e91112ec8017a2dd4e70c1336e99","versionType":"git"},{"version":"87102808d03948c825c3bdc48316e48f6422fd7e","status":"affected","lessThan":"aa35cee30686e6be3c890bf741429c5025d55abe","versionType":"git"},{"version":"87102808d03948c825c3bdc48316e48f6422fd7e","status":"affected","lessThan":"36554592e2f5cac16ff8bf73720d38a6d9ef4a20","versionType":"git"},{"version":"87102808d03948c825c3bdc48316e48f6422fd7e","status":"affected","lessThan":"93b96e723bdcba6172a5814262be875abcc5d269","versionType":"git"},{"version":"87102808d03948c825c3bdc48316e48f6422fd7e","status":"affected","lessThan":"553f9517813912a5ab661af5504485d96824a61c","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/hwmon/pmbus/adm1275.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"3.3","status":"affected"},{"version":"0","status":"unaffected","lessThan":"3.3","versionType":"semver"},{"version":"5.10.261","status":"unaffected","lessThanOrEqual":"5.10.*","versionType":"semver"},{"version":"5.15.212","status":"unaffected","lessThanOrEqual":"5.15.*","versionType":"semver"},{"version":"6.1.178","status":"unaffected","lessThanOrEqual":"6.1.*","versionType":"semver"},{"version":"6.6.145","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.12.97","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.40","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.1.5","status":"unaffected","lessThanOrEqual":"7.1.*","versionType":"semver"},{"version":"7.2","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/hwmon/pmbus/adm1275.c"]}],"references":["https://git.kernel.org/stable/c/57d583f069fa9d3d0c0831e34b967d1f61edae94","https://git.kernel.org/stable/c/82e4ab03a6ab9b87667410f5143bc484d7a62bdc","https://git.kernel.org/stable/c/c9e04a52663bc6651c06c2427df088b751062bd6","https://git.kernel.org/stable/c/39a581bd64a0e91112ec8017a2dd4e70c1336e99","https://git.kernel.org/stable/c/aa35cee30686e6be3c890bf741429c5025d55abe","https://git.kernel.org/stable/c/36554592e2f5cac16ff8bf73720d38a6d9ef4a20","https://git.kernel.org/stable/c/93b96e723bdcba6172a5814262be875abcc5d269","https://git.kernel.org/stable/c/553f9517813912a5ab661af5504485d96824a61c"],"weaknesses":[],"ingestedAt":"2026-10-29T20:12:58.252Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/72xxx/CVE-2026-72396.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-72396","state":"PUBLISHED","datePublished":"2026-08-15T05:56:23.067Z","dateUpdated":"2026-08-17T05:13:52.535Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2026-08-09T03:40:39.924Z"},"containers":{"cna":{"title":"hwmon: adm1275: Prevent reading uninitialized stack","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nhwmon: adm1275: Prevent reading uninitialized stack\n\nWhile adding support for the ROHM BD127X0 hot-swap controllers, sashiko\nreported an error in device-name comparison, which can lead to reading\nuninitialized stack memory.\n\nQuoting Sashiko:\n\nThis is a pre-existing issue, but I noticed that just before this block in\nadm1275_probe(), there might be an out-of-bounds stack read:\n\n    ret = i2c_smbus_read_block_data(client, PMBUS_MFR_MODEL, block_buffer);\n    if (ret < 0) { ... }\n    for (mid = adm1275_id; mid->name[0]; mid++) {\n            if (!strncasecmp(mid->name, block_buffer, strlen(mid->name)))\n                    break;\n    }\n\nSince i2c_smbus_read_block_data() reads up to 32 bytes into the\nuninitialized stack array block_buffer without appending a null\nterminator, strncasecmp() could read past the valid bytes returned in ret.\n\nFor example, if the device returns a shorter string like \"adm12\", checking\nit against \"adm1275\" up to the length of \"adm1275\" will continue reading\ninto uninitialized stack bounds.\n\nPrevent reading uninitialized memory by zeroing the stack array."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"87102808d03948c825c3bdc48316e48f6422fd7e","status":"affected","lessThan":"57d583f069fa9d3d0c0831e34b967d1f61edae94","versionType":"git"},{"version":"87102808d03948c825c3bdc48316e48f6422fd7e","status":"affected","lessThan":"82e4ab03a6ab9b87667410f5143bc484d7a62bdc","versionType":"git"},{"version":"87102808d03948c825c3bdc48316e48f6422fd7e","status":"affected","lessThan":"c9e04a52663bc6651c06c2427df088b751062bd6","versionType":"git"},{"version":"87102808d03948c825c3bdc48316e48f6422fd7e","status":"affected","lessThan":"39a581bd64a0e91112ec8017a2dd4e70c1336e99","versionType":"git"},{"version":"87102808d03948c825c3bdc48316e48f6422fd7e","status":"affected","lessThan":"aa35cee30686e6be3c890bf741429c5025d55abe","versionType":"git"},{"version":"87102808d03948c825c3bdc48316e48f6422fd7e","status":"affected","lessThan":"36554592e2f5cac16ff8bf73720d38a6d9ef4a20","versionType":"git"},{"version":"87102808d03948c825c3bdc48316e48f6422fd7e","status":"affected","lessThan":"93b96e723bdcba6172a5814262be875abcc5d269","versionType":"git"},{"version":"87102808d03948c825c3bdc48316e48f6422fd7e","status":"affected","lessThan":"553f9517813912a5ab661af5504485d96824a61c","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/hwmon/pmbus/adm1275.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"3.3","status":"affected"},{"version":"0","status":"unaffected","lessThan":"3.3","versionType":"semver"},{"version":"5.10.261","status":"unaffected","lessThanOrEqual":"5.10.*","versionType":"semver"},{"version":"5.15.212","status":"unaffected","lessThanOrEqual":"5.15.*","versionType":"semver"},{"version":"6.1.178","status":"unaffected","lessThanOrEqual":"6.1.*","versionType":"semver"},{"version":"6.6.145","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.12.97","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.40","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.1.5","status":"unaffected","lessThanOrEqual":"7.1.*","versionType":"semver"},{"version":"7.2","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/hwmon/pmbus/adm1275.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/57d583f069fa9d3d0c0831e34b967d1f61edae94"},{"url":"https://git.kernel.org/stable/c/82e4ab03a6ab9b87667410f5143bc484d7a62bdc"},{"url":"https://git.kernel.org/stable/c/c9e04a52663bc6651c06c2427df088b751062bd6"},{"url":"https://git.kernel.org/stable/c/39a581bd64a0e91112ec8017a2dd4e70c1336e99"},{"url":"https://git.kernel.org/stable/c/aa35cee30686e6be3c890bf741429c5025d55abe"},{"url":"https://git.kernel.org/stable/c/36554592e2f5cac16ff8bf73720d38a6d9ef4a20"},{"url":"https://git.kernel.org/stable/c/93b96e723bdcba6172a5814262be875abcc5d269"},{"url":"https://git.kernel.org/stable/c/553f9517813912a5ab661af5504485d96824a61c"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-08-17T05:13:52.535Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"3.3","versionEndExcluding":"5.10.261"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"3.3","versionEndExcluding":"5.15.212"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"3.3","versionEndExcluding":"6.1.178"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"3.3","versionEndExcluding":"6.6.145"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"3.3","versionEndExcluding":"6.12.97"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"3.3","versionEndExcluding":"6.18.40"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"3.3","versionEndExcluding":"7.1.5"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"3.3","versionEndExcluding":"7.2"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}}}}}