CVE-2021-46965
JSON

7.1high

mtd: physmap: physmap-bt1-rom: Fix unintentional stack access

Severity
7.1high CVSS:3.1 by NVD
Exploit likelihood
0.23% (higher than 14% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Linux

Description

In the Linux kernel, the following vulnerability has been resolved: mtd: physmap: physmap-bt1-rom: Fix unintentional stack access Cast &data to (char *) in order to avoid unintentionally accessing the stack. Notice that data is of type u32, so any increment to &data will be in the order of 4-byte chunks, and this piece of code is actually intended to be a byte offset. Addresses-Coverity-ID: 1497765 ("Out-of-bounds access")

Affected

Product or packageVersionsReported by
Linux Linuxfrom b3e79e7682e075326df8041b826b03453acacd0a before 34ec706bf0b7c4ca249a729c1bcb91f706c7a7be, from b3e79e7682e075326df8041b826b03453acacd0a before 4e4ebb827bf09311469ffd9d0c14ed40ed9747aa, from b3e79e7682e075326df8041b826b03453acacd0a before 4d786870e3262ec098a3b4ed10b895176bc66ecb, from b3e79e7682e075326df8041b826b03453acacd0a before 683313993dbe1651c7aa00bb42a041d70e914925, 5.10
Not affected: before 5.10, from 5.10.36 up to 5.10.*, from 5.11.20 up to 5.11.*, from 5.12.3 up to 5.12.*, from 5.13 up to *
CVE List
linux linux_kernelfrom 5.10 before 5.10.36, from 5.11 before 5.11.20, from 5.12 before 5.12.3NVD

Classification

CWE-125

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

In the Linux kernel, the following vulnerability has been resolved: mtd: physmap: physmap-bt1-rom: Fix unintentional stack access Cast &data to (char *) in order to avoid unintentionally accessing the stack. Notice that data is of type u32, so any increment to &data will be in the order of 4-byte chunks, and this piece of code is actually intended to be a byte offset. Addresses-Coverity-ID: 1497765 ("Out-of-bounds access")

NVD (es)

En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: mtd: physmap: physmap-bt1-rom: corrige el acceso involuntario a la pila. Transmite &data a (char *) para evitar el acceso involuntario a la pila. Tenga en cuenta que los datos son de tipo u32, por lo que cualquier incremento en &data será del orden de fragmentos de 4 bytes, y este fragmento de código en realidad está destinado a ser un desplazamiento de bytes. Direcciones-Coverity-ID: 1497765 ("Acceso fuera de límites")

References

Sources

SourceRecordLicence
CVE ListCVE-2021-46965 changed 2026-05-11CVE Terms of Use
NVDCVE-2021-46965 changed 2026-06-17Public domain