Home
Trends
Vulnerabilities
News
Researchers
Why dbugs?

John Hubbard

Researcher fromNVIDIA
#46555of 53,632
5.5Total CVSS
Vulnerabilities · 1
PT-2024-36920
5.5
2024-11-20
Linux · Linux Kernel · CVE-2024-56612
**Name of the Vulnerable Software and Affected Versions** Linux kernel version 6.12 **Description** A flaw in the Linux kernel's `unpin user pages()` function assumes it handles NULL pages in the pages array, which is not the case. This issue can cause a kernel NULL pointer dereference. The problem arises when booting on x86 with specific configurations and running the `tools/testing/selftests/mm/gup longterm` test, resulting in a crash. The `unpin user pages()` function does not handle NULL pages, unlike `unpin folios()`. Technical details include the `sanity check pinned pages()` function and the `check and migrate movable pages or folios()` function. **Recommendations** To resolve this issue, update the Linux kernel to a version that includes the fix for handling NULL pages in `unpin user pages()`. As a temporary workaround, consider modifying the `unpin user pages()` function to skip NULL pages, similar to `unpin folios()`.