{
  "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-23142",
    "sourceURL": "https://www.cve.org/CVERecord?id=CVE-2025-23142",
    "idYear": 2025,
    "status": "PUBLISHED",
    "publishedAt": "2025-05-01T12:55:32.614Z",
    "updatedAt": "2026-10-15T21:51:58.703Z",
    "importedAt": "2026-10-24T01:57:29.455Z",
    "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": "sctp: detect and prevent references to a freed transport in sendmsg",
      "summary": "In the Linux kernel, the following vulnerability has been resolved:\n\nsctp: detect and prevent references to a freed transport in sendmsg\n\nsctp_sendmsg() re-uses associations and transports when possible by\ndoing a lookup based on the socket endpoint and the message destination\naddress, and then sctp_sendmsg_to_asoc() sets the selected transport in\nall the message chunks to be sent.\n\nThere's a possible race condition if another thread triggers the removal\nof that selected transport, for instance, by explicitly unbinding an\naddress with setsockopt(SCTP_SOCKOPT_BINDX_REM), after the chunks have\nbeen set up and before the message is sent. This can happen if the send\nbuffer is full, during the period when the sender thread temporarily\nreleases the socket lock in sctp_wait_for_sndbuf().\n\nThis causes the access to the transport data in\nsctp_outq_select_transport(), when the association outqueue is flushed,\nto result in a use-after-free read.\n\nThis change avoids this scenario by having sctp_transport_free() signal\nthe freeing of the transport, tagging it as \"dead\". In order to do this,\nthe patch restores the \"dead\" bit in struct sctp_transport, which was\nremoved in\ncommit 47faa1e4c50e (\"sctp: remove the dead field of sctp_transport\").\n\nThen, in the scenario where the sender thread has released the socket\nlock in sctp_wait_for_sndbuf(), the bit is checked again after\nre-acquiring the socket lock to detect the deletion. This is done while\nholding a reference to the transport to prevent it from being freed in\nthe process.\n\nIf the transport was deleted while the socket lock was relinquished,\nsctp_sendmsg_to_asoc() will return -EAGAIN to let userspace retry the\nsend.\n\nThe bug was found by a private syzbot instance (see the error report [1]\nand the C reproducer that triggers it [2]).",
      "affected": [
        {
          "vendor": "Linux",
          "product": "Linux",
          "defaultStatus": "unaffected",
          "versions": [
            {
              "version": "df132eff463873e14e019a07f387b4d577d6d1f9",
              "status": "affected",
              "versionType": "git",
              "lessThan": "547762250220325d350d0917a7231480e0f4142b"
            },
            {
              "version": "df132eff463873e14e019a07f387b4d577d6d1f9",
              "status": "affected",
              "versionType": "git",
              "lessThan": "3257386be6a7eb8a8bfc9cbfb746df4eb4fc70e8"
            },
            {
              "version": "df132eff463873e14e019a07f387b4d577d6d1f9",
              "status": "affected",
              "versionType": "git",
              "lessThan": "0f7df4899299ce4662e5f95badb9dbc57cc37fa5"
            },
            {
              "version": "df132eff463873e14e019a07f387b4d577d6d1f9",
              "status": "affected",
              "versionType": "git",
              "lessThan": "7a63f4fb0efb4e69efd990cbb740a848679ec4b0"
            },
            {
              "version": "df132eff463873e14e019a07f387b4d577d6d1f9",
              "status": "affected",
              "versionType": "git",
              "lessThan": "c6fefcb71d246baaf3bacdad1af7ff50ebcfe652"
            },
            {
              "version": "df132eff463873e14e019a07f387b4d577d6d1f9",
              "status": "affected",
              "versionType": "git",
              "lessThan": "9e7c37fadb3be1fc33073fcf10aa96d166caa697"
            },
            {
              "version": "df132eff463873e14e019a07f387b4d577d6d1f9",
              "status": "affected",
              "versionType": "git",
              "lessThan": "5bc83bdf5f5b8010d1ca5a4555537e62413ab4e2"
            },
            {
              "version": "df132eff463873e14e019a07f387b4d577d6d1f9",
              "status": "affected",
              "versionType": "git",
              "lessThan": "2e5068b7e0ae0a54f6cfd03a2f80977da657f1ee"
            },
            {
              "version": "df132eff463873e14e019a07f387b4d577d6d1f9",
              "status": "affected",
              "versionType": "git",
              "lessThan": "f1a69a940de58b16e8249dff26f74c8cc59b32be"
            },
            {
              "version": "26e51e5287eed4d96ea66a3da95429f42940f013",
              "status": "affected",
              "versionType": "git"
            },
            {
              "version": "8b97e045bd6d37f96f161e4d371ae174148e1587",
              "status": "affected",
              "versionType": "git"
            },
            {
              "version": "e044554e97e812eb257d073bcc130e0ea653858f",
              "status": "affected",
              "versionType": "git"
            },
            {
              "version": "8376fdc999be008f0e9918db52f1ed8c08f5a1c9",
              "status": "affected",
              "versionType": "git"
            },
            {
              "version": "cd947138e8c31e8cfcd489c12e9b97271beb6e79",
              "status": "affected",
              "versionType": "git"
            },
            {
              "version": "3.18.128",
              "status": "affected",
              "versionType": "semver",
              "lessThan": "3.19"
            },
            {
              "version": "4.4.166",
              "status": "affected",
              "versionType": "semver",
              "lessThan": "4.5"
            },
            {
              "version": "4.9.142",
              "status": "affected",
              "versionType": "semver",
              "lessThan": "4.10"
            },
            {
              "version": "4.14.85",
              "status": "affected",
              "versionType": "semver",
              "lessThan": "4.15"
            },
            {
              "version": "4.19.6",
              "status": "affected",
              "versionType": "semver",
              "lessThan": "4.20"
            }
          ]
        },
        {
          "vendor": "Linux",
          "product": "Linux",
          "defaultStatus": "affected",
          "versions": [
            {
              "version": "4.20",
              "status": "affected"
            },
            {
              "version": "0",
              "status": "unaffected",
              "versionType": "semver",
              "lessThan": "4.20"
            },
            {
              "version": "5.4.293",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "5.4.*"
            },
            {
              "version": "5.10.237",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "5.10.*"
            },
            {
              "version": "5.15.181",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "5.15.*"
            },
            {
              "version": "6.1.135",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "6.1.*"
            },
            {
              "version": "6.6.88",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "6.6.*"
            },
            {
              "version": "6.12.24",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "6.12.*"
            },
            {
              "version": "6.13.12",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "6.13.*"
            },
            {
              "version": "6.14.3",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "6.14.*"
            },
            {
              "version": "6.15",
              "status": "unaffected",
              "versionType": "original_commit_for_fix",
              "lessThanOrEqual": "*"
            }
          ]
        }
      ]
    }
  }
}