# CVE-2021-47101: asix: fix uninit-value in asix_mdio_read()

- Severity: High 7.1 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/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.22%, higher than 13% of CVEs (2026-12-01)
- Published: 2024-03-04T18:10:54.117Z
- Modified: 2026-06-17T04:16:29.097Z
- Weaknesses: CWE-908
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## Description

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

asix: fix uninit-value in asix_mdio_read()

asix_read_cmd() may read less than sizeof(smsr) bytes and in this case
smsr will be uninitialized.

Fail log:
BUG: KMSAN: uninit-value in asix_check_host_enable drivers/net/usb/asix_common.c:82 [inline]
BUG: KMSAN: uninit-value in asix_check_host_enable drivers/net/usb/asix_common.c:82 [inline] drivers/net/usb/asix_common.c:497
BUG: KMSAN: uninit-value in asix_mdio_read+0x3c1/0xb00 drivers/net/usb/asix_common.c:497 drivers/net/usb/asix_common.c:497
 asix_check_host_enable drivers/net/usb/asix_common.c:82 [inline]
 asix_check_host_enable drivers/net/usb/asix_common.c:82 [inline] drivers/net/usb/asix_common.c:497
 asix_mdio_read+0x3c1/0xb00 drivers/net/usb/asix_common.c:497 drivers/net/usb/asix_common.c:497

(As written by CVE List.)

## Affected

- Linux Linux: from d9fe64e511144c1ee7d7555b4111f09dde9692ef before d259f621c85949f30cc578cac813b82bb5169f56; from d9fe64e511144c1ee7d7555b4111f09dde9692ef before 8035b1a2a37a29d8c717ef84fca8fe7278bc9f03; 4.9 (not affected: before 4.9; from 5.15.12 up to 5.15.*; from 5.16 up to *)
- linux linux_kernel: from 4.9 before 5.15.12; 5.16

## References

- <https://git.kernel.org/stable/c/d259f621c85949f30cc578cac813b82bb5169f56> (patch)
- <https://git.kernel.org/stable/c/8035b1a2a37a29d8c717ef84fca8fe7278bc9f03> (patch)

## Sources

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

---

Page: https://cve.day/CVE-2021-47101 · Whole record: https://cve.day/CVE-2021-47101.json · Rebuilt by cve.day 2026-11-25T22:58:08.661Z
