tun: drop batched packets while the device is down
- State
- Published
- Severity
- Not Scored
- Published
- Nov 30, 2026
- Updated
- Nov 30, 2026
- Reserved
- Nov 30, 2026
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().
| Product | Versions |
|---|---|
| Linux Linux | 043d222f93ab8c76b56a3b315cd8692e35affb6c to before 36d2c9209421609becf9a6fcf785ed16a577c990 Affected043d222f93ab8c76b56a3b315cd8692e35affb6c to before 6e1cc21faa81afd0deefb6a7fd9a8b22d9e49c5f Affected043d222f93ab8c76b56a3b315cd8692e35affb6c to before ca83186c778765e2a9b1677009329fe3dde4b18e Affected043d222f93ab8c76b56a3b315cd8692e35affb6c to before 32f53cb8042632c6324a96bc65bf1c14f8800e9b Affected043d222f93ab8c76b56a3b315cd8692e35affb6c to before 2b1979b2a864e7bc634e7706484f88a09a788f5f Affected043d222f93ab8c76b56a3b315cd8692e35affb6c to before 8f44631ba02afe9fff2f0a0fb66560ab19df87fd Affected |
| Linux Linux | 4.20 Affectedbefore 4.20 Not Affected6.1.193 through 6.1.* Not Affected6.6.163 through 6.6.* Not Affected6.12.119 through 6.12.* Not Affected6.18.65 through 6.18.* Not Affected7.3.6 through 7.3.* Not Affected7.4-rc1 and later Not Affected |
The record has no CVSS score.
Weaknesses
The record names no weakness.
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
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.