{
  "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-2022-48988",
    "sourceURL": "https://www.cve.org/CVERecord?id=CVE-2022-48988",
    "idYear": 2022,
    "status": "PUBLISHED",
    "publishedAt": "2024-10-21T20:06:04.601Z",
    "updatedAt": "2026-08-05T08:53:17.372Z",
    "importedAt": "2026-10-24T01:56:45.230Z",
    "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": "memcg: fix possible use-after-free in memcg_write_event_control()",
      "summary": "In the Linux kernel, the following vulnerability has been resolved:\n\nmemcg: fix possible use-after-free in memcg_write_event_control()\n\nmemcg_write_event_control() accesses the dentry->d_name of the specified\ncontrol fd to route the write call.  As a cgroup interface file can't be\nrenamed, it's safe to access d_name as long as the specified file is a\nregular cgroup file.  Also, as these cgroup interface files can't be\nremoved before the directory, it's safe to access the parent too.\n\nPrior to 347c4a874710 (\"memcg: remove cgroup_event->cft\"), there was a\ncall to __file_cft() which verified that the specified file is a regular\ncgroupfs file before further accesses.  The cftype pointer returned from\n__file_cft() was no longer necessary and the commit inadvertently dropped\nthe file type check with it allowing any file to slip through.  With the\ninvarients broken, the d_name and parent accesses can now race against\nrenames and removals of arbitrary files and cause use-after-free's.\n\nFix the bug by resurrecting the file type check in __file_cft().  Now that\ncgroupfs is implemented through kernfs, checking the file operations needs\nto go through a layer of indirection.  Instead, let's check the superblock\nand dentry type.",
      "affected": [
        {
          "vendor": "Linux",
          "product": "Linux",
          "defaultStatus": "unaffected",
          "versions": [
            {
              "version": "347c4a8747104a945ecced358944e42879176ca5",
              "status": "affected",
              "versionType": "git",
              "lessThan": "b77600e26fd48727a95ffd50ba1e937efb548125"
            },
            {
              "version": "347c4a8747104a945ecced358944e42879176ca5",
              "status": "affected",
              "versionType": "git",
              "lessThan": "e1ae97624ecf400ea56c238bff23e5cd139df0b8"
            },
            {
              "version": "347c4a8747104a945ecced358944e42879176ca5",
              "status": "affected",
              "versionType": "git",
              "lessThan": "35963b31821920908e397146502066f6b032c917"
            },
            {
              "version": "347c4a8747104a945ecced358944e42879176ca5",
              "status": "affected",
              "versionType": "git",
              "lessThan": "f1f7f36cf682fa59db15e2089039a2eeb58ff2ad"
            },
            {
              "version": "347c4a8747104a945ecced358944e42879176ca5",
              "status": "affected",
              "versionType": "git",
              "lessThan": "aad8bbd17a1d586005feb9226c2e9cfce1432e13"
            },
            {
              "version": "347c4a8747104a945ecced358944e42879176ca5",
              "status": "affected",
              "versionType": "git",
              "lessThan": "0ed074317b835caa6c03bcfa8f133365324673dc"
            },
            {
              "version": "347c4a8747104a945ecced358944e42879176ca5",
              "status": "affected",
              "versionType": "git",
              "lessThan": "4a7ba45b1a435e7097ca0f79a847d0949d0eb088"
            }
          ]
        },
        {
          "vendor": "Linux",
          "product": "Linux",
          "defaultStatus": "affected",
          "versions": [
            {
              "version": "3.14",
              "status": "affected"
            },
            {
              "version": "0",
              "status": "unaffected",
              "versionType": "semver",
              "lessThan": "3.14"
            },
            {
              "version": "4.14.302",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "4.14.*"
            },
            {
              "version": "4.19.269",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "4.19.*"
            },
            {
              "version": "5.4.227",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "5.4.*"
            },
            {
              "version": "5.10.159",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "5.10.*"
            },
            {
              "version": "5.15.83",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "5.15.*"
            },
            {
              "version": "6.0.13",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "6.0.*"
            },
            {
              "version": "6.1",
              "status": "unaffected",
              "versionType": "original_commit_for_fix",
              "lessThanOrEqual": "*"
            }
          ]
        }
      ]
    }
  }
}