{"id":"CVE-2022-50580","state":"PUBLISHED","title":"blk-throttle: prevent overflow while calculating wait time","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nblk-throttle: prevent overflow while calculating wait time\n\nThere is a problem found by code review in tg_with_in_bps_limit() that\n'bps_limit * jiffy_elapsed_rnd' might overflow. Fix the problem by\ncalling mul_u64_u64_div_u64() instead.","publishedAt":"2025-10-22T13:23:32.808Z","updatedAt":"2026-05-11T19:22:10.408Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"e43473b7f223ec866f7db273697e76c337c390f9","status":"affected","lessThan":"19c010ae44f0ce52b5436080492a61a092ee0cf4","versionType":"git"},{"version":"e43473b7f223ec866f7db273697e76c337c390f9","status":"affected","lessThan":"70b2adb1d698fbc63d3b3848c452524dc15872c5","versionType":"git"},{"version":"e43473b7f223ec866f7db273697e76c337c390f9","status":"affected","lessThan":"cc6f0855bf8d9b729df28ff443ced7350c380dbd","versionType":"git"},{"version":"e43473b7f223ec866f7db273697e76c337c390f9","status":"affected","lessThan":"ca67b0563b39e79290c23e509319c178b9ca9104","versionType":"git"},{"version":"e43473b7f223ec866f7db273697e76c337c390f9","status":"affected","lessThan":"8d6bbaada2e0a65f9012ac4c2506460160e7237a","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["block/blk-throttle.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"2.6.37","status":"affected"},{"version":"0","status":"unaffected","lessThan":"2.6.37","versionType":"semver"},{"version":"5.10.150","status":"unaffected","lessThanOrEqual":"5.10.*","versionType":"semver"},{"version":"5.15.75","status":"unaffected","lessThanOrEqual":"5.15.*","versionType":"semver"},{"version":"5.19.17","status":"unaffected","lessThanOrEqual":"5.19.*","versionType":"semver"},{"version":"6.0.3","status":"unaffected","lessThanOrEqual":"6.0.*","versionType":"semver"},{"version":"6.1","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["block/blk-throttle.c"]}],"references":["https://git.kernel.org/stable/c/19c010ae44f0ce52b5436080492a61a092ee0cf4","https://git.kernel.org/stable/c/70b2adb1d698fbc63d3b3848c452524dc15872c5","https://git.kernel.org/stable/c/cc6f0855bf8d9b729df28ff443ced7350c380dbd","https://git.kernel.org/stable/c/ca67b0563b39e79290c23e509319c178b9ca9104","https://git.kernel.org/stable/c/8d6bbaada2e0a65f9012ac4c2506460160e7237a"],"weaknesses":[],"ingestedAt":"2026-10-29T20:05:26.763Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2022/50xxx/CVE-2022-50580.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2022-50580","state":"PUBLISHED","datePublished":"2025-10-22T13:23:32.808Z","dateUpdated":"2026-05-11T19:22:10.408Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2025-10-22T13:20:23.762Z"},"containers":{"cna":{"title":"blk-throttle: prevent overflow while calculating wait time","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nblk-throttle: prevent overflow while calculating wait time\n\nThere is a problem found by code review in tg_with_in_bps_limit() that\n'bps_limit * jiffy_elapsed_rnd' might overflow. Fix the problem by\ncalling mul_u64_u64_div_u64() instead."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"e43473b7f223ec866f7db273697e76c337c390f9","status":"affected","lessThan":"19c010ae44f0ce52b5436080492a61a092ee0cf4","versionType":"git"},{"version":"e43473b7f223ec866f7db273697e76c337c390f9","status":"affected","lessThan":"70b2adb1d698fbc63d3b3848c452524dc15872c5","versionType":"git"},{"version":"e43473b7f223ec866f7db273697e76c337c390f9","status":"affected","lessThan":"cc6f0855bf8d9b729df28ff443ced7350c380dbd","versionType":"git"},{"version":"e43473b7f223ec866f7db273697e76c337c390f9","status":"affected","lessThan":"ca67b0563b39e79290c23e509319c178b9ca9104","versionType":"git"},{"version":"e43473b7f223ec866f7db273697e76c337c390f9","status":"affected","lessThan":"8d6bbaada2e0a65f9012ac4c2506460160e7237a","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["block/blk-throttle.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"2.6.37","status":"affected"},{"version":"0","status":"unaffected","lessThan":"2.6.37","versionType":"semver"},{"version":"5.10.150","status":"unaffected","lessThanOrEqual":"5.10.*","versionType":"semver"},{"version":"5.15.75","status":"unaffected","lessThanOrEqual":"5.15.*","versionType":"semver"},{"version":"5.19.17","status":"unaffected","lessThanOrEqual":"5.19.*","versionType":"semver"},{"version":"6.0.3","status":"unaffected","lessThanOrEqual":"6.0.*","versionType":"semver"},{"version":"6.1","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["block/blk-throttle.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/19c010ae44f0ce52b5436080492a61a092ee0cf4"},{"url":"https://git.kernel.org/stable/c/70b2adb1d698fbc63d3b3848c452524dc15872c5"},{"url":"https://git.kernel.org/stable/c/cc6f0855bf8d9b729df28ff443ced7350c380dbd"},{"url":"https://git.kernel.org/stable/c/ca67b0563b39e79290c23e509319c178b9ca9104"},{"url":"https://git.kernel.org/stable/c/8d6bbaada2e0a65f9012ac4c2506460160e7237a"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-05-11T19:22:10.408Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"2.6.37","versionEndExcluding":"5.10.150"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"2.6.37","versionEndExcluding":"5.15.75"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"2.6.37","versionEndExcluding":"5.19.17"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"2.6.37","versionEndExcluding":"6.0.3"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"2.6.37","versionEndExcluding":"6.1"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}}}}}