{"id":"CVE-2024-38604","published":"2024-06-19T13:48:15Z","modified":"2026-05-11T20:19:56Z","title":"block: refine the EOF check in blkdev_iomap_begin","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\nblock: refine the EOF check in blkdev_iomap_begin\n\nblkdev_iomap_begin rounds down the offset to the logical block size\nbefore stashing it in iomap->offset and checking that it still is\ninside the inode size.\n\nCheck the i_size check to the raw pos value so that we don't try a\nzero size write if iter->pos is unaligned.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.00207,"percentile":0.10972,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/910717920c8c3f9386277a44c44d448058a18084","tags":[]},{"url":"https://git.kernel.org/stable/c/72c54e063c32aeb38d43a2bd897821e6e5a1757d","tags":[]},{"url":"https://git.kernel.org/stable/c/10b723bcba8986537a484aa94dbfc9093fd776a1","tags":[]},{"url":"https://git.kernel.org/stable/c/0c12028aec837f5a002009bbf68d179d506510e8","tags":[]}],"priority":{"score":2.2,"factors":[{"name":"EPSS percentile","points":2.19}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= 487c607df790d366e67a7d6a30adf785cdd98e55, < 910717920c8c3f9386277a44c44d448058a18084",">= 487c607df790d366e67a7d6a30adf785cdd98e55, < 72c54e063c32aeb38d43a2bd897821e6e5a1757d",">= 487c607df790d366e67a7d6a30adf785cdd98e55, < 10b723bcba8986537a484aa94dbfc9093fd776a1",">= 487c607df790d366e67a7d6a30adf785cdd98e55, < 0c12028aec837f5a002009bbf68d179d506510e8"]},{"vendor":"Linux","product":"Linux","versions":["6.6"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2024-06-20T19:44:24.833143Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2024-37467","exploited":false,"provenance":"source"}}