# CVE-2025-38153: net: usb: aqc111: fix error handling of usbnet read calls

- 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.32%, higher than 17% of CVEs (2026-11-30)
- Published: 2025-07-03T08:35:56.526Z
- Modified: 2026-06-17T09:16:16.023Z
- Weaknesses: CWE-125
- Assigned by: Linux

## Description

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

net: usb: aqc111: fix error handling of usbnet read calls

Syzkaller, courtesy of syzbot, identified an error (see report [1]) in
aqc111 driver, caused by incomplete sanitation of usb read calls'
results. This problem is quite similar to the one fixed in commit
920a9fa27e78 ("net: asix: add proper error handling of usb read errors").

For instance, usbnet_read_cmd() may read fewer than 'size' bytes,
even if the caller expected the full amount, and aqc111_read_cmd()
will not check its result properly. As [1] shows, this may lead
to MAC address in aqc111_bind() being only partly initialized,
triggering KMSAN warnings.

Fix the issue by verifying that the number of bytes read is
as expected and not less.

[1] Partial syzbot report:
BUG: KMSAN: uninit-value in is_valid_ether_addr include/linux/etherdevice.h:208 [inline]
BUG: KMSAN: uninit-value in usbnet_probe+0x2e57/0x4390 drivers/net/usb/usbnet.c:1830
 is_valid_ether_addr include/linux/etherdevice.h:208 [inline]
 usbnet_probe+0x2e57/0x4390 drivers/net/usb/usbnet.c:1830
 usb_probe_interface+0xd01/0x1310 drivers/usb/core/driver.c:396
 call_driver_probe drivers/base/dd.c:-1 [inline]
 really_probe+0x4d1/0xd90 drivers/base/dd.c:658
 __driver_probe_device+0x268/0x380 drivers/base/dd.c:800
...

Uninit was stored to memory at:
 dev_addr_mod+0xb0/0x550 net/core/dev_addr_lists.c:582
 __dev_addr_set include/linux/netdevice.h:4874 [inline]
 eth_hw_addr_set include/linux/etherdevice.h:325 [inline]
 aqc111_bind+0x35f/0x1150 drivers/net/usb/aqc111.c:717
 usbnet_probe+0xbe6/0x4390 drivers/net/usb/usbnet.c:1772
 usb_probe_interface+0xd01/0x1310 drivers/usb/core/driver.c:396
...

Uninit was stored to memory at:
 ether_addr_copy include/linux/etherdevice.h:305 [inline]
 aqc111_read_perm_mac drivers/net/usb/aqc111.c:663 [inline]
 aqc111_bind+0x794/0x1150 drivers/net/usb/aqc111.c:713
 usbnet_probe+0xbe6/0x4390 drivers/net/usb/usbnet.c:1772
 usb_probe_interface+0xd01/0x1310 drivers/usb/core/driver.c:396
 call_driver_probe drivers/base/dd.c:-1 [inline]
...

Local variable buf.i created at:
 aqc111_read_perm_mac drivers/net/usb/aqc111.c:656 [inline]
 aqc111_bind+0x221/0x1150 drivers/net/usb/aqc111.c:713
 usbnet_probe+0xbe6/0x4390 drivers/net/usb/usbnet.c:1772

(As written by CVE List.)

## Affected

- Linux Linux: from df2d59a2ab6c9ceac2c4104272fce03493b8f62f before 8c97655275482ef5384ce0501640630a0fc0f6f4; from df2d59a2ab6c9ceac2c4104272fce03493b8f62f before 11273279012c922f37cfb4dd95d142803fc07b98; from df2d59a2ab6c9ceac2c4104272fce03493b8f62f before f398d2dfe450ce2c031d10b585448862d74a0501; from df2d59a2ab6c9ceac2c4104272fce03493b8f62f before acb47a40b5e38be03ef659b7bacdddc592ed73b7; from df2d59a2ab6c9ceac2c4104272fce03493b8f62f before 60790d287c1a1ced3554d4a87c2f27bf299a932a; from df2d59a2ab6c9ceac2c4104272fce03493b8f62f before 30a9e834c74e260533b8d0885e3c89f6f32f7993; from df2d59a2ab6c9ceac2c4104272fce03493b8f62f before 7c01863b1c47f040d9674171e77789a423b9b128; from df2d59a2ab6c9ceac2c4104272fce03493b8f62f before 405b0d610745fb5e84fc2961d9b960abb9f3d107; 5.0 (not affected: before 5.0; from 5.4.295 up to 5.4.*; from 5.10.239 up to 5.10.*; from 5.15.186 up to 5.15.*; from 6.1.142 up to 6.1.*; from 6.6.94 up to 6.6.*; from 6.12.34 up to 6.12.*; from 6.15.3 up to 6.15.*; from 6.16 up to *)
- linux linux_kernel: from 5.0 before 5.4.295; from 5.5 before 5.10.239; from 5.11 before 5.15.186; from 5.16 before 6.1.142; from 6.2 before 6.6.94; from 6.7 before 6.12.34; from 6.13 before 6.15.3
- debian debian_linux: 11.0

## References

- <https://git.kernel.org/stable/c/8c97655275482ef5384ce0501640630a0fc0f6f4> (patch)
- <https://git.kernel.org/stable/c/11273279012c922f37cfb4dd95d142803fc07b98> (patch)
- <https://git.kernel.org/stable/c/f398d2dfe450ce2c031d10b585448862d74a0501> (patch)
- <https://git.kernel.org/stable/c/acb47a40b5e38be03ef659b7bacdddc592ed73b7> (patch)
- <https://git.kernel.org/stable/c/60790d287c1a1ced3554d4a87c2f27bf299a932a> (patch)
- <https://git.kernel.org/stable/c/30a9e834c74e260533b8d0885e3c89f6f32f7993> (patch)
- <https://git.kernel.org/stable/c/7c01863b1c47f040d9674171e77789a423b9b128> (patch)
- <https://git.kernel.org/stable/c/405b0d610745fb5e84fc2961d9b960abb9f3d107> (patch)
- <https://lists.debian.org/debian-lts-announce/2025/10/msg00008.html> (third-party-advisory)
- <https://lists.debian.org/debian-lts-announce/2025/10/msg00007.html> (third-party-advisory)

## Sources

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

---

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