GCVE Workshop - 22 September 2026 (14:00-18:00), Luxembourg Before The Vulnopticon Conference - Registration

CVE-2022-48630 (GCVE-0-2022-48630)

Vulnerability from cvelistv5 – Published: 2024-03-05 11:18 – Updated: 2026-05-23 15:20
VLAI
Title
crypto: qcom-rng - fix infinite loop on requests not multiple of WORD_SZ
Summary
In the Linux kernel, the following vulnerability has been resolved: crypto: qcom-rng - fix infinite loop on requests not multiple of WORD_SZ The commit referenced in the Fixes tag removed the 'break' from the else branch in qcom_rng_read(), causing an infinite loop whenever 'max' is not a multiple of WORD_SZ. This can be reproduced e.g. by running: kcapi-rng -b 67 >/dev/null There are many ways to fix this without adding back the 'break', but they all seem more awkward than simply adding it back, so do just that. Tested on a machine with Qualcomm Amberwing processor.
Severity
No CVSS data available.
SSVC
Exploitation: none Automatable: no Technical Impact: partial
CISA Coordinator · CISA-ADP (v2.0.3)
Decision recorded 2024-03-06 20:31 UTC
Impacted products
Vendor Product Version CPE status
Linux Linux Affected: a8e32bbb96c25b7ab29b1894dcd45e0b3b08fd9d , < 71a89789552b7faf3ef27969b9bc783fa0df3550 (git)
Affected: 184f7bd08ce56f003530fc19f160d54e75bf5c9d , < 8be06f62b426801dba43ddf8893952a0e62ab6ae (git)
Affected: 0f9b7b8df17525e464294c916acc8194ce38446b , < 233a3cc60e7a8fe0be8cf9934ae7b67ba25a866c (git)
Affected: ab9337c7cb6f875b6286440b1adfbeeef2b2b2bd , < 8a06f25f5941c145773204f2f7abef95b4ffb8ce (git)
Affected: a680b1832ced3b5fa7c93484248fd221ea0d614b , < 05d4d17475d8d094c519bb51658bc47899c175e3 (git)
Affected: a680b1832ced3b5fa7c93484248fd221ea0d614b , < 16287397ec5c08aa58db6acf7dbc55470d78087d (git)
Affected: 485995cbc98a4f77cfd4f8ed4dd7ff8ab262964d (git)
Affected: 4.19.236 , < 4.19.245 (semver)
Affected: 5.4.187 , < 5.4.196 (semver)
Affected: 5.10.108 , < 5.10.118 (semver)
Affected: 5.15.31 , < 5.15.42 (semver)
Affected: 5.16.17 , < 5.17 (semver)
guessed Create a notification for this product.
Linux Linux Affected: 5.17
Unaffected: 0 , < 5.17 (semver)
Unaffected: 4.19.245 , ≤ 4.19.* (semver)
Unaffected: 5.4.196 , ≤ 5.4.* (semver)
Unaffected: 5.10.118 , ≤ 5.10.* (semver)
Unaffected: 5.15.42 , ≤ 5.15.* (semver)
Unaffected: 5.17.10 , ≤ 5.17.* (semver)
Unaffected: 5.18 , ≤ * (original_commit_for_fix)
guessed Create a notification for this product.
Show details on NVD website

