CVE-2022-48630
Last modified
CVE-2022-48630 is a medium-severity vulnerability rated 5.5/10 on the CVSS scale. 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. EPSS estimates a 0.23% chance of exploitation in the next 30 days.
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.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions | Update |
|---|---|---|---|
| Linux | Linux Kernel | >= 4.19.236, < 4.19.245 | — |
| Linux | Linux Kernel | >= 5.4.187, < 5.4.196 | — |
| Linux | Linux Kernel | >= 5.10.108, < 5.10.118 | — |
| Linux | Linux Kernel | >= 5.15.31, < 5.15.42 | — |
| Linux | Linux Kernel | >= 5.17, < 5.17.10 | — |
| Linux | Linux Kernel | 5.18 | Rc1 |
References
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2022-48630?
How severe is CVE-2022-48630?
How do I fix CVE-2022-48630?
Are you affected by CVE-2022-48630?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
