{"id":"CVE-2024-26730","state":"PUBLISHED","title":"hwmon: (nct6775) Fix access to temperature configuration registers","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nhwmon: (nct6775) Fix access to temperature configuration registers\n\nThe number of temperature configuration registers does\nnot always match the total number of temperature registers.\nThis can result in access errors reported if KASAN is enabled.\n\nBUG: KASAN: global-out-of-bounds in nct6775_probe+0x5654/0x6fe9 nct6775_core","publishedAt":"2024-04-03T17:00:18.186Z","updatedAt":"2026-08-19T16:27:42.828Z","severity":{"score":7.3,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:H","source":"Linux"},"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"4283b0e29d58c6b11e2e45a5afcab401da4e7994","status":"affected","lessThan":"745aa03c513f1ba12cb98495467676f7acf3fffd","versionType":"git"},{"version":"b7f1f7b2523a6a4382f12fe953380b847b80e09d","status":"affected","lessThan":"f006c45a3ea424f8f6c8e4b9283bc245ce2a4d0f","versionType":"git"},{"version":"b7f1f7b2523a6a4382f12fe953380b847b80e09d","status":"affected","lessThan":"c196387820c9214c5ceaff56d77303c82514b8b1","versionType":"git"},{"version":"b7f1f7b2523a6a4382f12fe953380b847b80e09d","status":"affected","lessThan":"d56e460e19ea8382f813eb489730248ec8d7eb73","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/hwmon/nct6775-core.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.6","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.6","versionType":"semver"},{"version":"6.6.19","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.7.7","status":"unaffected","lessThanOrEqual":"6.7.*","versionType":"semver"},{"version":"6.8","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/hwmon/nct6775-core.c"]}],"references":["https://git.kernel.org/stable/c/745aa03c513f1ba12cb98495467676f7acf3fffd","https://git.kernel.org/stable/c/f006c45a3ea424f8f6c8e4b9283bc245ce2a4d0f","https://git.kernel.org/stable/c/c196387820c9214c5ceaff56d77303c82514b8b1","https://git.kernel.org/stable/c/d56e460e19ea8382f813eb489730248ec8d7eb73"],"weaknesses":[],"ingestedAt":"2026-10-29T20:07:10.607Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2024/26xxx/CVE-2024-26730.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2024-26730","state":"PUBLISHED","datePublished":"2024-04-03T17:00:18.186Z","dateUpdated":"2026-08-19T16:27:42.828Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2024-02-19T14:20:24.164Z"},"containers":{"cna":{"title":"hwmon: (nct6775) Fix access to temperature configuration registers","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nhwmon: (nct6775) Fix access to temperature configuration registers\n\nThe number of temperature configuration registers does\nnot always match the total number of temperature registers.\nThis can result in access errors reported if KASAN is enabled.\n\nBUG: KASAN: global-out-of-bounds in nct6775_probe+0x5654/0x6fe9 nct6775_core"}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"4283b0e29d58c6b11e2e45a5afcab401da4e7994","status":"affected","lessThan":"745aa03c513f1ba12cb98495467676f7acf3fffd","versionType":"git"},{"version":"b7f1f7b2523a6a4382f12fe953380b847b80e09d","status":"affected","lessThan":"f006c45a3ea424f8f6c8e4b9283bc245ce2a4d0f","versionType":"git"},{"version":"b7f1f7b2523a6a4382f12fe953380b847b80e09d","status":"affected","lessThan":"c196387820c9214c5ceaff56d77303c82514b8b1","versionType":"git"},{"version":"b7f1f7b2523a6a4382f12fe953380b847b80e09d","status":"affected","lessThan":"d56e460e19ea8382f813eb489730248ec8d7eb73","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/hwmon/nct6775-core.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.6","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.6","versionType":"semver"},{"version":"6.6.19","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.7.7","status":"unaffected","lessThanOrEqual":"6.7.*","versionType":"semver"},{"version":"6.8","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/hwmon/nct6775-core.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/745aa03c513f1ba12cb98495467676f7acf3fffd"},{"url":"https://git.kernel.org/stable/c/f006c45a3ea424f8f6c8e4b9283bc245ce2a4d0f"},{"url":"https://git.kernel.org/stable/c/c196387820c9214c5ceaff56d77303c82514b8b1"},{"url":"https://git.kernel.org/stable/c/d56e460e19ea8382f813eb489730248ec8d7eb73"}],"metrics":[{"cvssV3_1":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:H","baseScore":7.3,"baseSeverity":"HIGH"},"scenarios":[{"lang":"en","value":"AV:L - The flaw is in the nct6775 Super-I/O hardware monitoring driver and is reached only through local driver probe on the LPC/ISA or I2C bus; there is no network, adjacent-network, or physical-access component since the monitoring chip is soldered to the board.\nAC:L - On any system with an NCT6796D-S/NCT6798D/NCT6799D-R Super-I/O chip the mismatched array bound is hit deterministically on every probe, with no race, no memory-layout dependency, and no rare kernel config involved (CONFIG_SENSORS_NCT6775 is shipped as a module by mainstream distributions).\nPR:L - The vulnerable loop is in the probe path, which executes automatically during boot or module load rather than in response to any unprivileged request; a local low-privileged context is the most that can be attributed, and PR:H is not chosen since no attacker action or elevated capability is actually needed for the defect to manifest.\nUI:N - The out-of-bounds access occurs automatically during device probe with no victim action required — no file must be opened, no filesystem mounted, and no sysfs attribute touched.\nS:U - The out-of-bounds read and the resulting bad register accesses are entirely contained within the kernel's own security authority; no hypervisor, IOMMU, or sandbox boundary is crossed.\nC:H - This is a genuine out-of-bounds read of kernel memory past the end of NCT6779_REG_TEMP_CONFIG, and the disclosed adjacent .rodata contents propagate into persistent driver state (data->reg_temp_config[]) where they drive further hardware register reads, so the read is treated as a High confidentiality impact per out-of-bounds-read guidance.\nI:L - The out-of-bounds values are consumed as hardware register addresses and written back via nct6775_write_value(), so the driver modifies unintended Super-I/O monitoring registers; this is real but bounded state modification, not an arbitrary kernel write or control-flow hijack primitive.\nA:H - The defect produces a KASAN global-out-of-bounds report that panics the system under panic_on_warn, and the resulting bit-clearing writes to unintended monitoring registers can misconfigure temperature sensing and fan-control state on the hwmon chip, risking thermal instability on embedded and industrial x86 platforms."}]}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-08-19T16:27:42.828Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.6","versionEndExcluding":"6.6.19"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.6","versionEndExcluding":"6.7.7"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.6","versionEndExcluding":"6.8"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://git.kernel.org/stable/c/f006c45a3ea424f8f6c8e4b9283bc245ce2a4d0f","tags":["x_transferred"]},{"url":"https://git.kernel.org/stable/c/c196387820c9214c5ceaff56d77303c82514b8b1","tags":["x_transferred"]},{"url":"https://git.kernel.org/stable/c/d56e460e19ea8382f813eb489730248ec8d7eb73","tags":["x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-02T00:14:12.970Z"}},{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"id":"CVE-2024-26730","role":"CISA Coordinator","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"version":"2.0.3","timestamp":"2024-09-10T15:52:03.714243Z"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2024-09-11T17:33:21.224Z"}}]}}}