net/smc: check v2_ext_offset/eid_cnt/ism_gid_cnt when receiving proposal msg
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ 8c3dca341aea885249e08856c4380300b75d2cf5 · < 7863c9f3d24ba49dbead7e03dfbe40deb5888fdf| No fix yet |
| Linux Linux |
|
|
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.
From the CVE record · Linux
The Linux kernel’s net/smc server does not adequately check fields in a proposal message received from a remote client. A remote client could supply an out-of-range value that causes an invalid address access and potentially crashes the system. The input does not specify whether authentication is required.
Engineers running Linux kernels with net/smc should check their systems; affected versions were not provided.