CVE-2024-38604: block: refine the EOF check in blkdev_iomap_begin
Vulnerability summary
CVE-2024-38604 is a medium (CVSS 5.5) vulnerability in linux. EPSS estimates a 0.21% chance of exploitation in the next 30 days, higher than 10.8% of scored vulnerabilities.
Not severe (CVSS 5.5, local access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 13 · Related 10Timeline
- 19-06-2024PublishedVulnerability first disclosed.
- 11-05-2026Last modifiedVulnerability information updated.
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 metrics
3 scores · 3 sources · 1 version- OSV · UbuntuEcosystem advisory · calculated5.5MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- OSV · DebianEcosystem advisory · calculated5.5MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
EPSS trend
Probability
0.21%
Chance of exploitation in the next 30 days
Percentile
11%
Versus all other CVEs
30-day change
No change 0.00 pp
From 0.21% on 04-10-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeNo weakness data has been published for this record.
Affected systems
Known conditions: local access, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.
Ubuntu82 products
- linux< 6.8.0-40.40
- linux-allwinner-5.19All versions (No fix recorded)
- linux-aws< 6.8.0-1013.14
- linux-aws-5.0All versions (No fix recorded)
- linux-aws-5.11All versions (No fix recorded)
Linux2 products
- linux≥ 487c607df790d366e67a7d6a30adf785cdd98e55, < 910717920c8c3f9386277a44c44d448058a18084 | ≥ 487c607df790d366e67a7d6a30adf785cdd98e55, < 72c54e063c32aeb38d43a2bd897821e6e5a1757d | ≥ 487c607df790d366e67a7d6a30adf785cdd98e55, < 10b723bcba8986537a484aa94dbfc9093fd776a1 | ≥ 487c607df790d366e67a7d6a30adf785cdd98e55, < 0c12028aec837f5a002009bbf68d179d506510e8 | 6.6
- linux_kernel≥ 6.6, < 6.6.33 | ≥ 6.7, < 6.8.12 | ≥ 6.9, < 6.9.3
Debian1 product
- linux< 6.8.12-1
3 vendors · 85 products