{
  "schemaVersion": 1,
  "attribution": [
    {
      "source": "CISA Known Exploited Vulnerabilities",
      "url": "https://www.cisa.gov/known-exploited-vulnerabilities-catalog",
      "licence": "US government work"
    },
    {
      "source": "GitHub Advisory Database",
      "url": "https://github.com/advisories",
      "licence": "CC BY 4.0"
    },
    {
      "source": "Have I Been Pwned",
      "url": "https://haveibeenpwned.com/",
      "licence": "CC BY 4.0"
    },
    {
      "source": "CVE Program (CVE records)",
      "url": "https://www.cve.org/Legal/TermsOfUse",
      "licence": "CVE Terms of Use",
      "notice": "Copyright © 1999-2026, The MITRE Corporation. CVE is a trademark and the CVE logo is a registered trademark of The MITRE Corporation.",
      "terms": "CVE Usage: MITRE hereby grants you a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare derivative works of, publicly display, publicly perform, sublicense, and distribute Common Vulnerabilities and Exposures (CVE™). Any copy you make for such purposes is authorized provided that you reproduce MITRE's copyright designation and this license in any such copy."
    },
    {
      "source": "FIRST EPSS",
      "url": "https://www.first.org/epss/",
      "licence": "free to use; FIRST requests attribution"
    }
  ],
  "record": {
    "id": "CVE-2024-42084",
    "sourceURL": "https://www.cve.org/CVERecord?id=CVE-2024-42084",
    "idYear": 2024,
    "status": "PUBLISHED",
    "publishedAt": "2024-07-29T16:26:20.581Z",
    "updatedAt": "2026-05-11T20:26:40.945Z",
    "importedAt": "2026-10-24T01:57:16.009Z",
    "snapshot": {
      "id": "cve_2026-10-24_midnight_baseline",
      "at": "2026-10-24T00:00:00.000Z",
      "source": "https://github.com/CVEProject/cvelistV5/releases/tag/cve_2026-10-24_0100Z"
    },
    "facts": {
      "title": "ftruncate: pass a signed offset",
      "summary": "In the Linux kernel, the following vulnerability has been resolved:\n\nftruncate: pass a signed offset\n\nThe old ftruncate() syscall, using the 32-bit off_t misses a sign\nextension when called in compat mode on 64-bit architectures.  As a\nresult, passing a negative length accidentally succeeds in truncating\nto file size between 2GiB and 4GiB.\n\nChanging the type of the compat syscall to the signed compat_off_t\nchanges the behavior so it instead returns -EINVAL.\n\nThe native entry point, the truncate() syscall and the corresponding\nloff_t based variants are all correct already and do not suffer\nfrom this mistake.",
      "affected": [
        {
          "vendor": "Linux",
          "product": "Linux",
          "defaultStatus": "unaffected",
          "versions": [
            {
              "version": "3f6d078d4accfff8b114f968259a060bfdc7c682",
              "status": "affected",
              "versionType": "git",
              "lessThan": "c329760749b5419769e57cb2be80955d2805f9c9"
            },
            {
              "version": "3f6d078d4accfff8b114f968259a060bfdc7c682",
              "status": "affected",
              "versionType": "git",
              "lessThan": "f531d4bc6c5588d713359e42ed65e46816d841d8"
            },
            {
              "version": "3f6d078d4accfff8b114f968259a060bfdc7c682",
              "status": "affected",
              "versionType": "git",
              "lessThan": "84bf6b64a1a0dfc6de7e1b1c776d58d608e7865a"
            },
            {
              "version": "3f6d078d4accfff8b114f968259a060bfdc7c682",
              "status": "affected",
              "versionType": "git",
              "lessThan": "dbb226d81cd02cee140139c2369791e6f61f2007"
            },
            {
              "version": "3f6d078d4accfff8b114f968259a060bfdc7c682",
              "status": "affected",
              "versionType": "git",
              "lessThan": "5ae6af68410bdad6181ec82104bb9985a7a6a0fa"
            },
            {
              "version": "3f6d078d4accfff8b114f968259a060bfdc7c682",
              "status": "affected",
              "versionType": "git",
              "lessThan": "836359247b0403e0634bfbc83e5bb8063fad287a"
            },
            {
              "version": "3f6d078d4accfff8b114f968259a060bfdc7c682",
              "status": "affected",
              "versionType": "git",
              "lessThan": "930a4c369f74da26816eaaa71b5888d29b759c27"
            },
            {
              "version": "3f6d078d4accfff8b114f968259a060bfdc7c682",
              "status": "affected",
              "versionType": "git",
              "lessThan": "4b8e88e563b5f666446d002ad0dc1e6e8e7102b0"
            }
          ]
        },
        {
          "vendor": "Linux",
          "product": "Linux",
          "defaultStatus": "affected",
          "versions": [
            {
              "version": "3.9",
              "status": "affected"
            },
            {
              "version": "0",
              "status": "unaffected",
              "versionType": "semver",
              "lessThan": "3.9"
            },
            {
              "version": "4.19.317",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "4.19.*"
            },
            {
              "version": "5.4.279",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "5.4.*"
            },
            {
              "version": "5.10.221",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "5.10.*"
            },
            {
              "version": "5.15.162",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "5.15.*"
            },
            {
              "version": "6.1.97",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "6.1.*"
            },
            {
              "version": "6.6.37",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "6.6.*"
            },
            {
              "version": "6.9.8",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "6.9.*"
            },
            {
              "version": "6.10",
              "status": "unaffected",
              "versionType": "original_commit_for_fix",
              "lessThanOrEqual": "*"
            }
          ]
        }
      ]
    }
  }
}