GCVE Workshop - 22 September 2026 (14:00-18:00), Luxembourg Before The Vulnopticon Conference - Registration

CVE-2022-49226 (GCVE-0-2022-49226)

Vulnerability from cvelistv5 – Published: 2025-02-26 01:55 – Updated: 2026-05-11 18:55
VLAI
Title
net: asix: add proper error handling of usb read errors
Summary
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.
Impacted products
Vendor Product Version CPE status
Linux Linux Affected: d9fe64e511144c1ee7d7555b4111f09dde9692ef , < b96a7265f763b37ff3138b9ca8122a950f13b00e (git)
Affected: d9fe64e511144c1ee7d7555b4111f09dde9692ef , < 9ea8d2fca8fea3b17005b4dc02f8ef15f7a2fb97 (git)
Affected: d9fe64e511144c1ee7d7555b4111f09dde9692ef , < 662ff765470ad0d11a1153d6d8e99d69a98e60b4 (git)
Affected: d9fe64e511144c1ee7d7555b4111f09dde9692ef , < 920a9fa27e7805499cfe78491b36fed2322c02ec (git)
guessed Create a notification for this product.
Linux Linux Affected: 4.9
Unaffected: 0 , < 4.9 (semver)
Unaffected: 5.15.33 , ≤ 5.15.* (semver)
Unaffected: 5.16.19 , ≤ 5.16.* (semver)
Unaffected: 5.17.2 , ≤ 5.17.* (semver)
Unaffected: 5.18 , ≤ * (original_commit_for_fix)
guessed Create a notification for this product.
Show details on NVD website

