# CVE-2026-46142: net: libwx: fix VF illegal register access

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- 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.13%, higher than 2% of CVEs (2026-12-02)
- Published: 2026-05-28T09:35:57.837Z
- Modified: 2026-06-24T17:07:50.287Z
- Assigned by: Linux

## Description

In the Linux kernel, the following vulnerability has been resolved:

net: libwx: fix VF illegal register access

Register WX_CFG_PORT_ST is a PF restricted register. When a VF is
initialized, attempting to read this register triggers an illegal
register access, which lead to a system hang.

When the device is VF, the bus function ID can be obtained directly from
the PCI_FUNC(pdev->devfn).

(As written by CVE List.)

## Affected

- Linux Linux: from d4187ec2641061748480cdc944fd07653fad50d5 before d3bd8040497968f6f5470018724ef7b0df92f707; from f0b3ecdbb5bbee8ca6b2892aba3988c8a3ce858e before f6e656f7cea16b638675a2ab7d7e4cf2516c5eb0; from a04ea57aae375bdda1cb57034d8bcbb351e1f973 before 33c5bb50b9c40e8451e6aec4487a31d794b98d92; from a04ea57aae375bdda1cb57034d8bcbb351e1f973 before 68a007a701bc06fa426507c551ef12514f2e721d; from a04ea57aae375bdda1cb57034d8bcbb351e1f973 before 694de316f607fe2473d52ca0707e3918e72c1562; 93e52b75f11a8f39b22993ae315b5b9a6b2668a3; from 6.6.117 before 6.6.140; from 6.12.58 before 6.12.88; from 6.17.8 before 6.18; 6.18 (not affected: before 6.18; from 6.6.140 up to 6.6.*; from 6.12.88 up to 6.12.*; from 6.18.30 up to 6.18.*; from 7.0.7 up to 7.0.*; from 7.1 up to *)
- linux linux_kernel: from 6.6.117 before 6.6.140; from 6.12.58 before 6.12.88; from 6.17.8 before 6.18; from 6.18.1 before 6.18.30; from 6.19 before 7.0.7; 6.18; 7.1

## References

- <https://git.kernel.org/stable/c/d3bd8040497968f6f5470018724ef7b0df92f707> (patch)
- <https://git.kernel.org/stable/c/f6e656f7cea16b638675a2ab7d7e4cf2516c5eb0> (patch)
- <https://git.kernel.org/stable/c/33c5bb50b9c40e8451e6aec4487a31d794b98d92> (patch)
- <https://git.kernel.org/stable/c/68a007a701bc06fa426507c551ef12514f2e721d> (patch)
- <https://git.kernel.org/stable/c/694de316f607fe2473d52ca0707e3918e72c1562> (patch)

## Sources

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

---

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