Vulnerability in Kernel: mm/secretmem - NULL page->mapping dereference in page_is_secretmem()
Summary
GSD-2021-1002105: mm/secretmem: fix NULL page->mapping dereference in page_is_secretmem(). Affects Kernel versions >= 1507f51255c9ff07d75909a84e7c0d7f3c4b2f49, < b77ba1e02345bafd703f0d407bdbd88c3be1f767. No fix is published. How to fix ↓
Check if this vulnerability affects your application
Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.
No signup required · Results in about 60 seconds
Background
The Kernel is a fundamental component of the Linux operating system that manages system resources and provides an interface for software to interact with the hardware. It is responsible for memory management, process scheduling, device drivers, and other critical functions. The mm/secretmem subsystem in the Kernel is designed to handle secret memory, which is memory that should not be paged out to disk. This vulnerability in the mm/secretmem subsystem allows for a NULL page->mapping dereference in the page_is_secretmem() function.
Vulnerability Detail
The vulnerability arises from a NULL page->mapping dereference in the page_is_secretmem() function within the mm/secretmem subsystem. This can lead to a kernel crash or potentially be exploited by an attacker to gain elevated privileges or execute arbitrary code. The vulnerability was introduced in version v5.14 of the Linux Kernel and has been fixed in version v5.14.15 by commit b77ba1e02345bafd703f0d407bdbd88c3be1f767.
How To Fix
No fixed version is published for this vulnerability.
Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →
Workaround
There is no specific workaround mentioned for this vulnerability.
Conclusion
In conclusion, the vulnerability in the Kernel's mm/secretmem subsystem can lead to a kernel crash or potential exploitation by attackers. It is crucial to update the Linux Kernel to version v5.14.15 or later to mitigate this vulnerability. For further support on vulnerability remediation, please contact DevNack.com.
See every vulnerability recorded for Kernel →
FAQ
The vulnerability can lead to a kernel crash or potentially be exploited by an attacker to gain elevated privileges or execute arbitrary code.
You can use the Vulert Playground at Vulert Scanner to check if your system is affected by this vulnerability. Simply upload your package-lock.json file and Vulert will provide real-time alerts for open-source vulnerabilities.
At the time of this report, there is no known exploit for this vulnerability. However, it is important to patch your system to prevent any potential exploitation.
The recommended mitigation is to update the Linux Kernel to version v5.14.15 or later.
You can find more information about this vulnerability in the official Linux Kernel repository: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
Related vulnerabilities
Recent vulnerabilities recorded for Kernel.