Alex Volkov 就 OpenAI 新模型发现 948 个 root 级别 Linux 内核提权漏洞一事询问了 mkanat。相关讨论指出,由于 DAC 机制、UID 0 与 C 语言等底层设计局限,诞生于 20 世纪 70 年代的 UNIX 安全模型难以抵御现代安全威胁,单纯持续打补丁无法实现彻底安全。
我询问了 @mkanat 关于 OAI 新模型发现的 948 个 Linux 内核根级漏洞的问题。
他毫不客气地说了实话! https://t.co/O9AN4D3gV7
可证明安全的 Linux 大概率是不可能实现的,因为底层 UNIX 安全模型本身就不合格。你可以一遍又一遍地打补丁,但归根结底它还是 DAC(自主访问控制),而且系统里总有一个 UID 0。 再叠加它是用 C 写的,加上你那些 suid 二进制文件、root 守护进程等等一切,这就是一场注定输掉的游戏。 这话我说过很多次了:UNIX 安全模型是为 1970 年代的大学实验室设计的,如果不加上大量的额外防护措施,根本无法应对现代威胁(而这些额外防护本身同样不安全,需要不断更新,而且往往只会扩大你的攻击面)。
原文
A provably safe Linux is probably an impossibility because the underlying UNIX security model is inadequate. You can patch and patch and patch but at the end of the day it’s DAC, and you have a UID 0 out there. Combine this with that it’s in C, and the presence of all your suid binaries and root daemons and everything else and it’s a losing game. I’ve said it a lot, but the UNIX security model was designed for the 1970’s university lab and does not withstand modern threats without a whole lot of additional protection (all of which is also insecure and requires constant updates and often just expands your attack surface).
来源:Alex Volkov · x.com