Skip to main content
← All vulnerabilities
CVE-2022-49046

i2c: dev: check return value when calling dev_set_name()

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 4.5, 4.10, 4.15, 4.20, 5.5, and 1 more
None on Exploit-DB, Metasploit or GitHub

Summary

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.

Timeline

  1. CVE published
  2. Record last updated

Affected versions

  • Linux Linux

    From 4.4.225 · fixed in 4.5; From 4.9.225 · fixed in 4.10; From 4.14.182 · fixed in 4.15; From 4.19.125 · fixed in 4.20; From 5.4.43 · fixed in 5.5; From 5.6.15 · fixed in 5.7

  • Linux Linux

    5.7

References 4

git.kernel.org