
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2021-47440 affects the Linux kernel's encx24j600 network driver. The vulnerability was discovered when devm_regmap_init may return an error (such as out of memory), which results in a null pointer dereference later when reading or writing register. This issue was identified in the encx24j600_spi_probe function (NVD).
The vulnerability occurs because the devm_regmap_init function's return value is not properly checked for errors in the devm_regmap_init_encx24j600 function. When an error occurs (like out of memory), it leads to a null pointer dereference in the regcache_cache_bypass function. The issue manifests as a general protection fault in encx24j600_spi_probe. The vulnerability has a CVSS v3.1 Base Score of 2.3 LOW with vector: CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:L (NVD).
The vulnerability can lead to a kernel crash through null pointer dereference when reading or writing registers, potentially causing a denial of service condition (NVD).
The vulnerability requires local access with high privileges to exploit. It can be triggered during device initialization when the encx24j600 driver is loaded (NVD).
The issue has been fixed by adding proper error checking in devm_regmap_init_encx24j600 function. The fix includes modifying the function to return an integer status code and adding checks for error returns from devm_regmap_init calls (Kernel Commit).
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."