In the Linux kernel, the following vulnerability has been resolved:
net/smc: check smcdv2ext_offset when receiving proposal msg
When receiving proposal msg in server, the field smcdv2extoffset in proposal msg is from the remote client and can not be fully trusted. Once the value of smcdv2extoffset exceed the max value, there has the chance to access wrong address, and crash may happen.
This patch checks the value of smcdv2ext_offset before using it.