CVE
CVE-2023-53372
CNA description
In the Linux kernel, the following vulnerability has been resolved: sctp: fix a potential overflow in sctp_ifwdtsn_skip Currently, when traversing ifwdtsn skips with _sctp_walk_ifwdtsn, it only checks the pos against the end of the chunk. However, the data left for the last pos may be < sizeof(struct sctp_ifwdtsn_skip), and dereference it as struct sctp_ifwdtsn_skip may cause coverflow. This patch fixes it by checking the pos against "the end of the chunk - sizeof(struct sctp_ifwdtsn_skip)" in sctp_ifwdtsn_skip, similar to sctp_fwdtsn_skip.
Affected versions
All Linux kernel vulnerabilities →
- 6.3-rc6This version only
- 6.3-rc5This version only
- 6.3-rc4This version only
- 6.3-rc3This version only
- 6.3-rc2This version only
- 6.3-rc1This version only
- ≥ 6.2, < 6.2.12Fixed in 6.2.12
- ≥ 5.16, < 6.1.25Fixed in 6.1.25
- ≥ 5.11, < 5.15.108Fixed in 5.15.108
- ≥ 5.5, < 5.10.178Fixed in 5.10.178
- ≥ 4.20, < 5.4.241Fixed in 5.4.241
- ≥ 4.16, < 4.19.281Fixed in 4.19.281
Distribution packages (Debian, Ubuntu, Red Hat…) backport fixes without changing the upstream version: check your distribution’s advisory as well.
Advisories and patches
- git.kernel.org/stable/c/32832a2caf82663870126c5186cf8f86c8b2a649 · Patch
- git.kernel.org/stable/c/4fbd094d4131a10d06a45d64158567052a35b3f4 · Patch
- git.kernel.org/stable/c/5c9367ac5a22d71841bcd00130f9146c9b227d57 · Patch
- git.kernel.org/stable/c/6109f5b13ce3e3e537db6f18976ec0e9118d1c6f · Patch
- git.kernel.org/stable/c/79b28f42214a3d0d6a8c514db3602260bd5d6cb5 · Patch
- git.kernel.org/stable/c/ad831a7079c99c01e801764b53bc9997c2e9c0f7 · Patch
- git.kernel.org/stable/c/ad988e9b5ff04607e624a459209e8c2d0c15fc73 · Patch
Data: NVD (public domain), CISA KEV (CC0), FIRST EPSS, OSV.dev / GitHub Advisory Database (CC-BY 4.0) · This database lists affected versions and fixes only. It never hosts or links exploit code.