CVE-2024-49571 Information

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.

Reference

https://git.kernel.org/stable/c/47ce46349672a7e0c361bfe39ed0b22e824ef4fb https://git.kernel.org/stable/c/62056d1592e63d85e82357ee2ae6a6a294f440b0 https://git.kernel.org/stable/c/846bada23bfcdeb83621b045ed85dc06c7833ff0 https://git.kernel.org/stable/c/91a7c27c1444ed4677b83fd5308d2cf03f5f0851 https://git.kernel.org/stable/c/a29e220d3c8edbf0e1beb0f028878a4a85966556 https://git.kernel.org/stable/c/f10635268a0a49ee902a3b63b5dbb76f4fed498e

Share on: