CVE-2022-48629: 
Linux Kernel vulnerability analysis and mitigation

Overview

CVE-2022-48629 affects the Linux kernel's Qualcomm Random Number Generator (qcom-rng) implementation. The vulnerability was discovered in the crypto subsystem where the generate function in struct rng_alg could leave the destination buffer partially filled with randomness while the remaining part is zeroed, due to qcom_rng_generate() not checking return values properly (Kernel Patch).

Technical details

The vulnerability exists in the qcom_rng_read() function where the buffer could be partially filled when the test 'val & PRNG_STATUS_DATA_AVAIL' fails. This results in sections of zeros in the output, significantly reducing the randomness quality. Testing showed the entropy dropped to 7.811590 bits per byte with a chi-square distribution that would be exceeded less than 0.01% of the time, indicating non-random output. The CVSS v3.1 score is 5.5 (Medium) with vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H (NVD).

Impact

The vulnerability affects the quality of random numbers generated by the system, potentially impacting cryptographic operations that rely on this randomness. When exploited, it results in predictable patterns in the random number output, with large sections containing zeros, which could weaken cryptographic operations depending on this RNG (Kernel Patch).

Exploitability

The issue can be reproduced using libkcapi by running 'kcapi-rng -b 9000000 > OUTFILE', which generates output files containing three large sections of zeros. The vulnerability requires local access and low privileges to exploit (NVD).

Mitigation and workarounds

The vulnerability has been patched by ensuring qcom_rng_read() always returns with a full buffer on success and making qcom_rng_generate() return the correct value. After applying the patch, the entropy improved to 7.999979 bits per byte with a more random distribution. The fix has been implemented across multiple Linux kernel versions (Kernel Patch).

Additional resources


Source: This report was generated using AI

Related Linux Kernel vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-99804HIGH7.8
  • Linux Kernel logoLinux Kernel
  • linux-azure-fde-7.0
NoYesNov 20, 2026
CVE-2026-99798HIGH7.8
  • Linux Kernel logoLinux Kernel
  • linux-nvidia
NoYesNov 20, 2026
CVE-2026-99799MEDIUM5.1
  • Linux Kernel logoLinux Kernel
  • linux-nvidia-bos
NoYesNov 20, 2026
CVE-2026-99797MEDIUM5.1
  • Linux Kernel logoLinux Kernel
  • rv
NoYesNov 20, 2026
CVE-2026-99796MEDIUM5.1
  • Linux Kernel logoLinux Kernel
  • kernel-rt-64k-debug-modules-extra
NoYesNov 20, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Additional Wiz resources

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management