{"id":"CVE-2021-47098","published":"2024-03-04T18:10:50Z","modified":"2026-05-11T13:48:00Z","title":"hwmon: (lm90) Prevent integer overflow/underflow in hysteresis calculations","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\nhwmon: (lm90) Prevent integer overflow/underflow in hysteresis calculations\n\nCommit b50aa49638c7 (\"hwmon: (lm90) Prevent integer underflows of\ntemperature calculations\") addressed a number of underflow situations\nwhen writing temperature limits. However, it missed one situation, seen\nwhen an attempt is made to set the hysteresis value to MAX_LONG and the\ncritical temperature limit is negative.\n\nUse clamp_val() when setting the hysteresis temperature to ensure that\nthe provided value can never overflow or underflow.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.00219,"percentile":0.07189,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/d105f30bea9104c590a9e5b495cb8a49bdfe405f","tags":[]},{"url":"https://git.kernel.org/stable/c/55840b9eae5367b5d5b29619dc2fb7e4596dba46","tags":[]}],"priority":{"score":1.4,"factors":[{"name":"EPSS percentile","points":1.44}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= b50aa49638c7e12abf4ecc483f4e928c5cccc1b0, < d105f30bea9104c590a9e5b495cb8a49bdfe405f",">= b50aa49638c7e12abf4ecc483f4e928c5cccc1b0, < 55840b9eae5367b5d5b29619dc2fb7e4596dba46"]},{"vendor":"Linux","product":"Linux","versions":["5.14"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2024-09-10T15:56:08.048392Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2021-33746","exploited":false,"provenance":"source"}}