CVE-2024-41055 mm: prevent derefencing NULL ptr in pfn_section_valid()
설명
In the Linux kernel, the following vulnerability has been resolved: mm: prevent derefencing NULL ptr in pfn_section_valid() Commit 5ec8e8ea8b77 ("mm/sparsemem: fix race in accessing memory_section->usage") changed pfn_section_valid() to add a READ_ONCE() call around "ms->usage" to fix a race with section_deactivate() where ms->usage can be cleared. The READ_ONCE() call, by itself, is not enough to prevent NULL pointer dereference. We need to check its value before dereferencing it.
영향 받는 제품 제품 1개
-
해결 버전 있음
Linux
Linux
영향 받는 버전
- 5.10.210 이상 5.10.222 미만
- 5.15.149 이상 5.15.163 미만
- 6.1.76 이상 6.1.100 미만
- 6.6.15 이상 6.6.41 미만
- 6.7.3 이상 6.8 미만
- 6.8
해결 버전
- 5.10.222 이상
- 5.15.163 이상
- 6.1.100 이상
- 6.6.41 이상
- 6.8 이상
- 6.8 미만
- 6.9.10 이상
참고 자료 6건
- git.kernel.org https://git.kernel.org/stable/c/0100aeb8a12d51950418e685f879cc80cb8e5982 (새 창)
- git.kernel.org https://git.kernel.org/stable/c/797323d1cf92d09b7a017cfec576d9babf99cde7 (새 창)
- git.kernel.org https://git.kernel.org/stable/c/82f0b6f041fad768c28b4ad05a683065412c226e (새 창)
- git.kernel.org https://git.kernel.org/stable/c/941e816185661bf2b44b488565d09444ae316509 (새 창)
- git.kernel.org https://git.kernel.org/stable/c/adccdf702b4ea913ded5ff512239e382d7473b63 (새 창)
- git.kernel.org https://git.kernel.org/stable/c/bc17f2377818dca643a74499c3f5333500c90503 (새 창)