# CVE-2026-68327: wan: wanxl: Only reset hardware after BAR mapping

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.18%, higher than 7% of CVEs (2026-12-01)
- Published: 2026-08-10T12:03:03.398Z
- Modified: 2026-08-19T17:20:43.003Z
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before ef394eeb9d5ec6db8d979eec6d27f56c2ebc6523; from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 3d9617d856ebddcdddbab0ce877c397420f59f55; from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 897e289db1e4d00ca6419cfe733c646492147270; from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before f4834132773f15ffb255127499c8443947fa7d0f; from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before b9e2ff70e96acf83693b27987e0390bad9f83efa; from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 59cbe6cfa0fa23c192351cc284e30707309f6741; from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 2fe22d58b3797d741570f9873b26653fd511576c; from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 91957b89da995607cb654b1f9a3c126ddbaee10f; 2.6.12 (not affected: before 2.6.12; from 5.10.265 up to 5.10.*; from 5.15.216 up to 5.15.*; from 6.1.183 up to 6.1.*; from 6.6.148 up to 6.6.*; from 6.12.101 up to 6.12.*; from 6.18.42 up to 6.18.*; from 7.1.6 up to 7.1.*; from 7.2 up to *)

## References

- <https://git.kernel.org/stable/c/ef394eeb9d5ec6db8d979eec6d27f56c2ebc6523>
- <https://git.kernel.org/stable/c/3d9617d856ebddcdddbab0ce877c397420f59f55>
- <https://git.kernel.org/stable/c/897e289db1e4d00ca6419cfe733c646492147270>
- <https://git.kernel.org/stable/c/f4834132773f15ffb255127499c8443947fa7d0f>
- <https://git.kernel.org/stable/c/b9e2ff70e96acf83693b27987e0390bad9f83efa>
- <https://git.kernel.org/stable/c/59cbe6cfa0fa23c192351cc284e30707309f6741>
- <https://git.kernel.org/stable/c/2fe22d58b3797d741570f9873b26653fd511576c>
- <https://git.kernel.org/stable/c/91957b89da995607cb654b1f9a3c126ddbaee10f>

## Sources

- CVE List: [CVE-2026-68327](https://www.cve.org/CVERecord?id=CVE-2026-68327), CVE Terms of Use, modified 2026-08-19
- NVD: [CVE-2026-68327](https://nvd.nist.gov/vuln/detail/CVE-2026-68327), Public domain, modified 2026-08-19

---

Page: https://cve.day/CVE-2026-68327 · Whole record: https://cve.day/CVE-2026-68327.json · Rebuilt by cve.day 2026-11-25T22:59:32.087Z
