Skip to content
CVE PROGRAM SOURCE RECORD9.8 Critical

CVE-2024-49568

net/smc: check v2_ext_offset/eid_cnt/ism_gid_cnt when receiving proposal msg

Description

In the Linux kernel, the following vulnerability has been resolved: net/smc: check v2_ext_offset/eid_cnt/ism_gid_cnt when receiving proposal msg When receiving proposal msg in server, the fields v2_ext_offset/ eid_cnt/ism_gid_cnt in proposal msg are from the remote client and can not be fully trusted. Especially the field v2_ext_offset, once exceed the max value, there has the chance to access wrong address, and crash may happen. This patch checks the fields v2_ext_offset/eid_cnt/ism_gid_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

  • 8c3dca341aea885249e08856c4380300b75d2cf5 to < 9cc0170ae646876aa5de2f0cad3066ce53e86f27affected
  • 8c3dca341aea885249e08856c4380300b75d2cf5 to < 49798283fce4c1a24fb1ba4c7c39127739535571affected
  • 8c3dca341aea885249e08856c4380300b75d2cf5 to < 690b9a8db9460d065785548e43fd6a02d247c1b7affected
  • 8c3dca341aea885249e08856c4380300b75d2cf5 to < 295a92e3df32e72aff0f4bc25c310e349d07ffbfaffected
  • 8c3dca341aea885249e08856c4380300b75d2cf5 to < 42f6beb2d5779429417b5f8115a4e3fa695d2a6caffected
  • 8c3dca341aea885249e08856c4380300b75d2cf5 to < 7863c9f3d24ba49dbead7e03dfbe40deb5888fdfaffected

Linux Linux

Default version status: affected

  • 5.10affected
  • 0 to < 5.10unaffected
  • 5.10.271 to ≤ 5.10.*unaffected
  • 5.15.222 to ≤ 5.15.*unaffected
  • 6.1.189 to ≤ 6.1.*unaffected
  • 6.6.68 to ≤ 6.6.*unaffected
  • 6.12.7 to ≤ 6.12.*unaffected
  • 6.13 to ≤ *unaffected

References