{
  "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-57892",
    "sourceURL": "https://www.cve.org/CVERecord?id=CVE-2024-57892",
    "idYear": 2024,
    "status": "PUBLISHED",
    "publishedAt": "2025-01-15T13:05:44.635Z",
    "updatedAt": "2026-05-11T20:59:55.049Z",
    "importedAt": "2026-10-24T01:57:20.494Z",
    "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": "ocfs2: fix slab-use-after-free due to dangling pointer dqi_priv",
      "summary": "In the Linux kernel, the following vulnerability has been resolved:\n\nocfs2: fix slab-use-after-free due to dangling pointer dqi_priv\n\nWhen mounting ocfs2 and then remounting it as read-only, a\nslab-use-after-free occurs after the user uses a syscall to\nquota_getnextquota.  Specifically, sb_dqinfo(sb, type)->dqi_priv is the\ndangling pointer.\n\nDuring the remounting process, the pointer dqi_priv is freed but is never\nset as null leaving it to be accessed.  Additionally, the read-only option\nfor remounting sets the DQUOT_SUSPENDED flag instead of setting the\nDQUOT_USAGE_ENABLED flags.  Moreover, later in the process of getting the\nnext quota, the function ocfs2_get_next_id is called and only checks the\nquota usage flags and not the quota suspended flags.\n\nTo fix this, I set dqi_priv to null when it is freed after remounting with\nread-only and put a check for DQUOT_SUSPENDED in ocfs2_get_next_id.\n\n[akpm@linux-foundation.org: coding-style cleanups]",
      "affected": [
        {
          "vendor": "Linux",
          "product": "Linux",
          "defaultStatus": "unaffected",
          "versions": [
            {
              "version": "8f9e8f5fcc059a3cba87ce837c88316797ef3645",
              "status": "affected",
              "versionType": "git",
              "lessThan": "58f9e20e2a7602e1dd649a1ec4790077c251cb6c"
            },
            {
              "version": "8f9e8f5fcc059a3cba87ce837c88316797ef3645",
              "status": "affected",
              "versionType": "git",
              "lessThan": "8ff6f635a08c30559ded0c110c7ce03ba7747d11"
            },
            {
              "version": "8f9e8f5fcc059a3cba87ce837c88316797ef3645",
              "status": "affected",
              "versionType": "git",
              "lessThan": "f44e6d70c100614c211703f065cad448050e4a0e"
            },
            {
              "version": "8f9e8f5fcc059a3cba87ce837c88316797ef3645",
              "status": "affected",
              "versionType": "git",
              "lessThan": "2d431192486367eee03cc28d0b53b97dafcb8e63"
            },
            {
              "version": "8f9e8f5fcc059a3cba87ce837c88316797ef3645",
              "status": "affected",
              "versionType": "git",
              "lessThan": "2e3d203b1adede46bbba049e497765d67865be18"
            },
            {
              "version": "8f9e8f5fcc059a3cba87ce837c88316797ef3645",
              "status": "affected",
              "versionType": "git",
              "lessThan": "ba950a02d8d23811aa1120affd3adedcfac6153d"
            },
            {
              "version": "8f9e8f5fcc059a3cba87ce837c88316797ef3645",
              "status": "affected",
              "versionType": "git",
              "lessThan": "5f3fd772d152229d94602bca243fbb658068a597"
            }
          ]
        },
        {
          "vendor": "Linux",
          "product": "Linux",
          "defaultStatus": "affected",
          "versions": [
            {
              "version": "4.6",
              "status": "affected"
            },
            {
              "version": "0",
              "status": "unaffected",
              "versionType": "semver",
              "lessThan": "4.6"
            },
            {
              "version": "5.4.290",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "5.4.*"
            },
            {
              "version": "5.10.234",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "5.10.*"
            },
            {
              "version": "5.15.177",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "5.15.*"
            },
            {
              "version": "6.1.125",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "6.1.*"
            },
            {
              "version": "6.6.70",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "6.6.*"
            },
            {
              "version": "6.12.9",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "6.12.*"
            },
            {
              "version": "6.13",
              "status": "unaffected",
              "versionType": "original_commit_for_fix",
              "lessThanOrEqual": "*"
            }
          ]
        }
      ]
    }
  }
}