CVE-2022-50252 (GCVE-0-2022-50252)

Vulnerability from cvelistv5 – Published: 2025-09-15 14:02 – Updated: 2025-12-23 13:27
VLAI?
Title
igb: Do not free q_vector unless new one was allocated
Summary
In the Linux kernel, the following vulnerability has been resolved: igb: Do not free q_vector unless new one was allocated Avoid potential use-after-free condition under memory pressure. If the kzalloc() fails, q_vector will be freed but left in the original adapter->q_vector[v_idx] array position.
Severity ?
No CVSS data available.
Assigner
Impacted products
Vendor Product Version
Linux Linux Affected: 72ddef0506da852dc82f078f37ced8ef4d74a2bf , < 64ca1969599857143e91aeec4440640656100803 (git)
Affected: 72ddef0506da852dc82f078f37ced8ef4d74a2bf , < 0200f0fbb11e359cc35af72ab10b2ec224e6f633 (git)
Affected: 72ddef0506da852dc82f078f37ced8ef4d74a2bf , < 68e8adbcaf7a8743e473343b38b9dad66e2ac6f3 (git)
Affected: 72ddef0506da852dc82f078f37ced8ef4d74a2bf , < f96bd8adc8adde25390965a8c1ee81b73cb62075 (git)
Affected: 72ddef0506da852dc82f078f37ced8ef4d74a2bf , < 3cb18dea11196fb4a06f78294cec5e61985e1aff (git)
Affected: 72ddef0506da852dc82f078f37ced8ef4d74a2bf , < 314f7092b27749bdde44c14095b5533afa2a3bc8 (git)
Affected: 72ddef0506da852dc82f078f37ced8ef4d74a2bf , < 6e399577bd397a517df4b938601108c63769ce0a (git)
Affected: 72ddef0506da852dc82f078f37ced8ef4d74a2bf , < 56483aecf6b22eb7dff6315b3a174688c6ad494c (git)
Affected: 72ddef0506da852dc82f078f37ced8ef4d74a2bf , < 0668716506ca66f90d395f36ccdaebc3e0e84801 (git)
Affected: 5be042b1917ddf444c20f4e12856535307b37c01 (git)
Affected: a0e26ed623a1e1460c1a191fbc0f37bddab7851a (git)
Affected: f4b7f93cd34a6153d454a837708fd4203990d1ae (git)
Create a notification for this product.
    Linux Linux Affected: 4.3
Unaffected: 0 , < 4.3 (semver)
Unaffected: 4.9.337 , ≤ 4.9.* (semver)
Unaffected: 4.14.303 , ≤ 4.14.* (semver)
Unaffected: 4.19.270 , ≤ 4.19.* (semver)
Unaffected: 5.4.229 , ≤ 5.4.* (semver)
Unaffected: 5.10.163 , ≤ 5.10.* (semver)
Unaffected: 5.15.86 , ≤ 5.15.* (semver)
Unaffected: 6.0.16 , ≤ 6.0.* (semver)
Unaffected: 6.1.2 , ≤ 6.1.* (semver)
Unaffected: 6.2 , ≤ * (original_commit_for_fix)
Create a notification for this product.
Show details on NVD website

