CVEvulnerability

CVE-2022-49046

5.5 MEDIUM Published 2025-02-26 Modified 2026-06-17 Official page ↗
Status
Modified
Published
2025-02-26
Last modified
2026-06-17
Assigner
416baaa9-dc9f-4396-8d5f-8c081fb06d67
CVSS 3.1 ([email protected])
5.5 MEDIUM — CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Weaknesses
CWE-476

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 configurations

• linux linux kernel (>= 4.4.225 < 4.5) • linux linux kernel (>= 4.9.225 < 4.10) • linux linux kernel (>= 4.14.182 < 4.15) • linux linux kernel (>= 4.19.125 < 4.20) • linux linux kernel (>= 5.4.43 < 5.5) • linux linux kernel (>= 5.6.15 < 5.15.35) • linux linux kernel (>= 5.16 < 5.17.4) • linux linux kernel 5.18

Related

Weakness · CWE (1)

  • CWE-476 NULL Pointer Dereference weakness

References