NULL page->mapping dereference in mm/secretmem

Kernel Updated 02 Oct 2025

Summary

14/11/2021
N/A
No i
Unrated
Not published

GSD-2021-1002174: mm/secretmem: fix NULL page->mapping dereference in page_is_secretmem(). Affects Kernel versions >= 1507f51255c9ff07d75909a84e7c0d7f3c4b2f49, < 79f9bc5843142b649575f887dccdf1c07ad75c20. No fix is published. How to fix ↓

Free scan

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.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Your last release was probably never penetration tested Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

The Linux Kernel is an open-source monolithic Unix-like computer operating system kernel. It provides the core functionality for the Linux operating system. The mm/secretmem module in the Linux Kernel is responsible for managing secret memory, which is memory that is encrypted and protected from unauthorized access. This vulnerability in mm/secretmem 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 of the mm/secretmem module. This can lead to a kernel crash or potentially be exploited by an attacker to gain unauthorized access or execute arbitrary code. The vulnerability was introduced in Linux Kernel version v5.14 by commit 1507f51255c9ff07d75909a84e7c0d7f3c4b2f49 and is fixed in version v5.15 by commit 79f9bc5843142b649575f887dccdf1c07ad75c20.

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 known workaround for this vulnerability.

Conclusion

The NULL page->mapping dereference vulnerability in mm/secretmem module of the Linux Kernel can lead to a kernel crash or potential unauthorized access. It is recommended to update the Linux Kernel to version v5.15 or later to fix this vulnerability. For further support on vulnerability remediation, you can reach out to DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

The vulnerability can lead to a kernel crash or potentially be exploited by an attacker to gain unauthorized access or execute arbitrary code.

The vulnerability was introduced in Linux Kernel version v5.14 by commit 1507f51255c9ff07d75909a84e7c0d7f3c4b2f49.

You can check the version of your Linux Kernel and compare it to the affected versions mentioned in the vulnerability details. Alternatively, you can use vulnerability scanning tools like Vulert to automatically check for vulnerabilities in your software.

Yes, the vulnerability is fixed in Linux Kernel version v5.15 by commit 79f9bc5843142b649575f887dccdf1c07ad75c20.

You can refer to the vulnerability details in the GSD database for more information. The link to the source is provided in the vulnerability details section.

Related vulnerabilities

Recent vulnerabilities recorded for Kernel.

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 →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback