{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2024-38604","id":"CVE-2024-38604","title":"block: refine the EOF check in blkdev_iomap_begin","description":"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.","descriptionLong":"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.","published":"2024-06-19T13:48:15.099Z","updated":"2026-10-28T02:30:37.782253909Z","reserved":"2024-06-18T19:36:34.933Z","status":"Analyzed","rejected":false,"assigner":"Linux","metric":{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"NVD"},"metrics":[{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"NVD"}],"rating":"medium","products":["Linux"],"affectedProducts":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"487c607df790d366e67a7d6a30adf785cdd98e55","lessThan":"910717920c8c3f9386277a44c44d448058a18084","status":"affected","versionType":"git"},{"version":"487c607df790d366e67a7d6a30adf785cdd98e55","lessThan":"72c54e063c32aeb38d43a2bd897821e6e5a1757d","status":"affected","versionType":"git"},{"version":"487c607df790d366e67a7d6a30adf785cdd98e55","lessThan":"10b723bcba8986537a484aa94dbfc9093fd776a1","status":"affected","versionType":"git"},{"version":"487c607df790d366e67a7d6a30adf785cdd98e55","lessThan":"0c12028aec837f5a002009bbf68d179d506510e8","status":"affected","versionType":"git"}],"platforms":[]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.6","status":"affected"},{"version":"0","lessThan":"6.6","status":"unaffected","versionType":"semver"},{"version":"6.6.33","lessThanOrEqual":"6.6.*","status":"unaffected","versionType":"semver"},{"version":"6.8.12","lessThanOrEqual":"6.8.*","status":"unaffected","versionType":"semver"},{"version":"6.9.3","lessThanOrEqual":"6.9.*","status":"unaffected","versionType":"semver"},{"version":"6.10","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}],"platforms":[]}],"packages":[],"cwes":[],"aliases":[],"references":[{"url":"https://git.kernel.org/stable/c/910717920c8c3f9386277a44c44d448058a18084","tags":["x_transferred","Patch","web"]},{"url":"https://git.kernel.org/stable/c/72c54e063c32aeb38d43a2bd897821e6e5a1757d","tags":["x_transferred","Patch","web"]},{"url":"https://git.kernel.org/stable/c/10b723bcba8986537a484aa94dbfc9093fd776a1","tags":["x_transferred","Patch","web"]},{"url":"https://git.kernel.org/stable/c/0c12028aec837f5a002009bbf68d179d506510e8","tags":["x_transferred","Patch","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/38xxx/CVE-2024-38604.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-38604","tags":["advisory"]},{"url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial"},"epss":0.00207,"epssPercentile":0.10884,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2024-38604","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-38604","ok":true,"note":"Analyzed"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2024-38604","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2024-38604","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}