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

CVE-2022-49046
MEDIUM 5.5

En bref

Source
NVD
EPSS
EPSS 0.26 % · centile 18 ()
État
PUBLISHED
Publiée
Mise à jour
Attribuée par
Linux
Statut NVD
Modified

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.

Faiblesses (CWE)

  • CWE-476 — Déréférencement de pointeur nul

Références

Scores

VersionScoreVecteurÉvalué par
CVSS 3.1MEDIUM 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HNVD · nvd@nist.gov (Primary)

Références européennes

Avis du CERT-FR

Configurations affectées (CPE NVD)

Produits affectés

ProduitVersions
Linux · Linuxaffected 1413ef638abae4ab5621901cf4d8ef08a4a48ba6 < 2e539b17d4cbe5fb8b5152dd9a6e4a8828f97db2 ; affected 1413ef638abae4ab5621901cf4d8ef08a4a48ba6 < 2f345bb14ad4744950499ff222e2899209297afa ; affected 1413ef638abae4ab5621901cf4d8ef08a4a48ba6 < c74d77a2d07744147d734138acd6ce9dba715e5d ; affected 1413ef638abae4ab5621901cf4d8ef08a4a48ba6 < 993eb48fa199b5f476df8204e652eff63dd19361 ; affected 1c1b4327970c79c1a2d0c3becfc12b9696177c55 ; affected c0d34399045609eda76882fa6d01fdfaf5b20d38
Linux · Linuxaffected 5.7 ; unaffected 0 < 5.7 ; unaffected 5.10.236 ≤ 5.10.* ; unaffected 5.15.35 ≤ 5.15.* ; unaffected 5.17.4 ≤ 5.17.* ; unaffected 5.18 ≤ *

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD