CVE-2024-42084: linux
Vulnerability summary
CVE-2024-42084 is a medium (CVSS 5.5) vulnerability in linux. EPSS estimates a 0.23% chance of exploitation in the next 30 days, higher than 12.7% of scored vulnerabilities.
Advisory lineage
Upstream 0 · Downstream 27 · Related 22Timeline
- 29-07-2024PublishedVulnerability first disclosed.
- 11-05-2026Last modifiedVulnerability information updated.
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.
CVSS metrics
3 scores · 3 sources · 1 version- OSV · UbuntuEcosystem advisory · calculated5.5MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N
- OSV · DebianEcosystem advisory · calculated5.5MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N
EPSS trend
Probability
0.23%
Chance of exploitation in the next 30 days
Percentile
13%
Versus all other CVEs
30-day change
0.00 pp
From 0.23% on 18-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeNo weakness data has been published for this record.
Affected systems
Ubuntu129 products
- linuxAll versions (No fix recorded) | < 5.4.0-195.215 | < 5.15.0-121.131 | < 6.8.0-48.48
- linux-allwinner-5.19All versions (No fix recorded)
- linux-awsAll versions (No fix recorded) | < 5.4.0-1132.142 | < 5.15.0-1069.75 | < 6.8.0-1018.20
- linux-aws-5.0All versions (No fix recorded)
- linux-aws-5.11All versions (No fix recorded)
Linux2 products
- linux≥ 3f6d078d4accfff8b114f968259a060bfdc7c682, < c329760749b5419769e57cb2be80955d2805f9c9 | ≥ 3f6d078d4accfff8b114f968259a060bfdc7c682, < f531d4bc6c5588d713359e42ed65e46816d841d8 | ≥ 3f6d078d4accfff8b114f968259a060bfdc7c682, < 84bf6b64a1a0dfc6de7e1b1c776d58d608e7865a | ≥ 3f6d078d4accfff8b114f968259a060bfdc7c682, < dbb226d81cd02cee140139c2369791e6f61f2007 | ≥ 3f6d078d4accfff8b114f968259a060bfdc7c682, < 5ae6af68410bdad6181ec82104bb9985a7a6a0fa | ≥ 3f6d078d4accfff8b114f968259a060bfdc7c682, < 836359247b0403e0634bfbc83e5bb8063fad287a | ≥ 3f6d078d4accfff8b114f968259a060bfdc7c682, < 930a4c369f74da26816eaaa71b5888d29b759c27 | ≥ 3f6d078d4accfff8b114f968259a060bfdc7c682, < 4b8e88e563b5f666446d002ad0dc1e6e8e7102b0 | 3.9
- linux_kernel≥ 3.9, < 4.19.317 | ≥ 4.20, < 5.4.279 | ≥ 5.5, < 5.10.221 | ≥ 5.11, < 5.15.162 | ≥ 5.16, < 6.1.97 | ≥ 6.2, < 6.6.37 | ≥ 6.7, < 6.9.8 | 6.10:rc1 | 6.10:rc2 | 6.10:rc3 | 6.10:rc4 | 6.10:rc5
Debian1 product
- linux< 6.1.98-1 | < 6.9.8-1
3 vendors · 132 products