# CVE-2022-50252: igb: Do not free q_vector unless new one was allocated

- Severity: High 7.8 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.18%, higher than 7% of CVEs (2026-12-02)
- Published: 2025-09-15T14:02:30.980Z
- Modified: 2026-10-15T22:17:28.360Z
- Weaknesses: CWE-416
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: Linux

## Description

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.

(As written by CVE List.)

## Affected

- Linux Linux: from 72ddef0506da852dc82f078f37ced8ef4d74a2bf before 64ca1969599857143e91aeec4440640656100803; from 72ddef0506da852dc82f078f37ced8ef4d74a2bf before 0200f0fbb11e359cc35af72ab10b2ec224e6f633; from 72ddef0506da852dc82f078f37ced8ef4d74a2bf before 68e8adbcaf7a8743e473343b38b9dad66e2ac6f3; from 72ddef0506da852dc82f078f37ced8ef4d74a2bf before f96bd8adc8adde25390965a8c1ee81b73cb62075; from 72ddef0506da852dc82f078f37ced8ef4d74a2bf before 3cb18dea11196fb4a06f78294cec5e61985e1aff; from 72ddef0506da852dc82f078f37ced8ef4d74a2bf before 314f7092b27749bdde44c14095b5533afa2a3bc8; from 72ddef0506da852dc82f078f37ced8ef4d74a2bf before 6e399577bd397a517df4b938601108c63769ce0a; from 72ddef0506da852dc82f078f37ced8ef4d74a2bf before 56483aecf6b22eb7dff6315b3a174688c6ad494c; from 72ddef0506da852dc82f078f37ced8ef4d74a2bf before 0668716506ca66f90d395f36ccdaebc3e0e84801; 5be042b1917ddf444c20f4e12856535307b37c01; a0e26ed623a1e1460c1a191fbc0f37bddab7851a; f4b7f93cd34a6153d454a837708fd4203990d1ae; and 4 more (not affected: before 4.3; from 4.9.337 up to 4.9.*; from 4.14.303 up to 4.14.*; from 4.19.270 up to 4.19.*; from 5.4.229 up to 5.4.*; from 5.10.163 up to 5.10.*; from 5.15.86 up to 5.15.*; from 6.0.16 up to 6.0.*; from 6.1.2 up to 6.1.*; from 6.2 up to *)
- linux linux_kernel: before 4.9.337; from 4.10 before 4.14.303; from 4.15 before 4.19.270; from 4.20 before 5.4.229; from 5.5 before 5.10.163; from 5.11 before 5.15.86; from 5.16 before 6.0.16; from 6.1 before 6.1.2

## Every score

- Linux: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://git.kernel.org/stable/c/64ca1969599857143e91aeec4440640656100803> (patch)
- <https://git.kernel.org/stable/c/0200f0fbb11e359cc35af72ab10b2ec224e6f633> (patch)
- <https://git.kernel.org/stable/c/68e8adbcaf7a8743e473343b38b9dad66e2ac6f3> (patch)
- <https://git.kernel.org/stable/c/f96bd8adc8adde25390965a8c1ee81b73cb62075> (patch)
- <https://git.kernel.org/stable/c/3cb18dea11196fb4a06f78294cec5e61985e1aff> (patch)
- <https://git.kernel.org/stable/c/314f7092b27749bdde44c14095b5533afa2a3bc8> (patch)
- <https://git.kernel.org/stable/c/6e399577bd397a517df4b938601108c63769ce0a> (patch)
- <https://git.kernel.org/stable/c/56483aecf6b22eb7dff6315b3a174688c6ad494c> (patch)
- <https://git.kernel.org/stable/c/0668716506ca66f90d395f36ccdaebc3e0e84801> (patch)

## Sources

- CVE List: [CVE-2022-50252](https://www.cve.org/CVERecord?id=CVE-2022-50252), CVE Terms of Use, modified 2026-10-15
- NVD: [CVE-2022-50252](https://nvd.nist.gov/vuln/detail/CVE-2022-50252), Public domain, modified 2026-10-15

---

Page: https://cve.day/CVE-2022-50252 · Whole record: https://cve.day/CVE-2022-50252.json · Rebuilt by cve.day 2026-11-25T22:58:21.129Z
