ghsa-m8x2-qgmc-g4c8
Vulnerability from github
Published
2024-06-19 15:30
Modified
2024-06-19 15:30
Details
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.
{ "affected": [], "aliases": [ "CVE-2024-38604" ], "database_specific": { "cwe_ids": [], "github_reviewed": false, "github_reviewed_at": null, "nvd_published_at": "2024-06-19T14:15:20Z", "severity": null }, "details": "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-\u003eoffset 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\u0027t try a\nzero size write if iter-\u003epos is unaligned.", "id": "GHSA-m8x2-qgmc-g4c8", "modified": "2024-06-19T15:30:54Z", "published": "2024-06-19T15:30:54Z", "references": [ { "type": "ADVISORY", "url": "https://nvd.nist.gov/vuln/detail/CVE-2024-38604" }, { "type": "WEB", "url": "https://git.kernel.org/stable/c/0c12028aec837f5a002009bbf68d179d506510e8" }, { "type": "WEB", "url": "https://git.kernel.org/stable/c/10b723bcba8986537a484aa94dbfc9093fd776a1" }, { "type": "WEB", "url": "https://git.kernel.org/stable/c/72c54e063c32aeb38d43a2bd897821e6e5a1757d" }, { "type": "WEB", "url": "https://git.kernel.org/stable/c/910717920c8c3f9386277a44c44d448058a18084" } ], "schema_version": "1.4.0", "severity": [] }
Loading...