CVE-2024-50299
sctp: properly validate chunk size in sctp_sf_ootb()
Check your servers for CVE-2024-50299
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2024-50299 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
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
Severity (CVSS)
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:H
- Attack vector
- network: an attacker can reach the vulnerable part over the network, often from the internet
- Attack complexity
- low: an attack works without special conditions
- Privileges required
- none: the attacker does not need an account
- User interaction
- none: nobody has to click or open anything
- Scope
- unchanged: the damage stays inside the vulnerable component
- Impact
- confidentiality low, integrity none, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- Attack vector
- local: the attacker needs local access, or a user has to open a prepared file
- Attack complexity
- low: an attack works without special conditions
- Privileges required
- low: the attacker needs an ordinary user account
- User interaction
- none: nobody has to click or open anything
- Scope
- unchanged: the damage stays inside the vulnerable component
- Impact
- confidentiality none, integrity none, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)
Exploitation
EPSS 0.63%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 51.4% of all scored CVEs. Scores of 1 Dec 2026.
The assessment of CISA (SSVC, 1 Oct 2025):
- Exploitation
- none: CISA did not find evidence of exploitation or a public proof of concept
- Automatable
- no: each attack takes manual steps
- Technical impact
- partial: limited control or limited data
Weakness
- CWE-908 Use of Uninitialized Resource
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, before 67b9a278b80f71ec62091ded97c6bcbea33b5ec3 affected from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, before 9b5d42aeaf1a52f73b003a33da6deef7df34685f affected from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, before 40b283ba76665437bc2ac72079c51b57b25bff9e affected from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, before a758aa6a773bb872196bcc3173171ef8996bddf0 affected from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, before bf9bff13225baf5f658577f7d985fc4933d79527 affected from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, before d3fb3cc83cf313e4f87063ce0f3fea76b071567b affected from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, before 8820d2d6589f62ee5514793fff9b50c9f8101182 affected from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, before 0ead60804b64f5bd6999eec88e503c6a1a242d41
Other versions: unaffected
|
| Linux |
affected 2.6.12 unaffected before 2.6.12 unaffected from 4.19.324 up to and including 4.19.* unaffected from 5.4.286 up to and including 5.4.* unaffected from 5.10.230 up to and including 5.10.* unaffected from 5.15.172 up to and including 5.15.* unaffected from 6.1.117 up to and including 6.1.* unaffected from 6.6.61 up to and including 6.6.* unaffected from 6.11.8 up to and including 6.11.* unaffected 6.12 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2024-50299 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2024-50299
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2024-50299
trivy image --scanners vuln IMAGE | grep CVE-2024-50299
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/67b9a278b80f71ec62091ded97c6bcbea33b5ec3 git.kernel.org
- https://git.kernel.org/stable/c/9b5d42aeaf1a52f73b003a33da6deef7df34685f git.kernel.org
- https://git.kernel.org/stable/c/40b283ba76665437bc2ac72079c51b57b25bff9e git.kernel.org
- https://git.kernel.org/stable/c/a758aa6a773bb872196bcc3173171ef8996bddf0 git.kernel.org
- https://git.kernel.org/stable/c/bf9bff13225baf5f658577f7d985fc4933d79527 git.kernel.org
- https://git.kernel.org/stable/c/d3fb3cc83cf313e4f87063ce0f3fea76b071567b git.kernel.org
- https://git.kernel.org/stable/c/8820d2d6589f62ee5514793fff9b50c9f8101182 git.kernel.org
- https://git.kernel.org/stable/c/0ead60804b64f5bd6999eec88e503c6a1a242d41 git.kernel.org
- https://lists.debian.org/debian-lts-announce/2025/03/msg00002.html lists.debian.org
- https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html lists.debian.org
- https://cert-portal.siemens.com/productcert/html/ssa-398330.html cert-portal.siemens.com
- https://cert-portal.siemens.com/productcert/html/ssa-265688.html cert-portal.siemens.com
- https://cert-portal.siemens.com/productcert/html/ssa-355557.html cert-portal.siemens.com
Source: the record CVE-2024-50299 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST; the CWE catalog of MITRE, CWE Terms of Use. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse