The issue concerns the Linux kernel, specifically the net/smc component. When receiving a proposal message in the server, the fields `v2 ext offset`, `eid cnt`, and `ism gid cnt` in the proposal message are from the remote client and cannot be fully trusted. Especially the field `v2 ext offset`, once it exceeds the maximum value, there is a chance to access the wrong address, and a crash may happen. This patch checks the fields `v2 ext offset`, `eid cnt`, and `ism gid cnt` before using them.