CVEvulnerability
CVE-2022-49046
5.5 MEDIUM
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
- https://git.kernel.org/stable/c/2e539b17d4cbe5fb8b5152dd9a6e4a8828f97db2 git.kernel.org
- https://git.kernel.org/stable/c/2f345bb14ad4744950499ff222e2899209297afa Patch
- https://git.kernel.org/stable/c/993eb48fa199b5f476df8204e652eff63dd19361 Patch
- https://git.kernel.org/stable/c/c74d77a2d07744147d734138acd6ce9dba715e5d Patch
- https://lists.debian.org/debian-lts-announce/2025/05/msg00030.html lists.debian.org