CVE-2021-46965

high

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")

References

https://git.kernel.org/stable/c/683313993dbe1651c7aa00bb42a041d70e914925

https://git.kernel.org/stable/c/4e4ebb827bf09311469ffd9d0c14ed40ed9747aa

https://git.kernel.org/stable/c/4d786870e3262ec098a3b4ed10b895176bc66ecb

https://git.kernel.org/stable/c/34ec706bf0b7c4ca249a729c1bcb91f706c7a7be

Details

Source: Mitre, NVD

Published: 2024-02-27

Updated: 2025-01-08

Risk Information

CVSS v2

Base Score: 6.2

Vector: CVSS2#AV:L/AC:L/Au:S/C:C/I:N/A:C

Severity: Medium

CVSS v3

Base Score: 7.1

Vector: CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H

Severity: High

EPSS

EPSS: 0.0005