Skip to content
CVE PROGRAM SOURCE RECORDUnscored

CVE-2021-46965

mtd: physmap: physmap-bt1-rom: Fix unintentional stack access

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

Affected products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Linux Linux

Default version status: unaffected

  • b3e79e7682e075326df8041b826b03453acacd0a to < 34ec706bf0b7c4ca249a729c1bcb91f706c7a7beaffected
  • b3e79e7682e075326df8041b826b03453acacd0a to < 4e4ebb827bf09311469ffd9d0c14ed40ed9747aaaffected
  • b3e79e7682e075326df8041b826b03453acacd0a to < 4d786870e3262ec098a3b4ed10b895176bc66ecbaffected
  • b3e79e7682e075326df8041b826b03453acacd0a to < 683313993dbe1651c7aa00bb42a041d70e914925affected

Linux Linux

Default version status: affected

  • 5.10affected
  • 0 to < 5.10unaffected
  • 5.10.36 to ≤ 5.10.*unaffected
  • 5.11.20 to ≤ 5.11.*unaffected
  • 5.12.3 to ≤ 5.12.*unaffected
  • 5.13 to ≤ *unaffected

References