IB/qib: Protect from buffer overflow in struct qib_user_sdma_pkt fields (Linux Linux)

CVE-2021-47485
HIGH 7.8

En bref

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

Description

In the Linux kernel, the following vulnerability has been resolved: IB/qib: Protect from buffer overflow in struct qib_user_sdma_pkt fields Overflowing either addrlimit or bytes_togo can allow userspace to trigger a buffer overflow of kernel memory. Check for overflows in all the places doing math on user controlled buffers.

Faiblesses (CWE)

  • CWE-120 — Copie de tampon sans vérification de taille (débordement classique)

Références

Scores

VersionScoreVecteurÉvalué par
CVSS 3.1HIGH 7.8CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HLinux
CVSS 3.1HIGH 7.8CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HNVD · 416baaa9-dc9f-4396-8d5f-8c081fb06d67 (Secondary)
CVSS 3.1HIGH 7.8CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/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 f931551bafe1f10ded7f5282e2aa162c267a2e5d < bda41654b6e0c125a624ca35d6d20beb8015b5d0 ; affected f931551bafe1f10ded7f5282e2aa162c267a2e5d < 3f57c3f67fd93b4da86aeffea1ca32c484d054ad ; affected f931551bafe1f10ded7f5282e2aa162c267a2e5d < 60833707b968d5ae02a75edb7886dcd4a957cf0d ; affected f931551bafe1f10ded7f5282e2aa162c267a2e5d < 73d2892148aa4397a885b4f4afcfc5b27a325c42 ; affected f931551bafe1f10ded7f5282e2aa162c267a2e5d < 0f8cdfff06829a0b0348b6debc29ff6a61967724 ; affected f931551bafe1f10ded7f5282e2aa162c267a2e5d < c3e17e58f571f34c51aeb17274ed02c2ed5cf780
Linux · Linuxaffected 2.6.35 ; unaffected 0 < 2.6.35 ; unaffected 4.4.292 ≤ 4.4.* ; unaffected 4.9.290 ≤ 4.9.* ; unaffected 4.14.255 ≤ 4.14.* ; unaffected 4.19.216 ≤ 4.19.*

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