CVE-2023-53541 (GCVE-0-2023-53541)

Vulnerability from cvelistv5 – Published: 2025-10-04 15:16 – Updated: 2025-10-04 15:16
VLAI?
Summary
In the Linux kernel, the following vulnerability has been resolved: mtd: rawnand: brcmnand: Fix potential out-of-bounds access in oob write When the oob buffer length is not in multiple of words, the oob write function does out-of-bounds read on the oob source buffer at the last iteration. Fix that by always checking length limit on the oob buffer read and fill with 0xff when reaching the end of the buffer to the oob registers.
Severity ?
No CVSS data available.
Assigner
Impacted products
Vendor Product Version
Linux Linux Affected: 27c5b17cd1b10564fa36f8f51e4b4b41436ecc32 , < 2bc3d6ac704ea7263175ea3da663fdbbb7f3dd8b (git)
Affected: 27c5b17cd1b10564fa36f8f51e4b4b41436ecc32 , < 14b1d00520b4d6a4818364334ce472b79cfc8976 (git)
Affected: 27c5b17cd1b10564fa36f8f51e4b4b41436ecc32 , < aae45746f4aee9818296e0500e0703e9d8caa5b8 (git)
Affected: 27c5b17cd1b10564fa36f8f51e4b4b41436ecc32 , < d00b031266514a9395124704630b056a5185ec17 (git)
Affected: 27c5b17cd1b10564fa36f8f51e4b4b41436ecc32 , < 2353b7bb61e45e7cfd21505d0c6747ac8c9496a1 (git)
Affected: 27c5b17cd1b10564fa36f8f51e4b4b41436ecc32 , < 45fe4ad7f439799ee1b7b5f80bf82e8b34a98d25 (git)
Affected: 27c5b17cd1b10564fa36f8f51e4b4b41436ecc32 , < 648d1150a688698e37f7aaf302860180901cb30e (git)
Affected: 27c5b17cd1b10564fa36f8f51e4b4b41436ecc32 , < 5d53244186c9ac58cb88d76a0958ca55b83a15cd (git)
Create a notification for this product.
    Linux Linux Affected: 4.2
Unaffected: 0 , < 4.2 (semver)
Unaffected: 4.14.326 , ≤ 4.14.* (semver)
Unaffected: 4.19.295 , ≤ 4.19.* (semver)
Unaffected: 5.4.257 , ≤ 5.4.* (semver)
Unaffected: 5.10.195 , ≤ 5.10.* (semver)
Unaffected: 5.15.132 , ≤ 5.15.* (semver)
Unaffected: 6.1.54 , ≤ 6.1.* (semver)
Unaffected: 6.5.4 , ≤ 6.5.* (semver)
Unaffected: 6.6 , ≤ * (original_commit_for_fix)
Create a notification for this product.
Show details on NVD website

