summaryrefslogtreecommitdiff
path: root/scripts/git.orderFile
diff options
context:
space:
mode:
authorDenis Sergeev <denserg.edu@gmail.com>2025-12-09 09:37:06 +0300
committerGuenter Roeck <linux@roeck-us.net>2025-12-14 09:34:38 -0800
commit46c28bbbb150b80827e4bcbea231560af9d16854 (patch)
tree262d2f294074745b37b985c922aa953bd27ea786 /scripts/git.orderFile
parent8f0b4cce4481fb22653697cced8d0d04027cb1e8 (diff)
hwmon: (dell-smm) Limit fan multiplier to avoid overflow
The fan nominal speed returned by SMM is limited to 16 bits, but the driver allows the fan multiplier to be set via a module parameter. Clamp the computed fan multiplier so that fan_nominal_speed * i8k_fan_mult always fits into a signed 32-bit integer and refuse to initialize the driver if the value is too large. Found by Linux Verification Center (linuxtesting.org) with SVACE. Fixes: 20bdeebc88269 ("hwmon: (dell-smm) Introduce helper function for data init") Signed-off-by: Denis Sergeev <denserg.edu@gmail.com> Link: https://lore.kernel.org/r/20251209063706.49008-1-denserg.edu@gmail.com Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'scripts/git.orderFile')
0 files changed, 0 insertions, 0 deletions