{
  "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-50186",
    "sourceURL": "https://www.cve.org/CVERecord?id=CVE-2024-50186",
    "idYear": 2024,
    "status": "PUBLISHED",
    "publishedAt": "2024-11-08T05:38:27.272Z",
    "updatedAt": "2026-08-05T11:42:21.793Z",
    "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": "net: explicitly clear the sk pointer, when pf->create fails",
      "summary": "In the Linux kernel, the following vulnerability has been resolved:\n\nnet: explicitly clear the sk pointer, when pf->create fails\n\nWe have recently noticed the exact same KASAN splat as in commit\n6cd4a78d962b (\"net: do not leave a dangling sk pointer, when socket\ncreation fails\"). The problem is that commit did not fully address the\nproblem, as some pf->create implementations do not use sk_common_release\nin their error paths.\n\nFor example, we can use the same reproducer as in the above commit, but\nchanging ping to arping. arping uses AF_PACKET socket and if packet_create\nfails, it will just sk_free the allocated sk object.\n\nWhile we could chase all the pf->create implementations and make sure they\nNULL the freed sk object on error from the socket, we can't guarantee\nfuture protocols will not make the same mistake.\n\nSo it is easier to just explicitly NULL the sk pointer upon return from\npf->create in __sock_create. We do know that pf->create always releases the\nallocated sk object on error, so if the pointer is not NULL, it is\ndefinitely dangling.",
      "affected": [
        {
          "vendor": "Linux",
          "product": "Linux",
          "defaultStatus": "unaffected",
          "versions": [
            {
              "version": "78e4aa528a7b1204219d808310524344f627d069",
              "status": "affected",
              "versionType": "git",
              "lessThan": "daf462ff3cde6ecf22b98d9ae770232c10d28de2"
            },
            {
              "version": "893eeba94c40d513cd0fe6539330ebdaea208c0e",
              "status": "affected",
              "versionType": "git",
              "lessThan": "b7d22a79ff4e962b8af5ffe623abd1d6c179eb9f"
            },
            {
              "version": "454c454ed645fed051216b79622f7cb69c1638f5",
              "status": "affected",
              "versionType": "git",
              "lessThan": "563e6892e21d6ecabdf62103fc4e7b326d212334"
            },
            {
              "version": "6cd4a78d962bebbaf8beb7d2ead3f34120e3f7b2",
              "status": "affected",
              "versionType": "git",
              "lessThan": "8e1b72fd74bf9da3b099d09857f4e7f114f38e12"
            },
            {
              "version": "6cd4a78d962bebbaf8beb7d2ead3f34120e3f7b2",
              "status": "affected",
              "versionType": "git",
              "lessThan": "631083143315d1b192bd7d915b967b37819e88ea"
            },
            {
              "version": "5dfe2408fd7dc4d2e7ac38a116ff0a37b1cfd3b9",
              "status": "affected",
              "versionType": "git"
            },
            {
              "version": "5.15.162",
              "status": "affected",
              "versionType": "semver",
              "lessThan": "5.15.168"
            },
            {
              "version": "6.1.96",
              "status": "affected",
              "versionType": "semver",
              "lessThan": "6.1.113"
            },
            {
              "version": "6.6.36",
              "status": "affected",
              "versionType": "semver",
              "lessThan": "6.6.57"
            },
            {
              "version": "6.9.7",
              "status": "affected",
              "versionType": "semver",
              "lessThan": "6.10"
            }
          ]
        },
        {
          "vendor": "Linux",
          "product": "Linux",
          "defaultStatus": "affected",
          "versions": [
            {
              "version": "6.10",
              "status": "affected"
            },
            {
              "version": "0",
              "status": "unaffected",
              "versionType": "semver",
              "lessThan": "6.10"
            },
            {
              "version": "5.15.168",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "5.15.*"
            },
            {
              "version": "6.1.113",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "6.1.*"
            },
            {
              "version": "6.6.57",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "6.6.*"
            },
            {
              "version": "6.11.4",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "6.11.*"
            },
            {
              "version": "6.12",
              "status": "unaffected",
              "versionType": "original_commit_for_fix",
              "lessThanOrEqual": "*"
            }
          ]
        }
      ]
    }
  }
}