Skip to content
Heist/ feed
Back to feed
HighFix available

igb: Do not free q_vector unless new one was allocated

Type: advisorySources: OSV

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.

Products
Kernel
Affected versions
Not specified
Fixed versions
4.14.303, 4.19.270, 4.9.337, 5.10.163, 5.15.86, 5.4.229, 6.0.16, 6.1.2
CVEs
CVE-2022-50252
Confirmed fixed CVEs
Not specified
Updated in this feed
7 Nov 2026, 18:45 UTC · Revision 1

Source evidence

igb: Do not free q_vector unless new one was allocated

core-osv · Original source

Published 15 Sept 2025, 14:02 UTC

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.

osv:CVE-2022-50252

Kernel

Fixed versions: 4.9.337, 4.14.303, 4.19.270, 5.4.229, 5.10.163, 5.15.86, 6.0.16, 6.1.2

Complete source record
{
  "id": "533a0f7cbf7519abab5f06f725ecf9b2ebf13de5e81a00ccddb267d6e390ce66",
  "url": "https://osv.dev/vulnerability/CVE-2022-50252",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "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.",
    "evidence": "osv:CVE-2022-50252",
    "products": [
      {
        "name": {
          "value": "Kernel",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "4.9.337",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "4.14.303",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "4.19.270",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "5.4.229",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "5.10.163",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "5.15.86",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.0.16",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.1.2",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "high",
    "structured": {
      "id": "CVE-2022-50252",
      "aliases": [
        "CVE-2022-50252"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
              "type": "GIT",
              "events": [
                {
                  "introduced": "72ddef0506da852dc82f078f37ced8ef4d74a2bf"
                },
                {
                  "fixed": "64ca1969599857143e91aeec4440640656100803"
                },
                {
                  "fixed": "0200f0fbb11e359cc35af72ab10b2ec224e6f633"
                },
                {
                  "fixed": "68e8adbcaf7a8743e473343b38b9dad66e2ac6f3"
                },
                {
                  "fixed": "f96bd8adc8adde25390965a8c1ee81b73cb62075"
                },
                {
                  "fixed": "3cb18dea11196fb4a06f78294cec5e61985e1aff"
                },
                {
                  "fixed": "314f7092b27749bdde44c14095b5533afa2a3bc8"
                },
                {
                  "fixed": "6e399577bd397a517df4b938601108c63769ce0a"
                },
                {
                  "fixed": "56483aecf6b22eb7dff6315b3a174688c6ad494c"
                },
                {
                  "fixed": "0668716506ca66f90d395f36ccdaebc3e0e84801"
                }
              ]
            },
            {
              "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
              "type": "GIT",
              "events": [
                {
                  "introduced": "3.18.23"
                },
                {
                  "fixed": "3.19"
                }
              ]
            },
            {
              "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
              "type": "GIT",
              "events": [
                {
                  "introduced": "4.1.9"
                },
                {
                  "fixed": "4.2"
                }
              ]
            },
            {
              "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
              "type": "GIT",
              "events": [
                {
                  "introduced": "4.2.2"
                },
                {
                  "fixed": "4.3"
                }
              ]
            },
            {
              "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
              "type": "GIT",
              "events": [
                {
                  "introduced": "5be042b1917ddf444c20f4e12856535307b37c01"
                }
              ]
            },
            {
              "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
              "type": "GIT",
              "events": [
                {
                  "introduced": "a0e26ed623a1e1460c1a191fbc0f37bddab7851a"
                }
              ]
            },
            {
              "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
              "type": "GIT",
              "events": [
                {
                  "introduced": "f4b7f93cd34a6153d454a837708fd4203990d1ae"
                }
              ]
            }
          ],
          "versions": [
            "v3.18.140",
            "v3.18.139",
            "v3.18.138",
            "v3.18.137",
            "v3.18.136",
            "v3.18.135",
            "v3.18.134",
            "v3.18.133",
            "v3.18.132",
            "v3.18.131",
            "v3.18.130",
            "v3.18.129",
            "v3.18.128",
            "v3.18.127",
            "v3.18.126",
            "v3.18.125",
            "v3.18.124",
            "v3.18.123",
            "v3.18.122",
            "v3.18.121",
            "v3.18.120",
            "v3.18.119",
            "v3.18.118",
            "v3.18.117",
            "v3.18.116",
            "v3.18.115",
            "v3.18.114",
            "v3.18.113",
            "v3.18.112",
            "v3.18.111",
            "v3.18.110",
            "v3.18.109",
            "v3.18.108",
            "v3.18.107",
            "v3.18.106",
            "v3.18.105",
            "v3.18.104",
            "v3.18.103",
            "v3.18.102",
            "v3.18.101",
            "v3.18.100",
            "v3.18.99",
            "v3.18.98",
            "v3.18.97",
            "v3.18.96",
            "v3.18.95",
            "v3.18.94",
            "v3.18.93",
            "v3.18.92",
            "v3.18.91",
            "v3.18.90",
            "v3.18.89",
            "v3.18.88",
            "v3.18.87",
            "v3.18.86",
            "v3.18.85",
            "v3.18.84",
            "v3.18.83",
            "v3.18.82",
            "v3.18.81",
            "v3.18.80",
            "v3.18.79",
            "v3.18.78",
            "v3.18.77",
            "v3.18.76",
            "v3.18.75",
            "v3.18.74",
            "v3.18.73",
            "v3.18.72",
            "v3.18.71",
            "v3.18.70",
            "v3.18.69",
            "v3.18.68",
            "v3.18.67",
            "v3.18.66",
            "v3.18.65",
            "v3.18.64",
            "v3.18.63",
            "v3.18.62",
            "v3.18.61",
            "v3.18.60",
            "v3.18.59",
            "v3.18.58",
            "v3.18.57",
            "v3.18.56",
            "v3.18.55",
            "v3.18.54",
            "v3.18.53",
            "v3.18.52",
            "v3.18.51",
            "v3.18.50",
            "v3.18.49",
            "v3.18.48",
            "v3.18.47",
            "v3.18.46",
            "v3.18.45",
            "v3.18.44",
            "v3.18.43",
            "v3.18.42",
            "v3.18.41",
            "v3.18.40",
            "v3.18.39",
            "v3.18.38",
            "v3.18.37",
            "v3.18.36",
            "v3.18.35",
            "v3.18.34",
            "v3.18.33",
            "v3.18.32",
            "v3.18.31",
            "v3.18.30",
            "v3.18.29",
            "v3.18.28",
            "v3.18.27",
            "v3.18.26",
            "v3.18.25",
            "v3.18.24",
            "v3.18.23",
            "v4.1.52",
            "v4.1.51",
            "v4.1.50",
            "v4.1.49",
            "v4.1.48",
            "v4.1.47",
            "v4.1.46",
            "v4.1.45",
            "v4.1.44",
            "v4.1.43",
            "v4.1.42",
            "v4.1.41",
            "v4.1.40",
            "v4.1.39",
            "v4.1.38",
            "v4.1.37",
            "v4.1.36",
            "v4.1.35",
            "v4.1.34",
            "v4.1.33",
            "v4.1.32",
            "v4.1.31",
            "v4.1.30",
            "v4.1.29",
            "v4.1.28",
            "v4.1.27",
            "v4.1.26",
            "v4.1.25",
            "v4.1.24",
            "v4.1.23",
            "v4.1.22",
            "v4.1.21",
            "v4.1.20",
            "v4.1.19",
            "v4.1.18",
            "v4.1.17",
            "v4.1.16",
            "v4.1.15",
            "v4.1.14",
            "v4.1.13",
            "v4.1.12",
            "v4.1.11",
            "v4.1.10",
            "v4.1.9",
            "v4.2.8",
            "v4.2.7",
            "v4.2.6",
            "v4.2.5",
            "v4.2.4",
            "v4.2.3",
            "v4.2.2"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-50252.json"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "4.3.0"
                },
                {
                  "fixed": "4.9.337"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "4.10.0"
                },
                {
                  "fixed": "4.14.303"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "4.15.0"
                },
                {
                  "fixed": "4.19.270"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "4.20.0"
                },
                {
                  "fixed": "5.4.229"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "5.5.0"
                },
                {
                  "fixed": "5.10.163"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "5.11.0"
                },
                {
                  "fixed": "5.15.86"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "5.16.0"
                },
                {
                  "fixed": "6.0.16"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.1.0"
                },
                {
                  "fixed": "6.1.2"
                }
              ]
            }
          ],
          "package": {
            "name": "Kernel",
            "ecosystem": "Linux"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-50252.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:51.776931870Z",
      "provider": "osv",
      "references": [
        "https://git.kernel.org/stable/c/0200f0fbb11e359cc35af72ab10b2ec224e6f633",
        "https://git.kernel.org/stable/c/0668716506ca66f90d395f36ccdaebc3e0e84801",
        "https://git.kernel.org/stable/c/314f7092b27749bdde44c14095b5533afa2a3bc8",
        "https://git.kernel.org/stable/c/3cb18dea11196fb4a06f78294cec5e61985e1aff",
        "https://git.kernel.org/stable/c/56483aecf6b22eb7dff6315b3a174688c6ad494c",
        "https://git.kernel.org/stable/c/64ca1969599857143e91aeec4440640656100803",
        "https://git.kernel.org/stable/c/68e8adbcaf7a8743e473343b38b9dad66e2ac6f3",
        "https://git.kernel.org/stable/c/6e399577bd397a517df4b938601108c63769ce0a",
        "https://git.kernel.org/stable/c/f96bd8adc8adde25390965a8c1ee81b73cb62075",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/50xxx/CVE-2022-50252.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2022-50252",
        "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
      ],
      "provider_metadata": {
        "cna_assigner": "Linux",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/50xxx/CVE-2022-50252.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2022-50252",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 520131,
  "published_at": "2025-09-15T14:02:30.98+00:00"
}