CVE-2026-68327

wan: wanxl: Only reset hardware after BAR mapping

Non disponible

En bref

Source
NVD
EPSS
EPSS 0.18 % · centile 7 ()
État
PUBLISHED
Publiée
Mise à jour
Attribuée par
Linux
Statut NVD
Received

Description

In the Linux kernel, the following vulnerability has been resolved: wan: wanxl: Only reset hardware after BAR mapping wanxl_pci_init_one() stores the freshly allocated card in driver data before the PLX BAR is mapped. Several early probe failures then unwind through wanxl_pci_remove_one(), including failure to allocate the coherent status area or to restore the DMA mask. wanxl_pci_remove_one() unconditionally calls wanxl_reset(), and wanxl_reset() dereferences card->plx. On those early failures card->plx is still NULL, so the error path can dereference a NULL MMIO pointer. Only issue the hardware reset once the BAR mapping exists. The remaining cleanup in wanxl_pci_remove_one() already checks whether later resources were allocated. This issue was found by a static analysis checker and confirmed by manual source review.

Références

Références européennes

Avis du CERT-FR

Produits affectés

ProduitVersions
Linux · Linuxaffected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < ef394eeb9d5ec6db8d979eec6d27f56c2ebc6523 ; affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < 3d9617d856ebddcdddbab0ce877c397420f59f55 ; affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < 897e289db1e4d00ca6419cfe733c646492147270 ; affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < f4834132773f15ffb255127499c8443947fa7d0f ; affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < b9e2ff70e96acf83693b27987e0390bad9f83efa ; affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < 59cbe6cfa0fa23c192351cc284e30707309f6741
Linux · Linuxaffected 2.6.12 ; unaffected 0 < 2.6.12 ; unaffected 5.10.265 ≤ 5.10.* ; unaffected 5.15.216 ≤ 5.15.* ; unaffected 6.1.183 ≤ 6.1.* ; unaffected 6.6.148 ≤ 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