CVE-2025-38499 clone_private_mnt(): make sure that caller has CAP_SYS_ADMIN in the right userns
설명
In the Linux kernel, the following vulnerability has been resolved: clone_private_mnt(): make sure that caller has CAP_SYS_ADMIN in the right userns What we want is to verify there is that clone won't expose something hidden by a mount we wouldn't be able to undo. "Wouldn't be able to undo" may be a result of MNT_LOCKED on a child, but it may also come from lacking admin rights in the userns of the namespace mount belongs to. clone_private_mnt() checks the former, but not the latter. There's a number of rather confusing CAP_SYS_ADMIN checks in various userns during the mount, especially with the new mount API; they serve different purposes and in case of clone_private_mnt() they usually, but not always end up covering the missing check mentioned above.
영향 받는 제품 제품 1개
-
해결 버전 있음
Linux
Linux
영향 받는 버전
- 4.4.281 이상 4.5 미만
- 4.9.280 이상 4.10 미만
- 4.14.244 이상 4.15 미만
- 4.19.204 이상 4.20 미만
- 5.4.141 이상 5.5 미만
- 5.10.59 이상 5.11 미만
- 5.13.11 이상 5.14 미만
- 5.14
해결 버전
- 4.5 이상
- 4.10 이상
- 4.15 이상
- 4.20 이상
- 5.5 이상
- 5.11 이상
- 5.14 이상
- 5.14 미만
외 5개 구간 펼치기
- 5.15.190 이상
- 6.1.147 이상
- 6.6.100 이상
- 6.12.40 이상
- 6.15.3 이상
참고 자료 6건
- git.kernel.org https://git.kernel.org/stable/c/36fecd740de2d542d2091d65d36554ee2bcf9c65 (새 창)
- git.kernel.org https://git.kernel.org/stable/c/38628ae06e2a37770cd794802a3f1310cf9846e3 (새 창)
- git.kernel.org https://git.kernel.org/stable/c/c28f922c9dcee0e4876a2c095939d77fe7e15116 (새 창)
- git.kernel.org https://git.kernel.org/stable/c/d717325b5ecf2a40daca85c61923e17f32306179 (새 창)
- git.kernel.org https://git.kernel.org/stable/c/dc6a664089f10eab0fb36b6e4f705022210191d2 (새 창)
- git.kernel.org https://git.kernel.org/stable/c/e77078e52fbf018ab986efb3c79065ab35025607 (새 창)