CVE-2024-42084
CVE.org · Published
- Record status
- Published
- Identifier year (not publication year)
- 2024
- Source publication
- Source updated
- Imported by cveboard
- Source snapshot
- cve_2026-10-24_midnight_baseline ·
CNA source text (English)
ftruncate: pass a signed offset
In the Linux kernel, the following vulnerability has been resolved: ftruncate: pass a signed offset The old ftruncate() syscall, using the 32-bit off_t misses a sign extension when called in compat mode on 64-bit architectures. As a result, passing a negative length accidentally succeeds in truncating to file size between 2GiB and 4GiB. Changing the type of the compat syscall to the signed compat_off_t changes the behavior so it instead returns -EINVAL. The native entry point, the truncate() syscall and the corresponding loff_t based variants are all correct already and do not suffer from this mistake.
Scoped product and version facts
Fix information unknown; no fixed version is derived here. Missing information does not prove that no fix exists.
Exploitation unknown; this catalogue does not assess exploitation.
Linux
- Vendor
- Linux
- Product
- Linux
- Platforms
- Unknown
- Default status
unaffected
| Version (version) | Status (status) | Version scheme (versionType) | Exclusive end (lessThan) | Inclusive end (lessThanOrEqual) | Status changes (at → status) |
|---|---|---|---|---|---|
| 3f6d078d4accfff8b114f968259a060bfdc7c682 | affected | git | c329760749b5419769e57cb2be80955d2805f9c9 | Unavailable | None listed |
| 3f6d078d4accfff8b114f968259a060bfdc7c682 | affected | git | f531d4bc6c5588d713359e42ed65e46816d841d8 | Unavailable | None listed |
| 3f6d078d4accfff8b114f968259a060bfdc7c682 | affected | git | 84bf6b64a1a0dfc6de7e1b1c776d58d608e7865a | Unavailable | None listed |
| 3f6d078d4accfff8b114f968259a060bfdc7c682 | affected | git | dbb226d81cd02cee140139c2369791e6f61f2007 | Unavailable | None listed |
| 3f6d078d4accfff8b114f968259a060bfdc7c682 | affected | git | 5ae6af68410bdad6181ec82104bb9985a7a6a0fa | Unavailable | None listed |
| 3f6d078d4accfff8b114f968259a060bfdc7c682 | affected | git | 836359247b0403e0634bfbc83e5bb8063fad287a | Unavailable | None listed |
| 3f6d078d4accfff8b114f968259a060bfdc7c682 | affected | git | 930a4c369f74da26816eaaa71b5888d29b759c27 | Unavailable | None listed |
| 3f6d078d4accfff8b114f968259a060bfdc7c682 | affected | git | 4b8e88e563b5f666446d002ad0dc1e6e8e7102b0 | Unavailable | None listed |
Linux
- Vendor
- Linux
- Product
- Linux
- Platforms
- Unknown
- Default status
affected
| Version (version) | Status (status) | Version scheme (versionType) | Exclusive end (lessThan) | Inclusive end (lessThanOrEqual) | Status changes (at → status) |
|---|---|---|---|---|---|
| 3.9 | affected | Unavailable | Unavailable | Unavailable | None listed |
| 0 | unaffected | semver | 3.9 | Unavailable | None listed |
| 4.19.317 | unaffected | semver | Unavailable | 4.19.* | None listed |
| 5.4.279 | unaffected | semver | Unavailable | 5.4.* | None listed |
| 5.10.221 | unaffected | semver | Unavailable | 5.10.* | None listed |
| 5.15.162 | unaffected | semver | Unavailable | 5.15.* | None listed |
| 6.1.97 | unaffected | semver | Unavailable | 6.1.* | None listed |
| 6.6.37 | unaffected | semver | Unavailable | 6.6.* | None listed |
| 6.9.8 | unaffected | semver | Unavailable | 6.9.* | None listed |
| 6.10 | unaffected | original_commit_for_fix | Unavailable | * | None listed |