Skip to content
CVE PROGRAM SOURCE RECORD8.2 High

CVE-2023-53372

sctp: fix a potential overflow in sctp_ifwdtsn_skip

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 products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Linux Linux

Default version status: unaffected

  • 0fc2ea922c8ad5520c80f03facbf396c81dce802 to < 4fbd094d4131a10d06a45d64158567052a35b3f4affected
  • 0fc2ea922c8ad5520c80f03facbf396c81dce802 to < ad831a7079c99c01e801764b53bc9997c2e9c0f7affected
  • 0fc2ea922c8ad5520c80f03facbf396c81dce802 to < 79b28f42214a3d0d6a8c514db3602260bd5d6cb5affected
  • 0fc2ea922c8ad5520c80f03facbf396c81dce802 to < 6109f5b13ce3e3e537db6f18976ec0e9118d1c6faffected
  • 0fc2ea922c8ad5520c80f03facbf396c81dce802 to < 5c9367ac5a22d71841bcd00130f9146c9b227d57affected
  • 0fc2ea922c8ad5520c80f03facbf396c81dce802 to < ad988e9b5ff04607e624a459209e8c2d0c15fc73affected
  • 0fc2ea922c8ad5520c80f03facbf396c81dce802 to < 32832a2caf82663870126c5186cf8f86c8b2a649affected

Linux Linux

Default version status: affected

  • 4.16affected
  • 0 to < 4.16unaffected
  • 4.19.281 to ≤ 4.19.*unaffected
  • 5.4.241 to ≤ 5.4.*unaffected
  • 5.10.178 to ≤ 5.10.*unaffected
  • 5.15.108 to ≤ 5.15.*unaffected
  • 6.1.25 to ≤ 6.1.*unaffected
  • 6.2.12 to ≤ 6.2.*unaffected
  • 6.3 to ≤ *unaffected

References