{
  "containers": {
    "adp": [
      {
        "metrics": [
          {
            "other": {
              "content": {
                "id": "CVE-2022-48630",
                "options": [
                  {
                    "Exploitation": "none"
                  },
                  {
                    "Automatable": "no"
                  },
                  {
                    "Technical Impact": "partial"
                  }
                ],
                "role": "CISA Coordinator",
                "timestamp": "2024-03-06T20:31:48.552545Z",
                "version": "2.0.3"
              },
              "type": "ssvc"
            }
          }
        ],
        "providerMetadata": {
          "dateUpdated": "2024-06-04T17:16:45.256Z",
          "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
          "shortName": "CISA-ADP"
        },
        "title": "CISA ADP Vulnrichment"
      },
      {
        "providerMetadata": {
          "dateUpdated": "2024-08-03T15:17:55.579Z",
          "orgId": "af854a3a-2127-422b-91ae-364da2661108",
          "shortName": "CVE"
        },
        "references": [
          {
            "tags": [
              "x_transferred"
            ],
            "url": "https://git.kernel.org/stable/c/71a89789552b7faf3ef27969b9bc783fa0df3550"
          },
          {
            "tags": [
              "x_transferred"
            ],
            "url": "https://git.kernel.org/stable/c/8be06f62b426801dba43ddf8893952a0e62ab6ae"
          },
          {
            "tags": [
              "x_transferred"
            ],
            "url": "https://git.kernel.org/stable/c/233a3cc60e7a8fe0be8cf9934ae7b67ba25a866c"
          },
          {
            "tags": [
              "x_transferred"
            ],
            "url": "https://git.kernel.org/stable/c/8a06f25f5941c145773204f2f7abef95b4ffb8ce"
          },
          {
            "tags": [
              "x_transferred"
            ],
            "url": "https://git.kernel.org/stable/c/05d4d17475d8d094c519bb51658bc47899c175e3"
          },
          {
            "tags": [
              "x_transferred"
            ],
            "url": "https://git.kernel.org/stable/c/16287397ec5c08aa58db6acf7dbc55470d78087d"
          }
        ],
        "title": "CVE Program Container"
      }
    ],
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "drivers/crypto/qcom-rng.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "71a89789552b7faf3ef27969b9bc783fa0df3550",
              "status": "affected",
              "version": "a8e32bbb96c25b7ab29b1894dcd45e0b3b08fd9d",
              "versionType": "git"
            },
            {
              "lessThan": "8be06f62b426801dba43ddf8893952a0e62ab6ae",
              "status": "affected",
              "version": "184f7bd08ce56f003530fc19f160d54e75bf5c9d",
              "versionType": "git"
            },
            {
              "lessThan": "233a3cc60e7a8fe0be8cf9934ae7b67ba25a866c",
              "status": "affected",
              "version": "0f9b7b8df17525e464294c916acc8194ce38446b",
              "versionType": "git"
            },
            {
              "lessThan": "8a06f25f5941c145773204f2f7abef95b4ffb8ce",
              "status": "affected",
              "version": "ab9337c7cb6f875b6286440b1adfbeeef2b2b2bd",
              "versionType": "git"
            },
            {
              "lessThan": "05d4d17475d8d094c519bb51658bc47899c175e3",
              "status": "affected",
              "version": "a680b1832ced3b5fa7c93484248fd221ea0d614b",
              "versionType": "git"
            },
            {
              "lessThan": "16287397ec5c08aa58db6acf7dbc55470d78087d",
              "status": "affected",
              "version": "a680b1832ced3b5fa7c93484248fd221ea0d614b",
              "versionType": "git"
            },
            {
              "status": "affected",
              "version": "485995cbc98a4f77cfd4f8ed4dd7ff8ab262964d",
              "versionType": "git"
            },
            {
              "lessThan": "4.19.245",
              "status": "affected",
              "version": "4.19.236",
              "versionType": "semver"
            },
            {
              "lessThan": "5.4.196",
              "status": "affected",
              "version": "5.4.187",
              "versionType": "semver"
            },
            {
              "lessThan": "5.10.118",
              "status": "affected",
              "version": "5.10.108",
              "versionType": "semver"
            },
            {
              "lessThan": "5.15.42",
              "status": "affected",
              "version": "5.15.31",
              "versionType": "semver"
            },
            {
              "lessThan": "5.17",
              "status": "affected",
              "version": "5.16.17",
              "versionType": "semver"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "drivers/crypto/qcom-rng.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "5.17"
            },
            {
              "lessThan": "5.17",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "4.19.*",
              "status": "unaffected",
              "version": "4.19.245",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.4.*",
              "status": "unaffected",
              "version": "5.4.196",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.10.*",
              "status": "unaffected",
              "version": "5.10.118",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.15.*",
              "status": "unaffected",
              "version": "5.15.42",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.17.*",
              "status": "unaffected",
              "version": "5.17.10",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "5.18",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "4.19.245",
                  "versionStartIncluding": "4.19.236",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.4.196",
                  "versionStartIncluding": "5.4.187",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.10.118",
                  "versionStartIncluding": "5.10.108",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.15.42",
                  "versionStartIncluding": "5.15.31",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.17.10",
                  "versionStartIncluding": "5.17",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.18",
                  "versionStartIncluding": "5.17",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionStartIncluding": "5.16.17",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\ncrypto: qcom-rng - fix infinite loop on requests not multiple of WORD_SZ\n\nThe commit referenced in the Fixes tag removed the \u0027break\u0027 from the else\nbranch in qcom_rng_read(), causing an infinite loop whenever \u0027max\u0027 is\nnot a multiple of WORD_SZ. This can be reproduced e.g. by running:\n\n    kcapi-rng -b 67 \u003e/dev/null\n\nThere are many ways to fix this without adding back the \u0027break\u0027, but\nthey all seem more awkward than simply adding it back, so do just that.\n\nTested on a machine with Qualcomm Amberwing processor."
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-05-23T15:20:25.489Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/71a89789552b7faf3ef27969b9bc783fa0df3550"
        },
        {
          "url": "https://git.kernel.org/stable/c/8be06f62b426801dba43ddf8893952a0e62ab6ae"
        },
        {
          "url": "https://git.kernel.org/stable/c/233a3cc60e7a8fe0be8cf9934ae7b67ba25a866c"
        },
        {
          "url": "https://git.kernel.org/stable/c/8a06f25f5941c145773204f2f7abef95b4ffb8ce"
        },
        {
          "url": "https://git.kernel.org/stable/c/05d4d17475d8d094c519bb51658bc47899c175e3"
        },
        {
          "url": "https://git.kernel.org/stable/c/16287397ec5c08aa58db6acf7dbc55470d78087d"
        }
      ],
      "title": "crypto: qcom-rng - fix infinite loop on requests not multiple of WORD_SZ",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2022-48630",
    "datePublished": "2024-03-05T11:18:07.394Z",
    "dateReserved": "2024-02-25T13:44:28.315Z",
    "dateUpdated": "2026-05-23T15:20:25.489Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "epss": {
      "cve": "CVE-2022-48630",
      "date": "2026-09-19",
      "epss": "0.00228",
      "percentile": "0.13833"
    },
    "fkie_nvd": {
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\ncrypto: qcom-rng - fix infinite loop on requests not multiple of WORD_SZ\n\nThe commit referenced in the Fixes tag removed the \u0027break\u0027 from the else\nbranch in qcom_rng_read(), causing an infinite loop whenever \u0027max\u0027 is\nnot a multiple of WORD_SZ. This can be reproduced e.g. by running:\n\n    kcapi-rng -b 67 \u003e/dev/null\n\nThere are many ways to fix this without adding back the \u0027break\u0027, but\nthey all seem more awkward than simply adding it back, so do just that.\n\nTested on a machine with Qualcomm Amberwing processor."
        },
        {
          "lang": "es",
          "value": "En el kernel de Linux, se resolvi\u00f3 la siguiente vulnerabilidad: crypto: qcom-rng: corrige el bucle infinito en solicitudes que no sean m\u00faltiples de WORD_SZ. El commit a la que se hace referencia en la etiqueta Fixes elimin\u00f3 la \u0027ruptura\u0027 de la rama else en qcom_rng_read(), lo que provoc\u00f3 una bucle infinito siempre que \u0027max\u0027 no sea un m\u00faltiplo de WORD_SZ. Esto se puede reproducir, por ejemplo, ejecutando: kcapi-rng -b 67 \u0026gt;/dev/null Hay muchas formas de solucionar este problema sin volver a agregar el \u0027descanso\u0027, pero todas parecen m\u00e1s inc\u00f3modas que simplemente volver a agregarlo, as\u00ed que hazlo. Probado en una m\u00e1quina con procesador Qualcomm Amberwing."
        }
      ],
      "id": "CVE-2022-48630",
      "lastModified": "2024-11-21T07:33:38.930",
      "published": "2024-03-05T12:15:45.780",
      "references": [
        {
          "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
          "url": "https://git.kernel.org/stable/c/05d4d17475d8d094c519bb51658bc47899c175e3"
        },
        {
          "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
          "url": "https://git.kernel.org/stable/c/16287397ec5c08aa58db6acf7dbc55470d78087d"
        },
        {
          "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
          "url": "https://git.kernel.org/stable/c/233a3cc60e7a8fe0be8cf9934ae7b67ba25a866c"
        },
        {
          "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
          "url": "https://git.kernel.org/stable/c/71a89789552b7faf3ef27969b9bc783fa0df3550"
        },
        {
          "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
          "url": "https://git.kernel.org/stable/c/8a06f25f5941c145773204f2f7abef95b4ffb8ce"
        },
        {
          "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
          "url": "https://git.kernel.org/stable/c/8be06f62b426801dba43ddf8893952a0e62ab6ae"
        },
        {
          "source": "af854a3a-2127-422b-91ae-364da2661108",
          "url": "https://git.kernel.org/stable/c/05d4d17475d8d094c519bb51658bc47899c175e3"
        },
        {
          "source": "af854a3a-2127-422b-91ae-364da2661108",
          "url": "https://git.kernel.org/stable/c/16287397ec5c08aa58db6acf7dbc55470d78087d"
        },
        {
          "source": "af854a3a-2127-422b-91ae-364da2661108",
          "url": "https://git.kernel.org/stable/c/233a3cc60e7a8fe0be8cf9934ae7b67ba25a866c"
        },
        {
          "source": "af854a3a-2127-422b-91ae-364da2661108",
          "url": "https://git.kernel.org/stable/c/71a89789552b7faf3ef27969b9bc783fa0df3550"
        },
        {
          "source": "af854a3a-2127-422b-91ae-364da2661108",
          "url": "https://git.kernel.org/stable/c/8a06f25f5941c145773204f2f7abef95b4ffb8ce"
        },
        {
          "source": "af854a3a-2127-422b-91ae-364da2661108",
          "url": "https://git.kernel.org/stable/c/8be06f62b426801dba43ddf8893952a0e62ab6ae"
        }
      ],
      "sourceIdentifier": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
      "vulnStatus": "Awaiting Analysis"
    },
    "nvd": {
      "cve": {
        "affected": [
          {
            "affectedData": [
              {
                "defaultStatus": "unaffected",
                "product": "Linux",
                "programFiles": [
                  "drivers/crypto/qcom-rng.c"
                ],
                "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                "vendor": "Linux",
                "versions": [
                  {
                    "lessThan": "71a89789552b7faf3ef27969b9bc783fa0df3550",
                    "status": "affected",
                    "version": "a8e32bbb96c25b7ab29b1894dcd45e0b3b08fd9d",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "8be06f62b426801dba43ddf8893952a0e62ab6ae",
                    "status": "affected",
                    "version": "184f7bd08ce56f003530fc19f160d54e75bf5c9d",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "233a3cc60e7a8fe0be8cf9934ae7b67ba25a866c",
                    "status": "affected",
                    "version": "0f9b7b8df17525e464294c916acc8194ce38446b",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "8a06f25f5941c145773204f2f7abef95b4ffb8ce",
                    "status": "affected",
                    "version": "ab9337c7cb6f875b6286440b1adfbeeef2b2b2bd",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "05d4d17475d8d094c519bb51658bc47899c175e3",
                    "status": "affected",
                    "version": "a680b1832ced3b5fa7c93484248fd221ea0d614b",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "16287397ec5c08aa58db6acf7dbc55470d78087d",
                    "status": "affected",
                    "version": "a680b1832ced3b5fa7c93484248fd221ea0d614b",
                    "versionType": "git"
                  },
                  {
                    "status": "affected",
                    "version": "485995cbc98a4f77cfd4f8ed4dd7ff8ab262964d",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "4.19.245",
                    "status": "affected",
                    "version": "4.19.236",
                    "versionType": "semver"
                  },
                  {
                    "lessThan": "5.4.196",
                    "status": "affected",
                    "version": "5.4.187",
                    "versionType": "semver"
                  },
                  {
                    "lessThan": "5.10.118",
                    "status": "affected",
                    "version": "5.10.108",
                    "versionType": "semver"
                  },
                  {
                    "lessThan": "5.15.42",
                    "status": "affected",
                    "version": "5.15.31",
                    "versionType": "semver"
                  },
                  {
                    "lessThan": "5.17",
                    "status": "affected",
                    "version": "5.16.17",
                    "versionType": "semver"
                  }
                ]
              },
              {
                "defaultStatus": "affected",
                "product": "Linux",
                "programFiles": [
                  "drivers/crypto/qcom-rng.c"
                ],
                "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                "vendor": "Linux",
                "versions": [
                  {
                    "status": "affected",
                    "version": "5.17"
                  },
                  {
                    "lessThan": "5.17",
                    "status": "unaffected",
                    "version": "0",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "4.19.*",
                    "status": "unaffected",
                    "version": "4.19.245",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "5.4.*",
                    "status": "unaffected",
                    "version": "5.4.196",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "5.10.*",
                    "status": "unaffected",
                    "version": "5.10.118",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "5.15.*",
                    "status": "unaffected",
                    "version": "5.15.42",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "5.17.*",
                    "status": "unaffected",
                    "version": "5.17.10",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "*",
                    "status": "unaffected",
                    "version": "5.18",
                    "versionType": "original_commit_for_fix"
                  }
                ]
              }
            ],
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
          }
        ],
        "configurations": [
          {
            "nodes": [
              {
                "cpeMatch": [
                  {
                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                    "matchCriteriaId": "90CA0C29-659F-4285-B5C0-F4F9303CCA02",
                    "versionEndExcluding": "4.19.245",
                    "versionStartIncluding": "4.19.236",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                    "matchCriteriaId": "EA59FE65-870A-4BF7-8624-F76F50276DD2",
                    "versionEndExcluding": "5.4.196",
                    "versionStartIncluding": "5.4.187",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                    "matchCriteriaId": "563451EB-38D3-4F95-81D0-5AE1AF7490E0",
                    "versionEndExcluding": "5.10.118",
                    "versionStartIncluding": "5.10.108",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                    "matchCriteriaId": "525F7F2B-3F39-4BF6-841B-313E80A92E89",
                    "versionEndExcluding": "5.15.42",
                    "versionStartIncluding": "5.15.31",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                    "matchCriteriaId": "D634AA3E-A052-40C6-A749-5B2BE8652ABC",
                    "versionEndExcluding": "5.17.10",
                    "versionStartIncluding": "5.17",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:o:linux:linux_kernel:5.18:rc1:*:*:*:*:*:*",
                    "matchCriteriaId": "6AD94161-84BB-42E6-9882-4FC0C42E9FC1",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:o:linux:linux_kernel:5.18:rc2:*:*:*:*:*:*",
                    "matchCriteriaId": "7AB06DDF-3C2B-416D-B448-E990D8FF67A9",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:o:linux:linux_kernel:5.18:rc3:*:*:*:*:*:*",
                    "matchCriteriaId": "EAE6C6C5-4D21-4C04-897C-70CBBB3D7B91",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:o:linux:linux_kernel:5.18:rc4:*:*:*:*:*:*",
                    "matchCriteriaId": "DA5F085D-52F3-4EE2-8353-455D1A6FE073",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:o:linux:linux_kernel:5.18:rc5:*:*:*:*:*:*",
                    "matchCriteriaId": "D6EE5B78-0D83-4715-893C-ABD69B49E7FC",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:o:linux:linux_kernel:5.18:rc6:*:*:*:*:*:*",
                    "matchCriteriaId": "EE723F14-047B-4FCF-B109-E0542EDFB063",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:o:linux:linux_kernel:5.18:rc7:*:*:*:*:*:*",
                    "matchCriteriaId": "2FCFCE58-5118-4D05-864E-C82CF20EABE5",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:o:linux:linux_kernel:5.18:rc9:*:*:*:*:*:*",
                    "matchCriteriaId": "9C3E5BC9-613C-4362-BF02-153A5BBFFB2F",
                    "vulnerable": true
                  }
                ],
                "negate": false,
                "operator": "OR"
              }
            ]
          }
        ],
        "cveTags": [],
        "descriptions": [
          {
            "lang": "en",
            "value": "In the Linux kernel, the following vulnerability has been resolved:\n\ncrypto: qcom-rng - fix infinite loop on requests not multiple of WORD_SZ\n\nThe commit referenced in the Fixes tag removed the \u0027break\u0027 from the else\nbranch in qcom_rng_read(), causing an infinite loop whenever \u0027max\u0027 is\nnot a multiple of WORD_SZ. This can be reproduced e.g. by running:\n\n    kcapi-rng -b 67 \u003e/dev/null\n\nThere are many ways to fix this without adding back the \u0027break\u0027, but\nthey all seem more awkward than simply adding it back, so do just that.\n\nTested on a machine with Qualcomm Amberwing processor."
          },
          {
            "lang": "es",
            "value": "En el kernel de Linux, se resolvi\u00f3 la siguiente vulnerabilidad: crypto: qcom-rng: corrige el bucle infinito en solicitudes que no sean m\u00faltiples de WORD_SZ. El commit a la que se hace referencia en la etiqueta Fixes elimin\u00f3 la \u0027ruptura\u0027 de la rama else en qcom_rng_read(), lo que provoc\u00f3 una bucle infinito siempre que \u0027max\u0027 no sea un m\u00faltiplo de WORD_SZ. Esto se puede reproducir, por ejemplo, ejecutando: kcapi-rng -b 67 \u0026gt;/dev/null Hay muchas formas de solucionar este problema sin volver a agregar el \u0027descanso\u0027, pero todas parecen m\u00e1s inc\u00f3modas que simplemente volver a agregarlo, as\u00ed que hazlo. Probado en una m\u00e1quina con procesador Qualcomm Amberwing."
          }
        ],
        "id": "CVE-2022-48630",
        "lastModified": "2026-06-17T05:15:45.983",
        "metrics": {
          "cvssMetricV31": [
            {
              "cvssData": {
                "attackComplexity": "LOW",
                "attackVector": "LOCAL",
                "availabilityImpact": "HIGH",
                "baseScore": 5.5,
                "baseSeverity": "MEDIUM",
                "confidentialityImpact": "NONE",
                "integrityImpact": "NONE",
                "privilegesRequired": "LOW",
                "scope": "UNCHANGED",
                "userInteraction": "NONE",
                "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H",
                "version": "3.1"
              },
              "exploitabilityScore": 1.8,
              "impactScore": 3.6,
              "source": "nvd@nist.gov",
              "type": "Primary"
            }
          ],
          "ssvcV203": [
            {
              "source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
              "ssvcData": {
                "id": "CVE-2022-48630",
                "options": [
                  {
                    "exploitation": "none"
                  },
                  {
                    "automatable": "no"
                  },
                  {
                    "technicalImpact": "partial"
                  }
                ],
                "role": "CISA Coordinator",
                "timestamp": "2024-03-06T20:31:48.552545Z",
                "version": "2.0.3"
              }
            }
          ]
        },
        "published": "2024-03-05T12:15:45.780",
        "references": [
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "tags": [
              "Patch"
            ],
            "url": "https://git.kernel.org/stable/c/05d4d17475d8d094c519bb51658bc47899c175e3"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "tags": [
              "Patch"
            ],
            "url": "https://git.kernel.org/stable/c/16287397ec5c08aa58db6acf7dbc55470d78087d"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "tags": [
              "Patch"
            ],
            "url": "https://git.kernel.org/stable/c/233a3cc60e7a8fe0be8cf9934ae7b67ba25a866c"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "tags": [
              "Patch"
            ],
            "url": "https://git.kernel.org/stable/c/71a89789552b7faf3ef27969b9bc783fa0df3550"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "tags": [
              "Patch"
            ],
            "url": "https://git.kernel.org/stable/c/8a06f25f5941c145773204f2f7abef95b4ffb8ce"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "tags": [
              "Patch"
            ],
            "url": "https://git.kernel.org/stable/c/8be06f62b426801dba43ddf8893952a0e62ab6ae"
          },
          {
            "source": "af854a3a-2127-422b-91ae-364da2661108",
            "tags": [
              "Patch"
            ],
            "url": "https://git.kernel.org/stable/c/05d4d17475d8d094c519bb51658bc47899c175e3"
          },
          {
            "source": "af854a3a-2127-422b-91ae-364da2661108",
            "tags": [
              "Patch"
            ],
            "url": "https://git.kernel.org/stable/c/16287397ec5c08aa58db6acf7dbc55470d78087d"
          },
          {
            "source": "af854a3a-2127-422b-91ae-364da2661108",
            "tags": [
              "Patch"
            ],
            "url": "https://git.kernel.org/stable/c/233a3cc60e7a8fe0be8cf9934ae7b67ba25a866c"
          },
          {
            "source": "af854a3a-2127-422b-91ae-364da2661108",
            "tags": [
              "Patch"
            ],
            "url": "https://git.kernel.org/stable/c/71a89789552b7faf3ef27969b9bc783fa0df3550"
          },
          {
            "source": "af854a3a-2127-422b-91ae-364da2661108",
            "tags": [
              "Patch"
            ],
            "url": "https://git.kernel.org/stable/c/8a06f25f5941c145773204f2f7abef95b4ffb8ce"
          },
          {
            "source": "af854a3a-2127-422b-91ae-364da2661108",
            "tags": [
              "Patch"
            ],
            "url": "https://git.kernel.org/stable/c/8be06f62b426801dba43ddf8893952a0e62ab6ae"
          }
        ],
        "sourceIdentifier": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "vulnStatus": "Analyzed",
        "weaknesses": [
          {
            "description": [
              {
                "lang": "en",
                "value": "CWE-835"
              }
            ],
            "source": "nvd@nist.gov",
            "type": "Primary"
          }
        ]
      }
    },
    "redhat_vex": {
      "aggregate_severity": "Low",
      "current_release_date": "2025-11-21T13:54:12+00:00",
      "cve": "CVE-2022-48630",
      "id": "CVE-2022-48630",
      "initial_release_date": "2022-01-01T00:00:00+00:00",
      "product_status:known_not_affected": "198",
      "source": "Red Hat CSAF VEX",
      "status": "final",
      "title": "kernel: crypto: qcom-rng - fix infinite loop on requests not multiple of WORD_SZ",
      "url": "https://security.access.redhat.com/data/csaf/v2/vex/2022/cve-2022-48630.json",
      "version": "3"
    },
    "suse_vex": {
      "aggregate_severity": "moderate",
      "current_release_date": "2026-09-04T00:36:40Z",
      "cve": "CVE-2022-48630",
      "id": "CVE-2022-48630",
      "initial_release_date": "2024-03-06T04:42:54Z",
      "product_status:known_affected": "260",
      "product_status:known_not_affected": "264",
      "product_status:recommended": "471",
      "source": "SUSE CSAF VEX",
      "status": "interim",
      "title": "SUSE CVE CVE-2022-48630",
      "url": "https://ftp.suse.com/pub/projects/security/csaf-vex/cve-2022-48630.json",
      "version": "51"
    },
    "vulnrichment": {
      "containers": {
        "adp": [
          {
            "providerMetadata": {
              "dateUpdated": "2024-08-03T15:17:55.579Z",
              "orgId": "af854a3a-2127-422b-91ae-364da2661108",
              "shortName": "CVE"
            },
            "references": [
              {
                "tags": [
                  "x_transferred"
                ],
                "url": "https://git.kernel.org/stable/c/71a89789552b7faf3ef27969b9bc783fa0df3550"
              },
              {
                "tags": [
                  "x_transferred"
                ],
                "url": "https://git.kernel.org/stable/c/8be06f62b426801dba43ddf8893952a0e62ab6ae"
              },
              {
                "tags": [
                  "x_transferred"
                ],
                "url": "https://git.kernel.org/stable/c/233a3cc60e7a8fe0be8cf9934ae7b67ba25a866c"
              },
              {
                "tags": [
                  "x_transferred"
                ],
                "url": "https://git.kernel.org/stable/c/8a06f25f5941c145773204f2f7abef95b4ffb8ce"
              },
              {
                "tags": [
                  "x_transferred"
                ],
                "url": "https://git.kernel.org/stable/c/05d4d17475d8d094c519bb51658bc47899c175e3"
              },
              {
                "tags": [
                  "x_transferred"
                ],
                "url": "https://git.kernel.org/stable/c/16287397ec5c08aa58db6acf7dbc55470d78087d"
              }
            ],
            "title": "CVE Program Container"
          },
          {
            "metrics": [
              {
                "other": {
                  "content": {
                    "id": "CVE-2022-48630",
                    "options": [
                      {
                        "Exploitation": "none"
                      },
                      {
                        "Automatable": "no"
                      },
                      {
                        "Technical Impact": "partial"
                      }
                    ],
                    "role": "CISA Coordinator",
                    "timestamp": "2024-03-06T20:31:48.552545Z",
                    "version": "2.0.3"
                  },
                  "type": "ssvc"
                }
              }
            ],
            "providerMetadata": {
              "dateUpdated": "2024-05-23T19:01:16.211Z",
              "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
              "shortName": "CISA-ADP"
            },
            "title": "CISA ADP Vulnrichment"
          }
        ],
        "cna": {
          "affected": [
            {
              "defaultStatus": "unaffected",
              "product": "Linux",
              "programFiles": [
                "drivers/crypto/qcom-rng.c"
              ],
              "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
              "vendor": "Linux",
              "versions": [
                {
                  "lessThan": "71a89789552b7faf3ef27969b9bc783fa0df3550",
                  "status": "affected",
                  "version": "a8e32bbb96c25b7ab29b1894dcd45e0b3b08fd9d",
                  "versionType": "git"
                },
                {
                  "lessThan": "8be06f62b426801dba43ddf8893952a0e62ab6ae",
                  "status": "affected",
                  "version": "184f7bd08ce56f003530fc19f160d54e75bf5c9d",
                  "versionType": "git"
                },
                {
                  "lessThan": "233a3cc60e7a8fe0be8cf9934ae7b67ba25a866c",
                  "status": "affected",
                  "version": "0f9b7b8df17525e464294c916acc8194ce38446b",
                  "versionType": "git"
                },
                {
                  "lessThan": "8a06f25f5941c145773204f2f7abef95b4ffb8ce",
                  "status": "affected",
                  "version": "ab9337c7cb6f875b6286440b1adfbeeef2b2b2bd",
                  "versionType": "git"
                },
                {
                  "lessThan": "05d4d17475d8d094c519bb51658bc47899c175e3",
                  "status": "affected",
                  "version": "a680b1832ced3b5fa7c93484248fd221ea0d614b",
                  "versionType": "git"
                },
                {
                  "lessThan": "16287397ec5c08aa58db6acf7dbc55470d78087d",
                  "status": "affected",
                  "version": "a680b1832ced3b5fa7c93484248fd221ea0d614b",
                  "versionType": "git"
                },
                {
                  "status": "affected",
                  "version": "485995cbc98a4f77cfd4f8ed4dd7ff8ab262964d",
                  "versionType": "git"
                },
                {
                  "lessThan": "4.19.245",
                  "status": "affected",
                  "version": "4.19.236",
                  "versionType": "semver"
                },
                {
                  "lessThan": "5.4.196",
                  "status": "affected",
                  "version": "5.4.187",
                  "versionType": "semver"
                },
                {
                  "lessThan": "5.10.118",
                  "status": "affected",
                  "version": "5.10.108",
                  "versionType": "semver"
                },
                {
                  "lessThan": "5.15.42",
                  "status": "affected",
                  "version": "5.15.31",
                  "versionType": "semver"
                },
                {
                  "lessThan": "5.17",
                  "status": "affected",
                  "version": "5.16.17",
                  "versionType": "semver"
                }
              ]
            },
            {
              "defaultStatus": "affected",
              "product": "Linux",
              "programFiles": [
                "drivers/crypto/qcom-rng.c"
              ],
              "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
              "vendor": "Linux",
              "versions": [
                {
                  "status": "affected",
                  "version": "5.17"
                },
                {
                  "lessThan": "5.17",
                  "status": "unaffected",
                  "version": "0",
                  "versionType": "semver"
                },
                {
                  "lessThanOrEqual": "4.19.*",
                  "status": "unaffected",
                  "version": "4.19.245",
                  "versionType": "semver"
                },
                {
                  "lessThanOrEqual": "5.4.*",
                  "status": "unaffected",
                  "version": "5.4.196",
                  "versionType": "semver"
                },
                {
                  "lessThanOrEqual": "5.10.*",
                  "status": "unaffected",
                  "version": "5.10.118",
                  "versionType": "semver"
                },
                {
                  "lessThanOrEqual": "5.15.*",
                  "status": "unaffected",
                  "version": "5.15.42",
                  "versionType": "semver"
                },
                {
                  "lessThanOrEqual": "5.17.*",
                  "status": "unaffected",
                  "version": "5.17.10",
                  "versionType": "semver"
                },
                {
                  "lessThanOrEqual": "*",
                  "status": "unaffected",
                  "version": "5.18",
                  "versionType": "original_commit_for_fix"
                }
              ]
            }
          ],
          "cpeApplicability": [
            {
              "nodes": [
                {
                  "cpeMatch": [
                    {
                      "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                      "versionEndExcluding": "4.19.245",
                      "versionStartIncluding": "4.19.236",
                      "vulnerable": true
                    },
                    {
                      "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                      "versionEndExcluding": "5.4.196",
                      "versionStartIncluding": "5.4.187",
                      "vulnerable": true
                    },
                    {
                      "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                      "versionEndExcluding": "5.10.118",
                      "versionStartIncluding": "5.10.108",
                      "vulnerable": true
                    },
                    {
                      "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                      "versionEndExcluding": "5.15.42",
                      "versionStartIncluding": "5.15.31",
                      "vulnerable": true
                    },
                    {
                      "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                      "versionEndExcluding": "5.17.10",
                      "versionStartIncluding": "5.17",
                      "vulnerable": true
                    },
                    {
                      "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                      "versionEndExcluding": "5.18",
                      "versionStartIncluding": "5.17",
                      "vulnerable": true
                    },
                    {
                      "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                      "versionStartIncluding": "5.16.17",
                      "vulnerable": true
                    }
                  ],
                  "negate": false,
                  "operator": "OR"
                }
              ]
            }
          ],
          "descriptions": [
            {
              "lang": "en",
              "value": "In the Linux kernel, the following vulnerability has been resolved:\n\ncrypto: qcom-rng - fix infinite loop on requests not multiple of WORD_SZ\n\nThe commit referenced in the Fixes tag removed the \u0027break\u0027 from the else\nbranch in qcom_rng_read(), causing an infinite loop whenever \u0027max\u0027 is\nnot a multiple of WORD_SZ. This can be reproduced e.g. by running:\n\n    kcapi-rng -b 67 \u003e/dev/null\n\nThere are many ways to fix this without adding back the \u0027break\u0027, but\nthey all seem more awkward than simply adding it back, so do just that.\n\nTested on a machine with Qualcomm Amberwing processor."
            }
          ],
          "providerMetadata": {
            "dateUpdated": "2026-05-23T15:20:25.489Z",
            "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "shortName": "Linux"
          },
          "references": [
            {
              "url": "https://git.kernel.org/stable/c/71a89789552b7faf3ef27969b9bc783fa0df3550"
            },
            {
              "url": "https://git.kernel.org/stable/c/8be06f62b426801dba43ddf8893952a0e62ab6ae"
            },
            {
              "url": "https://git.kernel.org/stable/c/233a3cc60e7a8fe0be8cf9934ae7b67ba25a866c"
            },
            {
              "url": "https://git.kernel.org/stable/c/8a06f25f5941c145773204f2f7abef95b4ffb8ce"
            },
            {
              "url": "https://git.kernel.org/stable/c/05d4d17475d8d094c519bb51658bc47899c175e3"
            },
            {
              "url": "https://git.kernel.org/stable/c/16287397ec5c08aa58db6acf7dbc55470d78087d"
            }
          ],
          "title": "crypto: qcom-rng - fix infinite loop on requests not multiple of WORD_SZ",
          "x_generator": {
            "engine": "bippy-1.2.0"
          }
        }
      },
      "cveMetadata": {
        "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "assignerShortName": "Linux",
        "cveId": "CVE-2022-48630",
        "datePublished": "2024-03-05T11:18:07.394Z",
        "dateReserved": "2024-02-25T13:44:28.315Z",
        "dateUpdated": "2026-05-23T15:20:25.489Z",
        "state": "PUBLISHED"
      },
      "dataType": "CVE_RECORD",
      "dataVersion": "5.2"
    }
  }
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

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…

Related by attack behaviour

Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.


Loading…