Shift-Out-of-Bound Vulnerability in nvmem Package

Kernel Updated 02 Oct 2025

Summary

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

GSD-2021-1001932: nvmem: Fix shift-out-of-bound (UBSAN) with byte size cells. Affects Kernel versions >= 69aba7948cbe53f2f1827e84e9dd0ae470a5072e, < 60df06bbdf497e37ed25ad40572c362e5b0998df. 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 MarkAI Find prospects already talking about the problem you solve AI watches the communities your customers use to find qualified prospects, then alerts you when a conversation is worth joining. See MarkAI

Background

The nvmem package is a component of the Linux Kernel, which provides an interface for accessing non-volatile memory devices. It allows reading and writing data to these devices, which are commonly used for storing system configuration and calibration data. The nvmem package is an essential part of the Linux Kernel and is widely used in various embedded systems and devices.

Vulnerability Detail

The identified vulnerability in the nvmem package is related to a shift-out-of-bound issue. This vulnerability can be triggered when byte size cells are used, leading to undefined behavior and potential security risks. Although the impact and attack plausibility have not been proven, this vulnerability has the potential to be exploited by malicious actors to gain unauthorized access, manipulate data, or cause system instability. The vulnerability was introduced in version v4.3 of the Linux Kernel and has been fixed in version v4.9.288.

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

As a workaround, users can avoid using byte size cells in the nvmem package. Instead, it is recommended to use other cell sizes that do not trigger the shift-out-of-bound issue. However, this workaround may not be feasible in all scenarios and it is strongly advised to apply the official fix by updating the Linux Kernel.

Conclusion

The shift-out-of-bound vulnerability in the nvmem package of the Linux Kernel can pose potential security risks. It is crucial to update the Linux Kernel to version v4.9.288 or later to mitigate this vulnerability. For further support and assistance in vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

The nvmem package is a component of the Linux Kernel that provides an interface for accessing non-volatile memory devices.

The impact of this vulnerability is not yet proven, but it has the potential to be exploited by malicious actors to gain unauthorized access, manipulate data, or cause system instability.

To fix this vulnerability, it is recommended to update the Linux Kernel to version v4.9.288 or later.

A workaround is to avoid using byte size cells in the nvmem package and use other cell sizes instead.

Detailed instructions on how to update the Linux Kernel can be found in the official documentation.

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