CVE-2022-49404

RDMA/hfi1: Fix potential integer multiplication overflow errors

MEDIUM 5.5

En bref

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

Description

In the Linux kernel, the following vulnerability has been resolved: RDMA/hfi1: Fix potential integer multiplication overflow errors When multiplying of different types, an overflow is possible even when storing the result in a larger type. This is because the conversion is done after the multiplication. So arithmetic overflow and thus in incorrect value is possible. Correct an instance of this in the inter packet delay calculation. Fix by ensuring one of the operands is u64 which will promote the other to u64 as well ensuring no overflow.

Faiblesses (CWE)

  • CWE-190 — Débordement 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:HCISA-ADP
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)
CVSS 3.1MEDIUM 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HNVD · 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary)

Références européennes

Avis du CERT-FR

Configurations affectées (CPE NVD)

Produits affectés

ProduitVersions
Linux · Linuxaffected 7724105686e718ac476a6ad3304fea2fbcfcffde < 252f4afd4557a2e7075f793a5c80fe6dd9e9ee4a ; affected 7724105686e718ac476a6ad3304fea2fbcfcffde < a89cb7ddf6a89bab6012e19da38b7cdb26175c19 ; affected 7724105686e718ac476a6ad3304fea2fbcfcffde < 79c164e61f818054cd6012e9035701840d895c51 ; affected 7724105686e718ac476a6ad3304fea2fbcfcffde < 8858284dd74906fa00f04f0252c75df4893a7959 ; affected 7724105686e718ac476a6ad3304fea2fbcfcffde < 31dca00d0cc9f4133320d72eb7e3720badc6d6e6 ; affected 7724105686e718ac476a6ad3304fea2fbcfcffde < 3f09ec80f115d2875d747ed28adc1773037e0f8b
Linux · Linuxaffected 4.3 ; unaffected 0 < 4.3 ; unaffected 4.9.318 ≤ 4.9.* ; unaffected 4.14.283 ≤ 4.14.* ; unaffected 4.19.247 ≤ 4.19.* ; unaffected 5.4.198 ≤ 5.4.*

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