{"id":"CVE-2024-49994","published":"2024-10-21T18:02:35Z","modified":"2026-11-10T12:33:28Z","title":"block: fix integer overflow in BLKSECDISCARD","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\nblock: fix integer overflow in BLKSECDISCARD\n\nI independently rediscovered\n\n\tcommit 22d24a544b0d49bbcbd61c8c0eaf77d3c9297155\n\tblock: fix overflow in blk_ioctl_discard()\n\nbut for secure erase.\n\nSame problem:\n\n\tuint64_t r[2] = {512, 18446744073709551104ULL};\n\tioctl(fd, BLKSECDISCARD, r);\n\nwill enter near infinite loop inside blkdev_issue_secure_erase():\n\n\ta.out: attempt to access beyond end of device\n\tloop0: rw=5, sector=3399043073, nr_sectors = 1024 limit=2048\n\tbio_check_eod: 3286214 callbacks suppressed","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.00304,"percentile":0.15547,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/8476f8428e8b48fd7a0e4258fa2a96a8f4468239","tags":[]},{"url":"https://git.kernel.org/stable/c/a99bacb35c1416355eef957560e8fcac3a665549","tags":[]},{"url":"https://git.kernel.org/stable/c/0842ddd83939eb4db940b9af7d39e79722bc41aa","tags":[]},{"url":"https://git.kernel.org/stable/c/6c9915fa9410cbb9bd75ee283c03120046c56d3d","tags":[]},{"url":"https://git.kernel.org/stable/c/697ba0b6ec4ae04afb67d3911799b5e2043b4455","tags":[]},{"url":"https://lists.debian.org/debian-lts-announce/2025/03/msg00001.html","tags":[]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-019113.html","tags":[]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-457936.html","tags":[]}],"priority":{"score":3.1,"factors":[{"name":"EPSS percentile","points":3.11}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= 44abff2c0b970ae3d310b97617525dc01f248d7c, < 8476f8428e8b48fd7a0e4258fa2a96a8f4468239",">= 44abff2c0b970ae3d310b97617525dc01f248d7c, < a99bacb35c1416355eef957560e8fcac3a665549",">= 44abff2c0b970ae3d310b97617525dc01f248d7c, < 0842ddd83939eb4db940b9af7d39e79722bc41aa",">= 44abff2c0b970ae3d310b97617525dc01f248d7c, < 6c9915fa9410cbb9bd75ee283c03120046c56d3d",">= 44abff2c0b970ae3d310b97617525dc01f248d7c, < 697ba0b6ec4ae04afb67d3911799b5e2043b4455"]},{"vendor":"Linux","product":"Linux","versions":["5.19"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2024-10-22T13:30:51.719818Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2024-43669","exploited":false,"provenance":"source"}}