Skip to content
CVE PROGRAM SOURCE RECORD9.1 Critical

CVE-2024-49571

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

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 products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Linux Linux

Default version status: unaffected

  • e7b7a64a8493d47433fd003efbe6543e3f676294 to < 846bada23bfcdeb83621b045ed85dc06c7833ff0affected
  • e7b7a64a8493d47433fd003efbe6543e3f676294 to < f10635268a0a49ee902a3b63b5dbb76f4fed498eaffected
  • e7b7a64a8493d47433fd003efbe6543e3f676294 to < 62056d1592e63d85e82357ee2ae6a6a294f440b0affected
  • e7b7a64a8493d47433fd003efbe6543e3f676294 to < 91a7c27c1444ed4677b83fd5308d2cf03f5f0851affected
  • e7b7a64a8493d47433fd003efbe6543e3f676294 to < 47ce46349672a7e0c361bfe39ed0b22e824ef4fbaffected
  • e7b7a64a8493d47433fd003efbe6543e3f676294 to < a29e220d3c8edbf0e1beb0f028878a4a85966556affected

Linux Linux

Default version status: affected

  • 4.16affected
  • 0 to < 4.16unaffected
  • 5.10.233 to ≤ 5.10.*unaffected
  • 5.15.176 to ≤ 5.15.*unaffected
  • 6.1.122 to ≤ 6.1.*unaffected
  • 6.6.68 to ≤ 6.6.*unaffected
  • 6.12.7 to ≤ 6.12.*unaffected
  • 6.13 to ≤ *unaffected

References