Description
In the Linux kernel, the following vulnerability has been resolved: tun: drop batched packets while the device is down tun_sendmsg() handles TUN_MSG_PTR batches from vhost-net by calling tun_xdp_one() instead of tun_get_user(). But this path does not check IFF_UP, allowing packets from a guest to be injected into the host receive path while the device is administratively down. Check IFF_UP in tun_xdp_one() before running XDP or building an skb. Drop the packet when the device is down, matching tun_get_user().
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
Linux Linux
Default version status: unaffected
043d222f93ab8c76b56a3b315cd8692e35affb6c to < 36d2c9209421609becf9a6fcf785ed16a577c990affected043d222f93ab8c76b56a3b315cd8692e35affb6c to < 6e1cc21faa81afd0deefb6a7fd9a8b22d9e49c5faffected043d222f93ab8c76b56a3b315cd8692e35affb6c to < ca83186c778765e2a9b1677009329fe3dde4b18eaffected043d222f93ab8c76b56a3b315cd8692e35affb6c to < 32f53cb8042632c6324a96bc65bf1c14f8800e9baffected043d222f93ab8c76b56a3b315cd8692e35affb6c to < 2b1979b2a864e7bc634e7706484f88a09a788f5faffected043d222f93ab8c76b56a3b315cd8692e35affb6c to < 8f44631ba02afe9fff2f0a0fb66560ab19df87fdaffected
Linux Linux
Default version status: affected
4.20affected0 to < 4.20unaffected6.1.193 to ≤ 6.1.*unaffected6.6.163 to ≤ 6.6.*unaffected6.12.119 to ≤ 6.12.*unaffected6.18.65 to ≤ 6.18.*unaffected7.3.6 to ≤ 7.3.*unaffected7.4-rc1 to ≤ *unaffected
References
- https://git.kernel.org/stable/c/36d2c9209421609becf9a6fcf785ed16a577c990 ↗
- https://git.kernel.org/stable/c/6e1cc21faa81afd0deefb6a7fd9a8b22d9e49c5f ↗
- https://git.kernel.org/stable/c/ca83186c778765e2a9b1677009329fe3dde4b18e ↗
- https://git.kernel.org/stable/c/32f53cb8042632c6324a96bc65bf1c14f8800e9b ↗
- https://git.kernel.org/stable/c/2b1979b2a864e7bc634e7706484f88a09a788f5f ↗
- https://git.kernel.org/stable/c/8f44631ba02afe9fff2f0a0fb66560ab19df87fd ↗