Paper/Archive/CVE-2024-49568

CVE-2024-49568

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

Description · from the CVE record

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

ProductAffectedFixed inSource
Linux8c3dca341aea885249e08856c4380300b75d2cf5 – < 9cc0170ae646876aa5de2f0cad3066ce53e86f279cc0170ae646876aa5de2f0cad3066ce53e86f27CNA
Linux8c3dca341aea885249e08856c4380300b75d2cf5 – < 49798283fce4c1a24fb1ba4c7c3912773953557149798283fce4c1a24fb1ba4c7c39127739535571CNA
Linux8c3dca341aea885249e08856c4380300b75d2cf5 – < 690b9a8db9460d065785548e43fd6a02d247c1b7690b9a8db9460d065785548e43fd6a02d247c1b7CNA
Linux8c3dca341aea885249e08856c4380300b75d2cf5 – < 295a92e3df32e72aff0f4bc25c310e349d07ffbf295a92e3df32e72aff0f4bc25c310e349d07ffbfCNA
Linux8c3dca341aea885249e08856c4380300b75d2cf5 – < 42f6beb2d5779429417b5f8115a4e3fa695d2a6c42f6beb2d5779429417b5f8115a4e3fa695d2a6cCNA
Linux8c3dca341aea885249e08856c4380300b75d2cf5 – < 7863c9f3d24ba49dbead7e03dfbe40deb5888fdf7863c9f3d24ba49dbead7e03dfbe40deb5888fdfCNA
Linux5.105.10.271CNA

Scores by source

Linux (CNA)9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CISA ADPSSVCExploitation: none · Automatable: yes · Technical impact: total

References

refgit.kernel.org/stable/c/9cc0170ae646876aa5de2f0cad3066ce53e86f27refgit.kernel.org/stable/c/49798283fce4c1a24fb1ba4c7c39127739535571refgit.kernel.org/stable/c/690b9a8db9460d065785548e43fd6a02d247c1b7refgit.kernel.org/stable/c/295a92e3df32e72aff0f4bc25c310e349d07ffbfrefgit.kernel.org/stable/c/42f6beb2d5779429417b5f8115a4e3fa695d2a6crefgit.kernel.org/stable/c/7863c9f3d24ba49dbead7e03dfbe40deb5888fdf