CVE-2021-47374 (GCVE-0-2021-47374)
Vulnerability from cvelistv5
Published
2024-05-21 15:03
Modified
2026-08-05 08:47
Summary
In the Linux kernel, the following vulnerability has been resolved: dma-debug: prevent an error message from causing runtime problems For some drivers, that use the DMA API. This error message can be reached several millions of times per second, causing spam to the kernel's printk buffer and bringing the CPU usage up to 100% (so, it should be rate limited). However, since there is at least one driver that is in the mainline and suffers from the error condition, it is more useful to err_printk() here instead of just rate limiting the error message (in hopes that it will make it easier for other drivers that suffer from this issue to be spotted).
Impacted products
Vendor Product Version
Linux Linux Version: 2b4bbc6231d789f58676d2ccc42177df163e1c4a
Version: 2b4bbc6231d789f58676d2ccc42177df163e1c4a
Create a notification for this product.
Show details on NVD website


{
  "containers": {
    "adp": [
      {
        "providerMetadata": {
          "dateUpdated": "2024-08-04T05:32:08.654Z",
          "orgId": "af854a3a-2127-422b-91ae-364da2661108",
          "shortName": "CVE"
        },
        "references": [
          {
            "tags": [
              "x_transferred"
            ],
            "url": "https://git.kernel.org/stable/c/de4afec2d2946c92c62a15ab341c70b287289e6a"
          },
          {
            "tags": [
              "x_transferred"
            ],
            "url": "https://git.kernel.org/stable/c/510e1a724ab1bf38150be2c1acabb303f98d0047"
          }
        ],
        "title": "CVE Program Container"
      },
      {
        "metrics": [
          {
            "other": {
              "content": {
                "id": "CVE-2021-47374",
                "options": [
                  {
                    "Exploitation": "none"
                  },
                  {
                    "Automatable": "no"
                  },
                  {
                    "Technical Impact": "partial"
                  }
                ],
                "role": "CISA Coordinator",
                "timestamp": "2024-09-10T15:38:22.986319Z",
                "version": "2.0.3"
              },
              "type": "ssvc"
            }
          }
        ],
        "providerMetadata": {
          "dateUpdated": "2024-09-11T17:33:56.494Z",
          "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
          "shortName": "CISA-ADP"
        },
        "title": "CISA ADP Vulnrichment"
      }
    ],
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "kernel/dma/debug.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "de4afec2d2946c92c62a15ab341c70b287289e6a",
              "status": "affected",
              "version": "2b4bbc6231d789f58676d2ccc42177df163e1c4a",
              "versionType": "git"
            },
            {
              "lessThan": "510e1a724ab1bf38150be2c1acabb303f98d0047",
              "status": "affected",
              "version": "2b4bbc6231d789f58676d2ccc42177df163e1c4a",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "kernel/dma/debug.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "5.14"
            },
            {
              "lessThan": "5.14",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.14.*",
              "status": "unaffected",
              "version": "5.14.9",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "5.15",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.14.9",
                  "versionStartIncluding": "5.14",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.15",
                  "versionStartIncluding": "5.14",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\ndma-debug: prevent an error message from causing runtime problems\n\nFor some drivers, that use the DMA API. This error message can be reached\nseveral millions of times per second, causing spam to the kernel\u0027s printk\nbuffer and bringing the CPU usage up to 100% (so, it should be rate\nlimited). However, since there is at least one driver that is in the\nmainline and suffers from the error condition, it is more useful to\nerr_printk() here instead of just rate limiting the error message (in hopes\nthat it will make it easier for other drivers that suffer from this issue\nto be spotted)."
        }
      ],
      "metrics": [
        {
          "cvssV3_1": {
            "baseScore": 7.5,
            "baseSeverity": "HIGH",
            "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
            "version": "3.1"
          },
          "scenarios": [
            {
              "lang": "en",
              "value": "AV:N - The vulnerable path is reached when a network NIC (notably fsl_dpaa2_eth) performs DMA mapping while processing packets; a remote peer sending traffic can drive millions of dma_map calls per second through this code.\nAC:L - Once CONFIG_DMA_API_DEBUG is enabled and a driver with overlapping mappings is present, the attacker reliably triggers the flood simply by generating high-rate network traffic with no race or special timing required.\nPR:N - No authentication or local account is required; unauthenticated remote packets that cause the NIC to map DMA buffers are sufficient to hit the unrate-limited pr_err path.\nUI:N - Exploitation requires no victim user action beyond the system already running with the affected driver receiving or transmitting network traffic.\nS:U - The DoS affects only the local kernel/system availability and does not cross a security boundary such as a VM, IOMMU, or sandbox escape.\nC:N - The bug only floods an error string via pr_err; it does not read, leak, or expose kernel or user memory contents.\nI:N - There is no memory corruption, write primitive, or control-flow hijack in this defect\u2014only excessive logging\u2014so integrity is unaffected.\nA:H - The unrate-limited error can fire millions of times per second, saturating the printk buffer and driving CPU to 100%, fully denying service as documented in the original report."
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-08-05T08:47:30.228Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/de4afec2d2946c92c62a15ab341c70b287289e6a"
        },
        {
          "url": "https://git.kernel.org/stable/c/510e1a724ab1bf38150be2c1acabb303f98d0047"
        }
      ],
      "title": "dma-debug: prevent an error message from causing runtime problems",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2021-47374",
    "datePublished": "2024-05-21T15:03:38.436Z",
    "dateReserved": "2024-05-21T14:58:30.811Z",
    "dateUpdated": "2026-08-05T08:47:30.228Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "vulnrichment": {
      "containers": "{\"adp\": [{\"title\": \"CVE Program Container\", \"references\": [{\"url\": \"https://git.kernel.org/stable/c/de4afec2d2946c92c62a15ab341c70b287289e6a\", \"tags\": [\"x_transferred\"]}, {\"url\": \"https://git.kernel.org/stable/c/510e1a724ab1bf38150be2c1acabb303f98d0047\", \"tags\": [\"x_transferred\"]}], \"providerMetadata\": {\"orgId\": \"af854a3a-2127-422b-91ae-364da2661108\", \"shortName\": \"CVE\", \"dateUpdated\": \"2024-08-04T05:32:08.654Z\"}}, {\"title\": \"CISA ADP Vulnrichment\", \"metrics\": [{\"other\": {\"type\": \"ssvc\", \"content\": {\"id\": \"CVE-2021-47374\", \"role\": \"CISA Coordinator\", \"options\": [{\"Exploitation\": \"none\"}, {\"Automatable\": \"no\"}, {\"Technical Impact\": \"partial\"}], \"version\": \"2.0.3\", \"timestamp\": \"2024-09-10T15:38:22.986319Z\"}}}], \"providerMetadata\": {\"orgId\": \"134c704f-9b21-4f2e-91b3-4a467353bcc0\", \"shortName\": \"CISA-ADP\", \"dateUpdated\": \"2024-09-11T12:42:19.748Z\"}}], \"cna\": {\"title\": \"dma-debug: prevent an error message from causing runtime problems\", \"metrics\": [{\"cvssV3_1\": {\"version\": \"3.1\", \"baseScore\": 7.5, \"baseSeverity\": \"HIGH\", \"vectorString\": \"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H\"}, \"scenarios\": [{\"lang\": \"en\", \"value\": \"AV:N - The vulnerable path is reached when a network NIC (notably fsl_dpaa2_eth) performs DMA mapping while processing packets; a remote peer sending traffic can drive millions of dma_map calls per second through this code.\\nAC:L - Once CONFIG_DMA_API_DEBUG is enabled and a driver with overlapping mappings is present, the attacker reliably triggers the flood simply by generating high-rate network traffic with no race or special timing required.\\nPR:N - No authentication or local account is required; unauthenticated remote packets that cause the NIC to map DMA buffers are sufficient to hit the unrate-limited pr_err path.\\nUI:N - Exploitation requires no victim user action beyond the system already running with the affected driver receiving or transmitting network traffic.\\nS:U - The DoS affects only the local kernel/system availability and does not cross a security boundary such as a VM, IOMMU, or sandbox escape.\\nC:N - The bug only floods an error string via pr_err; it does not read, leak, or expose kernel or user memory contents.\\nI:N - There is no memory corruption, write primitive, or control-flow hijack in this defect\\u2014only excessive logging\\u2014so integrity is unaffected.\\nA:H - The unrate-limited error can fire millions of times per second, saturating the printk buffer and driving CPU to 100%, fully denying service as documented in the original report.\"}]}], \"affected\": [{\"repo\": \"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\", \"vendor\": \"Linux\", \"product\": \"Linux\", \"versions\": [{\"status\": \"affected\", \"version\": \"2b4bbc6231d789f58676d2ccc42177df163e1c4a\", \"lessThan\": \"de4afec2d2946c92c62a15ab341c70b287289e6a\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"2b4bbc6231d789f58676d2ccc42177df163e1c4a\", \"lessThan\": \"510e1a724ab1bf38150be2c1acabb303f98d0047\", \"versionType\": \"git\"}], \"programFiles\": [\"kernel/dma/debug.c\"], \"defaultStatus\": \"unaffected\"}, {\"repo\": \"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\", \"vendor\": \"Linux\", \"product\": \"Linux\", \"versions\": [{\"status\": \"affected\", \"version\": \"5.14\"}, {\"status\": \"unaffected\", \"version\": \"0\", \"lessThan\": \"5.14\", \"versionType\": \"semver\"}, {\"status\": \"unaffected\", \"version\": \"5.14.9\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"5.14.*\"}, {\"status\": \"unaffected\", \"version\": \"5.15\", \"versionType\": \"original_commit_for_fix\", \"lessThanOrEqual\": \"*\"}], \"programFiles\": [\"kernel/dma/debug.c\"], \"defaultStatus\": \"affected\"}], \"references\": [{\"url\": \"https://git.kernel.org/stable/c/de4afec2d2946c92c62a15ab341c70b287289e6a\"}, {\"url\": \"https://git.kernel.org/stable/c/510e1a724ab1bf38150be2c1acabb303f98d0047\"}], \"x_generator\": {\"engine\": \"bippy-1.2.0\"}, \"descriptions\": [{\"lang\": \"en\", \"value\": \"In the Linux kernel, the following vulnerability has been resolved:\\n\\ndma-debug: prevent an error message from causing runtime problems\\n\\nFor some drivers, that use the DMA API. This error message can be reached\\nseveral millions of times per second, causing spam to the kernel\u0027s printk\\nbuffer and bringing the CPU usage up to 100% (so, it should be rate\\nlimited). However, since there is at least one driver that is in the\\nmainline and suffers from the error condition, it is more useful to\\nerr_printk() here instead of just rate limiting the error message (in hopes\\nthat it will make it easier for other drivers that suffer from this issue\\nto be spotted).\"}], \"cpeApplicability\": [{\"nodes\": [{\"negate\": false, \"cpeMatch\": [{\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"5.14.9\", \"versionStartIncluding\": \"5.14\"}, {\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"5.15\", \"versionStartIncluding\": \"5.14\"}], \"operator\": \"OR\"}]}], \"providerMetadata\": {\"orgId\": \"416baaa9-dc9f-4396-8d5f-8c081fb06d67\", \"shortName\": \"Linux\", \"dateUpdated\": \"2026-08-05T08:47:30.228Z\"}}}",
      "cveMetadata": "{\"cveId\": \"CVE-2021-47374\", \"state\": \"PUBLISHED\", \"dateUpdated\": \"2026-08-05T08:47:30.228Z\", \"dateReserved\": \"2024-05-21T14:58:30.811Z\", \"assignerOrgId\": \"416baaa9-dc9f-4396-8d5f-8c081fb06d67\", \"datePublished\": \"2024-05-21T15:03:38.436Z\", \"assignerShortName\": \"Linux\"}",
      "dataType": "CVE_RECORD",
      "dataVersion": "5.2"
    }
  }
}


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.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • 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.


Loading…

Loading…