net/xfrm/xfrm_policy.c in the Linux kernel through 4.12.3, when CONFIG_XFRM_MIGRATE is enabled, does not ensure that the dir value of xfrm_userpolicy_id is XFRM_POLICY_MAX or less, which allows local users to cause a denial of service (out-of-bounds access) or possibly have unspecified other impact via an XFRM_MSG_MIGRATE xfrm Netlink message.
| Software | From | Fixed in |
|---|---|---|
| linux / linux_kernel | 3.3 | 3.10.108 |
| linux / linux_kernel | 3.19 | 4.1.45 |
| linux / linux_kernel | 2.6.21 | 3.2.93 |
| linux / linux_kernel | 3.11 | 3.18.70 |
| linux / linux_kernel | 4.2 | 4.4.87 |
| linux / linux_kernel | 4.5 | 4.9.48 |
| linux / linux_kernel | 4.10 | 4.12.11 |