{
  "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-41012",
    "sourceURL": "https://www.cve.org/CVERecord?id=CVE-2024-41012",
    "idYear": 2024,
    "status": "PUBLISHED",
    "publishedAt": "2024-07-23T08:06:02.579Z",
    "updatedAt": "2026-08-05T11:34:38.897Z",
    "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": "filelock: Remove locks reliably when fcntl/close race is detected",
      "summary": "In the Linux kernel, the following vulnerability has been resolved:\n\nfilelock: Remove locks reliably when fcntl/close race is detected\n\nWhen fcntl_setlk() races with close(), it removes the created lock with\ndo_lock_file_wait().\nHowever, LSMs can allow the first do_lock_file_wait() that created the lock\nwhile denying the second do_lock_file_wait() that tries to remove the lock.\nSeparately, posix_lock_file() could also fail to\nremove a lock due to GFP_KERNEL allocation failure (when splitting a range\nin the middle).\n\nAfter the bug has been triggered, use-after-free reads will occur in\nlock_get_status() when userspace reads /proc/locks. This can likely be used\nto read arbitrary kernel memory, but can't corrupt kernel memory.\n\nFix it by calling locks_remove_posix() instead, which is designed to\nreliably get rid of POSIX locks associated with the given file and\nfiles_struct and is also used by filp_flush().",
      "affected": [
        {
          "vendor": "Linux",
          "product": "Linux",
          "defaultStatus": "unaffected",
          "versions": [
            {
              "version": "c293621bbf678a3d85e3ed721c3921c8a670610d",
              "status": "affected",
              "versionType": "git",
              "lessThan": "d30ff33040834c3b9eee29740acd92f9c7ba2250"
            },
            {
              "version": "c293621bbf678a3d85e3ed721c3921c8a670610d",
              "status": "affected",
              "versionType": "git",
              "lessThan": "dc2ce1dfceaa0767211a9d963ddb029ab21c4235"
            },
            {
              "version": "c293621bbf678a3d85e3ed721c3921c8a670610d",
              "status": "affected",
              "versionType": "git",
              "lessThan": "5661b9c7ec189406c2dde00837aaa4672efb6240"
            },
            {
              "version": "c293621bbf678a3d85e3ed721c3921c8a670610d",
              "status": "affected",
              "versionType": "git",
              "lessThan": "52c87ab18c76c14d7209646ccb3283b3f5d87b22"
            },
            {
              "version": "c293621bbf678a3d85e3ed721c3921c8a670610d",
              "status": "affected",
              "versionType": "git",
              "lessThan": "ef8fc41cd6f95f9a4a3470f085aecf350569a0b3"
            },
            {
              "version": "c293621bbf678a3d85e3ed721c3921c8a670610d",
              "status": "affected",
              "versionType": "git",
              "lessThan": "5f5d0799eb0a01d550c21b7894e26b2d9db55763"
            },
            {
              "version": "c293621bbf678a3d85e3ed721c3921c8a670610d",
              "status": "affected",
              "versionType": "git",
              "lessThan": "b6d223942c34057fdfd8f149e763fa823731b224"
            },
            {
              "version": "c293621bbf678a3d85e3ed721c3921c8a670610d",
              "status": "affected",
              "versionType": "git",
              "lessThan": "3cad1bc010416c6dd780643476bc59ed742436b9"
            }
          ]
        },
        {
          "vendor": "Linux",
          "product": "Linux",
          "defaultStatus": "affected",
          "versions": [
            {
              "version": "2.6.13",
              "status": "affected"
            },
            {
              "version": "0",
              "status": "unaffected",
              "versionType": "semver",
              "lessThan": "2.6.13"
            },
            {
              "version": "4.19.319",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "4.19.*"
            },
            {
              "version": "5.4.281",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "5.4.*"
            },
            {
              "version": "5.10.223",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "5.10.*"
            },
            {
              "version": "5.15.164",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "5.15.*"
            },
            {
              "version": "6.1.101",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "6.1.*"
            },
            {
              "version": "6.6.42",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "6.6.*"
            },
            {
              "version": "6.9.9",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "6.9.*"
            },
            {
              "version": "6.10",
              "status": "unaffected",
              "versionType": "original_commit_for_fix",
              "lessThanOrEqual": "*"
            }
          ]
        }
      ]
    }
  }
}