{"id":"CVE-2022-50252","summary":"igb: Do not free q_vector unless new one was allocated","details":"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.","modified":"2026-11-17T07:01:07.931367409Z","published":"2025-09-15T14:02:30.980Z","related":["SUSE-SU-2025:03613-1","SUSE-SU-2025:03614-1","SUSE-SU-2025:03615-1","SUSE-SU-2025:03626-1","SUSE-SU-2025:03628-1","SUSE-SU-2025:3716-1","SUSE-SU-2025:3761-1","SUSE-SU-2025:3926-1","SUSE-SU-2025:4003-1","SUSE-SU-2025:4004-1","SUSE-SU-2025:4016-1","SUSE-SU-2025:4024-1","SUSE-SU-2025:4031-1","SUSE-SU-2025:4036-1","SUSE-SU-2025:4040-1","SUSE-SU-2025:4043-1","SUSE-SU-2025:4046-1","SUSE-SU-2025:4050-1","SUSE-SU-2025:4058-1","SUSE-SU-2025:4059-1","SUSE-SU-2025:4062-1","SUSE-SU-2025:4064-1","SUSE-SU-2025:4078-1","SUSE-SU-2025:4123-1","SUSE-SU-2025:4315-1"],"database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/50xxx/CVE-2022-50252.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/0200f0fbb11e359cc35af72ab10b2ec224e6f633"},{"type":"WEB","url":"https://git.kernel.org/stable/c/0668716506ca66f90d395f36ccdaebc3e0e84801"},{"type":"WEB","url":"https://git.kernel.org/stable/c/314f7092b27749bdde44c14095b5533afa2a3bc8"},{"type":"WEB","url":"https://git.kernel.org/stable/c/3cb18dea11196fb4a06f78294cec5e61985e1aff"},{"type":"WEB","url":"https://git.kernel.org/stable/c/56483aecf6b22eb7dff6315b3a174688c6ad494c"},{"type":"WEB","url":"https://git.kernel.org/stable/c/64ca1969599857143e91aeec4440640656100803"},{"type":"WEB","url":"https://git.kernel.org/stable/c/68e8adbcaf7a8743e473343b38b9dad66e2ac6f3"},{"type":"WEB","url":"https://git.kernel.org/stable/c/6e399577bd397a517df4b938601108c63769ce0a"},{"type":"WEB","url":"https://git.kernel.org/stable/c/f96bd8adc8adde25390965a8c1ee81b73cb62075"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/50xxx/CVE-2022-50252.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-50252"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"72ddef0506da852dc82f078f37ced8ef4d74a2bf"},{"fixed":"64ca1969599857143e91aeec4440640656100803"},{"fixed":"0200f0fbb11e359cc35af72ab10b2ec224e6f633"},{"fixed":"68e8adbcaf7a8743e473343b38b9dad66e2ac6f3"},{"fixed":"f96bd8adc8adde25390965a8c1ee81b73cb62075"},{"fixed":"3cb18dea11196fb4a06f78294cec5e61985e1aff"},{"fixed":"314f7092b27749bdde44c14095b5533afa2a3bc8"},{"fixed":"6e399577bd397a517df4b938601108c63769ce0a"},{"fixed":"56483aecf6b22eb7dff6315b3a174688c6ad494c"},{"fixed":"0668716506ca66f90d395f36ccdaebc3e0e84801"}]},{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"5be042b1917ddf444c20f4e12856535307b37c01"}]},{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"a0e26ed623a1e1460c1a191fbc0f37bddab7851a"}]},{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.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"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"3.18.23"},{"fixed":"3.19"}]},{"type":"ECOSYSTEM","events":[{"introduced":"4.1.9"},{"fixed":"4.2"}]},{"type":"ECOSYSTEM","events":[{"introduced":"4.2.2"},{"fixed":"4.3"}]},{"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"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-50252.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"}]}