net/smc: check iparea_offset and ipv6_prefixes_cnt when receiving proposal msg
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ e7b7a64a8493d47433fd003efbe6543e3f676294 · < a29e220d3c8edbf0e1beb0f028878a4a85966556| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
net/smc: check iparea_offset and ipv6_prefixes_cnt when receiving proposal msg
When receiving proposal msg in server, the field iparea_offset and the field ipv6_prefixes_cnt in proposal msg are from the remote client and can not be fully trusted. Especially the field iparea_offset, once exceed the max value, there has the chance to access wrong address, and crash may happen.
This patch checks iparea_offset and ipv6_prefixes_cnt before using them.
From the CVE record · Linux
The Linux kernel's net/smc component did not adequately check two fields in proposal messages received from remote clients. A remote client could supply an out-of-range iparea_offset that may cause the server to access an incorrect address and crash. Authentication and user-interaction requirements are not specified.
Operators running Linux kernels with the affected net/smc code should check their versions; affected versions are not specified.