CVE-2022-49134

Vulnérabilité moyenne dans Linux (Linux)

CVSS 5.5 · Moyenne
EPSS 0.2%
Linux•Linux•Versions : <=5.17.*, 28b1987ef5064dd5c43538ba1168ef7b801f3cad, <=*, 5.18, <4cad27ba2e5a5843a7fab5aa30de2b8e8c3db3a8, <bcdfd615f83b4bd04678109bf18022d1476e4bbf, 5.4, 0, <5.4, 5.17.3

Description

In the Linux kernel, the following vulnerability has been resolved: mlxsw: spectrum: Guard against invalid local ports When processing events generated by the device's firmware, the driver protects itself from events reported for non-existent local ports, but not for the CPU port (local port 0), which exists, but does not have all the fields as any local port. This can result in a NULL pointer dereference when trying access 'struct mlxsw_sp_port' fields which are not initialized for CPU port. Commit 63b08b1f6834 ("mlxsw: spectrum: Protect driver from buggy firmware") already handled such issue by bailing early when processing a PUDE event reported for the CPU port. Generalize the approach by moving the check to a common function and making use of it in all relevant places.

Gravité et risque d'exploitation

CVE-2022-49134 obtient un score CVSS de 5.5/10, soit une gravité moyenne. Selon le modèle EPSS, la probabilité qu'elle soit exploitée dans les 30 prochains jours est de 0.23 %, ce qui la place devant 13.3 % des CVE référencées.

Que faire ?

  • Vérifiez si Linux (versions <=5.17.*, 28b1987ef5064dd5c43538ba1168ef7b801f3cad, <=*, 5.18, <4cad27ba2e5a5843a7fab5aa30de2b8e8c3db3a8, <bcdfd615f83b4bd04678109bf18022d1476e4bbf, 5.4, 0, <5.4, 5.17.3) est présent sur votre parc.
  • Appliquez le correctif ou la version corrigée indiqués dans les références de l'éditeur.
  • À défaut de correctif, limitez l'exposition (filtrage réseau, désactivation du composant).
  • Automatisez la détection : les agents CVE Heimdall (gratuits, open source) corrèlent l'inventaire de vos serveurs avec la base CVE.

Références