CVE-2024-49571

medium

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.

References

https://git.kernel.org/stable/c/f10635268a0a49ee902a3b63b5dbb76f4fed498e

https://git.kernel.org/stable/c/a29e220d3c8edbf0e1beb0f028878a4a85966556

https://git.kernel.org/stable/c/91a7c27c1444ed4677b83fd5308d2cf03f5f0851

https://git.kernel.org/stable/c/846bada23bfcdeb83621b045ed85dc06c7833ff0

https://git.kernel.org/stable/c/62056d1592e63d85e82357ee2ae6a6a294f440b0

https://git.kernel.org/stable/c/47ce46349672a7e0c361bfe39ed0b22e824ef4fb

Details

Source: Mitre, NVD

Published: 2025-01-11

Updated: 2025-01-11

Risk Information

CVSS v2

Base Score: 7.8

Vector: CVSS2#AV:N/AC:L/Au:N/C:N/I:N/A:C

Severity: High

CVSS v3

Base Score: 5.5

Vector: CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Severity: Medium