Exploit Title: Local Privilege Escalation in Linux kernel (CVE-2022-0847)
Tested on: ubuntu 20.04.1 LTS
Affect product:Linux kernel 5.8 or later
Fixed Product:Linux kernel 5.16.11, 5.15.25, 5.10.102
CVE ID: CVE-2022-0847
本地权限提升
gcc exploit.c -o exploit
cp /bin/passwd .
sudo chown root:root ./passwd
sudo chmod +s ./passwd
./exploit ./passwd
https://dirtypipe.cm4all.com/ https://sysdig.com/blog/cve-2022-0847-dirty-pipe-sysdig/
2021-04-29:首个关于文件损坏的工单
2022-02-19:文件损坏问题被确定为 Linux 内核漏洞,证实为可被利用的漏洞
2022-02-20:将漏洞报告、利用代码和补丁发送给 Linux 内核安全团队
2022-02-21:在 Google Pixel 6 上复现漏洞;将漏洞报告发送给 Android 安全团队
2022-02-21:按照 Linus Torvalds、Willy Tarreau 和 Al Viro 的建议,将补丁发送至 LKML(不包含漏洞详情)
2022-02-24:Google 将我的补丁合并到 Android 内核中
2022-02-28:通知了 linux-distros 邮件列表
2022-03-07:公开披露