CVE-2022-49046

medium

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.

References

https://git.kernel.org/stable/c/c74d77a2d07744147d734138acd6ce9dba715e5d

https://git.kernel.org/stable/c/993eb48fa199b5f476df8204e652eff63dd19361

https://git.kernel.org/stable/c/2f345bb14ad4744950499ff222e2899209297afa

Details

Source: Mitre, NVD

Published: 2025-02-26

Updated: 2025-02-26

Risk Information

CVSS v2

Base Score: 4.9

Vector: CVSS2#AV:L/AC:L/Au:N/C:N/I:N/A:C

Severity: Medium

CVSS v3

Base Score: 5.5

Vector: CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Severity: Medium