ntb: ntb_hw_switchtec: Fix shift-out-of-bounds for 0 mw lut (Linux Linux)

CVE-2026-43141
HIGH 7.1

En bref

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

Description

In the Linux kernel, the following vulnerability has been resolved: ntb: ntb_hw_switchtec: Fix shift-out-of-bounds for 0 mw lut Number of MW LUTs depends on NTB configuration and can be set to zero, in such scenario rounddown_pow_of_two will cause undefined behaviour and should not be performed. This patch ensures that rounddown_pow_of_two is called on valid value.

Faiblesses (CWE)

Références

Scores

VersionScoreVecteurÉvalué par
CVSS 3.1HIGH 7.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/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 ec0467ccbdeb69a86c8729073057bda7bce00eec < d652ef399f131fcd5f8f34266167449ee7c9e5b3 ; affected ec0467ccbdeb69a86c8729073057bda7bce00eec < 5590cd04d6845c01a6bad985a491c58af6fb5389 ; affected ec0467ccbdeb69a86c8729073057bda7bce00eec < a11d03d116eef138a7249202bd772c8e61915aec ; affected ec0467ccbdeb69a86c8729073057bda7bce00eec < d0559d07afabfddaaded6a61a16154486b956764 ; affected ec0467ccbdeb69a86c8729073057bda7bce00eec < 2e4d5e8d86a969318340be95470bb76e52392082 ; affected ec0467ccbdeb69a86c8729073057bda7bce00eec < a133e3caf844a3f56b6eef89ddaa66115874f6bd
Linux · Linuxaffected 4.15 ; unaffected 0 < 4.15 ; unaffected 5.10.252 ≤ 5.10.* ; unaffected 5.15.202 ≤ 5.15.* ; unaffected 6.1.165 ≤ 6.1.* ; unaffected 6.6.128 ≤ 6.6.*

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