{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2022-49226","id":"CVE-2022-49226","title":"net: asix: add proper error handling of usb read errors","description":"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 b","descriptionLong":"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.","published":"2025-02-26T01:55:55.716Z","updated":"2026-10-28T02:30:29.219640049Z","reserved":"2025-02-26T01:49:39.293Z","status":"Analyzed","rejected":false,"assigner":"Linux","metric":{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"NVD"},"metrics":[{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"NVD"}],"rating":"medium","products":["Linux"],"affectedProducts":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"d9fe64e511144c1ee7d7555b4111f09dde9692ef","lessThan":"b96a7265f763b37ff3138b9ca8122a950f13b00e","status":"affected","versionType":"git"},{"version":"d9fe64e511144c1ee7d7555b4111f09dde9692ef","lessThan":"9ea8d2fca8fea3b17005b4dc02f8ef15f7a2fb97","status":"affected","versionType":"git"},{"version":"d9fe64e511144c1ee7d7555b4111f09dde9692ef","lessThan":"662ff765470ad0d11a1153d6d8e99d69a98e60b4","status":"affected","versionType":"git"},{"version":"d9fe64e511144c1ee7d7555b4111f09dde9692ef","lessThan":"920a9fa27e7805499cfe78491b36fed2322c02ec","status":"affected","versionType":"git"}],"platforms":[]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"4.9","status":"affected"},{"version":"0","lessThan":"4.9","status":"unaffected","versionType":"semver"},{"version":"5.15.33","lessThanOrEqual":"5.15.*","status":"unaffected","versionType":"semver"},{"version":"5.16.19","lessThanOrEqual":"5.16.*","status":"unaffected","versionType":"semver"},{"version":"5.17.2","lessThanOrEqual":"5.17.*","status":"unaffected","versionType":"semver"},{"version":"5.18","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}],"platforms":[]}],"packages":[],"cwes":[],"aliases":[],"references":[{"url":"https://git.kernel.org/stable/c/b96a7265f763b37ff3138b9ca8122a950f13b00e","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/9ea8d2fca8fea3b17005b4dc02f8ef15f7a2fb97","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/662ff765470ad0d11a1153d6d8e99d69a98e60b4","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/920a9fa27e7805499cfe78491b36fed2322c02ec","tags":["Patch","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/49xxx/CVE-2022-49226.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-49226","tags":["advisory"]},{"url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.00268,"epssPercentile":0.19261,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2022-49226","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-49226","ok":true,"note":"Analyzed"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2022-49226","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2022-49226","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}