mtd: physmap: physmap-bt1-rom: Fix unintentional stack access
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
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")
From the CVE record · Linux
The Linux kernel's physmap-bt1-rom code can unintentionally access the stack because it advances a u32 pointer where a byte offset is intended. The input does not establish what an attacker could do or whether exploitation requires local access, authentication, or user interaction.
Engineers running Linux kernels with the physmap-bt1-rom component should check their versions; affected versions were not provided.