{
  "schema_version": "1.6.1",
  "id": "RPI-CVE-2023-53372",
  "modified": "2026-10-09T11:39:44Z",
  "upstream": [
    "CVE-2023-53372"
  ],
  "published": "2025-09-18T13:36:23Z",
  "summary": "sctp: fix a potential overflow in sctp_ifwdtsn_skip",
  "details": "In the Linux kernel, the following vulnerability has been resolved:\n\nsctp: fix a potential overflow in sctp_ifwdtsn_skip\n\nCurrently, when traversing ifwdtsn skips with _sctp_walk_ifwdtsn, it only\nchecks the pos against the end of the chunk. However, the data left for\nthe last pos may be < sizeof(struct sctp_ifwdtsn_skip), and dereference\nit as struct sctp_ifwdtsn_skip may cause coverflow.\n\nThis patch fixes it by checking the pos against \"the end of the chunk -\nsizeof(struct sctp_ifwdtsn_skip)\" in sctp_ifwdtsn_skip, similar to\nsctp_fwdtsn_skip.",
  "severity": [
    {
      "type": "CVSS_V3",
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:H"
    }
  ],
  "affected": [
    {
      "package": {
        "ecosystem": "Raspberry Pi OS:12",
        "name": "linux"
      },
      "versions": [
        "1:6.1.21-1+rpt1"
      ],
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "linux-image-6.1.0-rpi1-rpi-v6",
            "binary_version": "1:6.1.21-1+rpt1"
          },
          {
            "binary_name": "linux-image-6.1.0-rpi1-rpi-v7",
            "binary_version": "1:6.1.21-1+rpt1"
          },
          {
            "binary_name": "linux-image-6.1.0-rpi1-rpi-v7l",
            "binary_version": "1:6.1.21-1+rpt1"
          },
          {
            "binary_name": "linux-image-6.1.0-rpi1-rpi-v8",
            "binary_version": "1:6.1.21-1+rpt1"
          }
        ]
      },
      "database_specific": {
        "per_version": {
          "1:6.1.21-1+rpt1": {
            "linux_commit": "0afb5e98488aed7017b9bf321b575d0177feb7ed",
            "upstream_version": "6.1.21",
            "assessment": "commit ancestry (strak rule)",
            "upstream_fixed": "6.1.25"
          }
        }
      }
    }
  ],
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://www.cve.org/CVERecord?id=CVE-2023-53372"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/4fbd094d4131a10d06a45d64158567052a35b3f4"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/ad831a7079c99c01e801764b53bc9997c2e9c0f7"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/79b28f42214a3d0d6a8c514db3602260bd5d6cb5"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/6109f5b13ce3e3e537db6f18976ec0e9118d1c6f"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/5c9367ac5a22d71841bcd00130f9146c9b227d57"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/ad988e9b5ff04607e624a459209e8c2d0c15fc73"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/32832a2caf82663870126c5186cf8f86c8b2a649"
    }
  ],
  "database_specific": {
    "source": "https://git.kernel.org/pub/scm/linux/security/vulns.git",
    "upstream_modified": "2026-08-05T11:24:39Z",
    "severity": {
      "source": "kernel CNA",
      "cvss_v3_score": 8.2,
      "cvss_v3_severity": "High",
      "scenario": "AV:N - The bug is in parsing a received I-FORWARD-TSN chunk on the SCTP input path (sctp_rcv \u2192 state machine \u2192 sctp_sf_eat_fwd_tsn \u2192 sctp_validate_iftsn/sctp_handle_iftsn). A remote peer reaches it by sending crafted SCTP packets over an established association.\nAC:L - Once an association has negotiated PR-SCTP and stream interleaving, the attacker fully controls chunk length and contents and can deterministically make the final skip entry shorter than sizeof(struct sctp_ifwdtsn_skip). No race or uncontrollable memory layout is required.\nPR:N - Exploitation needs only being the remote SCTP peer of a service that accepts associations with interleaving enabled; no local account, capability, or authenticated privilege on the victim is required.\nUI:N - The attacker initiates the association and sends the malformed I-FWD-TSN; no additional victim action (mount, open, click) is required at exploit time.\nS:U - The out-of-bounds read and any resulting fault stay within the same host kernel authority and do not cross a VM, IOMMU, or sandbox boundary.\nC:L - The walk can read up to 7 bytes past the chunk (and past skb_tail_pointer into adjacent/uninitialized kernel memory). That is a real OOB read but strictly bounded to a few bytes and those bytes are only used as stream/mid/flags internally, not returned to the attacker.\nI:N - The defect is an out-of-bounds read only; stream IDs are still bounds-checked against incnt before use, and there is no OOB write or memory-corruption write primitive. Any stream-skip side effects are within what a peer can already do with a well-formed I-FWD-TSN.\nA:H - Reading past skb_tail_pointer into unmapped or invalid memory can oops/panic the kernel, and a remote peer can trigger this repeatedly on a vulnerable interleaving-enabled association."
    }
  }
}
