
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2022-49177 is a vulnerability discovered in the Linux kernel affecting the Cavium Random Number Generator (RNG) Virtual Function driver. The issue was identified as a NULL pointer dereference error in the file ./drivers/char/hw_random/cavium-rng-vf.c. The vulnerability was resolved through a patch that fixed a coccicheck warning where a NULL pointer was being dereferenced (Kernel Git).
The vulnerability exists in the cavium_map_pf_regs function within the Cavium RNG VF driver. The specific issue occurs at line 182 where a NULL pointer (pdev) was being dereferenced in an error message after a failed device lookup. The fix involved replacing the dev_err call that was attempting to use the NULL pdev pointer with a pr_err call to safely log the error message (Kernel Git).
The vulnerability could potentially cause a kernel crash when attempting to access the RNG device if the PF (Physical Function) device is not found, due to the NULL pointer dereference. This affects systems using the Cavium RNG hardware (Ubuntu Security).
The issue has been fixed in the Linux kernel through a patch that properly handles the error condition. System administrators should update to a patched kernel version. The fix involves a simple code change to use pr_err instead of dev_err when logging the error message (Kernel Git).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."