CVE-2024-42084
publishedftruncate: pass a signed offset
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linux3f6d078d4accfff8b114f968259a060bfdc7c682 to < c329760749b5419769e57cb2be80955d2805f9c9 · 3f6d078d4accfff8b114f968259a060bfdc7c682 to < f531d4bc6c5588d713359e42ed65e46816d841d8 · 3f6d078d4accfff8b114f968259a060bfdc7c682 to < 84bf6b64a1a0dfc6de7e1b1c776d58d608e7865a · 3f6d078d4accfff8b114f968259a060bfdc7c682 to < dbb226d81cd02cee140139c2369791e6f61f2007 · 3f6d078d4accfff8b114f968259a060bfdc7c682 to < 5ae6af68410bdad6181ec82104bb9985a7a6a0fa · 3f6d078d4accfff8b114f968259a060bfdc7c682 to < 836359247b0403e0634bfbc83e5bb8063fad287a · 3f6d078d4accfff8b114f968259a060bfdc7c682 to < 930a4c369f74da26816eaaa71b5888d29b759c27 · 3f6d078d4accfff8b114f968259a060bfdc7c682 to < 4b8e88e563b5f666446d002ad0dc1e6e8e7102b0 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux3.9 (affected) · 0 to < 3.9 (unaffected · semver) · 4.19.317 through 4.19.* (unaffected · semver) · 5.4.279 through 5.4.* (unaffected · semver) · 5.10.221 through 5.10.* (unaffected · semver) · 5.15.162 through 5.15.* (unaffected · semver) · 6.1.97 through 6.1.* (unaffected · semver) · 6.6.37 through 6.6.* (unaffected · semver) · 6.9.8 through 6.9.* (unaffected · semver) · 6.10 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluationALAS2-2025-2778 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2 | Release evaluationALAS2KERNEL-5.10-2024-066 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2 | Release evaluationALAS2KERNEL-5.15-2024-053 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2 | Release evaluationALAS2KERNEL-5.4-2024-084 | Fixed | Not stated | Amazon Linux assessment |
| AlmaLinux | 8 | bpftool | Advisory build | 4.18.0-553.22.1.el8_10 | ALSA-2024:7000 |
| Debian | bullseye | linux-6.1 | Advisory build | 6.1.119-1~deb11u1 | DLA-4008-1 |
Show 99 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Amazon Linux | AL2023 | Release evaluationALAS2023-2024-714 | Fixed | Not stated | Amazon Linux assessment |
| Oracle Linux | 7 | kernel-uekaarch64 | Advisory build | 0:4.14.35-2047.541.4.1.el7uek | ELSA-2024-12779 |
| AlmaLinux | 8 | kernel | Advisory build | 4.18.0-553.22.1.el8_10 | ALSA-2024:7000 |
| AlmaLinux | 8 | kernel-abi-stablelists | Advisory build | 4.18.0-553.22.1.el8_10 | ALSA-2024:7000 |
| AlmaLinux | 8 | kernel-core | Advisory build | 4.18.0-553.22.1.el8_10 | ALSA-2024:7000 |
| AlmaLinux | 8 | kernel-cross-headers | Advisory build | 4.18.0-553.22.1.el8_10 | ALSA-2024:7000 |
| AlmaLinux | 8 | kernel-debug | Advisory build | 4.18.0-553.22.1.el8_10 | ALSA-2024:7000 |
| AlmaLinux | 8 | kernel-debug-core | Advisory build | 4.18.0-553.22.1.el8_10 | ALSA-2024:7000 |
| AlmaLinux | 8 | kernel-debug-devel | Advisory build | 4.18.0-553.22.1.el8_10 | ALSA-2024:7000 |
| AlmaLinux | 8 | kernel-debug-modules | Advisory build | 4.18.0-553.22.1.el8_10 | ALSA-2024:7000 |
| AlmaLinux | 8 | kernel-debug-modules-extra | Advisory build | 4.18.0-553.22.1.el8_10 | ALSA-2024:7000 |
| AlmaLinux | 8 | kernel-devel | Advisory build | 4.18.0-553.22.1.el8_10 | ALSA-2024:7000 |
| AlmaLinux | 8 | kernel-doc | Advisory build | 4.18.0-553.22.1.el8_10 | ALSA-2024:7000 |
| AlmaLinux | 8 | kernel-headers | Advisory build | 4.18.0-553.22.1.el8_10 | ALSA-2024:7000 |
| AlmaLinux | 8 | kernel-modules | Advisory build | 4.18.0-553.22.1.el8_10 | ALSA-2024:7000 |
| AlmaLinux | 8 | kernel-modules-extra | Advisory build | 4.18.0-553.22.1.el8_10 | ALSA-2024:7000 |
| AlmaLinux | 8 | kernel-rt | Advisory build | 4.18.0-553.22.1.rt7.363.el8_10 | ALSA-2024:7001 |
| AlmaLinux | 8 | kernel-rt-core | Advisory build | 4.18.0-553.22.1.rt7.363.el8_10 | ALSA-2024:7001 |
| AlmaLinux | 8 | kernel-rt-debug | Advisory build | 4.18.0-553.22.1.rt7.363.el8_10 | ALSA-2024:7001 |
| AlmaLinux | 8 | kernel-rt-debug-core | Advisory build | 4.18.0-553.22.1.rt7.363.el8_10 | ALSA-2024:7001 |
| AlmaLinux | 8 | kernel-rt-debug-devel | Advisory build | 4.18.0-553.22.1.rt7.363.el8_10 | ALSA-2024:7001 |
| AlmaLinux | 8 | kernel-rt-debug-kvm | Advisory build | 4.18.0-553.22.1.rt7.363.el8_10 | ALSA-2024:7001 |
| AlmaLinux | 8 | kernel-rt-debug-modules | Advisory build | 4.18.0-553.22.1.rt7.363.el8_10 | ALSA-2024:7001 |
| AlmaLinux | 8 | kernel-rt-debug-modules-extra | Advisory build | 4.18.0-553.22.1.rt7.363.el8_10 | ALSA-2024:7001 |
| AlmaLinux | 8 | kernel-rt-devel | Advisory build | 4.18.0-553.22.1.rt7.363.el8_10 | ALSA-2024:7001 |
| AlmaLinux | 8 | kernel-rt-kvm | Advisory build | 4.18.0-553.22.1.rt7.363.el8_10 | ALSA-2024:7001 |
| AlmaLinux | 8 | kernel-rt-modules | Advisory build | 4.18.0-553.22.1.rt7.363.el8_10 | ALSA-2024:7001 |
| AlmaLinux | 8 | kernel-rt-modules-extra | Advisory build | 4.18.0-553.22.1.rt7.363.el8_10 | ALSA-2024:7001 |
| AlmaLinux | 8 | kernel-tools | Advisory build | 4.18.0-553.22.1.el8_10 | ALSA-2024:7000 |
| AlmaLinux | 8 | kernel-tools-libs | Advisory build | 4.18.0-553.22.1.el8_10 | ALSA-2024:7000 |
| AlmaLinux | 8 | kernel-tools-libs-devel | Advisory build | 4.18.0-553.22.1.el8_10 | ALSA-2024:7000 |
| AlmaLinux | 8 | kernel-zfcpdump | Advisory build | 4.18.0-553.22.1.el8_10 | ALSA-2024:7000 |
| AlmaLinux | 8 | kernel-zfcpdump-core | Advisory build | 4.18.0-553.22.1.el8_10 | ALSA-2024:7000 |
| AlmaLinux | 8 | kernel-zfcpdump-devel | Advisory build | 4.18.0-553.22.1.el8_10 | ALSA-2024:7000 |
| AlmaLinux | 8 | kernel-zfcpdump-modules | Advisory build | 4.18.0-553.22.1.el8_10 | ALSA-2024:7000 |
| AlmaLinux | 8 | kernel-zfcpdump-modules-extra | Advisory build | 4.18.0-553.22.1.el8_10 | ALSA-2024:7000 |
| AlmaLinux | 8 | perf | Advisory build | 4.18.0-553.22.1.el8_10 | ALSA-2024:7000 |
| AlmaLinux | 8 | python3-perf | Advisory build | 4.18.0-553.22.1.el8_10 | ALSA-2024:7000 |
| Oracle Linux | 7 | kernel-uekaarch64 | Advisory build | 0:5.4.17-2136.335.4.el7uek | ELSA-2024-12610 |
| Oracle Linux | 7 | kernel-uekx86_64 | Advisory build | 0:4.14.35-2047.541.4.1.el7uek | ELSA-2024-12779 |
| Oracle Linux | 7 | kernel-uekx86_64 | Advisory build | 0:5.4.17-2136.335.4.el7uek | ELSA-2024-12610 |
| Oracle Linux | 7 | kernel-uek-containerx86_64 | Advisory build | 0:5.4.17-2136.335.4.el7 | ELSA-2024-12612 |
| Oracle Linux | 7 | kernel-uek-container-debugx86_64 | Advisory build | 0:5.4.17-2136.335.4.el7 | ELSA-2024-12612 |
| Oracle Linux | 7 | kernel-uek-debugaarch64 | Advisory build | 0:4.14.35-2047.541.4.1.el7uek | ELSA-2024-12779 |
| Oracle Linux | 7 | kernel-uek-debugaarch64 | Advisory build | 0:5.4.17-2136.335.4.el7uek | ELSA-2024-12610 |
| Oracle Linux | 7 | kernel-uek-debugx86_64 | Advisory build | 0:4.14.35-2047.541.4.1.el7uek | ELSA-2024-12779 |
| Oracle Linux | 7 | kernel-uek-debugx86_64 | Advisory build | 0:5.4.17-2136.335.4.el7uek | ELSA-2024-12610 |
| Oracle Linux | 7 | kernel-uek-debug-develaarch64 | Advisory build | 0:4.14.35-2047.541.4.1.el7uek | ELSA-2024-12779 |
| Oracle Linux | 7 | kernel-uek-debug-develaarch64 | Advisory build | 0:5.4.17-2136.335.4.el7uek | ELSA-2024-12610 |
| Oracle Linux | 7 | kernel-uek-debug-develx86_64 | Advisory build | 0:4.14.35-2047.541.4.1.el7uek | ELSA-2024-12779 |
| Oracle Linux | 7 | kernel-uek-debug-develx86_64 | Advisory build | 0:5.4.17-2136.335.4.el7uek | ELSA-2024-12610 |
| Oracle Linux | 7 | kernel-uek-develaarch64 | Advisory build | 0:4.14.35-2047.541.4.1.el7uek | ELSA-2024-12779 |
| Oracle Linux | 7 | kernel-uek-develaarch64 | Advisory build | 0:5.4.17-2136.335.4.el7uek | ELSA-2024-12610 |
| Oracle Linux | 7 | kernel-uek-develx86_64 | Advisory build | 0:4.14.35-2047.541.4.1.el7uek | ELSA-2024-12779 |
| Oracle Linux | 7 | kernel-uek-develx86_64 | Advisory build | 0:5.4.17-2136.335.4.el7uek | ELSA-2024-12610 |
| Oracle Linux | 7 | kernel-uek-docaarch64 | Advisory build | 0:5.4.17-2136.335.4.el7uek | ELSA-2024-12610 |
| Oracle Linux | 7 | kernel-uek-docx86_64 | Advisory build | 0:4.14.35-2047.541.4.1.el7uek | ELSA-2024-12779 |
| Oracle Linux | 7 | kernel-uek-docx86_64 | Advisory build | 0:5.4.17-2136.335.4.el7uek | ELSA-2024-12610 |
| Oracle Linux | 7 | kernel-uek-headersaarch64 | Advisory build | 0:4.14.35-2047.541.4.1.el7uek | ELSA-2024-12779 |
| Oracle Linux | 7 | kernel-uek-toolsaarch64 | Advisory build | 0:4.14.35-2047.541.4.1.el7uek | ELSA-2024-12779 |
| Oracle Linux | 7 | kernel-uek-toolsaarch64 | Advisory build | 0:5.4.17-2136.335.4.el7uek | ELSA-2024-12610 |
| Oracle Linux | 7 | kernel-uek-toolsx86_64 | Advisory build | 0:4.14.35-2047.541.4.1.el7uek | ELSA-2024-12779 |
| Oracle Linux | 7 | kernel-uek-toolsx86_64 | Advisory build | 0:5.4.17-2136.335.4.el7uek | ELSA-2024-12610 |
| Oracle Linux | 7 | kernel-uek-tools-libsaarch64 | Advisory build | 0:4.14.35-2047.541.4.1.el7uek | ELSA-2024-12779 |
| Oracle Linux | 7 | kernel-uek-tools-libsaarch64 | Advisory build | 0:5.4.17-2136.335.4.el7uek | ELSA-2024-12610 |
| Oracle Linux | 7 | kernel-uek-tools-libs-develaarch64 | Advisory build | 0:4.14.35-2047.541.4.1.el7uek | ELSA-2024-12779 |
| Oracle Linux | 7 | perfaarch64 | Advisory build | 0:4.14.35-2047.541.4.1.el7uek | ELSA-2024-12779 |
| Oracle Linux | 7 | perfaarch64 | Advisory build | 0:5.4.17-2136.335.4.el7uek | ELSA-2024-12610 |
| Oracle Linux | 7 | python-perfaarch64 | Advisory build | 0:4.14.35-2047.541.4.1.el7uek | ELSA-2024-12779 |
| Oracle Linux | 7 | python-perfaarch64 | Advisory build | 0:5.4.17-2136.335.4.el7uek | ELSA-2024-12610 |
| Oracle Linux | 8 | bpftoolaarch64 | Advisory build | 0:4.18.0-553.22.1.el8_10 | ELSA-2024-7000 |
| Oracle Linux | 8 | bpftoolaarch64 | Advisory build | 0:5.15.0-210.163.7.el8uek | ELSA-2024-12618 |
| Oracle Linux | 8 | bpftoolx86_64 | Advisory build | 0:4.18.0-553.22.1.el8_10 | ELSA-2024-7000 |
| Oracle Linux | 8 | bpftoolx86_64 | Advisory build | 0:5.15.0-210.163.7.el8uek | ELSA-2024-12618 |
| Oracle Linux | 8 | kernelx86_64 | Advisory build | 0:4.18.0-553.22.1.el8_10 | ELSA-2024-7000 |
| Oracle Linux | 8 | kernel-abi-stablelistsx86_64 | Advisory build | 0:4.18.0-553.22.1.el8_10 | ELSA-2024-7000 |
| Oracle Linux | 8 | kernel-corex86_64 | Advisory build | 0:4.18.0-553.22.1.el8_10 | ELSA-2024-7000 |
| Oracle Linux | 8 | kernel-cross-headersaarch64 | Advisory build | 0:4.18.0-553.22.1.el8_10 | ELSA-2024-7000 |
| Oracle Linux | 8 | kernel-cross-headersx86_64 | Advisory build | 0:4.18.0-553.22.1.el8_10 | ELSA-2024-7000 |
| Oracle Linux | 8 | kernel-debugx86_64 | Advisory build | 0:4.18.0-553.22.1.el8_10 | ELSA-2024-7000 |
| Oracle Linux | 8 | kernel-debug-corex86_64 | Advisory build | 0:4.18.0-553.22.1.el8_10 | ELSA-2024-7000 |
| Oracle Linux | 8 | kernel-debug-develx86_64 | Advisory build | 0:4.18.0-553.22.1.el8_10 | ELSA-2024-7000 |
| Oracle Linux | 8 | kernel-debug-modulesx86_64 | Advisory build | 0:4.18.0-553.22.1.el8_10 | ELSA-2024-7000 |
| Oracle Linux | 8 | kernel-debug-modules-extrax86_64 | Advisory build | 0:4.18.0-553.22.1.el8_10 | ELSA-2024-7000 |
| Oracle Linux | 8 | kernel-develx86_64 | Advisory build | 0:4.18.0-553.22.1.el8_10 | ELSA-2024-7000 |
| Oracle Linux | 8 | kernel-docx86_64 | Advisory build | 0:4.18.0-553.22.1.el8_10 | ELSA-2024-7000 |
| Oracle Linux | 8 | kernel-headersaarch64 | Advisory build | 0:4.18.0-553.22.1.el8_10 | ELSA-2024-7000 |
| Oracle Linux | 8 | kernel-headersx86_64 | Advisory build | 0:4.18.0-553.22.1.el8_10 | ELSA-2024-7000 |
| Oracle Linux | 8 | kernel-modulesx86_64 | Advisory build | 0:4.18.0-553.22.1.el8_10 | ELSA-2024-7000 |
| Oracle Linux | 8 | kernel-modules-extrax86_64 | Advisory build | 0:4.18.0-553.22.1.el8_10 | ELSA-2024-7000 |
| Oracle Linux | 8 | kernel-toolsaarch64 | Advisory build | 0:4.18.0-553.22.1.el8_10 | ELSA-2024-7000 |
| Oracle Linux | 8 | kernel-toolsx86_64 | Advisory build | 0:4.18.0-553.22.1.el8_10 | ELSA-2024-7000 |
| Oracle Linux | 8 | kernel-tools-libsaarch64 | Advisory build | 0:4.18.0-553.22.1.el8_10 | ELSA-2024-7000 |
| Oracle Linux | 8 | kernel-tools-libsx86_64 | Advisory build | 0:4.18.0-553.22.1.el8_10 | ELSA-2024-7000 |
| Oracle Linux | 8 | kernel-tools-libs-develaarch64 | Advisory build | 0:4.18.0-553.22.1.el8_10 | ELSA-2024-7000 |
| Oracle Linux | 8 | kernel-tools-libs-develx86_64 | Advisory build | 0:4.18.0-553.22.1.el8_10 | ELSA-2024-7000 |
| Oracle Linux | 8 | kernel-uekaarch64 | Advisory build | 0:5.15.0-210.163.7.el8uek | ELSA-2024-12618 |
| Oracle Linux | 8 | kernel-uekaarch64 | Advisory build | 0:5.4.17-2136.335.4.el8uek | ELSA-2024-12610 |
| Oracle Linux | 8 | kernel-uekx86_64 | Advisory build | 0:5.15.0-210.163.7.el8uek | ELSA-2024-12618 |
Package entries are limited to the first 100 builds and 100 linked advisories.
Description
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | 3f6d078d4accfff8b114f968259a060bfdc7c682 to < c329760749b5419769e57cb2be80955d2805f9c9 (affected · git)3f6d078d4accfff8b114f968259a060bfdc7c682 to < f531d4bc6c5588d713359e42ed65e46816d841d8 (affected · git)3f6d078d4accfff8b114f968259a060bfdc7c682 to < 84bf6b64a1a0dfc6de7e1b1c776d58d608e7865a (affected · git)3f6d078d4accfff8b114f968259a060bfdc7c682 to < dbb226d81cd02cee140139c2369791e6f61f2007 (affected · git)3f6d078d4accfff8b114f968259a060bfdc7c682 to < 5ae6af68410bdad6181ec82104bb9985a7a6a0fa (affected · git)3f6d078d4accfff8b114f968259a060bfdc7c682 to < 836359247b0403e0634bfbc83e5bb8063fad287a (affected · git)3f6d078d4accfff8b114f968259a060bfdc7c682 to < 930a4c369f74da26816eaaa71b5888d29b759c27 (affected · git)3f6d078d4accfff8b114f968259a060bfdc7c682 to < 4b8e88e563b5f666446d002ad0dc1e6e8e7102b0 (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 3.9 (affected)0 to < 3.9 (unaffected · semver)4.19.317 through 4.19.* (unaffected · semver)5.4.279 through 5.4.* (unaffected · semver)5.10.221 through 5.10.* (unaffected · semver)5.15.162 through 5.15.* (unaffected · semver)6.1.97 through 6.1.* (unaffected · semver)6.6.37 through 6.6.* (unaffected · semver)6.9.8 through 6.9.* (unaffected · semver)6.10 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
9- https://git.kernel.org/stable/c/4b8e88e563b5f666446d002ad0dc1e6e8e7102b0
- https://git.kernel.org/stable/c/5ae6af68410bdad6181ec82104bb9985a7a6a0fa
- https://git.kernel.org/stable/c/836359247b0403e0634bfbc83e5bb8063fad287a
- https://git.kernel.org/stable/c/84bf6b64a1a0dfc6de7e1b1c776d58d608e7865a
- https://git.kernel.org/stable/c/930a4c369f74da26816eaaa71b5888d29b759c27
- https://git.kernel.org/stable/c/c329760749b5419769e57cb2be80955d2805f9c9
- https://git.kernel.org/stable/c/dbb226d81cd02cee140139c2369791e6f61f2007
- https://git.kernel.org/stable/c/f531d4bc6c5588d713359e42ed65e46816d841d8
- https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html
Provider assertions
3Linux · cna
ftruncate: pass a signed offset
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- d5810291a65f06b5a849cc3ff93333b6431bb1a401660dfe4418ddad4799bfa0
- Ingested
- 23 Sep 2026, 08:26:31 UTC
- Source record
- Official CVE record