← CVE Intelligence

CVE-2022-50580

blk-throttle: prevent overflow while calculating wait time PUBLISHED

Description (CNA)

In the Linux kernel, the following vulnerability has been resolved: blk-throttle: prevent overflow while calculating wait time There is a problem found by code review in tg_with_in_bps_limit() that 'bps_limit * jiffy_elapsed_rnd' might overflow. Fix the problem by calling mul_u64_u64_div_u64() instead.

Affected (CNA)

Vendor / productVersions
Linux / Linuxaffected e43473b7f223ec866f7db273697e76c337c390f9 before 19c010ae44f0ce52b5436080492a61a092ee0cf4; affected e43473b7f223ec866f7db273697e76c337c390f9 before 70b2adb1d698fbc63d3b3848c452524dc15872c5; affected e43473b7f223ec866f7db273697e76c337c390f9 before cc6f0855bf8d9b729df28ff443ced7350c380dbd; affected e43473b7f223ec866f7db273697e76c337c390f9 before ca67b0563b39e79290c23e509319c178b9ca9104; affected e43473b7f223ec866f7db273697e76c337c390f9 before 8d6bbaada2e0a65f9012ac4c2506460160e7237a
Linux / Linuxaffected 2.6.37; unaffected 0 before 2.6.37; unaffected 5.10.150 through 5.10.*; unaffected 5.15.75 through 5.15.*; unaffected 5.19.17 through 5.19.*; unaffected 6.0.3 through 6.0.*; unaffected 6.1 through *

CWE

No CWE identifiers supplied.

References