{"api_version":"1","generated_at":"2026-08-22T21:53:01+00:00","cve":"CVE-2026-74685","urls":{"html":"https://cve.report/CVE-2026-74685","api":"https://cve.report/api/cve/CVE-2026-74685.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-74685","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-74685"},"summary":{"title":"hwmon: (ltc4282) Clamp negative current limits","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nhwmon: (ltc4282) Clamp negative current limits\n\nWhen a negative value is passed to ltc4282_write_curr(), the signed long\nval is cast directly to u64:\n\ndrivers/hwmon/ltc4282.c:ltc4282_write_curr() {\n        /* need to pass it in millivolt */\n        u32 in = DIV_ROUND_CLOSEST_ULL((u64)val * st->rsense, DECA * MICRO);\n        ...\n}\n\nThis cast converts negative inputs into large positive values. The\nsubsequent division result overflows the u32 in variable, truncating\nto a pseudo-random positive value. When this is passed to\nltc4282_write_voltage_byte(), it is clamped to the maximum limit instead\nof zero.\n\nClamp val to 0 and to the maximum supported upper limit before the cast\nand assign the result to a 64-bit temporary variable before the division\nto avoid the underflow and an also possible overflow.","state":"PUBLISHED","assigner":"Linux","published_at":"2026-08-22 16:16:42","updated_at":"2026-08-22 16:16:42"},"problem_types":[],"metrics":[],"references":[{"url":"https://git.kernel.org/stable/c/60e06c4dba696173982393252a40ceb7dd2eec18","name":"https://git.kernel.org/stable/c/60e06c4dba696173982393252a40ceb7dd2eec18","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/de58b90a4d1417c15b693eb04c0ce6bc925d84c6","name":"https://git.kernel.org/stable/c/de58b90a4d1417c15b693eb04c0ce6bc925d84c6","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/e253dd5f9f6d875a317895bf43ec9534ed7523cb","name":"https://git.kernel.org/stable/c/e253dd5f9f6d875a317895bf43ec9534ed7523cb","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/046e56b53c09375ef39903514496aa5508db9729","name":"https://git.kernel.org/stable/c/046e56b53c09375ef39903514496aa5508db9729","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-74685","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-74685","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected cbc29538dbf7d7400f1ffc5dd5713e6a551463a0 60e06c4dba696173982393252a40ceb7dd2eec18 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected cbc29538dbf7d7400f1ffc5dd5713e6a551463a0 de58b90a4d1417c15b693eb04c0ce6bc925d84c6 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected cbc29538dbf7d7400f1ffc5dd5713e6a551463a0 046e56b53c09375ef39903514496aa5508db9729 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected cbc29538dbf7d7400f1ffc5dd5713e6a551463a0 e253dd5f9f6d875a317895bf43ec9534ed7523cb git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 6.9","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.9 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.12.104 6.12.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.18.45 6.18.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.1.9 7.1.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.2 * original_commit_for_fix","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"cna":{"affected":[{"defaultStatus":"unaffected","product":"Linux","programFiles":["drivers/hwmon/ltc4282.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"lessThan":"60e06c4dba696173982393252a40ceb7dd2eec18","status":"affected","version":"cbc29538dbf7d7400f1ffc5dd5713e6a551463a0","versionType":"git"},{"lessThan":"de58b90a4d1417c15b693eb04c0ce6bc925d84c6","status":"affected","version":"cbc29538dbf7d7400f1ffc5dd5713e6a551463a0","versionType":"git"},{"lessThan":"046e56b53c09375ef39903514496aa5508db9729","status":"affected","version":"cbc29538dbf7d7400f1ffc5dd5713e6a551463a0","versionType":"git"},{"lessThan":"e253dd5f9f6d875a317895bf43ec9534ed7523cb","status":"affected","version":"cbc29538dbf7d7400f1ffc5dd5713e6a551463a0","versionType":"git"}]},{"defaultStatus":"affected","product":"Linux","programFiles":["drivers/hwmon/ltc4282.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"status":"affected","version":"6.9"},{"lessThan":"6.9","status":"unaffected","version":"0","versionType":"semver"},{"lessThanOrEqual":"6.12.*","status":"unaffected","version":"6.12.104","versionType":"semver"},{"lessThanOrEqual":"6.18.*","status":"unaffected","version":"6.18.45","versionType":"semver"},{"lessThanOrEqual":"7.1.*","status":"unaffected","version":"7.1.9","versionType":"semver"},{"lessThanOrEqual":"*","status":"unaffected","version":"7.2","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"cpeMatch":[{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.12.104","versionStartIncluding":"6.9","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.18.45","versionStartIncluding":"6.9","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.1.9","versionStartIncluding":"6.9","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.2","versionStartIncluding":"6.9","vulnerable":true}],"negate":false,"operator":"OR"}]}],"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nhwmon: (ltc4282) Clamp negative current limits\n\nWhen a negative value is passed to ltc4282_write_curr(), the signed long\nval is cast directly to u64:\n\ndrivers/hwmon/ltc4282.c:ltc4282_write_curr() {\n        /* need to pass it in millivolt */\n        u32 in = DIV_ROUND_CLOSEST_ULL((u64)val * st->rsense, DECA * MICRO);\n        ...\n}\n\nThis cast converts negative inputs into large positive values. The\nsubsequent division result overflows the u32 in variable, truncating\nto a pseudo-random positive value. When this is passed to\nltc4282_write_voltage_byte(), it is clamped to the maximum limit instead\nof zero.\n\nClamp val to 0 and to the maximum supported upper limit before the cast\nand assign the result to a 64-bit temporary variable before the division\nto avoid the underflow and an also possible overflow."}],"providerMetadata":{"dateUpdated":"2026-08-22T15:32:51.493Z","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux"},"references":[{"url":"https://git.kernel.org/stable/c/60e06c4dba696173982393252a40ceb7dd2eec18"},{"url":"https://git.kernel.org/stable/c/de58b90a4d1417c15b693eb04c0ce6bc925d84c6"},{"url":"https://git.kernel.org/stable/c/046e56b53c09375ef39903514496aa5508db9729"},{"url":"https://git.kernel.org/stable/c/e253dd5f9f6d875a317895bf43ec9534ed7523cb"}],"title":"hwmon: (ltc4282) Clamp negative current limits","x_generator":{"engine":"bippy-1.2.0"}}},"cveMetadata":{"assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","assignerShortName":"Linux","cveId":"CVE-2026-74685","datePublished":"2026-08-22T15:32:51.493Z","dateReserved":"2026-08-15T05:44:03.926Z","dateUpdated":"2026-08-22T15:32:51.493Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-08-22 16:16:42","lastModifiedDate":"2026-08-22 16:16:42","problem_types":[],"metrics":[],"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"74685","Ordinal":"1","Title":"hwmon: (ltc4282) Clamp negative current limits","CVE":"CVE-2026-74685","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"74685","Ordinal":"1","NoteData":"In the Linux kernel, the following vulnerability has been resolved:\n\nhwmon: (ltc4282) Clamp negative current limits\n\nWhen a negative value is passed to ltc4282_write_curr(), the signed long\nval is cast directly to u64:\n\ndrivers/hwmon/ltc4282.c:ltc4282_write_curr() {\n        /* need to pass it in millivolt */\n        u32 in = DIV_ROUND_CLOSEST_ULL((u64)val * st->rsense, DECA * MICRO);\n        ...\n}\n\nThis cast converts negative inputs into large positive values. The\nsubsequent division result overflows the u32 in variable, truncating\nto a pseudo-random positive value. When this is passed to\nltc4282_write_voltage_byte(), it is clamped to the maximum limit instead\nof zero.\n\nClamp val to 0 and to the maximum supported upper limit before the cast\nand assign the result to a 64-bit temporary variable before the division\nto avoid the underflow and an also possible overflow.","Type":"Description","Title":"hwmon: (ltc4282) Clamp negative current limits"}]}}}