CVE-2022-48630
MEDIUMLinux Kernel - Infinite Loop in qcom-rng Read Function
Title source: llmDescription
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.
References (6)
Core 6
Core References
Scores
CVSS v3
5.5
EPSS
0.0023
EPSS Percentile
13.1%
Attack Vector
LOCAL
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
CISA SSVC
Vulnrichment
Exploitation
none
Automatable
no
Technical Impact
partial
Details
CWE
CWE-835
Status
published
Products (27)
linux/Kernel
< 4.19.245linux
linux/Kernel
4.20.0 - 5.4.196linux
linux/Kernel
5.11.0 - 5.15.42linux
linux/Kernel
5.16.0 - 5.17.10linux
linux/Kernel
5.5.0 - 5.10.118linux
Linux/Linux
< 5.17
Linux/Linux
0f9b7b8df17525e464294c916acc8194ce38446b - 233a3cc60e7a8fe0be8cf9934ae7b67ba25a866c
Linux/Linux
184f7bd08ce56f003530fc19f160d54e75bf5c9d - 8be06f62b426801dba43ddf8893952a0e62ab6ae
Linux/Linux
4.19.236 - 4.19.245
Linux/Linux
4.19.245 - 4.19.*
... and 17 more
Published
Mar 05, 2024
Tracked Since
Feb 18, 2026