cve-2021-47055
Vulnerability from cvelistv5
Published
2024-02-29 22:37
Modified
2024-12-19 07:34
Severity ?
Summary
In the Linux kernel, the following vulnerability has been resolved: mtd: require write permissions for locking and badblock ioctls MEMLOCK, MEMUNLOCK and OTPLOCK modify protection bits. Thus require write permission. Depending on the hardware MEMLOCK might even be write-once, e.g. for SPI-NOR flashes with their WP# tied to GND. OTPLOCK is always write-once. MEMSETBADBLOCK modifies the bad block table.
References
416baaa9-dc9f-4396-8d5f-8c081fb06d67https://git.kernel.org/stable/c/077259f5e777c3c8821f6b41dee709fcda27306b
416baaa9-dc9f-4396-8d5f-8c081fb06d67https://git.kernel.org/stable/c/1e97743fd180981bef5f01402342bb54bf1c6366
416baaa9-dc9f-4396-8d5f-8c081fb06d67https://git.kernel.org/stable/c/5880afefe0cb9b2d5e801816acd58bfe91a96981
416baaa9-dc9f-4396-8d5f-8c081fb06d67https://git.kernel.org/stable/c/75ed985bd6c8ac1d4e673e93ea9d96c9908c1d37
416baaa9-dc9f-4396-8d5f-8c081fb06d67https://git.kernel.org/stable/c/7b6552719c0ccbbea29dde4be141da54fdb5877e
416baaa9-dc9f-4396-8d5f-8c081fb06d67https://git.kernel.org/stable/c/9625b00cac6630479c0ff4b9fafa88bee636e1f0
416baaa9-dc9f-4396-8d5f-8c081fb06d67https://git.kernel.org/stable/c/a08799d3e8c8088640956237c183f83463c39668
416baaa9-dc9f-4396-8d5f-8c081fb06d67https://git.kernel.org/stable/c/f4d28d8b9b0e7c4ae04214b8d7e0b0466ec6bcaf
416baaa9-dc9f-4396-8d5f-8c081fb06d67https://git.kernel.org/stable/c/f73b29819c6314c0ba8b7d5892dfb03487424bee
af854a3a-2127-422b-91ae-364da2661108https://git.kernel.org/stable/c/077259f5e777c3c8821f6b41dee709fcda27306b
af854a3a-2127-422b-91ae-364da2661108https://git.kernel.org/stable/c/1e97743fd180981bef5f01402342bb54bf1c6366
af854a3a-2127-422b-91ae-364da2661108https://git.kernel.org/stable/c/5880afefe0cb9b2d5e801816acd58bfe91a96981
af854a3a-2127-422b-91ae-364da2661108https://git.kernel.org/stable/c/75ed985bd6c8ac1d4e673e93ea9d96c9908c1d37
af854a3a-2127-422b-91ae-364da2661108https://git.kernel.org/stable/c/7b6552719c0ccbbea29dde4be141da54fdb5877e
af854a3a-2127-422b-91ae-364da2661108https://git.kernel.org/stable/c/9625b00cac6630479c0ff4b9fafa88bee636e1f0
af854a3a-2127-422b-91ae-364da2661108https://git.kernel.org/stable/c/a08799d3e8c8088640956237c183f83463c39668
af854a3a-2127-422b-91ae-364da2661108https://git.kernel.org/stable/c/f4d28d8b9b0e7c4ae04214b8d7e0b0466ec6bcaf
af854a3a-2127-422b-91ae-364da2661108https://git.kernel.org/stable/c/f73b29819c6314c0ba8b7d5892dfb03487424bee
Impacted products
Vendor Product Version
Linux Linux Version: 5.9
Show details on NVD website


