🛡️ CVE-2024-50250 on Debian — linux
Description
In the Linux kernel, the following vulnerability has been resolved: fsdax: dax_unshare_iter needs to copy entire blocks The code that copies data from srcmap to iomap in dax_unshare_iter is very very broken, which bfoster's recent fsx changes have exposed. If the pos and len passed to dax_file_unshare are not aligned to an fsblock boundary, the iter pos and length in the _iter function will reflect this unalignment. dax_iomap_direct_access always returns a pointer to the start of the kmapped fsdax page, even if its pos argument is in the middle of that page. This is catastrophic for data integrity when iter->pos is not aligned to a page, because daddr/saddr do not point to the same byte in the file as iter->pos. Hence we corrupt user data by copying it to the wrong place. If iter->pos + iomap_length() in the _iter function not aligned to a page, then we fail to copy a full block, and only partially populate the destination block. This is catastrophic for data confidentiality because we expose stale pmem contents. Fix both of these issues by aligning copy_pos/copy_len to a page boundary (remember, this is fsdax so 1 fsblock == 1 base page) so that we always copy full blocks. We're not done yet -- there's no call to invalidate_inode_pages2_range, so programs that have the file range mmap'd will continue accessing the old memory mapping after the file metadata updates have completed. Be careful with the return value -- if the unshare succeeds, we still need to return the number of bytes that the iomap iter thinks we're operating on.
Distribution advisory
This page covers CVE-2024-50250 as tracked by Debian, for the package linux. The fix is available in version 6.11.7-1; earlier versions remain affected.
How this vulnerability can be exploited
This issue can be reached with local access to the system, attack complexity is low, an attacker needs low-level privileges on the target. No user interaction is required. The scope is unchanged, so the impact stays within the vulnerable component. Rated impact: confidentiality high, integrity high, availability none.
Affected software
DEBIAN-CVE-2024-50250 is recorded against 2 packages.
- linux (fixed in 6.11.7-1)
- linux-6.1 (fixed in 6.1.119-1~deb11u1)
Timeline and source
Published on 9 November 2024 and last revised on 5 August 2026. No public exploit is currently recorded for this entry. Record sourced from OSV.
References
CVE-2024-50250 on other distributions
Each distribution ships its own build and its own fixed version. Pick the one you run:
Details
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
Affected Packages
| Software | From version | Fixed in |
|---|---|---|
| linux | — | 6.11.7-1 |
| linux-6.1 | — | 6.1.119-1~deb11u1 |
References
Similar Threats
- Unknown CGA-23jx-hhcx-m389
- Unknown CGA-2qp7-6757-fmgc
- Unknown CGA-2rj5-jc55-r267
- Unknown CGA-3m96-cwq8-6xmx
- Unknown CGA-3qj9-973w-fh9g
More DEBIAN CVE 2024 advisories
Browse all of DEBIAN CVE 2024 in the advisory index.
- DEBIAN-CVE-2024-50242
- DEBIAN-CVE-2024-50243
- DEBIAN-CVE-2024-50244
- DEBIAN-CVE-2024-50245
- DEBIAN-CVE-2024-50246
- DEBIAN-CVE-2024-50247
- DEBIAN-CVE-2024-50248
- DEBIAN-CVE-2024-50249
- DEBIAN-CVE-2024-50251
- DEBIAN-CVE-2024-50252
- DEBIAN-CVE-2024-50253
- DEBIAN-CVE-2024-50254
- DEBIAN-CVE-2024-50255
- DEBIAN-CVE-2024-50256
- DEBIAN-CVE-2024-50257
- DEBIAN-CVE-2024-50258
Site Security Check
Is linux part of your stack?
DEBIAN-CVE-2024-50250 is rated CVSS 7.8 High. BotEraser scans your installation against known CVE records and tells you whether this vulnerability applies to the versions you actually run.
Scan My Site Free →No credit card required · Results in minutes
ⓘ Data Notice: The information presented above has been compiled from publicly available internet sources. Boteraser aggregates this data solely for informational purposes and does not independently classify, evaluate, or endorse any findings about the vulnerabilities listed. The accuracy and completeness of this information is the sole responsibility of the original publishers. Boteraser and its operators accept no liability for any decisions made based on this data.