Not a U.S. government website. NDD is an independent vulnerability database by Volerion and is not affiliated with or endorsed by NIST or NVD.
VOLERION
Volerion Security Research

NOT DEFERRED DATABASE

VULNERABILITIES

CVE-2022-48630 Details

Description

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.

Metrics

CVSS 3.x Severity and Vector Strings:

References to Advisories, Solutions, and Tools

By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.

Weakness Enumeration

CWE-IDCWE NameSource
CWE-835Loop with Unreachable Exit Condition ('Infinite Loop')[email protected]

Affected Products

ProductVersions
linux linux kernel
>= 4.19.236, < 4.19.245
>= 5.4.187, < 5.4.196
>= 5.10.108, < 5.10.118
>= 5.15.31, < 5.15.42
>= 5.17, < 5.17.10

CPE

  • cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:5.18:rc1:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:5.18:rc2:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:5.18:rc3:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:5.18:rc4:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:5.18:rc5:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:5.18:rc6:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:5.18:rc7:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:5.18:rc9:*:*:*:*:*:*

Remediation

  • No remediation found in references.

Change History

7 change records found show changes


QUICK INFO

CVE Dictionary Entry:
CVE-2022-48630
NVD Published Date:
Mar 5, 2024
NVD Last Modified:
Jun 17, 2026
Source:
kernel.org