{"id":"CVE-2023-53372","state":"PUBLISHED","title":"sctp: fix a potential overflow in sctp_ifwdtsn_skip","description":"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.","publishedAt":"2025-09-18T13:33:19.549Z","updatedAt":"2026-08-05T09:13:40.871Z","severity":{"score":8.2,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:H","source":"Linux"},"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"0fc2ea922c8ad5520c80f03facbf396c81dce802","status":"affected","lessThan":"4fbd094d4131a10d06a45d64158567052a35b3f4","versionType":"git"},{"version":"0fc2ea922c8ad5520c80f03facbf396c81dce802","status":"affected","lessThan":"ad831a7079c99c01e801764b53bc9997c2e9c0f7","versionType":"git"},{"version":"0fc2ea922c8ad5520c80f03facbf396c81dce802","status":"affected","lessThan":"79b28f42214a3d0d6a8c514db3602260bd5d6cb5","versionType":"git"},{"version":"0fc2ea922c8ad5520c80f03facbf396c81dce802","status":"affected","lessThan":"6109f5b13ce3e3e537db6f18976ec0e9118d1c6f","versionType":"git"},{"version":"0fc2ea922c8ad5520c80f03facbf396c81dce802","status":"affected","lessThan":"5c9367ac5a22d71841bcd00130f9146c9b227d57","versionType":"git"},{"version":"0fc2ea922c8ad5520c80f03facbf396c81dce802","status":"affected","lessThan":"ad988e9b5ff04607e624a459209e8c2d0c15fc73","versionType":"git"},{"version":"0fc2ea922c8ad5520c80f03facbf396c81dce802","status":"affected","lessThan":"32832a2caf82663870126c5186cf8f86c8b2a649","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["net/sctp/stream_interleave.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"4.16","status":"affected"},{"version":"0","status":"unaffected","lessThan":"4.16","versionType":"semver"},{"version":"4.19.281","status":"unaffected","lessThanOrEqual":"4.19.*","versionType":"semver"},{"version":"5.4.241","status":"unaffected","lessThanOrEqual":"5.4.*","versionType":"semver"},{"version":"5.10.178","status":"unaffected","lessThanOrEqual":"5.10.*","versionType":"semver"},{"version":"5.15.108","status":"unaffected","lessThanOrEqual":"5.15.*","versionType":"semver"},{"version":"6.1.25","status":"unaffected","lessThanOrEqual":"6.1.*","versionType":"semver"},{"version":"6.2.12","status":"unaffected","lessThanOrEqual":"6.2.*","versionType":"semver"},{"version":"6.3","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["net/sctp/stream_interleave.c"]}],"references":["https://git.kernel.org/stable/c/4fbd094d4131a10d06a45d64158567052a35b3f4","https://git.kernel.org/stable/c/ad831a7079c99c01e801764b53bc9997c2e9c0f7","https://git.kernel.org/stable/c/79b28f42214a3d0d6a8c514db3602260bd5d6cb5","https://git.kernel.org/stable/c/6109f5b13ce3e3e537db6f18976ec0e9118d1c6f","https://git.kernel.org/stable/c/5c9367ac5a22d71841bcd00130f9146c9b227d57","https://git.kernel.org/stable/c/ad988e9b5ff04607e624a459209e8c2d0c15fc73","https://git.kernel.org/stable/c/32832a2caf82663870126c5186cf8f86c8b2a649"],"weaknesses":["CWE-787"],"ingestedAt":"2026-10-29T20:06:33.064Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2023/53xxx/CVE-2023-53372.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2023-53372","state":"PUBLISHED","datePublished":"2025-09-18T13:33:19.549Z","dateUpdated":"2026-08-05T09:13:40.871Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2025-09-17T14:54:09.734Z"},"containers":{"cna":{"title":"sctp: fix a potential overflow in sctp_ifwdtsn_skip","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"0fc2ea922c8ad5520c80f03facbf396c81dce802","status":"affected","lessThan":"4fbd094d4131a10d06a45d64158567052a35b3f4","versionType":"git"},{"version":"0fc2ea922c8ad5520c80f03facbf396c81dce802","status":"affected","lessThan":"ad831a7079c99c01e801764b53bc9997c2e9c0f7","versionType":"git"},{"version":"0fc2ea922c8ad5520c80f03facbf396c81dce802","status":"affected","lessThan":"79b28f42214a3d0d6a8c514db3602260bd5d6cb5","versionType":"git"},{"version":"0fc2ea922c8ad5520c80f03facbf396c81dce802","status":"affected","lessThan":"6109f5b13ce3e3e537db6f18976ec0e9118d1c6f","versionType":"git"},{"version":"0fc2ea922c8ad5520c80f03facbf396c81dce802","status":"affected","lessThan":"5c9367ac5a22d71841bcd00130f9146c9b227d57","versionType":"git"},{"version":"0fc2ea922c8ad5520c80f03facbf396c81dce802","status":"affected","lessThan":"ad988e9b5ff04607e624a459209e8c2d0c15fc73","versionType":"git"},{"version":"0fc2ea922c8ad5520c80f03facbf396c81dce802","status":"affected","lessThan":"32832a2caf82663870126c5186cf8f86c8b2a649","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["net/sctp/stream_interleave.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"4.16","status":"affected"},{"version":"0","status":"unaffected","lessThan":"4.16","versionType":"semver"},{"version":"4.19.281","status":"unaffected","lessThanOrEqual":"4.19.*","versionType":"semver"},{"version":"5.4.241","status":"unaffected","lessThanOrEqual":"5.4.*","versionType":"semver"},{"version":"5.10.178","status":"unaffected","lessThanOrEqual":"5.10.*","versionType":"semver"},{"version":"5.15.108","status":"unaffected","lessThanOrEqual":"5.15.*","versionType":"semver"},{"version":"6.1.25","status":"unaffected","lessThanOrEqual":"6.1.*","versionType":"semver"},{"version":"6.2.12","status":"unaffected","lessThanOrEqual":"6.2.*","versionType":"semver"},{"version":"6.3","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["net/sctp/stream_interleave.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/4fbd094d4131a10d06a45d64158567052a35b3f4"},{"url":"https://git.kernel.org/stable/c/ad831a7079c99c01e801764b53bc9997c2e9c0f7"},{"url":"https://git.kernel.org/stable/c/79b28f42214a3d0d6a8c514db3602260bd5d6cb5"},{"url":"https://git.kernel.org/stable/c/6109f5b13ce3e3e537db6f18976ec0e9118d1c6f"},{"url":"https://git.kernel.org/stable/c/5c9367ac5a22d71841bcd00130f9146c9b227d57"},{"url":"https://git.kernel.org/stable/c/ad988e9b5ff04607e624a459209e8c2d0c15fc73"},{"url":"https://git.kernel.org/stable/c/32832a2caf82663870126c5186cf8f86c8b2a649"}],"metrics":[{"cvssV3_1":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:H","baseScore":8.2,"baseSeverity":"HIGH"},"scenarios":[{"lang":"en","value":"AV:N - The bug is in parsing a received I-FORWARD-TSN chunk on the SCTP input path (sctp_rcv → state machine → sctp_sf_eat_fwd_tsn → 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."}]}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-08-05T09:13:40.871Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.16","versionEndExcluding":"4.19.281"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.16","versionEndExcluding":"5.4.241"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.16","versionEndExcluding":"5.10.178"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.16","versionEndExcluding":"5.15.108"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.16","versionEndExcluding":"6.1.25"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.16","versionEndExcluding":"6.2.12"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.16","versionEndExcluding":"6.3"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"cvssV3_1":{"scope":"UNCHANGED","version":"3.1","baseScore":7.8,"attackVector":"LOCAL","baseSeverity":"HIGH","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","integrityImpact":"HIGH","userInteraction":"NONE","attackComplexity":"LOW","availabilityImpact":"HIGH","privilegesRequired":"LOW","confidentialityImpact":"HIGH"}},{"other":{"type":"ssvc","content":{"id":"CVE-2023-53372","role":"CISA Coordinator","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"total"}],"version":"2.0.3","timestamp":"2026-01-14T18:53:52.812844Z"}}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-787","lang":"en","type":"CWE","description":"CWE-787 Out-of-bounds Write"}]}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-01-14T19:03:02.976Z"}}]}}}