{"id":"CVE-2024-36917","state":"PUBLISHED","title":"block: fix overflow in blk_ioctl_discard()","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nblock: fix overflow in blk_ioctl_discard()\n\nThere is no check for overflow of 'start + len' in blk_ioctl_discard().\nHung task occurs if submit an discard ioctl with the following param:\n  start = 0x80000000000ff000, len = 0x8000000000fff000;\nAdd the overflow validation now.","publishedAt":"2024-05-30T15:29:13.327Z","updatedAt":"2026-05-11T20:16:59.399Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"d30a2605be9d5132d95944916e8f578fcfe4f976","status":"affected","lessThan":"8a26198186e97ee5fc4b42fde82629cff8c75cd6","versionType":"git"},{"version":"d30a2605be9d5132d95944916e8f578fcfe4f976","status":"affected","lessThan":"e1d38cde2b7b0fbd1c48082e7a98c37d750af59b","versionType":"git"},{"version":"d30a2605be9d5132d95944916e8f578fcfe4f976","status":"affected","lessThan":"507d526a98c355e6f3fb2c47aacad44a69784bee","versionType":"git"},{"version":"d30a2605be9d5132d95944916e8f578fcfe4f976","status":"affected","lessThan":"22d24a544b0d49bbcbd61c8c0eaf77d3c9297155","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["block/ioctl.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"2.6.28","status":"affected"},{"version":"0","status":"unaffected","lessThan":"2.6.28","versionType":"semver"},{"version":"6.1.91","status":"unaffected","lessThanOrEqual":"6.1.*","versionType":"semver"},{"version":"6.6.31","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.8.10","status":"unaffected","lessThanOrEqual":"6.8.*","versionType":"semver"},{"version":"6.9","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["block/ioctl.c"]}],"references":["https://git.kernel.org/stable/c/8a26198186e97ee5fc4b42fde82629cff8c75cd6","https://git.kernel.org/stable/c/e1d38cde2b7b0fbd1c48082e7a98c37d750af59b","https://git.kernel.org/stable/c/507d526a98c355e6f3fb2c47aacad44a69784bee","https://git.kernel.org/stable/c/22d24a544b0d49bbcbd61c8c0eaf77d3c9297155"],"weaknesses":[],"ingestedAt":"2026-10-29T20:07:30.303Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2024/36xxx/CVE-2024-36917.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2024-36917","state":"PUBLISHED","datePublished":"2024-05-30T15:29:13.327Z","dateUpdated":"2026-05-11T20:16:59.399Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2024-05-30T15:25:07.068Z"},"containers":{"cna":{"title":"block: fix overflow in blk_ioctl_discard()","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nblock: fix overflow in blk_ioctl_discard()\n\nThere is no check for overflow of 'start + len' in blk_ioctl_discard().\nHung task occurs if submit an discard ioctl with the following param:\n  start = 0x80000000000ff000, len = 0x8000000000fff000;\nAdd the overflow validation now."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"d30a2605be9d5132d95944916e8f578fcfe4f976","status":"affected","lessThan":"8a26198186e97ee5fc4b42fde82629cff8c75cd6","versionType":"git"},{"version":"d30a2605be9d5132d95944916e8f578fcfe4f976","status":"affected","lessThan":"e1d38cde2b7b0fbd1c48082e7a98c37d750af59b","versionType":"git"},{"version":"d30a2605be9d5132d95944916e8f578fcfe4f976","status":"affected","lessThan":"507d526a98c355e6f3fb2c47aacad44a69784bee","versionType":"git"},{"version":"d30a2605be9d5132d95944916e8f578fcfe4f976","status":"affected","lessThan":"22d24a544b0d49bbcbd61c8c0eaf77d3c9297155","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["block/ioctl.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"2.6.28","status":"affected"},{"version":"0","status":"unaffected","lessThan":"2.6.28","versionType":"semver"},{"version":"6.1.91","status":"unaffected","lessThanOrEqual":"6.1.*","versionType":"semver"},{"version":"6.6.31","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.8.10","status":"unaffected","lessThanOrEqual":"6.8.*","versionType":"semver"},{"version":"6.9","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["block/ioctl.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/8a26198186e97ee5fc4b42fde82629cff8c75cd6"},{"url":"https://git.kernel.org/stable/c/e1d38cde2b7b0fbd1c48082e7a98c37d750af59b"},{"url":"https://git.kernel.org/stable/c/507d526a98c355e6f3fb2c47aacad44a69784bee"},{"url":"https://git.kernel.org/stable/c/22d24a544b0d49bbcbd61c8c0eaf77d3c9297155"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-05-11T20:16:59.399Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"2.6.28","versionEndExcluding":"6.1.91"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"2.6.28","versionEndExcluding":"6.6.31"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"2.6.28","versionEndExcluding":"6.8.10"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"2.6.28","versionEndExcluding":"6.9"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2024-06-05T14:26:26.159225Z","id":"CVE-2024-36917","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2024-06-05T14:26:29.069Z"}},{"title":"CVE Program Container","references":[{"url":"https://git.kernel.org/stable/c/8a26198186e97ee5fc4b42fde82629cff8c75cd6","tags":["x_transferred"]},{"url":"https://git.kernel.org/stable/c/e1d38cde2b7b0fbd1c48082e7a98c37d750af59b","tags":["x_transferred"]},{"url":"https://git.kernel.org/stable/c/507d526a98c355e6f3fb2c47aacad44a69784bee","tags":["x_transferred"]},{"url":"https://git.kernel.org/stable/c/22d24a544b0d49bbcbd61c8c0eaf77d3c9297155","tags":["x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-02T03:43:49.883Z"}}]}}}