What’s Vulnerable › Vulnerabilities

CVE-2022-49046: i2c: dev: check return value when calling dev_set_name()

Description

In the Linux kernel, the following vulnerability has been resolved: i2c: dev: check return value when calling dev_set_name() If dev_set_name() fails, the dev_name() is null, check the return value of dev_set_name() to avoid the null-ptr-deref.

Affected products

How to fix

Upgrade to a fixed version: Linux kernel 4.10, 4.15, 4.20, 4.5. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2022-49046 or the next vulnerability affects your stack