CVE-2022-49046
MEDIUM 5.5CVSS 3.1In 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.
- Published
- 26 Feb 2025
- Last modified
- 5 Nov 2026
- Assigned by
- 416baaa9-dc9f-4396-8d5f-8c081fb06d67
- NVD status
- Modified
- Weakness
- CWE-476
- Sources
- NVDJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | linux | linux_kernelcpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* |
>= 4.4.225, < 4.5 | 4.5 |
| NVD | linux | linux_kernelcpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* |
>= 4.9.225, < 4.10 | 4.10 |
| NVD | linux | linux_kernelcpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* |
>= 4.14.182, < 4.15 | 4.15 |
| NVD | linux | linux_kernelcpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* |
>= 4.19.125, < 4.20 | 4.20 |
| NVD | linux | linux_kernelcpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* |
>= 5.4.43, < 5.5 | 5.5 |
| NVD | linux | linux_kernelcpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* |
>= 5.6.15, < 5.15.35 | 5.15.35 |
| NVD | linux | linux_kernelcpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* |
>= 5.16, < 5.17.4 | 5.17.4 |
| NVD | linux | linux_kernelcpe:2.3:o:linux:linux_kernel:5.18:rc1:*:*:*:*:*:* |
= 5.18 | |
| NVD | linux | linux_kernelcpe:2.3:o:linux:linux_kernel:5.18:rc2:*:*:*:*:*:* |
= 5.18 |
References
- https://git.kernel.org/stable/c/2e539b17d4cbe5fb8b5152dd9a6e4a8828f97db2
- 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
History
- 25 Nov 2026 20:57 UTC · NVD: first stored (published 26 Feb 2025)