
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2022-49507 affects the Linux kernel's regulator driver for the DA9121 chip. The vulnerability was discovered in the da9121_assign_chip_model() function where an uninitialized value could be accessed when probing a DA9121 device with invalid device tree specifications (Kernel Git).
The vulnerability occurs when the DA9121 device is probed by da9121_i2c_id with invalid device tree specifications. In this scenario, chip->subvariant_id is set to -EINVAL, and subsequently da9121_assign_chip_model() attempts to access the 'regmap' variable without proper initialization. This leads to a KASAN report indicating a slab-out-of-bounds read in __regmap_init at drivers/base/regmap/regmap.c:841 (Kernel Git).
The vulnerability could lead to memory corruption due to accessing uninitialized values, potentially causing system instability or crashes. The issue manifests as a slab-out-of-bounds read, which could expose kernel memory contents (Kernel Git).
The issue has been fixed by adding proper error handling in the da9121_assign_chip_model() function. The fix returns -EINVAL when chip->subvariant_id is invalid, preventing the access to uninitialized memory. The patch has been merged into the Linux kernel (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."