Security mailing lists by PureSourceCode

CVE-2022-48630

MEDIUM 5.5CVSS 3.1

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.

Published
5 Mar 2024
Last modified
17 Jun 2026
Assigned by
416baaa9-dc9f-4396-8d5f-8c081fb06d67
NVD status
Analyzed
Weakness
CWE-835
Sources
NVDJSON

Scores

SourceScored byVersionScoreVector / decision
NVD nvd@nist.gov (Primary) CVSS 3.1 MEDIUM 5.5 CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD linux linux_kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
>= 4.19.236, < 4.19.245 4.19.245
NVD linux linux_kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
>= 5.4.187, < 5.4.196 5.4.196
NVD linux linux_kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
>= 5.10.108, < 5.10.118 5.10.118
NVD linux linux_kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
>= 5.15.31, < 5.15.42 5.15.42
NVD linux linux_kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
>= 5.17, < 5.17.10 5.17.10
NVD linux linux_kernel
cpe:2.3:o:linux:linux_kernel:5.18:rc1:*:*:*:*:*:*
= 5.18
NVD linux linux_kernel
cpe:2.3:o:linux:linux_kernel:5.18:rc2:*:*:*:*:*:*
= 5.18
NVD linux linux_kernel
cpe:2.3:o:linux:linux_kernel:5.18:rc3:*:*:*:*:*:*
= 5.18
NVD linux linux_kernel
cpe:2.3:o:linux:linux_kernel:5.18:rc4:*:*:*:*:*:*
= 5.18
NVD linux linux_kernel
cpe:2.3:o:linux:linux_kernel:5.18:rc5:*:*:*:*:*:*
= 5.18
NVD linux linux_kernel
cpe:2.3:o:linux:linux_kernel:5.18:rc6:*:*:*:*:*:*
= 5.18
NVD linux linux_kernel
cpe:2.3:o:linux:linux_kernel:5.18:rc7:*:*:*:*:*:*
= 5.18
NVD linux linux_kernel
cpe:2.3:o:linux:linux_kernel:5.18:rc9:*:*:*:*:*:*
= 5.18

References

History

  • 25 Nov 2026 20:55 UTC · NVD: first stored (published 5 Mar 2024)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.