copy_page_to_iter_pipe 和 push_pipe 函数中新的管道缓冲区结构的“flags”成员缺少正确初始化,因此可能包含陈旧值。非特权本地用户可利用此缺陷向由只读文件支持的页面缓存中写入内容,从而提升其在系统上的权限。该漏洞影响 Linux 内核版本 5.17-rc6 之前的版本。
- 它类似于 [[https://nvd.nist.gov/vuln/detail/CVE-2016-5195][CVE-2016-5195]]“脏牛”,但更容易利用。
- 该漏洞已在 [[https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=9d2231c5d74e13b2a0546fee6737ee4446017903][Linux 5.16.11、5.15.25 和 5.10.102]] 中得到修复。** 参考 - 参考来源 - [[https://dirtypipe.cm4all.com/][脏管道漏洞]] - [[https://github.com/Arinerron/CVE-2022-0847-DirtyPipe-Exploit][CVE-2022-0847-DirtyPipe-Exploit]] - 参考文章 - [[https://www.bleepingcomputer.com/news/security/new-linux-bug-gives-root-on-all-major-distros-exploit-released/][新 Linux 漏洞使所有主要发行版获得 root 权限,漏洞利用已发布]] - 参考概念验证代码 - [[https://github.com/Al1ex/LinuxEelvation/tree/master/CVE-2022-0847][CVE-2022-0847]] - [[https://github.com/imfiver/CVE-2022-0847][CVE-2022-0847]] - [[https://github.com/lucksec/CVE-2022-0847][CVE-2022-0847]] - [[https://github.com/bbaranoff/CVE-2022-0847][CVE-2022-0847]] - 参考风险 - CVE - 参考相关 - [[https://nvd.nist.gov/vuln/detail/CVE-2016-5195][CVE-2016-5195]]