{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "drivers/mtd/nand/raw/brcmnand/brcmnand.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "2bc3d6ac704ea7263175ea3da663fdbbb7f3dd8b",
              "status": "affected",
              "version": "27c5b17cd1b10564fa36f8f51e4b4b41436ecc32",
              "versionType": "git"
            },
            {
              "lessThan": "14b1d00520b4d6a4818364334ce472b79cfc8976",
              "status": "affected",
              "version": "27c5b17cd1b10564fa36f8f51e4b4b41436ecc32",
              "versionType": "git"
            },
            {
              "lessThan": "aae45746f4aee9818296e0500e0703e9d8caa5b8",
              "status": "affected",
              "version": "27c5b17cd1b10564fa36f8f51e4b4b41436ecc32",
              "versionType": "git"
            },
            {
              "lessThan": "d00b031266514a9395124704630b056a5185ec17",
              "status": "affected",
              "version": "27c5b17cd1b10564fa36f8f51e4b4b41436ecc32",
              "versionType": "git"
            },
            {
              "lessThan": "2353b7bb61e45e7cfd21505d0c6747ac8c9496a1",
              "status": "affected",
              "version": "27c5b17cd1b10564fa36f8f51e4b4b41436ecc32",
              "versionType": "git"
            },
            {
              "lessThan": "45fe4ad7f439799ee1b7b5f80bf82e8b34a98d25",
              "status": "affected",
              "version": "27c5b17cd1b10564fa36f8f51e4b4b41436ecc32",
              "versionType": "git"
            },
            {
              "lessThan": "648d1150a688698e37f7aaf302860180901cb30e",
              "status": "affected",
              "version": "27c5b17cd1b10564fa36f8f51e4b4b41436ecc32",
              "versionType": "git"
            },
            {
              "lessThan": "5d53244186c9ac58cb88d76a0958ca55b83a15cd",
              "status": "affected",
              "version": "27c5b17cd1b10564fa36f8f51e4b4b41436ecc32",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "drivers/mtd/nand/raw/brcmnand/brcmnand.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "4.2"
            },
            {
              "lessThan": "4.2",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "4.14.*",
              "status": "unaffected",
              "version": "4.14.326",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "4.19.*",
              "status": "unaffected",
              "version": "4.19.295",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.4.*",
              "status": "unaffected",
              "version": "5.4.257",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.10.*",
              "status": "unaffected",
              "version": "5.10.195",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.15.*",
              "status": "unaffected",
              "version": "5.15.132",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.1.*",
              "status": "unaffected",
              "version": "6.1.54",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.5.*",
              "status": "unaffected",
              "version": "6.5.4",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "6.6",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "4.14.326",
                  "versionStartIncluding": "4.2",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "4.19.295",
                  "versionStartIncluding": "4.2",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.4.257",
                  "versionStartIncluding": "4.2",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.10.195",
                  "versionStartIncluding": "4.2",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.15.132",
                  "versionStartIncluding": "4.2",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.1.54",
                  "versionStartIncluding": "4.2",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.5.4",
                  "versionStartIncluding": "4.2",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.6",
                  "versionStartIncluding": "4.2",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nmtd: rawnand: brcmnand: Fix potential out-of-bounds access in oob write\n\nWhen the oob buffer length is not in multiple of words, the oob write\nfunction does out-of-bounds read on the oob source buffer at the last\niteration. Fix that by always checking length limit on the oob buffer\nread and fill with 0xff when reaching the end of the buffer to the oob\nregisters."
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2025-10-04T15:16:50.765Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/2bc3d6ac704ea7263175ea3da663fdbbb7f3dd8b"
        },
        {
          "url": "https://git.kernel.org/stable/c/14b1d00520b4d6a4818364334ce472b79cfc8976"
        },
        {
          "url": "https://git.kernel.org/stable/c/aae45746f4aee9818296e0500e0703e9d8caa5b8"
        },
        {
          "url": "https://git.kernel.org/stable/c/d00b031266514a9395124704630b056a5185ec17"
        },
        {
          "url": "https://git.kernel.org/stable/c/2353b7bb61e45e7cfd21505d0c6747ac8c9496a1"
        },
        {
          "url": "https://git.kernel.org/stable/c/45fe4ad7f439799ee1b7b5f80bf82e8b34a98d25"
        },
        {
          "url": "https://git.kernel.org/stable/c/648d1150a688698e37f7aaf302860180901cb30e"
        },
        {
          "url": "https://git.kernel.org/stable/c/5d53244186c9ac58cb88d76a0958ca55b83a15cd"
        }
      ],
      "title": "mtd: rawnand: brcmnand: Fix potential out-of-bounds access in oob write",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2023-53541",
    "datePublished": "2025-10-04T15:16:50.765Z",
    "dateReserved": "2025-10-04T15:14:15.920Z",
    "dateUpdated": "2025-10-04T15:16:50.765Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.1",
  "vulnerability-lookup:meta": {
    "nvd": "{\"cve\":{\"id\":\"CVE-2023-53541\",\"sourceIdentifier\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"published\":\"2025-10-04T16:15:49.160\",\"lastModified\":\"2025-10-06T14:56:21.733\",\"vulnStatus\":\"Awaiting Analysis\",\"cveTags\":[],\"descriptions\":[{\"lang\":\"en\",\"value\":\"In the Linux kernel, the following vulnerability has been resolved:\\n\\nmtd: rawnand: brcmnand: Fix potential out-of-bounds access in oob write\\n\\nWhen the oob buffer length is not in multiple of words, the oob write\\nfunction does out-of-bounds read on the oob source buffer at the last\\niteration. Fix that by always checking length limit on the oob buffer\\nread and fill with 0xff when reaching the end of the buffer to the oob\\nregisters.\"}],\"metrics\":{},\"references\":[{\"url\":\"https://git.kernel.org/stable/c/14b1d00520b4d6a4818364334ce472b79cfc8976\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/2353b7bb61e45e7cfd21505d0c6747ac8c9496a1\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/2bc3d6ac704ea7263175ea3da663fdbbb7f3dd8b\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/45fe4ad7f439799ee1b7b5f80bf82e8b34a98d25\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/5d53244186c9ac58cb88d76a0958ca55b83a15cd\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/648d1150a688698e37f7aaf302860180901cb30e\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/aae45746f4aee9818296e0500e0703e9d8caa5b8\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/d00b031266514a9395124704630b056a5185ec17\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"}]}}"
  }
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Sightings

Author Source Type Date

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.


Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…