{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2022-48630","id":"CVE-2022-48630","title":"crypto: qcom-rng - fix infinite loop on requests not multiple of WORD_SZ","description":"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 'break' from the else\nbranch in qcom_rng_read(), causing an infinite loop whenever 'max' is\nnot a multiple of WORD_SZ. This can be reproduced e.g. by running:\n\n    kcapi-rng -b 67 >/dev/null\n\nThere are many","descriptionLong":"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 'break' from the else\nbranch in qcom_rng_read(), causing an infinite loop whenever 'max' is\nnot a multiple of WORD_SZ. This can be reproduced e.g. by running:\n\n    kcapi-rng -b 67 >/dev/null\n\nThere are many ways to fix this without adding back the 'break', but\nthey all seem more awkward than simply adding it back, so do just that.\n\nTested on a machine with Qualcomm Amberwing processor.","published":"2024-03-05T11:18:07.394Z","updated":"2026-11-17T07:01:13.219665633Z","reserved":"2024-02-25T13:44:28.315Z","status":"Analyzed","rejected":false,"assigner":"Linux","metric":{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"NVD"},"metrics":[{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"NVD"}],"rating":"medium","products":["Linux"],"affectedProducts":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"a8e32bbb96c25b7ab29b1894dcd45e0b3b08fd9d","lessThan":"71a89789552b7faf3ef27969b9bc783fa0df3550","status":"affected","versionType":"git"},{"version":"184f7bd08ce56f003530fc19f160d54e75bf5c9d","lessThan":"8be06f62b426801dba43ddf8893952a0e62ab6ae","status":"affected","versionType":"git"},{"version":"0f9b7b8df17525e464294c916acc8194ce38446b","lessThan":"233a3cc60e7a8fe0be8cf9934ae7b67ba25a866c","status":"affected","versionType":"git"},{"version":"ab9337c7cb6f875b6286440b1adfbeeef2b2b2bd","lessThan":"8a06f25f5941c145773204f2f7abef95b4ffb8ce","status":"affected","versionType":"git"},{"version":"a680b1832ced3b5fa7c93484248fd221ea0d614b","lessThan":"05d4d17475d8d094c519bb51658bc47899c175e3","status":"affected","versionType":"git"},{"version":"a680b1832ced3b5fa7c93484248fd221ea0d614b","lessThan":"16287397ec5c08aa58db6acf7dbc55470d78087d","status":"affected","versionType":"git"},{"version":"485995cbc98a4f77cfd4f8ed4dd7ff8ab262964d","status":"affected","versionType":"git"},{"version":"4.19.236","lessThan":"4.19.245","status":"affected","versionType":"semver"},{"version":"5.4.187","lessThan":"5.4.196","status":"affected","versionType":"semver"},{"version":"5.10.108","lessThan":"5.10.118","status":"affected","versionType":"semver"},{"version":"5.15.31","lessThan":"5.15.42","status":"affected","versionType":"semver"},{"version":"5.16.17","lessThan":"5.17","status":"affected","versionType":"semver"}],"platforms":[]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.17","status":"affected"},{"version":"0","lessThan":"5.17","status":"unaffected","versionType":"semver"},{"version":"4.19.245","lessThanOrEqual":"4.19.*","status":"unaffected","versionType":"semver"},{"version":"5.4.196","lessThanOrEqual":"5.4.*","status":"unaffected","versionType":"semver"},{"version":"5.10.118","lessThanOrEqual":"5.10.*","status":"unaffected","versionType":"semver"},{"version":"5.15.42","lessThanOrEqual":"5.15.*","status":"unaffected","versionType":"semver"},{"version":"5.17.10","lessThanOrEqual":"5.17.*","status":"unaffected","versionType":"semver"},{"version":"5.18","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}],"platforms":[]}],"packages":[],"cwes":["CWE-835"],"aliases":[],"references":[{"url":"https://git.kernel.org/stable/c/71a89789552b7faf3ef27969b9bc783fa0df3550","tags":["x_transferred","Patch","web"]},{"url":"https://git.kernel.org/stable/c/8be06f62b426801dba43ddf8893952a0e62ab6ae","tags":["x_transferred","Patch","web"]},{"url":"https://git.kernel.org/stable/c/233a3cc60e7a8fe0be8cf9934ae7b67ba25a866c","tags":["x_transferred","Patch","web"]},{"url":"https://git.kernel.org/stable/c/8a06f25f5941c145773204f2f7abef95b4ffb8ce","tags":["x_transferred","Patch","web"]},{"url":"https://git.kernel.org/stable/c/05d4d17475d8d094c519bb51658bc47899c175e3","tags":["x_transferred","Patch","web"]},{"url":"https://git.kernel.org/stable/c/16287397ec5c08aa58db6acf7dbc55470d78087d","tags":["x_transferred","Patch","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/48xxx/CVE-2022-48630.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-48630","tags":["advisory"]},{"url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial"},"epss":0.00226,"epssPercentile":0.13457,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2022-48630","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-48630","ok":true,"note":"Analyzed"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2022-48630","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2022-48630","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}