{"id":"CVE-2026-72396","aliases":["CVE-2026-72396"],"related":[],"kind":"vulnerability","state":"published","title":"hwmon: adm1275: Prevent reading uninitialized stack","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"}],"published":"2026-08-15T05:56:23.067Z","modified":"2026-11-06T17:19:43.680Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"87102808d03948c825c3bdc48316e48f6422fd7e","fixed":"57d583f069fa9d3d0c0831e34b967d1f61edae94","status":"affected"},{"type":"git","introduced":"87102808d03948c825c3bdc48316e48f6422fd7e","fixed":"82e4ab03a6ab9b87667410f5143bc484d7a62bdc","status":"affected"},{"type":"git","introduced":"87102808d03948c825c3bdc48316e48f6422fd7e","fixed":"c9e04a52663bc6651c06c2427df088b751062bd6","status":"affected"},{"type":"git","introduced":"87102808d03948c825c3bdc48316e48f6422fd7e","fixed":"39a581bd64a0e91112ec8017a2dd4e70c1336e99","status":"affected"},{"type":"git","introduced":"87102808d03948c825c3bdc48316e48f6422fd7e","fixed":"aa35cee30686e6be3c890bf741429c5025d55abe","status":"affected"},{"type":"git","introduced":"87102808d03948c825c3bdc48316e48f6422fd7e","fixed":"36554592e2f5cac16ff8bf73720d38a6d9ef4a20","status":"affected"},{"type":"git","introduced":"87102808d03948c825c3bdc48316e48f6422fd7e","fixed":"93b96e723bdcba6172a5814262be875abcc5d269","status":"affected"},{"type":"git","introduced":"87102808d03948c825c3bdc48316e48f6422fd7e","fixed":"553f9517813912a5ab661af5504485d96824a61c","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"3.3","status":"affected"},{"type":"semver","introduced":"0","fixed":"3.3","status":"unaffected"},{"type":"semver","introduced":"5.10.261","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.212","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.178","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.145","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.97","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.40","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.1.5","lastAffected":"7.1.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.2","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/57d583f069fa9d3d0c0831e34b967d1f61edae94","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/82e4ab03a6ab9b87667410f5143bc484d7a62bdc","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/c9e04a52663bc6651c06c2427df088b751062bd6","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/39a581bd64a0e91112ec8017a2dd4e70c1336e99","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/aa35cee30686e6be3c890bf741429c5025d55abe","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/36554592e2f5cac16ff8bf73720d38a6d9ef4a20","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/93b96e723bdcba6172a5814262be875abcc5d269","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/553f9517813912a5ab661af5504485d96824a61c","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-11-06T16:54:54.603Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-72396","url":"https://www.cve.org/CVERecord?id=CVE-2026-72396","licence":"CVE Terms of Use","modified":"2026-11-06T16:55:26.496Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-72396","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-72396","licence":"Public domain","modified":"2026-11-06T17:19:43.680Z"}],"updatedAt":"2026-11-25T22:59:33.107Z","epss":{"score":0.00221,"percentile":0.13455,"date":"2026-12-01T12:00:22.000Z"}}