CVE-2021-46965
published 2024-02-27CVE-2021-46965: In the Linux kernel, the following vulnerability has been resolved: mtd: physmap: physmap-bt1-rom: Fix unintentional stack access Cast &data to (char *) in…
PriorityP430high7.1CVSS 3.1
AVLACLPRLUINSUCHINAH
EPSS
0.23%
14.0th percentile
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
13 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | linux | < linux 5.10.38-1 (bookworm) | linux 5.10.38-1 (bookworm) |
| linux | linux | — | — |
| linux | linux | >= b3e79e7682e075326df8041b826b03453acacd0a < 34ec706bf0b7c4ca249a729c1bcb91f706c7a7be | 34ec706bf0b7c4ca249a729c1bcb91f706c7a7be |
| linux | linux | >= b3e79e7682e075326df8041b826b03453acacd0a < 4e4ebb827bf09311469ffd9d0c14ed40ed9747aa | 4e4ebb827bf09311469ffd9d0c14ed40ed9747aa |
| linux | linux | >= b3e79e7682e075326df8041b826b03453acacd0a < 4d786870e3262ec098a3b4ed10b895176bc66ecb | 4d786870e3262ec098a3b4ed10b895176bc66ecb |
| linux | linux | >= b3e79e7682e075326df8041b826b03453acacd0a < 683313993dbe1651c7aa00bb42a041d70e914925 | 683313993dbe1651c7aa00bb42a041d70e914925 |
| linux | linux_kernel | >= 0 < 5.10.38-1 | 5.10.38-1 |
| linux | linux_kernel | >= 0 < 5.10.38-1 | 5.10.38-1 |
| linux | linux_kernel | >= 0 < 5.10.38-1 | 5.10.38-1 |
| linux | linux_kernel | >= 0 < 5.10.38-1 | 5.10.38-1 |
| linux | linux_kernel | >= 5.10 < 5.10.36 | 5.10.36 |
| linux | linux_kernel | >= 5.11 < 5.11.20 | 5.11.20 |
| linux | linux_kernel | >= 5.12 < 5.12.3 | 5.12.3 |
CVSS provenance
nvdv3.17.1HIGHCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H
osv7.1HIGH
vendor_debian7.1HIGH
vendor_redhat7.1HIGH
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
Red Hat
kernel: mtd: physmap: physmap-bt1-rom: Fix unintentional stack access
vendor_redhat·2024-02-27·CVSS 7.1
CVE-2021-46965 [HIGH] CWE-125 kernel: mtd: physmap: physmap-bt1-rom: Fix unintentional stack access
kernel: mtd: physmap: physmap-bt1-rom: Fix unintentional stack access
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")
Statement: No Red Hat Products are affected by this vulnerability.
Package: kernel (Red Hat Enterprise Linux 6) - Out of support scope
Package: kernel (Red Hat Enterprise Linux 7) - Out of support scope
Package: kernel-rt (Red Hat Enterprise Linux 7) - Out of support scope
Package: kernel (Red Ha
Debian
CVE-2021-46965: linux - In the Linux kernel, the following vulnerability has been resolved: mtd: physma...
vendor_debian·2021·CVSS 7.1
CVE-2021-46965 [HIGH] CVE-2021-46965: linux - In the Linux kernel, the following vulnerability has been resolved: mtd: physma...
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")
Scope: local
bookworm: resolved (fixed in 5.10.38-1)
bullseye: resolved (fixed in 5.10.38-1)
forky: resolved (fixed in 5.10.38-1)
sid: resolved (fixed in 5.10.38-1)
trixie: resolved (fixed in 5.10.38-1)
GHSA
GHSA-q466-f768-77v8: In the Linux kernel, the following vulnerability has been resolved:
mtd: physmap: physmap-bt1-rom: Fix unintentional stack access
Cast &data to (cha
ghsa_unreviewed·2024-02-27
CVE-2021-46965 [HIGH] CWE-125 GHSA-q466-f768-77v8: In the Linux kernel, the following vulnerability has been resolved:
mtd: physmap: physmap-bt1-rom: Fix unintentional stack access
Cast &data to (cha
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")
OSV
CVE-2021-46965: In the Linux kernel, the following vulnerability has been resolved: mtd: physmap: physmap-bt1-rom: Fix unintentional stack access Cast &data to (char
osv·2024-02-27·CVSS 7.1
CVE-2021-46965 [HIGH] CVE-2021-46965: In the Linux kernel, the following vulnerability has been resolved: mtd: physmap: physmap-bt1-rom: Fix unintentional stack access Cast &data to (char
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")
No detection rules found.
No public exploits indexed.
https://git.kernel.org/stable/c/34ec706bf0b7c4ca249a729c1bcb91f706c7a7behttps://git.kernel.org/stable/c/4d786870e3262ec098a3b4ed10b895176bc66ecbhttps://git.kernel.org/stable/c/4e4ebb827bf09311469ffd9d0c14ed40ed9747aahttps://git.kernel.org/stable/c/683313993dbe1651c7aa00bb42a041d70e914925https://git.kernel.org/stable/c/34ec706bf0b7c4ca249a729c1bcb91f706c7a7behttps://git.kernel.org/stable/c/4d786870e3262ec098a3b4ed10b895176bc66ecbhttps://git.kernel.org/stable/c/4e4ebb827bf09311469ffd9d0c14ed40ed9747aahttps://git.kernel.org/stable/c/683313993dbe1651c7aa00bb42a041d70e914925
2024-02-27
Published