{"id":"CVE-2024-43852","published":"2024-08-17T09:22:09Z","modified":"2026-05-11T20:31:04Z","title":"hwmon: (ltc2991) re-order conditions to fix off by one bug","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\nhwmon: (ltc2991) re-order conditions to fix off by one bug\n\nLTC2991_T_INT_CH_NR is 4.  The st->temp_en[] array has LTC2991_MAX_CHANNEL\n(4) elements.  Thus if \"channel\" is equal to LTC2991_T_INT_CH_NR then we\nhave read one element beyond the end of the array.  Flip the conditions\naround so that we check if \"channel\" is valid before using it as an array\nindex.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.00202,"percentile":0.10277,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/c180311c0a520692e2d0e9ca44dcd6c2ff1b41c4","tags":[]},{"url":"https://git.kernel.org/stable/c/99bf7c2eccff82760fa23ce967cc67c8c219c6a6","tags":[]}],"priority":{"score":2.1,"factors":[{"name":"EPSS percentile","points":2.06}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= 2b9ea4262ae9114b0b86ac893b4d6175d8520001, < c180311c0a520692e2d0e9ca44dcd6c2ff1b41c4",">= 2b9ea4262ae9114b0b86ac893b4d6175d8520001, < 99bf7c2eccff82760fa23ce967cc67c8c219c6a6"]},{"vendor":"Linux","product":"Linux","versions":["6.7"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2024-09-10T16:07:20.867385Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2024-40502","exploited":false,"provenance":"source"}}