net/smc: check smcd_v2_ext_offset when receiving proposal msg
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ 5c21c4ccafe85906db809de3af391fd434df8a27 · < 9ab332deb671d8f7e66d82a2ff2b3f715bc3a4ad| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
net/smc: check smcd_v2_ext_offset when receiving proposal msg
When receiving proposal msg in server, the field smcd_v2_ext_offset in proposal msg is from the remote client and can not be fully trusted. Once the value of smcd_v2_ext_offset exceed the max value, there has the chance to access wrong address, and crash may happen.
This patch checks the value of smcd_v2_ext_offset before using it.
From the CVE record · Linux
The Linux kernel's net/smc code does not adequately check an offset supplied in a proposal message from a remote client. If the offset exceeds its maximum value, the server may access an incorrect address and crash.
Operators running Linux kernels with the affected net/smc code should check their versions against the vendor advisory.