CVE-2021-47101 asix: fix uninit-value in asix_mdio_read()
An attacker with local access could potentially read uninitialized kernel memory via the ASIX USB network driver, leading to information disclosure.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2021-47101?
CVE-2021-47101 is a high-severity vulnerability in Linux kernel, published on 4 Mar 2024. It can only be exploited from the same machine or local network, with no action from the victim.
Official 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
Weakness: CWE-908
Which versions are affected by CVE-2021-47101?
It affects 1 product.
Products include Linux kernel.
How do I fix CVE-2021-47101?
Apply the vendor's patch.
Is CVE-2021-47101 being exploited?
There is no known exploitation of CVE-2021-47101 in the wild and no public exploit code.
Other vulnerabilities in Linux kernel
Sources
Also known as DEBIAN-CVE-2021-47101, GHSA-72gm-6qcq-3xmp, ROOT-OS-DEBIAN-11-CVE-2021-47101, UBUNTU-CVE-2021-47101.