# CVE-2024-50299: sctp: properly validate chunk size in sctp_sf_ootb()

- Severity: High 8.2 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.63%, higher than 51% of CVEs (2026-12-01)
- Published: 2024-11-19T01:30:47.362Z
- Modified: 2026-10-15T01:19:11.507Z
- Weaknesses: CWE-908
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## Description

In the Linux kernel, the following vulnerability has been resolved:

sctp: properly validate chunk size in sctp_sf_ootb()

A size validation fix similar to that in Commit 50619dbf8db7 ("sctp: add
size validation when walking chunks") is also required in sctp_sf_ootb()
to address a crash reported by syzbot:

  BUG: KMSAN: uninit-value in sctp_sf_ootb+0x7f5/0xce0 net/sctp/sm_statefuns.c:3712
  sctp_sf_ootb+0x7f5/0xce0 net/sctp/sm_statefuns.c:3712
  sctp_do_sm+0x181/0x93d0 net/sctp/sm_sideeffect.c:1166
  sctp_endpoint_bh_rcv+0xc38/0xf90 net/sctp/endpointola.c:407
  sctp_inq_push+0x2ef/0x380 net/sctp/inqueue.c:88
  sctp_rcv+0x3831/0x3b20 net/sctp/input.c:243
  sctp4_rcv+0x42/0x50 net/sctp/protocol.c:1159
  ip_protocol_deliver_rcu+0xb51/0x13d0 net/ipv4/ip_input.c:205
  ip_local_deliver_finish+0x336/0x500 net/ipv4/ip_input.c:233

(As written by CVE List.)

## Affected

- Linux Linux: from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 67b9a278b80f71ec62091ded97c6bcbea33b5ec3; from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 9b5d42aeaf1a52f73b003a33da6deef7df34685f; from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 40b283ba76665437bc2ac72079c51b57b25bff9e; from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before a758aa6a773bb872196bcc3173171ef8996bddf0; from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before bf9bff13225baf5f658577f7d985fc4933d79527; from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before d3fb3cc83cf313e4f87063ce0f3fea76b071567b; from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 8820d2d6589f62ee5514793fff9b50c9f8101182; from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 0ead60804b64f5bd6999eec88e503c6a1a242d41; 2.6.12 (not affected: before 2.6.12; from 4.19.324 up to 4.19.*; from 5.4.286 up to 5.4.*; from 5.10.230 up to 5.10.*; from 5.15.172 up to 5.15.*; from 6.1.117 up to 6.1.*; from 6.6.61 up to 6.6.*; from 6.11.8 up to 6.11.*; from 6.12 up to *)
- linux linux_kernel: from 2.6.12 before 4.19.324; from 4.20 before 5.4.286; from 5.5 before 5.10.230; from 5.11 before 5.15.172; from 5.16 before 6.1.117; from 6.2 before 6.6.61; from 6.7 before 6.11.8; 6.12

## Every score

- Linux: CVSS:3.1 8.2 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:H`
- CISA-ADP: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://git.kernel.org/stable/c/67b9a278b80f71ec62091ded97c6bcbea33b5ec3> (patch)
- <https://git.kernel.org/stable/c/9b5d42aeaf1a52f73b003a33da6deef7df34685f> (patch)
- <https://git.kernel.org/stable/c/40b283ba76665437bc2ac72079c51b57b25bff9e> (patch)
- <https://git.kernel.org/stable/c/a758aa6a773bb872196bcc3173171ef8996bddf0> (patch)
- <https://git.kernel.org/stable/c/bf9bff13225baf5f658577f7d985fc4933d79527> (patch)
- <https://git.kernel.org/stable/c/d3fb3cc83cf313e4f87063ce0f3fea76b071567b> (patch)
- <https://git.kernel.org/stable/c/8820d2d6589f62ee5514793fff9b50c9f8101182> (patch)
- <https://git.kernel.org/stable/c/0ead60804b64f5bd6999eec88e503c6a1a242d41> (patch)
- <https://lists.debian.org/debian-lts-announce/2025/03/msg00002.html>
- <https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html>
- <https://cert-portal.siemens.com/productcert/html/ssa-398330.html>
- <https://cert-portal.siemens.com/productcert/html/ssa-265688.html>
- <https://cert-portal.siemens.com/productcert/html/ssa-355557.html>

## Sources

- CVE List: [CVE-2024-50299](https://www.cve.org/CVERecord?id=CVE-2024-50299), CVE Terms of Use, modified 2026-10-15
- NVD: [CVE-2024-50299](https://nvd.nist.gov/vuln/detail/CVE-2024-50299), Public domain, modified 2026-10-15

---

Page: https://cve.day/CVE-2024-50299 · Whole record: https://cve.day/CVE-2024-50299.json · Rebuilt by cve.day 2026-11-25T22:58:48.421Z
