{"id":"CVE-2022-49226","published":"2025-02-26T01:55:55Z","modified":"2026-05-11T18:55:35Z","title":"net: asix: add proper error handling of usb read errors","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet: asix: add proper error handling of usb read errors\n\nSyzbot once again hit uninit value in asix driver. The problem still the\nsame -- asix_read_cmd() reads less bytes, than was requested by caller.\n\nSince all read requests are performed via asix_read_cmd() let's catch\nusb related error there and add __must_check notation to be sure all\ncallers actually check return value.\n\nSo, this patch adds sanity check inside asix_read_cmd(), that simply\nchecks if bytes read are not less, than was requested and adds missing\nerror handling of asix_read_cmd() all across the driver code.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.00284,"percentile":0.13487,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/b96a7265f763b37ff3138b9ca8122a950f13b00e","tags":[]},{"url":"https://git.kernel.org/stable/c/9ea8d2fca8fea3b17005b4dc02f8ef15f7a2fb97","tags":[]},{"url":"https://git.kernel.org/stable/c/662ff765470ad0d11a1153d6d8e99d69a98e60b4","tags":[]},{"url":"https://git.kernel.org/stable/c/920a9fa27e7805499cfe78491b36fed2322c02ec","tags":[]}],"priority":{"score":2.7,"factors":[{"name":"EPSS percentile","points":2.7}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= d9fe64e511144c1ee7d7555b4111f09dde9692ef, < b96a7265f763b37ff3138b9ca8122a950f13b00e",">= d9fe64e511144c1ee7d7555b4111f09dde9692ef, < 9ea8d2fca8fea3b17005b4dc02f8ef15f7a2fb97",">= d9fe64e511144c1ee7d7555b4111f09dde9692ef, < 662ff765470ad0d11a1153d6d8e99d69a98e60b4",">= d9fe64e511144c1ee7d7555b4111f09dde9692ef, < 920a9fa27e7805499cfe78491b36fed2322c02ec"]},{"vendor":"Linux","product":"Linux","versions":["4.9"]}],"euvd":{"id":"EUVD-2022-55000","exploited":false,"provenance":"source"}}