CVE-2021-46965

Source
https://cve.org/CVERecord?id=CVE-2021-46965
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-46965.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2021-46965
Downstream
Published
2024-02-27T19:04:07.087Z
Modified
2026-03-15T22:42:42.913071Z
Severity
  • 7.1 (High) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H CVSS Calculator
Summary
[none]
Details

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

Affected packages

Git /

Affected ranges

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-46965.json"
unresolved_ranges
[
    {
        "events": [
            {
                "introduced": "5.10"
            },
            {
                "fixed": "5.10.36"
            }
        ]
    },
    {
        "events": [
            {
                "introduced": "5.11"
            },
            {
                "fixed": "5.11.20"
            }
        ]
    },
    {
        "events": [
            {
                "introduced": "5.12"
            },
            {
                "fixed": "5.12.3"
            }
        ]
    }
]