{
  "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-2025-38097",
    "sourceURL": "https://www.cve.org/CVERecord?id=CVE-2025-38097",
    "idYear": 2025,
    "status": "PUBLISHED",
    "publishedAt": "2025-07-03T08:13:57.694Z",
    "updatedAt": "2026-10-15T21:52:08.064Z",
    "importedAt": "2026-10-24T01:57:34.152Z",
    "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": "espintcp: remove encap socket caching to avoid reference leak",
      "summary": "In the Linux kernel, the following vulnerability has been resolved:\n\nespintcp: remove encap socket caching to avoid reference leak\n\nThe current scheme for caching the encap socket can lead to reference\nleaks when we try to delete the netns.\n\nThe reference chain is: xfrm_state -> enacp_sk -> netns\n\nSince the encap socket is a userspace socket, it holds a reference on\nthe netns. If we delete the espintcp state (through flush or\nindividual delete) before removing the netns, the reference on the\nsocket is dropped and the netns is correctly deleted. Otherwise, the\nnetns may not be reachable anymore (if all processes within the ns\nhave terminated), so we cannot delete the xfrm state to drop its\nreference on the socket.\n\nThis patch results in a small (~2% in my tests) performance\nregression.\n\nA GC-type mechanism could be added for the socket cache, to clear\nreferences if the state hasn't been used \"recently\", but it's a lot\nmore complex than just not caching the socket.",
      "affected": [
        {
          "vendor": "Linux",
          "product": "Linux",
          "defaultStatus": "unaffected",
          "versions": [
            {
              "version": "e27cca96cd68fa2c6814c90f9a1cfd36bb68c593",
              "status": "affected",
              "versionType": "git",
              "lessThan": "e32bafd08ee35feacd47b05cc5bfe9cd9659cd25"
            },
            {
              "version": "e27cca96cd68fa2c6814c90f9a1cfd36bb68c593",
              "status": "affected",
              "versionType": "git",
              "lessThan": "9673ca00e6c5503069dc98780e2e89db0e663c16"
            },
            {
              "version": "e27cca96cd68fa2c6814c90f9a1cfd36bb68c593",
              "status": "affected",
              "versionType": "git",
              "lessThan": "e4cde54b46a87231c77256a633be1bef62687d69"
            },
            {
              "version": "e27cca96cd68fa2c6814c90f9a1cfd36bb68c593",
              "status": "affected",
              "versionType": "git",
              "lessThan": "b58a295d10065960bcb9d60cb8ca6ead9837cd27"
            },
            {
              "version": "e27cca96cd68fa2c6814c90f9a1cfd36bb68c593",
              "status": "affected",
              "versionType": "git",
              "lessThan": "9cbca30102028f9ad3d2098f935c4368f581fd07"
            },
            {
              "version": "e27cca96cd68fa2c6814c90f9a1cfd36bb68c593",
              "status": "affected",
              "versionType": "git",
              "lessThan": "74fd327767fb784c5875cf7c4ba1217f26020943"
            },
            {
              "version": "e27cca96cd68fa2c6814c90f9a1cfd36bb68c593",
              "status": "affected",
              "versionType": "git",
              "lessThan": "028363685bd0b7a19b4a820f82dd905b1dc83999"
            }
          ]
        },
        {
          "vendor": "Linux",
          "product": "Linux",
          "defaultStatus": "affected",
          "versions": [
            {
              "version": "5.6",
              "status": "affected"
            },
            {
              "version": "0",
              "status": "unaffected",
              "versionType": "semver",
              "lessThan": "5.6"
            },
            {
              "version": "5.10.270",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "5.10.*"
            },
            {
              "version": "5.15.221",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "5.15.*"
            },
            {
              "version": "6.1.141",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "6.1.*"
            },
            {
              "version": "6.6.93",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "6.6.*"
            },
            {
              "version": "6.12.31",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "6.12.*"
            },
            {
              "version": "6.14.9",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "6.14.*"
            },
            {
              "version": "6.15",
              "status": "unaffected",
              "versionType": "original_commit_for_fix",
              "lessThanOrEqual": "*"
            }
          ]
        }
      ]
    }
  }
}