CVE-2024-49571

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

MEDIUM
5.5
CVSS Score
Published: January 11, 2025 at 12:35 PM UTC
Updated: August 5, 2026 at 12:04 PM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.5
Exploit prediction
EPSS 0.6%

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.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

4.16 ≤ v < 5.10.2334.16 ≤ v < 5.15.1764.16 ≤ v < 6.1.1224.16 ≤ v < 6.12.74.16 ≤ v < 6.134.16 ≤ v < 6.6.685.11 ≤ v < 5.15.1765.16 ≤ v < 6.1.1226.2 ≤ v < 6.6.686.7 ≤ v < 6.12.76.13 rc16.13 rc26.13 rc3e7b7a64a8493d47433fd003efbe6543e3f676294
Vendor states this is fixed in 47ce46349672a7e0c361bfe39ed0b22e824ef4fb (fixed)
Vendor states this is fixed in 62056d1592e63d85e82357ee2ae6a6a294f440b0 (fixed)
Vendor states this is fixed in 846bada23bfcdeb83621b045ed85dc06c7833ff0 (fixed)
Vendor states this is fixed in 91a7c27c1444ed4677b83fd5308d2cf03f5f0851 (fixed)
Vendor states this is fixed in a29e220d3c8edbf0e1beb0f028878a4a85966556 (fixed)
Vendor states this is fixed in f10635268a0a49ee902a3b63b5dbb76f4fed498e (fixed)
Vendor states this is fixed in 4.16 (unaffected)
Vendor states this is fixed in 5.10.233 (unaffected)
Vendor states this is fixed in 5.15.176 (unaffected)
Vendor states this is fixed in 6.1.122 (unaffected)
Vendor states this is fixed in 6.12.7 (unaffected)
Vendor states this is fixed in 6.13 (unaffected)
Vendor states this is fixed in 6.6.68 (unaffected)

References (7)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/47ce46349672a7e0c361bfe39ed0b22e824ef4fb
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/62056d1592e63d85e82357ee2ae6a6a294f440b0
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/846bada23bfcdeb83621b045ed85dc06c7833ff0
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/91a7c27c1444ed4677b83fd5308d2cf03f5f0851
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/a29e220d3c8edbf0e1beb0f028878a4a85966556
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/f10635268a0a49ee902a3b63b5dbb76f4fed498e
Source: af854a3a-2127-422b-91ae-364da2661108
https://lists.debian.org/debian-lts-announce/2025/03/msg00001.html

CVSS

Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusMODIFIED
CWE
NVD-CWE-noinfo

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card