{
  "containers": {
    "adp": [
      {
        "metrics": [
          {
            "other": {
              "content": {
                "id": "CVE-2021-47055",
                "options": [
                  {
                    "Exploitation": "none"
                  },
                  {
                    "Automatable": "no"
                  },
                  {
                    "Technical Impact": "partial"
                  }
                ],
                "role": "CISA Coordinator",
                "timestamp": "2024-03-01T15:53:21.546664Z",
                "version": "2.0.3"
              },
              "type": "ssvc"
            }
          }
        ],
        "providerMetadata": {
          "dateUpdated": "2024-06-04T17:13:55.596Z",
          "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
          "shortName": "CISA-ADP"
        },
        "title": "CISA ADP Vulnrichment"
      },
      {
        "providerMetadata": {
          "dateUpdated": "2024-08-04T05:24:39.642Z",
          "orgId": "af854a3a-2127-422b-91ae-364da2661108",
          "shortName": "CVE"
        },
        "references": [
          {
            "tags": [
              "x_transferred"
            ],
            "url": "https://git.kernel.org/stable/c/f4d28d8b9b0e7c4ae04214b8d7e0b0466ec6bcaf"
          },
          {
            "tags": [
              "x_transferred"
            ],
            "url": "https://git.kernel.org/stable/c/9625b00cac6630479c0ff4b9fafa88bee636e1f0"
          },
          {
            "tags": [
              "x_transferred"
            ],
            "url": "https://git.kernel.org/stable/c/f73b29819c6314c0ba8b7d5892dfb03487424bee"
          },
          {
            "tags": [
              "x_transferred"
            ],
            "url": "https://git.kernel.org/stable/c/75ed985bd6c8ac1d4e673e93ea9d96c9908c1d37"
          },
          {
            "tags": [
              "x_transferred"
            ],
            "url": "https://git.kernel.org/stable/c/5880afefe0cb9b2d5e801816acd58bfe91a96981"
          },
          {
            "tags": [
              "x_transferred"
            ],
            "url": "https://git.kernel.org/stable/c/7b6552719c0ccbbea29dde4be141da54fdb5877e"
          },
          {
            "tags": [
              "x_transferred"
            ],
            "url": "https://git.kernel.org/stable/c/077259f5e777c3c8821f6b41dee709fcda27306b"
          },
          {
            "tags": [
              "x_transferred"
            ],
            "url": "https://git.kernel.org/stable/c/a08799d3e8c8088640956237c183f83463c39668"
          },
          {
            "tags": [
              "x_transferred"
            ],
            "url": "https://git.kernel.org/stable/c/1e97743fd180981bef5f01402342bb54bf1c6366"
          }
        ],
        "title": "CVE Program Container"
      }
    ],
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "drivers/mtd/mtdchar.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "f4d28d8b9b0e7c4ae04214b8d7e0b0466ec6bcaf",
              "status": "affected",
              "version": "1c9f9125892a43901438bf704ada6b7019e2a884",
              "versionType": "git"
            },
            {
              "lessThan": "9625b00cac6630479c0ff4b9fafa88bee636e1f0",
              "status": "affected",
              "version": "583d42400532fbd6228b0254d7c732b771e4750d",
              "versionType": "git"
            },
            {
              "lessThan": "f73b29819c6314c0ba8b7d5892dfb03487424bee",
              "status": "affected",
              "version": "389c74c218d3b182e9cd767e98cee0e0fd0dabaa",
              "versionType": "git"
            },
            {
              "lessThan": "75ed985bd6c8ac1d4e673e93ea9d96c9908c1d37",
              "status": "affected",
              "version": "ab1a602a9cea98aa37b2e6851b168d2a2633a58d",
              "versionType": "git"
            },
            {
              "lessThan": "5880afefe0cb9b2d5e801816acd58bfe91a96981",
              "status": "affected",
              "version": "9a53e8bd59d9f070505e51d3fd19606a270e6b93",
              "versionType": "git"
            },
            {
              "lessThan": "7b6552719c0ccbbea29dde4be141da54fdb5877e",
              "status": "affected",
              "version": "f7e6b19bc76471ba03725fe58e0c218a3d6266c3",
              "versionType": "git"
            },
            {
              "lessThan": "077259f5e777c3c8821f6b41dee709fcda27306b",
              "status": "affected",
              "version": "f7e6b19bc76471ba03725fe58e0c218a3d6266c3",
              "versionType": "git"
            },
            {
              "lessThan": "a08799d3e8c8088640956237c183f83463c39668",
              "status": "affected",
              "version": "f7e6b19bc76471ba03725fe58e0c218a3d6266c3",
              "versionType": "git"
            },
            {
              "lessThan": "1e97743fd180981bef5f01402342bb54bf1c6366",
              "status": "affected",
              "version": "f7e6b19bc76471ba03725fe58e0c218a3d6266c3",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "drivers/mtd/mtdchar.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "5.9"
            },
            {
              "lessThan": "5.9",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "4.4.*",
              "status": "unaffected",
              "version": "4.4.269",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "4.9.*",
              "status": "unaffected",
              "version": "4.9.269",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "4.14.*",
              "status": "unaffected",
              "version": "4.14.233",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "4.19.*",
              "status": "unaffected",
              "version": "4.19.191",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.4.*",
              "status": "unaffected",
              "version": "5.4.119",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.10.*",
              "status": "unaffected",
              "version": "5.10.37",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.11.*",
              "status": "unaffected",
              "version": "5.11.21",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.12.*",
              "status": "unaffected",
              "version": "5.12.4",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "5.13",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nmtd: require write permissions for locking and badblock ioctls\n\nMEMLOCK, MEMUNLOCK and OTPLOCK modify protection bits. Thus require\nwrite permission. Depending on the hardware MEMLOCK might even be\nwrite-once, e.g. for SPI-NOR flashes with their WP# tied to GND. OTPLOCK\nis always write-once.\n\nMEMSETBADBLOCK modifies the bad block table."
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2024-12-19T07:34:24.689Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/f4d28d8b9b0e7c4ae04214b8d7e0b0466ec6bcaf"
        },
        {
          "url": "https://git.kernel.org/stable/c/9625b00cac6630479c0ff4b9fafa88bee636e1f0"
        },
        {
          "url": "https://git.kernel.org/stable/c/f73b29819c6314c0ba8b7d5892dfb03487424bee"
        },
        {
          "url": "https://git.kernel.org/stable/c/75ed985bd6c8ac1d4e673e93ea9d96c9908c1d37"
        },
        {
          "url": "https://git.kernel.org/stable/c/5880afefe0cb9b2d5e801816acd58bfe91a96981"
        },
        {
          "url": "https://git.kernel.org/stable/c/7b6552719c0ccbbea29dde4be141da54fdb5877e"
        },
        {
          "url": "https://git.kernel.org/stable/c/077259f5e777c3c8821f6b41dee709fcda27306b"
        },
        {
          "url": "https://git.kernel.org/stable/c/a08799d3e8c8088640956237c183f83463c39668"
        },
        {
          "url": "https://git.kernel.org/stable/c/1e97743fd180981bef5f01402342bb54bf1c6366"
        }
      ],
      "title": "mtd: require write permissions for locking and badblock ioctls",
      "x_generator": {
        "engine": "bippy-5f407fcff5a0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2021-47055",
    "datePublished": "2024-02-29T22:37:30.071Z",
    "dateReserved": "2024-02-29T22:33:44.293Z",
    "dateUpdated": "2024-12-19T07:34:24.689Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.1",
  "vulnerability-lookup:meta": {
    "nvd": "{\"cve\":{\"id\":\"CVE-2021-47055\",\"sourceIdentifier\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"published\":\"2024-02-29T23:15:07.473\",\"lastModified\":\"2024-11-21T06:35:16.570\",\"vulnStatus\":\"Awaiting Analysis\",\"cveTags\":[],\"descriptions\":[{\"lang\":\"en\",\"value\":\"In the Linux kernel, the following vulnerability has been resolved:\\n\\nmtd: require write permissions for locking and badblock ioctls\\n\\nMEMLOCK, MEMUNLOCK and OTPLOCK modify protection bits. Thus require\\nwrite permission. Depending on the hardware MEMLOCK might even be\\nwrite-once, e.g. for SPI-NOR flashes with their WP# tied to GND. OTPLOCK\\nis always write-once.\\n\\nMEMSETBADBLOCK modifies the bad block table.\"},{\"lang\":\"es\",\"value\":\"En el kernel de Linux se ha solucionado la siguiente vulnerabilidad: mtd: requiere permisos de escritura para bloqueo y badblock ioctls MEMLOCK, MEMUNLOCK y OTPLOCK modifican los bits de protecci\u00f3n. Por lo tanto, requiere permiso de escritura. Dependiendo del hardware, MEMLOCK podr\u00eda incluso ser de escritura \u00fanica, por ejemplo, para flashes SPI-NOR con su WP# vinculado a GND. OTPLOCK siempre se escribe una vez. MEMSETBADBLOCK modifica la tabla de bloques defectuosos.\"}],\"metrics\":{},\"references\":[{\"url\":\"https://git.kernel.org/stable/c/077259f5e777c3c8821f6b41dee709fcda27306b\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/1e97743fd180981bef5f01402342bb54bf1c6366\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/5880afefe0cb9b2d5e801816acd58bfe91a96981\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/75ed985bd6c8ac1d4e673e93ea9d96c9908c1d37\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/7b6552719c0ccbbea29dde4be141da54fdb5877e\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/9625b00cac6630479c0ff4b9fafa88bee636e1f0\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/a08799d3e8c8088640956237c183f83463c39668\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/f4d28d8b9b0e7c4ae04214b8d7e0b0466ec6bcaf\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/f73b29819c6314c0ba8b7d5892dfb03487424bee\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/077259f5e777c3c8821f6b41dee709fcda27306b\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\"},{\"url\":\"https://git.kernel.org/stable/c/1e97743fd180981bef5f01402342bb54bf1c6366\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\"},{\"url\":\"https://git.kernel.org/stable/c/5880afefe0cb9b2d5e801816acd58bfe91a96981\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\"},{\"url\":\"https://git.kernel.org/stable/c/75ed985bd6c8ac1d4e673e93ea9d96c9908c1d37\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\"},{\"url\":\"https://git.kernel.org/stable/c/7b6552719c0ccbbea29dde4be141da54fdb5877e\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\"},{\"url\":\"https://git.kernel.org/stable/c/9625b00cac6630479c0ff4b9fafa88bee636e1f0\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\"},{\"url\":\"https://git.kernel.org/stable/c/a08799d3e8c8088640956237c183f83463c39668\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\"},{\"url\":\"https://git.kernel.org/stable/c/f4d28d8b9b0e7c4ae04214b8d7e0b0466ec6bcaf\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\"},{\"url\":\"https://git.kernel.org/stable/c/f73b29819c6314c0ba8b7d5892dfb03487424bee\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\"}]}}"
  }
}


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 seen somewhere by the user.
  • Confirmed: The vulnerability is confirmed from an analyst perspective.
  • Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
  • Patched: This vulnerability was successfully patched by the user reporting the sighting.
  • Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
  • Not confirmed: The user expresses doubt about the veracity of the vulnerability.
  • Not patched: This vulnerability was not successfully patched by the user reporting the sighting.