RDMA/nldev: Prevent underflow in nldev_stat_set_counter_dynamic_doit() (Linux Linux)

CVE-2022-49199
MEDIUM 5.5

En bref

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

Description

In the Linux kernel, the following vulnerability has been resolved: RDMA/nldev: Prevent underflow in nldev_stat_set_counter_dynamic_doit() This code checks "index" for an upper bound but it does not check for negatives. Change the type to unsigned to prevent underflows.

Faiblesses (CWE)

  • CWE-191 — Soupassement d'entier

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 3c3c1f1416392382faa0238e76a70d7810aab2ef < f6dd8669b8299a3a536cd92a7069152a7704da1d ; affected 3c3c1f1416392382faa0238e76a70d7810aab2ef < 2a495ef04d5f42e6f00eb2bec1ee9075e3d5a771 ; affected 3c3c1f1416392382faa0238e76a70d7810aab2ef < 87e0eacb176f9500c2063d140c0a1d7fa51ab8a5
Linux · Linuxaffected 5.16 ; unaffected 0 < 5.16 ; unaffected 5.16.19 ≤ 5.16.* ; unaffected 5.17.2 ≤ 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