CVE-2022-48630

Medium

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.

Package Linux Kernel
Published 2024-03-05
Last modified 2025-02-03
CVSS version 3.1
Patch available
Yes

CVSS 3.1 score

5.5

out of 10
Medium
Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
Low
Integrity
None
Availability
High
Vector string
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Weakness type

CWE-835

CVE-2022-48630 is a Infinite Loop vulnerability

What is Infinite Loop?

The product contains an iteration that does not exit even when it should. Learn more on MITRE CWE

Affected versions

Linux kernel versions 4.19.236, 5.4.187, 5.10.108, 5.15.31, 5.16.17, 5.17 and later are affected. Fixed in 4.19.245, 5.4.196, 5.10.118, 5.15.42, 5.17.10, 5.18 and their respective stable series.

Affected from
≥ 4.19.236 ≥ 5.4.187 ≥ 5.10.108 ≥ 5.15.31 ≥ 5.16.17 ≥ 5.17
Fixed in
✓ 4.19.245 4.19.x ✓ 5.4.196 5.4.x ✓ 5.10.118 5.10.x ✓ 5.15.42 5.15.x ✓ 5.17.10 5.17.x ✓ 5.18

Frequently asked questions

  • What is CVE-2022-48630?

    CVE-2022-48630 is a Medium severity Linux kernel vulnerability with a CVSS score of 5.5 out of 10 , classified as an Infinite Loop flaw (CWE-835) . It affects Linux kernel versions from 4.19.236 onward and has been patched in 4.19.245, 5.4.196, 5.10.118 and others. CVE-2022-48630 has not been confirmed as actively exploited and is not listed in the CISA KEV catalog.

  • What is the CVSS score for CVE-2022-48630?

    CVE-2022-48630 has a CVSS score of 5.5 out of 10, rated Medium severity (CVSS 3.1). The vector string is CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H .

  • Is there a patch available for CVE-2022-48630?

    Yes. CVE-2022-48630 has been patched. Fixed versions include 4.19.245, 5.4.196, 5.10.118 and others. If you are running Linux kernel 4.19.236 or later up to the fix versions, apply the relevant patch for your kernel branch.

  • Is CVE-2022-48630 actively exploited?

    No. CVE-2022-48630 has not been confirmed as actively exploited. It is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog.