Vulnerability Description
In the Linux kernel, the following vulnerability has been resolved: block: refine the EOF check in blkdev_iomap_begin blkdev_iomap_begin rounds down the offset to the logical block size before stashing it in iomap->offset and checking that it still is inside the inode size. Check the i_size check to the raw pos value so that we don't try a zero size write if iter->pos is unaligned.
CVSS Score
MEDIUM
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux Kernel | >= 6.6, < 6.6.33 |
References
- https://git.kernel.org/stable/c/0c12028aec837f5a002009bbf68d179d506510e8Patch
- https://git.kernel.org/stable/c/10b723bcba8986537a484aa94dbfc9093fd776a1Patch
- https://git.kernel.org/stable/c/72c54e063c32aeb38d43a2bd897821e6e5a1757dPatch
- https://git.kernel.org/stable/c/910717920c8c3f9386277a44c44d448058a18084Patch
- https://git.kernel.org/stable/c/0c12028aec837f5a002009bbf68d179d506510e8Patch
- https://git.kernel.org/stable/c/10b723bcba8986537a484aa94dbfc9093fd776a1Patch
- https://git.kernel.org/stable/c/72c54e063c32aeb38d43a2bd897821e6e5a1757dPatch
- https://git.kernel.org/stable/c/910717920c8c3f9386277a44c44d448058a18084Patch
FAQ
What is CVE-2024-38604?
CVE-2024-38604 is a vulnerability with a CVSS score of 5.5 (MEDIUM). In the Linux kernel, the following vulnerability has been resolved: block: refine the EOF check in blkdev_iomap_begin blkdev_iomap_begin rounds down the offset to the logical block size before stash...
How severe is CVE-2024-38604?
CVE-2024-38604 has been rated MEDIUM with a CVSS base score of 5.5/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2024-38604?
Check the references section above for vendor advisories and patch information. Affected products include: Linux Linux Kernel.