Unintentional Stack Access in mtd: physmap-bt1-rom

Kernel Updated 02 Oct 2025

Summary

31/05/2021
N/A
No i
Unrated
Not published

GSD-2021-1000082: mtd: physmap: physmap-bt1-rom: Fix unintentional stack access. Affects Kernel versions >= b3e79e7682e075326df8041b826b03453acacd0a, < 4d786870e3262ec098a3b4ed10b895176bc66ecb. 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 Penetration testing for web, API and mobile Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

The mtd (Memory Technology Devices) subsystem in the Linux Kernel provides an abstraction layer for various flash memory devices. One of the components in this subsystem is the physmap driver, which handles the mapping of physical flash memory to logical addresses. The physmap-bt1-rom driver is a specific implementation of the physmap driver for the BT1 ROM chip. This vulnerability affects the physmap-bt1-rom driver in the Linux Kernel.

Vulnerability Detail

The vulnerability in the physmap-bt1-rom driver is due to an unintentional stack access. This means that the driver may access data on the stack that it should not have access to, potentially leading to information disclosure or arbitrary code execution. The exact impact and attack plausibility of this vulnerability have not yet been proven. The vulnerability was introduced in version v5.10 of the Linux Kernel and is fixed in version v5.12.3.

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

The vulnerability in the mtd: physmap-bt1-rom driver of the Linux Kernel could potentially lead to information disclosure or arbitrary code execution. It is recommended to update the Linux Kernel to version v5.12.3 or later to fix this vulnerability. If you need further support on vulnerability remediation, you can contact DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

The impact of this vulnerability is not yet proven, but it could potentially lead to information disclosure or arbitrary code execution.

You can use the Vulert Playground (https://vulert.com/scanner) to check if your system is affected by this vulnerability. Simply upload your package-lock.json file and Vulert will analyze it for open-source vulnerabilities, including this one.

Yes, a patch is available in version v5.12.3 of the Linux Kernel. It is recommended to update to this version or later to fix the vulnerability.

The best way to mitigate the risk is to update the Linux Kernel to the fixed version. However, if updating is not possible, you can consider implementing additional security measures, such as restricting access to the affected driver or monitoring for any suspicious activity.

You can find more information about this vulnerability in the GSD-2021-1000082.json file in the GSD database (https://github.com/cloudsecurityalliance/gsd-database/blob/main/2021/1000xxx/GSD-2021-1000082.json).

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