目标达成 感谢每一位支持者 — 我们达成了 100% 目标!

目标: 1000 元 · 已筹: 1359 元

100%

CVE-2026-99281— Linux tun 模块权限提升漏洞

一分钟漏洞结论

影响对象
Linux Linux
利用判断
尚无明确在野利用证据,仍需结合暴露面评估
建议动作
优先检查厂商安全公告和参考链接中的修复版本;无法立即升级时,限制受影响服务暴露并加强监测。

在 Linux 内核中,以下漏洞已得到修复: tun:要求拥有 CAP_NET_ADMIN 权限才能附加到无所有者的设备 二十年前,我在提交 ca6bb5d7ab22("[NET]:要求创建 tuntap 设备时必须具备 CAP_NET_ADMIN 权限”)中,规定创建 tuntap 设备需要 CAP_NET_ADMIN 权限。 当时的设想是:通过将 的权限放宽为 0666,允许那些通过 设置了所有者的 tun 设备的所有者能够打开并访问其设备。 然而,当时我们忽略了一个问题:那些持久化存在且未设置任何所有者的设备

AI 预测 5.5 利用难度: 中等
获取后续新漏洞提醒 登录后订阅

一、 漏洞 CVE-2026-99281 基础信息

漏洞信息

对漏洞内容有疑问?看看神龙的深度分析是否有帮助!
查看神龙十问 ↗

尽管我们使用了先进的大模型技术,但其输出仍可能包含不准确或过时的信息。神龙努力确保数据的准确性,但请您根据实际情况进行核实和判断。

Vulnerability Title
tun: Require CAP_NET_ADMIN to attach to an ownerless device
来源: CVE Program / CVE List V5
Vulnerability Description
In the Linux kernel, the following vulnerability has been resolved: tun: Require CAP_NET_ADMIN to attach to an ownerless device Twenty years ago I made creating a tuntap device require CAP_NET_ADMIN in commit ca6bb5d7ab22 ("[NET]: Require CAP_NET_ADMIN to create tuntap devices.") The idea was to allow the permissions on /dev/net/tun to be relaxed to 0666 and thus allow owners of tun devices assigned with TUNSETOWNER to actually open it and get at their devices. What we missed at the time was that persistent devices with *no* owner were already essentially world-consumable, and anyone who could open the device node could also attach to those. Even then, using persistent devices with no explicitly set owner — on the (false) presumption that CAP_NET_ADMIN would be required to open them — wasn't an egregious userspace bug. There are cases where it does make sense to separate the creation/configuration of the netdevice, from the process which shovels packets into it. Since then, TUNSETGROUP was added a year later in commit 8c644623fe7e ("[NET]: Allow group ownership of TUN/TAP devices."). Its commit message noted that if both uid and gid are set, both have to match (in itself a bizarre choice) — but still not that with *neither* set, no permission at all was required. Then in 2012 commit c8d68e6be1c3 ("tuntap: multiqueue support") allowed new queues to be attached to a device from the moment of its creation, with no way for userspace to close the race between creation and a subsequent TUNSET{OWNER,GROUP}. In 2024, commit 3ca459eaba1bf ("tun: fix group permission check") tried to fix things to be saner: only require the user *or* the group to match, in line with standard POSIX permissions, and require CAP_NET_ADMIN if neither the user nor group authorised the access (although it put the CAP_NET_ADMIN check first, and would wrongly have reported the capability as having been used even when it was not). That fix was reverted in commit a70c7b3cbc06 ("tun: revert fix group permission check") due to allegedly causing a regression in an selinux test suite which *expected* the attachment to succeed when authorised by none of user, group, nor CAP_NET_ADMIN: https://lore.kernel.org/netdev/CAFqZXNtkCBT4f+PwyVRmQGoT3p1eVa01fCG_aNtpt6dakXncUg@mail.gmail.com/ We should not break UAPI. But we don't have to consider an selinux test case which deliberately exercises a security flaw to be UAPI worth preserving either. To which end, I have fixed it in selinux-testsuite commit b2f894f0016b ("tests/tun_tap: set an owner on the device for the relabel tests"). So: fix the lack of CAP_NET_ADMIN check on devices which *haven't* been assigned an owner or group, while leaving the weird tun ownership model as it was (user *and* group have to match, if both are set). If someone still wants to fix the latter (which wasn't actually the reason the previous attempt was reverted), they can do it under separate cover. Permit attaching to an existing device only if an owner and/or group was set and the caller matches all that were set, or if the caller has CAP_NET_ADMIN. The only behavioural change is that a device with no owner or group now requires CAP_NET_ADMIN to attach — precisely the loophole we want to close. And put the CAP_NET_ADMIN check in the right place this time.
来源: CVE Program / CVE List V5
CVSS Information
N/A
来源: CVE Program / CVE List V5
Vulnerability Type
N/A
来源: CVE Program / CVE List V5

受影响产品

厂商 产品 影响版本 CPE 订阅
Linux Linux ca6bb5d7ab22ac79f608fe6cbc6b12de6a5a19f0 ~ 2f92c0286cfd58bff9d6d54c01a771073d5eb775 -
Linux Linux 2.6.18 -

二、漏洞 CVE-2026-99281 的公开POC

# POC 描述 源链接 神龙链接
AI 生成 POC 高级

未找到公开 POC。

登录以生成 AI POC

三、漏洞 CVE-2026-99281 的情报信息

请登录查看更多情报信息。

CVE-2026-99281 其他参考 (3)

同批安全公告 · Linux · 2026-11-07 · 共 12 条

CVE-2026-99282 Linux Kernel sch_teql 释放后使用漏洞
CVE-2026-99277 ksmbd 会话通道连接引用处理缺陷
CVE-2026-99279 ksmbd 会话回收逻辑漏洞
CVE-2026-99278 ksmbd 会话连接限制漏洞
CVE-2026-99280 ksmbd 会话 procfs 读取器资源竞争漏洞
CVE-2026-99276 ksmbd 会话锁忙时连接清理延迟漏洞
CVE-2026-99275 Samba SMB 客户端拒绝短会话响应漏洞
CVE-2026-99273 ksmbd 流信息 UTF-16 终止符缓冲区溢出漏洞
CVE-2026-99274 Samba SMB 客户端 fiemap 越界读取漏洞
CVE-2026-99271 ALSA line6 驱动缓冲区释放信息泄露漏洞
CVE-2026-99272 Samba SMB2 客户端数据区域验证漏洞

IV. Related Vulnerabilities