# CVE-2022-49226: net: asix: add proper error handling of usb read errors

- 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.27%, higher than 20% of CVEs (2026-12-01)
- Published: 2025-02-26T01:55:55.716Z
- Modified: 2026-06-17T05:17:26.573Z
- Assigned by: Linux

## Description

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

net: asix: add proper error handling of usb read errors

Syzbot once again hit uninit value in asix driver. The problem still the
same -- asix_read_cmd() reads less bytes, than was requested by caller.

Since all read requests are performed via asix_read_cmd() let's catch
usb related error there and add __must_check notation to be sure all
callers actually check return value.

So, this patch adds sanity check inside asix_read_cmd(), that simply
checks if bytes read are not less, than was requested and adds missing
error handling of asix_read_cmd() all across the driver code.

(As written by CVE List.)

## Affected

- Linux Linux: from d9fe64e511144c1ee7d7555b4111f09dde9692ef before b96a7265f763b37ff3138b9ca8122a950f13b00e; from d9fe64e511144c1ee7d7555b4111f09dde9692ef before 9ea8d2fca8fea3b17005b4dc02f8ef15f7a2fb97; from d9fe64e511144c1ee7d7555b4111f09dde9692ef before 662ff765470ad0d11a1153d6d8e99d69a98e60b4; from d9fe64e511144c1ee7d7555b4111f09dde9692ef before 920a9fa27e7805499cfe78491b36fed2322c02ec; 4.9 (not affected: before 4.9; from 5.15.33 up to 5.15.*; from 5.16.19 up to 5.16.*; from 5.17.2 up to 5.17.*; from 5.18 up to *)
- linux linux_kernel: from 4.9 before 5.15.33; from 5.16 before 5.16.19; from 5.17 before 5.17.2

## References

- <https://git.kernel.org/stable/c/b96a7265f763b37ff3138b9ca8122a950f13b00e> (patch)
- <https://git.kernel.org/stable/c/9ea8d2fca8fea3b17005b4dc02f8ef15f7a2fb97> (patch)
- <https://git.kernel.org/stable/c/662ff765470ad0d11a1153d6d8e99d69a98e60b4> (patch)
- <https://git.kernel.org/stable/c/920a9fa27e7805499cfe78491b36fed2322c02ec> (patch)

## Sources

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

---

Page: https://cve.day/CVE-2022-49226 · Whole record: https://cve.day/CVE-2022-49226.json · Rebuilt by cve.day 2026-11-25T22:58:20.305Z