{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "drivers/net/ethernet/intel/igb/igb_main.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "64ca1969599857143e91aeec4440640656100803",
              "status": "affected",
              "version": "72ddef0506da852dc82f078f37ced8ef4d74a2bf",
              "versionType": "git"
            },
            {
              "lessThan": "0200f0fbb11e359cc35af72ab10b2ec224e6f633",
              "status": "affected",
              "version": "72ddef0506da852dc82f078f37ced8ef4d74a2bf",
              "versionType": "git"
            },
            {
              "lessThan": "68e8adbcaf7a8743e473343b38b9dad66e2ac6f3",
              "status": "affected",
              "version": "72ddef0506da852dc82f078f37ced8ef4d74a2bf",
              "versionType": "git"
            },
            {
              "lessThan": "f96bd8adc8adde25390965a8c1ee81b73cb62075",
              "status": "affected",
              "version": "72ddef0506da852dc82f078f37ced8ef4d74a2bf",
              "versionType": "git"
            },
            {
              "lessThan": "3cb18dea11196fb4a06f78294cec5e61985e1aff",
              "status": "affected",
              "version": "72ddef0506da852dc82f078f37ced8ef4d74a2bf",
              "versionType": "git"
            },
            {
              "lessThan": "314f7092b27749bdde44c14095b5533afa2a3bc8",
              "status": "affected",
              "version": "72ddef0506da852dc82f078f37ced8ef4d74a2bf",
              "versionType": "git"
            },
            {
              "lessThan": "6e399577bd397a517df4b938601108c63769ce0a",
              "status": "affected",
              "version": "72ddef0506da852dc82f078f37ced8ef4d74a2bf",
              "versionType": "git"
            },
            {
              "lessThan": "56483aecf6b22eb7dff6315b3a174688c6ad494c",
              "status": "affected",
              "version": "72ddef0506da852dc82f078f37ced8ef4d74a2bf",
              "versionType": "git"
            },
            {
              "lessThan": "0668716506ca66f90d395f36ccdaebc3e0e84801",
              "status": "affected",
              "version": "72ddef0506da852dc82f078f37ced8ef4d74a2bf",
              "versionType": "git"
            },
            {
              "status": "affected",
              "version": "5be042b1917ddf444c20f4e12856535307b37c01",
              "versionType": "git"
            },
            {
              "status": "affected",
              "version": "a0e26ed623a1e1460c1a191fbc0f37bddab7851a",
              "versionType": "git"
            },
            {
              "status": "affected",
              "version": "f4b7f93cd34a6153d454a837708fd4203990d1ae",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "drivers/net/ethernet/intel/igb/igb_main.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "4.3"
            },
            {
              "lessThan": "4.3",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "4.9.*",
              "status": "unaffected",
              "version": "4.9.337",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "4.14.*",
              "status": "unaffected",
              "version": "4.14.303",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "4.19.*",
              "status": "unaffected",
              "version": "4.19.270",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.4.*",
              "status": "unaffected",
              "version": "5.4.229",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.10.*",
              "status": "unaffected",
              "version": "5.10.163",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.15.*",
              "status": "unaffected",
              "version": "5.15.86",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.0.*",
              "status": "unaffected",
              "version": "6.0.16",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.1.*",
              "status": "unaffected",
              "version": "6.1.2",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "6.2",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "4.9.337",
                  "versionStartIncluding": "4.3",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "4.14.303",
                  "versionStartIncluding": "4.3",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "4.19.270",
                  "versionStartIncluding": "4.3",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.4.229",
                  "versionStartIncluding": "4.3",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.10.163",
                  "versionStartIncluding": "4.3",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.15.86",
                  "versionStartIncluding": "4.3",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.0.16",
                  "versionStartIncluding": "4.3",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.1.2",
                  "versionStartIncluding": "4.3",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.2",
                  "versionStartIncluding": "4.3",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionStartIncluding": "3.18.23",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionStartIncluding": "4.1.9",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionStartIncluding": "4.2.2",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nigb: Do not free q_vector unless new one was allocated\n\nAvoid potential use-after-free condition under memory pressure. If the\nkzalloc() fails, q_vector will be freed but left in the original\nadapter-\u003eq_vector[v_idx] array position."
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2025-12-23T13:27:30.209Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/64ca1969599857143e91aeec4440640656100803"
        },
        {
          "url": "https://git.kernel.org/stable/c/0200f0fbb11e359cc35af72ab10b2ec224e6f633"
        },
        {
          "url": "https://git.kernel.org/stable/c/68e8adbcaf7a8743e473343b38b9dad66e2ac6f3"
        },
        {
          "url": "https://git.kernel.org/stable/c/f96bd8adc8adde25390965a8c1ee81b73cb62075"
        },
        {
          "url": "https://git.kernel.org/stable/c/3cb18dea11196fb4a06f78294cec5e61985e1aff"
        },
        {
          "url": "https://git.kernel.org/stable/c/314f7092b27749bdde44c14095b5533afa2a3bc8"
        },
        {
          "url": "https://git.kernel.org/stable/c/6e399577bd397a517df4b938601108c63769ce0a"
        },
        {
          "url": "https://git.kernel.org/stable/c/56483aecf6b22eb7dff6315b3a174688c6ad494c"
        },
        {
          "url": "https://git.kernel.org/stable/c/0668716506ca66f90d395f36ccdaebc3e0e84801"
        }
      ],
      "title": "igb: Do not free q_vector unless new one was allocated",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2022-50252",
    "datePublished": "2025-09-15T14:02:30.980Z",
    "dateReserved": "2025-09-15T13:58:00.973Z",
    "dateUpdated": "2025-12-23T13:27:30.209Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2"
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Sightings

Author Source Type Date

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…