{
  "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-49085",
    "sourceURL": "https://www.cve.org/CVERecord?id=CVE-2022-49085",
    "idYear": 2022,
    "status": "PUBLISHED",
    "publishedAt": "2025-02-26T01:54:43.579Z",
    "updatedAt": "2026-08-05T08:53:48.711Z",
    "importedAt": "2026-10-24T01:56:49.724Z",
    "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": "drbd: Fix five use after free bugs in get_initial_state",
      "summary": "In the Linux kernel, the following vulnerability has been resolved:\n\ndrbd: Fix five use after free bugs in get_initial_state\n\nIn get_initial_state, it calls notify_initial_state_done(skb,..) if\ncb->args[5]==1. If genlmsg_put() failed in notify_initial_state_done(),\nthe skb will be freed by nlmsg_free(skb).\nThen get_initial_state will goto out and the freed skb will be used by\nreturn value skb->len, which is a uaf bug.\n\nWhat's worse, the same problem goes even further: skb can also be\nfreed in the notify_*_state_change -> notify_*_state calls below.\nThus 4 additional uaf bugs happened.\n\nMy patch lets the problem callee functions: notify_initial_state_done\nand notify_*_state_change return an error code if errors happen.\nSo that the error codes could be propagated and the uaf bugs can be avoid.\n\nv2 reports a compilation warning. This v3 fixed this warning and built\nsuccessfully in my local environment with no additional warnings.\nv2: https://lore.kernel.org/patchwork/patch/1435218/",
      "affected": [
        {
          "vendor": "Linux",
          "product": "Linux",
          "defaultStatus": "unaffected",
          "versions": [
            {
              "version": "a29728463b254ce81ecefdf20c1a02e01d9361da",
              "status": "affected",
              "versionType": "git",
              "lessThan": "0489700bfeb1e53eb2039c2291c67e71b0b40103"
            },
            {
              "version": "a29728463b254ce81ecefdf20c1a02e01d9361da",
              "status": "affected",
              "versionType": "git",
              "lessThan": "dcf6be17b5c53b741898d2223b23e66d682de300"
            },
            {
              "version": "a29728463b254ce81ecefdf20c1a02e01d9361da",
              "status": "affected",
              "versionType": "git",
              "lessThan": "188fe6b26765edbad4055611c0f788b6870f4024"
            },
            {
              "version": "a29728463b254ce81ecefdf20c1a02e01d9361da",
              "status": "affected",
              "versionType": "git",
              "lessThan": "b6a4055036eed1f5e239ce3d8b0db1ce38bba447"
            },
            {
              "version": "a29728463b254ce81ecefdf20c1a02e01d9361da",
              "status": "affected",
              "versionType": "git",
              "lessThan": "594205b4936771a250f9d141e7e0fff21c3dd2d9"
            },
            {
              "version": "a29728463b254ce81ecefdf20c1a02e01d9361da",
              "status": "affected",
              "versionType": "git",
              "lessThan": "a972c768723359ec995579902473028fe3cd64b1"
            },
            {
              "version": "a29728463b254ce81ecefdf20c1a02e01d9361da",
              "status": "affected",
              "versionType": "git",
              "lessThan": "de63e74da2333b4068bb79983e632db730fea97e"
            },
            {
              "version": "a29728463b254ce81ecefdf20c1a02e01d9361da",
              "status": "affected",
              "versionType": "git",
              "lessThan": "226e993c39405292781bfcf4b039a8db56aab362"
            },
            {
              "version": "a29728463b254ce81ecefdf20c1a02e01d9361da",
              "status": "affected",
              "versionType": "git",
              "lessThan": "aadb22ba2f656581b2f733deb3a467c48cc618f6"
            }
          ]
        },
        {
          "vendor": "Linux",
          "product": "Linux",
          "defaultStatus": "affected",
          "versions": [
            {
              "version": "4.5",
              "status": "affected"
            },
            {
              "version": "0",
              "status": "unaffected",
              "versionType": "semver",
              "lessThan": "4.5"
            },
            {
              "version": "4.9.311",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "4.9.*"
            },
            {
              "version": "4.14.276",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "4.14.*"
            },
            {
              "version": "4.19.238",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "4.19.*"
            },
            {
              "version": "5.4.189",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "5.4.*"
            },
            {
              "version": "5.10.111",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "5.10.*"
            },
            {
              "version": "5.15.34",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "5.15.*"
            },
            {
              "version": "5.16.20",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "5.16.*"
            },
            {
              "version": "5.17.3",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "5.17.*"
            },
            {
              "version": "5.18",
              "status": "unaffected",
              "versionType": "original_commit_for_fix",
              "lessThanOrEqual": "*"
            }
          ]
        }
      ]
    }
  }
}