{
  "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-39873",
    "sourceURL": "https://www.cve.org/CVERecord?id=CVE-2025-39873",
    "idYear": 2025,
    "status": "PUBLISHED",
    "publishedAt": "2025-09-23T06:00:46.157Z",
    "updatedAt": "2026-08-05T12:05:49.898Z",
    "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": "can: xilinx_can: xcan_write_frame(): fix use-after-free of transmitted SKB",
      "summary": "In the Linux kernel, the following vulnerability has been resolved:\n\ncan: xilinx_can: xcan_write_frame(): fix use-after-free of transmitted SKB\n\ncan_put_echo_skb() takes ownership of the SKB and it may be freed\nduring or after the call.\n\nHowever, xilinx_can xcan_write_frame() keeps using SKB after the call.\n\nFix that by only calling can_put_echo_skb() after the code is done\ntouching the SKB.\n\nThe tx_lock is held for the entire xcan_write_frame() execution and\nalso on the can_get_echo_skb() side so the order of operations does not\nmatter.\n\nAn earlier fix commit 3d3c817c3a40 (\"can: xilinx_can: Fix usage of skb\nmemory\") did not move the can_put_echo_skb() call far enough.\n\n[mkl: add \"commit\" in front of sha1 in patch description]\n[mkl: fix indention]",
      "affected": [
        {
          "vendor": "Linux",
          "product": "Linux",
          "defaultStatus": "unaffected",
          "versions": [
            {
              "version": "1598efe57b3e768056e4ca56cb9cf33111e68d1c",
              "status": "affected",
              "versionType": "git",
              "lessThan": "e202ffd9e54538ef67ec301ebd6d9da4823466c9"
            },
            {
              "version": "1598efe57b3e768056e4ca56cb9cf33111e68d1c",
              "status": "affected",
              "versionType": "git",
              "lessThan": "1139321161a3ba5e45e61e0738b37f42f20bc57a"
            },
            {
              "version": "1598efe57b3e768056e4ca56cb9cf33111e68d1c",
              "status": "affected",
              "versionType": "git",
              "lessThan": "94b050726288a56a6b8ff55aa641f2fedbd3b44c"
            },
            {
              "version": "1598efe57b3e768056e4ca56cb9cf33111e68d1c",
              "status": "affected",
              "versionType": "git",
              "lessThan": "725b33deebd6e4c96fe7893f384510a54258f28f"
            },
            {
              "version": "1598efe57b3e768056e4ca56cb9cf33111e68d1c",
              "status": "affected",
              "versionType": "git",
              "lessThan": "668cc1e3bb21101d074e430de1b7ba8fd10189e7"
            },
            {
              "version": "1598efe57b3e768056e4ca56cb9cf33111e68d1c",
              "status": "affected",
              "versionType": "git",
              "lessThan": "ef79f00be72bd81d2e1e6f060d83cf7e425deee4"
            }
          ]
        },
        {
          "vendor": "Linux",
          "product": "Linux",
          "defaultStatus": "affected",
          "versions": [
            {
              "version": "4.19",
              "status": "affected"
            },
            {
              "version": "0",
              "status": "unaffected",
              "versionType": "semver",
              "lessThan": "4.19"
            },
            {
              "version": "5.15.194",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "5.15.*"
            },
            {
              "version": "6.1.153",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "6.1.*"
            },
            {
              "version": "6.6.107",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "6.6.*"
            },
            {
              "version": "6.12.48",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "6.12.*"
            },
            {
              "version": "6.16.8",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "6.16.*"
            },
            {
              "version": "6.17",
              "status": "unaffected",
              "versionType": "original_commit_for_fix",
              "lessThanOrEqual": "*"
            }
          ]
        }
      ]
    }
  }
}