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

VendorProductVersions
Debian:11linux-6.10, 6.1.112-1~deb11u1, 6.1.106-3~deb11u2
Debian:14linux0, 0
Debian:11linux5.10.70-1, 5.10.92-1, 5.10.92-1~bpo10+1
Debian:13linux0, 0
Debian:12linux6.1.85-1, 6.1.90-1, 6.1.90-1~bpo11+1

Timeline

  • Jul 29, 2024 CVE Published
  • Apr 28, 2026 CVE Updated
Open in Interactive Console →
$ Console Community · 100/wk Open console ›