CVE-2024-49571

net/smc: check iparea_offset and ipv6_prefixes_cnt when receiving proposal msg

9.1 critical EPSS 0.59%

Published 11 Jan 2025 Updated 5 Aug 2026 CNA: Linux

Check your servers for CVE-2024-49571

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-49571 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.

Check my servers

Description

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

net/smc: check iparea_offset and ipv6_prefixes_cnt when receiving proposal msg

When receiving proposal msg in server, the field iparea_offset and the field ipv6_prefixes_cnt in proposal msg are from the remote client and can not be fully trusted. Especially the field iparea_offset, once exceed the max value, there has the chance to access wrong address, and crash may happen.

This patch checks iparea_offset and ipv6_prefixes_cnt before using them.

Severity (CVSS)

9.1 critical CVSS 3.1 from Linux (CNA)
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/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 high, integrity none, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)

Exploitation

EPSS 0.59%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 49.4% of all scored CVEs. Scores of 1 Dec 2026.

Affected products

As the CNA lists them.

ProductVersions
Linux
affected from e7b7a64a8493d47433fd003efbe6543e3f676294, before 846bada23bfcdeb83621b045ed85dc06c7833ff0
affected from e7b7a64a8493d47433fd003efbe6543e3f676294, before f10635268a0a49ee902a3b63b5dbb76f4fed498e
affected from e7b7a64a8493d47433fd003efbe6543e3f676294, before 62056d1592e63d85e82357ee2ae6a6a294f440b0
affected from e7b7a64a8493d47433fd003efbe6543e3f676294, before 91a7c27c1444ed4677b83fd5308d2cf03f5f0851
affected from e7b7a64a8493d47433fd003efbe6543e3f676294, before 47ce46349672a7e0c361bfe39ed0b22e824ef4fb
affected from e7b7a64a8493d47433fd003efbe6543e3f676294, before a29e220d3c8edbf0e1beb0f028878a4a85966556
Other versions: unaffected
Linux
affected 4.16
unaffected before 4.16
unaffected from 5.10.233 up to and including 5.10.*
unaffected from 5.15.176 up to and including 5.15.*
unaffected from 6.1.122 up to and including 6.1.*
unaffected from 6.6.68 up to and including 6.6.*
unaffected from 6.12.7 up to and including 6.12.*
unaffected 6.13 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-49571 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2024-49571

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-49571
trivy image --scanners vuln IMAGE | grep CVE-2024-49571

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

Source: the record CVE-2024-49571 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.