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")
Metrics
CVSS 3.1 7.1/10
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:HWeakness enumeration
Affected software
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | >= b3e79e7682e075326df8041b826b03453acacd0a, < 34ec706bf0b7c4ca249a729c1bcb91f706c7a7be; >= b3e79e7682e075326df8041b826b03453acacd0a, < 4e4ebb827bf09311469ffd9d0c14ed40ed9747aa; >= b3e79e7682e075326df8041b826b03453acacd0a, < 4d786870e3262ec098a3b4ed10b895176bc66ecb; >= b3e79e7682e075326df8041b826b03453acacd0a, < 683313993dbe1651c7aa00bb42a041d70e914925 |
| Linux | Linux | 5.10 |
References
- https://git.kernel.org/stable/c/34ec706bf0b7c4ca249a729c1bcb91f706c7a7bePatch
- https://git.kernel.org/stable/c/4d786870e3262ec098a3b4ed10b895176bc66ecbPatch
- https://git.kernel.org/stable/c/4e4ebb827bf09311469ffd9d0c14ed40ed9747aaPatch
- https://git.kernel.org/stable/c/683313993dbe1651c7aa00bb42a041d70e914925Patch
- https://git.kernel.org/stable/c/34ec706bf0b7c4ca249a729c1bcb91f706c7a7bePatch
- https://git.kernel.org/stable/c/4d786870e3262ec098a3b4ed10b895176bc66ecbPatch
- https://git.kernel.org/stable/c/4e4ebb827bf09311469ffd9d0c14ed40ed9747aaPatch
- https://git.kernel.org/stable/c/683313993dbe1651c7aa00bb42a041d70e914925Patch
Timeline
- Published
- Feb 27, 2024
- Last modified
- Jun 17, 2026
- NVD status
- Analyzed