Vulnerability in Linux
CVE-2022-48630
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.
EPSS: 0.002 (13.5th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 5.5 (Medium). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H.
Affected products
- Linux — versions 184f7bd08ce56f003530fc19f160d54e75bf5c9d, 5.4.187, 5.10.108
- Linux Linux_kernel — versions 5.18
Weakness classification (CWE)
References
Frequently asked questions
- What is CVE-2022-48630?
- CVE-2022-48630 is a medium-severity vulnerability in Linux, classified under Loop with Unreachable Exit Condition (Infinite Loop). CVSS score: 5.5/10. Published 2024-03-05.
- How severe is CVE-2022-48630?
- Medium severity. CVSS v3 base score is 5.5 out of 10.