{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "drivers/net/usb/asix.h",
            "drivers/net/usb/asix_common.c",
            "drivers/net/usb/asix_devices.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "b96a7265f763b37ff3138b9ca8122a950f13b00e",
              "status": "affected",
              "version": "d9fe64e511144c1ee7d7555b4111f09dde9692ef",
              "versionType": "git"
            },
            {
              "lessThan": "9ea8d2fca8fea3b17005b4dc02f8ef15f7a2fb97",
              "status": "affected",
              "version": "d9fe64e511144c1ee7d7555b4111f09dde9692ef",
              "versionType": "git"
            },
            {
              "lessThan": "662ff765470ad0d11a1153d6d8e99d69a98e60b4",
              "status": "affected",
              "version": "d9fe64e511144c1ee7d7555b4111f09dde9692ef",
              "versionType": "git"
            },
            {
              "lessThan": "920a9fa27e7805499cfe78491b36fed2322c02ec",
              "status": "affected",
              "version": "d9fe64e511144c1ee7d7555b4111f09dde9692ef",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "drivers/net/usb/asix.h",
            "drivers/net/usb/asix_common.c",
            "drivers/net/usb/asix_devices.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "4.9"
            },
            {
              "lessThan": "4.9",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.15.*",
              "status": "unaffected",
              "version": "5.15.33",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.16.*",
              "status": "unaffected",
              "version": "5.16.19",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.17.*",
              "status": "unaffected",
              "version": "5.17.2",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "5.18",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.15.33",
                  "versionStartIncluding": "4.9",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.16.19",
                  "versionStartIncluding": "4.9",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.17.2",
                  "versionStartIncluding": "4.9",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.18",
                  "versionStartIncluding": "4.9",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "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\u0027s 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."
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-05-11T18:55:35.216Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/b96a7265f763b37ff3138b9ca8122a950f13b00e"
        },
        {
          "url": "https://git.kernel.org/stable/c/9ea8d2fca8fea3b17005b4dc02f8ef15f7a2fb97"
        },
        {
          "url": "https://git.kernel.org/stable/c/662ff765470ad0d11a1153d6d8e99d69a98e60b4"
        },
        {
          "url": "https://git.kernel.org/stable/c/920a9fa27e7805499cfe78491b36fed2322c02ec"
        }
      ],
      "title": "net: asix: add proper error handling of usb read errors",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2022-49226",
    "datePublished": "2025-02-26T01:55:55.716Z",
    "dateReserved": "2025-02-26T01:49:39.293Z",
    "dateUpdated": "2026-05-11T18:55:35.216Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "epss": {
      "cve": "CVE-2022-49226",
      "date": "2026-09-14",
      "epss": "0.00263",
      "percentile": "0.18197"
    },
    "nvd": "{\"cve\":{\"id\":\"CVE-2022-49226\",\"sourceIdentifier\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"published\":\"2025-02-26T07:00:59.650\",\"lastModified\":\"2026-06-17T05:17:26.573\",\"vulnStatus\":\"Analyzed\",\"cveTags\":[],\"descriptions\":[{\"lang\":\"en\",\"value\":\"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\u0027s 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.\"},{\"lang\":\"es\",\"value\":\"En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: net: asix: agregar manejo de errores adecuado para errores de lectura de USB Syzbot una vez m\u00e1s alcanz\u00f3 un valor uninit en el controlador asix. El problema sigue siendo el mismo: asix_read_cmd() lee menos bytes de los que solicit\u00f3 el llamador. Dado que todas las solicitudes de lectura se realizan a trav\u00e9s de asix_read_cmd(), detectemos el error relacionado con USB all\u00ed y agreguemos la notaci\u00f3n __must_check para asegurarnos de que todos los llamadores realmente verifiquen el valor de retorno. Entonces, este parche agrega una verificaci\u00f3n de cordura dentro de asix_read_cmd(), que simplemente verifica si los bytes le\u00eddos no son menores que los solicitados y agrega la gesti\u00f3n de errores faltantes de asix_read_cmd() en todo el c\u00f3digo del controlador.\"}],\"affected\":[{\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"affectedData\":[{\"vendor\":\"Linux\",\"product\":\"Linux\",\"defaultStatus\":\"unaffected\",\"programFiles\":[\"drivers/net/usb/asix.h\",\"drivers/net/usb/asix_common.c\",\"drivers/net/usb/asix_devices.c\"],\"repo\":\"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\"versions\":[{\"version\":\"d9fe64e511144c1ee7d7555b4111f09dde9692ef\",\"lessThan\":\"b96a7265f763b37ff3138b9ca8122a950f13b00e\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"d9fe64e511144c1ee7d7555b4111f09dde9692ef\",\"lessThan\":\"9ea8d2fca8fea3b17005b4dc02f8ef15f7a2fb97\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"d9fe64e511144c1ee7d7555b4111f09dde9692ef\",\"lessThan\":\"662ff765470ad0d11a1153d6d8e99d69a98e60b4\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"d9fe64e511144c1ee7d7555b4111f09dde9692ef\",\"lessThan\":\"920a9fa27e7805499cfe78491b36fed2322c02ec\",\"versionType\":\"git\",\"status\":\"affected\"}]},{\"vendor\":\"Linux\",\"product\":\"Linux\",\"defaultStatus\":\"affected\",\"programFiles\":[\"drivers/net/usb/asix.h\",\"drivers/net/usb/asix_common.c\",\"drivers/net/usb/asix_devices.c\"],\"repo\":\"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\"versions\":[{\"version\":\"4.9\",\"status\":\"affected\"},{\"version\":\"0\",\"lessThan\":\"4.9\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"5.15.33\",\"lessThanOrEqual\":\"5.15.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"5.16.19\",\"lessThanOrEqual\":\"5.16.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"5.17.2\",\"lessThanOrEqual\":\"5.17.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"5.18\",\"lessThanOrEqual\":\"*\",\"versionType\":\"original_commit_for_fix\",\"status\":\"unaffected\"}]}]}],\"metrics\":{\"cvssMetricV31\":[{\"source\":\"nvd@nist.gov\",\"type\":\"Primary\",\"cvssData\":{\"version\":\"3.1\",\"vectorString\":\"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H\",\"baseScore\":5.5,\"baseSeverity\":\"MEDIUM\",\"attackVector\":\"LOCAL\",\"attackComplexity\":\"LOW\",\"privilegesRequired\":\"LOW\",\"userInteraction\":\"NONE\",\"scope\":\"UNCHANGED\",\"confidentialityImpact\":\"NONE\",\"integrityImpact\":\"NONE\",\"availabilityImpact\":\"HIGH\"},\"exploitabilityScore\":1.8,\"impactScore\":3.6}]},\"weaknesses\":[{\"source\":\"nvd@nist.gov\",\"type\":\"Primary\",\"description\":[{\"lang\":\"en\",\"value\":\"NVD-CWE-noinfo\"}]}],\"configurations\":[{\"nodes\":[{\"operator\":\"OR\",\"negate\":false,\"cpeMatch\":[{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\",\"versionStartIncluding\":\"4.9\",\"versionEndExcluding\":\"5.15.33\",\"matchCriteriaId\":\"54AD5E58-BF74-457B-B4D7-71EF4E2DDADD\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\",\"versionStartIncluding\":\"5.16\",\"versionEndExcluding\":\"5.16.19\",\"matchCriteriaId\":\"20C43679-0439-405A-B97F-685BEE50613B\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\",\"versionStartIncluding\":\"5.17\",\"versionEndExcluding\":\"5.17.2\",\"matchCriteriaId\":\"210C679C-CF84-44A3-8939-E629C87E54BF\"}]}]}],\"references\":[{\"url\":\"https://git.kernel.org/stable/c/662ff765470ad0d11a1153d6d8e99d69a98e60b4\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/920a9fa27e7805499cfe78491b36fed2322c02ec\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/9ea8d2fca8fea3b17005b4dc02f8ef15f7a2fb97\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/b96a7265f763b37ff3138b9ca8122a950f13b00e\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"tags\":[\"Patch\"]}]}}",
    "redhat_vex": {
      "aggregate_severity": "Moderate",
      "current_release_date": "2026-06-29T21:01:45+00:00",
      "cve": "CVE-2022-49226",
      "id": "CVE-2022-49226",
      "initial_release_date": "2022-01-01T00:00:00+00:00",
      "product_status:fixed": "400",
      "product_status:known_affected": "66",
      "product_status:known_not_affected": "98",
      "source": "Red Hat CSAF VEX",
      "status": "final",
      "title": "kernel: net: asix: add proper error handling of usb read errors",
      "url": "https://security.access.redhat.com/data/csaf/v2/vex/2022/cve-2022-49226.json",
      "version": "3"
    },
    "suse_vex": {
      "aggregate_severity": "moderate",
      "current_release_date": "2026-09-12T17:11:27Z",
      "cve": "CVE-2022-49226",
      "id": "CVE-2022-49226",
      "initial_release_date": "2025-02-27T03:10:21Z",
      "product_status:known_affected": "453",
      "product_status:known_not_affected": "198",
      "product_status:recommended": "339",
      "source": "SUSE CSAF VEX",
      "status": "interim",
      "title": "SUSE CVE CVE-2022-49226",
      "url": "https://ftp.suse.com/pub/projects/security/csaf-vex/cve-2022-49226.json",
      "version": "59"
    }
  }
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.

Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…

Loading…