CVE-2024-50299

sctp: properly validate chunk size in sctp_sf_ootb()

State
Published
Severity
8.2 High
Published
Nov 19, 2024
Updated
Oct 15, 2026
Reserved
Oct 21, 2024

Read the record on cve.org

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

Scores

CVSSScoreVectorSource
3.18.2 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:HLinux
3.15.5 MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HCISA-ADP

Weaknesses

  • CWE-908 Use of Uninitialized Resource

Affected Products

ProductVersions
LinuxLinux
  • 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before 67b9a278b80f71ec62091ded97c6bcbea33b5ec3Affected
  • 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before 9b5d42aeaf1a52f73b003a33da6deef7df34685fAffected
  • 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before 40b283ba76665437bc2ac72079c51b57b25bff9eAffected
  • 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before a758aa6a773bb872196bcc3173171ef8996bddf0Affected
  • 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before bf9bff13225baf5f658577f7d985fc4933d79527Affected
  • 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before d3fb3cc83cf313e4f87063ce0f3fea76b071567bAffected
  • 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before 8820d2d6589f62ee5514793fff9b50c9f8101182Affected
  • 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before 0ead60804b64f5bd6999eec88e503c6a1a242d41Affected
LinuxLinux
  • 2.6.12Affected
  • before 2.6.12Not affected
  • 4.19.324 through 4.19.*Not affected
  • 5.4.286 through 5.4.*Not affected
  • 5.10.230 through 5.10.*Not affected
  • 5.15.172 through 5.15.*Not affected
  • 6.1.117 through 6.1.*Not affected
  • 6.6.61 through 6.6.*Not affected
  • 6.11.8 through 6.11.*Not affected
  • 6.12 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.