Critical · published January 11, 2025
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.
| Product | Versions | Fixed in |
|---|---|---|
| linux/linux_kernel | ≥ 4.16, < 5.10.233 | 5.10.233 |
| linux/linux_kernel | ≥ 5.11, < 5.15.176 | 5.15.176 |
| linux/linux_kernel | ≥ 5.16, < 6.1.122 | 6.1.122 |
| linux/linux_kernel | ≥ 6.2, < 6.6.68 | 6.6.68 |
| linux/linux_kernel | ≥ 6.7, < 6.12.7 | 6.12.7 |
| linux/linux_kernel | all versions | — |
| linux/linux_kernel | all versions | — |
| linux/linux_kernel | all versions | — |