VDB
DEBIAN-CVE-2024-42084
DEBIAN-CVE-2024-42084
PUBLISHED
CVSS 5.5 MEDIUM
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.
Risk Scores
CVSS v3.1
5.5
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Debian:11 | linux-6.1 | 0, 6.1.112-1~deb11u1, 6.1.106-3~deb11u2 |
| Debian:14 | linux | 0, 0 |
| Debian:11 | linux | 5.10.70-1, 5.10.92-1, 5.10.92-1~bpo10+1 |
| Debian:13 | linux | 0, 0 |
| Debian:12 | linux | 6.1.85-1, 6.1.90-1, 6.1.90-1~bpo11+1 |
Timeline
- Jul 29, 2024 CVE Published
- Apr 28, 2026 CVE Updated