CVE-2022-50066 json
net: atlantic: fix aq_vec index out of range error
published 2025-06-18 16 mo ago modified 2026-11-05 3 d ago also EUVD-2022-55337
- cvss
- 7.8
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.2%
- EPSS 0.2% chance of exploitation in 30 days, percentile 10%
- public exploits
- 0
- none known
Summary
In the Linux kernel, the following vulnerability has been resolved:
net: atlantic: fix aq_vec index out of range error
The final update statement of the for loop exceeds the array range, the dereference of self->aq_vec[i] is not checked and then leads to the index out of range error. Also fixed this kind of coding style in other for loop.
[ 97.937604] UBSAN: array-index-out-of-bounds in drivers/net/ethernet/aquantia/atlantic/aq_nic.c:1404:48 [ 97.937607] index 8 is out of range for type 'aq_vec_s *[8]' [ 97.937608] CPU: 38 PID: 3767 Comm: kworker/u256:18 Not tainted 5.19.0+ #2 [ 97.937610] Hardware name: Dell Inc. Precision 7865 Tower/, BIOS 1.0.0 06/12/2022 [ 97.937611] Workqueue: events_unbound async_run_entry_fn [ 97.937616] Call Trace: [ 97.937617] <TASK> [ 97.937619] dump_stack_lvl+0x49/0x63 [ 97.937624] dump_stack+0x10/0x16 [ 97.937626] ubsan_epilogue+0x9/0x3f [ 97.937627] __ubsan_handle_out_of_bounds.cold+0x44/0x49 [ 97.937629] ? __scm_send+0x348/0x440 [ 97.937632] ? aq_vec_stop+0x72/0x80 [atlantic] [ 97.937639] aq_nic_stop+0x1b6/0x1c0 [atlantic] [ 97.937644] aq_suspend_common+0x88/0x90 [atlantic] [ 97.937648] aq_pm_suspend_poweroff+0xe/0x20 [atlantic] [ 97.937653] pci_pm_suspend+0x7e/0x1a0 [ 97.937655] ? pci_pm_suspend_noirq+0x2b0/0x2b0 [ 97.937657] dpm_run_callback+0x54/0x190 [ 97.937660] __device_suspend+0x14c/0x4d0 [ 97.937661] async_suspend+0x23/0x70 [ 97.937663] async_run_entry_fn+0x33/0x120 [ 97.937664] process_one_work+0x21f/0x3f0 [ 97.937666] worker_thread+0x4a/0x3c0 [ 97.937668] ? process_one_work+0x3f0/0x3f0 [ 97.937669] kthread+0xf0/0x120 [ 97.937671] ? kthread_complete_and_exit+0x20/0x20 [ 97.937672] ret_from_fork+0x22/0x30 [ 97.937676] </TASK>
v2. fixed "warning: variable 'aq_vec' set but not used"
v3. simplified a for loop
Patch / fix
- Linux Linux 5.10.138, 5.15.63, 5.19.4, 6.0
- linux Debian 14, Debian 13, Debian 12 6.0.2-1
debian advisories DEBIAN-CVE-2022-50066
- linux Ubuntu 22.04 LTS 5.15.0-53.59
- linux-aws Ubuntu 22.04 LTS 5.15.0-1023.27
- linux-gcp Ubuntu 22.04 LTS 5.15.0-1022.29
- linux-gke Ubuntu 22.04 LTS 5.15.0-1020.25
- linux-ibm Ubuntu 22.04 LTS 5.15.0-1018.21
- linux-kvm Ubuntu 22.04 LTS 5.15.0-1021.26
- linux-azure Ubuntu 22.04 LTS 5.15.0-1023.29
- linux-gkeop Ubuntu 22.04 LTS 5.15.0-1008.12
ubuntu advisories UBUNTU-CVE-2022-50066
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- kernel RHEL 8 4.18.0-513.5.1.el8_9
- perf RHEL 8 4.18.0-513.5.1.el8_9
- bpftool RHEL 8 4.18.0-513.5.1.el8_9
- kernel-core RHEL 8 4.18.0-513.5.1.el8_9
- kernel-tools RHEL 8 4.18.0-513.5.1.el8_9
- python3-perf RHEL 8 4.18.0-513.5.1.el8_9
- kernel-modules RHEL 8 4.18.0-513.5.1.el8_9
- kernel-zfcpdump RHEL 8 4.18.0-513.5.1.el8_9
red hat advisories RHSA-2025:11375RHSA-2025:11358RHSA-2025:10834RHSA-2025:10830RHSA-2025:10828RHSA-2025:10829
- kernel-64kb SLES 15 SP4-LTSS, SLE High Performance Computing 15 SP4-LTSS, SLE High Performance Computing 15 SP4-ESPOS 5.14.21-150400.24.170.2
- kernel-syms SLES for SAP 15 SP4, SLES 15 SP4-LTSS, SLE High Performance Computing 15 SP4-LTSS +3 more 5.14.21-150400.24.170.1
- kernel-source SLES for SAP 15 SP4, SLES 15 SP4-LTSS, SLE High Performance Computing 15 SP4-LTSS +3 more 5.14.21-150400.24.170.1
- kernel-default SLES for SAP 15 SP4, SLES 15 SP4-LTSS, SLE Micro 5.4 +6 more 5.14.21-150400.24.170.2
- kernel-zfcpdump SLES 15 SP4-LTSS, Manager Server 4.3 5.14.21-150400.24.170.2
- kernel-obs-build SLES for SAP 15 SP4, SLES 15 SP4-LTSS, SLE High Performance Computing 15 SP4-LTSS +1 more 5.14.21-150400.24.170.2
- kernel-default-base SLES for SAP 15 SP4, SLES 15 SP4-LTSS, SLE Micro 5.4 +5 more 5.14.21-150400.24.170.2.150400.24.86.2
- kernel-rt SLE Micro 5.4, SLE Micro 5.3 5.14.21-150400.15.124.1
suse advisories SUSE-SU-2025:03204-1SUSE-SU-2025:02537-1SUSE-SU-2025:02322-1SUSE-SU-2025:02321-1SUSE-SU-2025:02264-1
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2022-50066 updated cvss 7.0
kernel: net: atlantic: fix aq_vec index out of range error
-
Red Hat Enterprise Linux 8 kernel-rt, kernel-rt-kvm, kernel-rt-core, kernel-rt-modules, kernel-rt-debug-kvm, kernel-rt-debug-core, +6 more Red Hat Enterprise Linux 9 rv, perf, rtla, kernel, bpftool, libperf, +83 moreaffected: workaround, no fix available “To mitigate this issue, prevent module atlantic from being loaded. Please see https://access.redhat.com/solutions/41278 for how to blacklist a kernel module to prevent it from loading automatically.”
-
Red Hat CodeReady Linux Builder (v. 8) kernel-debuginfo-common-x86_64 4.18.0-513.5.1.el8_9, kernel-debuginfo-common-aarch64 4.18.0-513.5.1.el8_9, kernel-debuginfo-common-ppc64le 4.18.0-513.5.1.el8_9fixed: vendor fix “To mitigate this issue, prevent module atlantic from being loaded. Please see https://access.redhat.com/solutions/41278 for how to blacklist a kernel module to prevent it from loading automatically.” RHSA-2023:7077
-
Red Hat Enterprise Linux AppStream E4S (v.9.0) perf 5.14.0-70.138.1.el9_0, kernel-devel-matched 5.14.0-70.138.1.el9_0, kernel-debug-devel-matched 5.14.0-70.138.1.el9_0, kernel-debuginfo-common-s390x 5.14.0-70.138.1.el9_0, kernel-zfcpdump-devel-matched 5.14.0-70.138.1.el9_0, kernel-debuginfo-common-x86_64 5.14.0-70.138.1.el9_0, +2 morefixed: vendor fix “To mitigate this issue, prevent module atlantic from being loaded. Please see https://access.redhat.com/solutions/41278 for how to blacklist a kernel module to prevent it from loading automatically.” RHSA-2025:10830
-
Red Hat Enterprise Linux AppStream E4S (v.9.2) perf 5.14.0-284.124.1.el9_2, rtla 5.14.0-284.124.1.el9_2, kernel-devel-matched 5.14.0-284.124.1.el9_2, kernel-64k-devel-matched 5.14.0-284.124.1.el9_2, kernel-debug-devel-matched 5.14.0-284.124.1.el9_2, kernel-debuginfo-common-s390x 5.14.0-284.124.1.el9_2, +5 morefixed: vendor fix “To mitigate this issue, prevent module atlantic from being loaded. Please see https://access.redhat.com/solutions/41278 for how to blacklist a kernel module to prevent it from loading automatically.” RHSA-2025:10671
-
Red Hat Enterprise Linux BaseOS (v. 8) perf 4.18.0-513.5.1.el8_9, kernel 4.18.0-513.5.1.el8_9, bpftool 4.18.0-513.5.1.el8_9, kernel-core 4.18.0-513.5.1.el8_9, kernel-tools 4.18.0-513.5.1.el8_9, python3-perf 4.18.0-513.5.1.el8_9, +15 morefixed: vendor fix “To mitigate this issue, prevent module atlantic from being loaded. Please see https://access.redhat.com/solutions/41278 for how to blacklist a kernel module to prevent it from loading automatically.” RHSA-2023:7077
-
Red Hat Enterprise Linux BaseOS AUS (v. 8.2) perf 4.18.0-193.159.1.el8_2, kernel 4.18.0-193.159.1.el8_2, bpftool 4.18.0-193.159.1.el8_2, kernel-core 4.18.0-193.159.1.el8_2, kernel-tools 4.18.0-193.159.1.el8_2, python3-perf 4.18.0-193.159.1.el8_2, +8 morefixed: vendor fix “To mitigate this issue, prevent module atlantic from being loaded. Please see https://access.redhat.com/solutions/41278 for how to blacklist a kernel module to prevent it from loading automatically.” RHSA-2025:10761
-
Red Hat Enterprise Linux BaseOS AUS (v.8.4) perf 4.18.0-305.162.1.el8_4, kernel 4.18.0-305.162.1.el8_4, bpftool 4.18.0-305.162.1.el8_4, kernel-core 4.18.0-305.162.1.el8_4, kernel-tools 4.18.0-305.162.1.el8_4, python3-perf 4.18.0-305.162.1.el8_4, +8 morefixed: vendor fix “To mitigate this issue, prevent module atlantic from being loaded. Please see https://access.redhat.com/solutions/41278 for how to blacklist a kernel module to prevent it from loading automatically.” RHSA-2025:10828
-
Red Hat Enterprise Linux BaseOS AUS (v.8.6) perf 4.18.0-372.151.1.el8_6, kernel 4.18.0-372.151.1.el8_6, bpftool 4.18.0-372.151.1.el8_6, kernel-core 4.18.0-372.151.1.el8_6, kernel-tools 4.18.0-372.151.1.el8_6, python3-perf 4.18.0-372.151.1.el8_6, +8 more Red Hat Enterprise Linux BaseOS E4S (v.8.6) perf 4.18.0-372.151.1.el8_6, kernel 4.18.0-372.151.1.el8_6, bpftool 4.18.0-372.151.1.el8_6, kernel-core 4.18.0-372.151.1.el8_6, kernel-tools 4.18.0-372.151.1.el8_6, python3-perf 4.18.0-372.151.1.el8_6, +15 morefixed: vendor fix “To mitigate this issue, prevent module atlantic from being loaded. Please see https://access.redhat.com/solutions/41278 for how to blacklist a kernel module to prevent it from loading automatically.” RHSA-2025:10673
show 12 moreshow fewer
-
Red Hat Enterprise Linux BaseOS E4S (v.8.8) perf 4.18.0-477.101.1.el8_8, kernel 4.18.0-477.101.1.el8_8, bpftool 4.18.0-477.101.1.el8_8, kernel-core 4.18.0-477.101.1.el8_8, kernel-tools 4.18.0-477.101.1.el8_8, python3-perf 4.18.0-477.101.1.el8_8, +9 morefixed: vendor fix “To mitigate this issue, prevent module atlantic from being loaded. Please see https://access.redhat.com/solutions/41278 for how to blacklist a kernel module to prevent it from loading automatically.” RHSA-2025:10834
-
Red Hat Enterprise Linux BaseOS E4S (v.9.0) kernel 5.14.0-70.138.1.el9_0, bpftool 5.14.0-70.138.1.el9_0, kernel-core 5.14.0-70.138.1.el9_0, kernel-tools 5.14.0-70.138.1.el9_0, python3-perf 5.14.0-70.138.1.el9_0, kernel-modules 5.14.0-70.138.1.el9_0, +14 morefixed: vendor fix “To mitigate this issue, prevent module atlantic from being loaded. Please see https://access.redhat.com/solutions/41278 for how to blacklist a kernel module to prevent it from loading automatically.” RHSA-2025:10830
-
Red Hat Enterprise Linux BaseOS E4S (v.9.2) bpftool 7.0.0-284.124.1.el9_2, kernel 5.14.0-284.124.1.el9_2, kernel-64k 5.14.0-284.124.1.el9_2, kernel-core 5.14.0-284.124.1.el9_2, kernel-tools 5.14.0-284.124.1.el9_2, python3-perf 5.14.0-284.124.1.el9_2, +28 morefixed: vendor fix “To mitigate this issue, prevent module atlantic from being loaded. Please see https://access.redhat.com/solutions/41278 for how to blacklist a kernel module to prevent it from loading automatically.” RHSA-2025:10671
-
Red Hat Enterprise Linux BaseOS EUS EXTENSION (v.8.4) perf 4.18.0-305.162.1.el8_4, kernel 4.18.0-305.162.1.el8_4, bpftool 4.18.0-305.162.1.el8_4, kernel-core 4.18.0-305.162.1.el8_4, kernel-tools 4.18.0-305.162.1.el8_4, python3-perf 4.18.0-305.162.1.el8_4, +8 morefixed: vendor fix “To mitigate this issue, prevent module atlantic from being loaded. Please see https://access.redhat.com/solutions/41278 for how to blacklist a kernel module to prevent it from loading automatically.” RHSA-2025:10828
-
Red Hat Enterprise Linux BaseOS EUS EXTENSION (v.8.8) perf 4.18.0-477.101.1.el8_8, kernel 4.18.0-477.101.1.el8_8, bpftool 4.18.0-477.101.1.el8_8, kernel-core 4.18.0-477.101.1.el8_8, kernel-tools 4.18.0-477.101.1.el8_8, python3-perf 4.18.0-477.101.1.el8_8, +8 morefixed: vendor fix “To mitigate this issue, prevent module atlantic from being loaded. Please see https://access.redhat.com/solutions/41278 for how to blacklist a kernel module to prevent it from loading automatically.” RHSA-2025:10834
-
Red Hat Enterprise Linux BaseOS TUS (v.8.6) perf 4.18.0-372.151.1.el8_6, kernel 4.18.0-372.151.1.el8_6, bpftool 4.18.0-372.151.1.el8_6, kernel-core 4.18.0-372.151.1.el8_6, kernel-tools 4.18.0-372.151.1.el8_6, python3-perf 4.18.0-372.151.1.el8_6, +8 morefixed: vendor fix “To mitigate this issue, prevent module atlantic from being loaded. Please see https://access.redhat.com/solutions/41278 for how to blacklist a kernel module to prevent it from loading automatically.” RHSA-2025:10673
-
Red Hat Enterprise Linux BaseOS TUS (v.8.8) perf 4.18.0-477.101.1.el8_8, kernel 4.18.0-477.101.1.el8_8, bpftool 4.18.0-477.101.1.el8_8, kernel-core 4.18.0-477.101.1.el8_8, kernel-tools 4.18.0-477.101.1.el8_8, python3-perf 4.18.0-477.101.1.el8_8, +8 morefixed: vendor fix “To mitigate this issue, prevent module atlantic from being loaded. Please see https://access.redhat.com/solutions/41278 for how to blacklist a kernel module to prevent it from loading automatically.” RHSA-2025:10834
-
Red Hat Enterprise Linux for Real Time (v. 7 ELS) kernel-rt 3.10.0-1160.136.1.rt56.1288.el7, kernel-rt-trace 3.10.0-1160.136.1.rt56.1288.el7, kernel-rt-debuginfo-common-x86_64 3.10.0-1160.136.1.rt56.1288.el7fixed: vendor fix “To mitigate this issue, prevent module atlantic from being loaded. Please see https://access.redhat.com/solutions/41278 for how to blacklist a kernel module to prevent it from loading automatically.” RHSA-2025:11375
-
Red Hat Enterprise Linux NFV E4S (v.9.0) kernel-rt 5.14.0-70.138.1.rt21.210.el9_0, kernel-rt-kvm 5.14.0-70.138.1.rt21.210.el9_0, kernel-rt-core 5.14.0-70.138.1.rt21.210.el9_0, kernel-rt-modules 5.14.0-70.138.1.rt21.210.el9_0, kernel-rt-debug-kvm 5.14.0-70.138.1.rt21.210.el9_0, kernel-rt-debug-core 5.14.0-70.138.1.rt21.210.el9_0, +4 more Red Hat Enterprise Linux Real Time E4S (v.9.0) kernel-rt 5.14.0-70.138.1.rt21.210.el9_0, kernel-rt-core 5.14.0-70.138.1.rt21.210.el9_0, kernel-rt-modules 5.14.0-70.138.1.rt21.210.el9_0, kernel-rt-debug-core 5.14.0-70.138.1.rt21.210.el9_0, kernel-rt-debug-modules 5.14.0-70.138.1.rt21.210.el9_0, kernel-rt-modules-extra 5.14.0-70.138.1.rt21.210.el9_0, +2 morefixed: vendor fix “To mitigate this issue, prevent module atlantic from being loaded. Please see https://access.redhat.com/solutions/41278 for how to blacklist a kernel module to prevent it from loading automatically.” RHSA-2025:10829
-
Red Hat Enterprise Linux Real Time E4S (v.9.2) kernel-rt 5.14.0-284.124.1.rt14.409.el9_2, kernel-rt-core 5.14.0-284.124.1.rt14.409.el9_2, kernel-rt-modules 5.14.0-284.124.1.rt14.409.el9_2, kernel-rt-debug-core 5.14.0-284.124.1.rt14.409.el9_2, kernel-rt-modules-core 5.14.0-284.124.1.rt14.409.el9_2, kernel-rt-debug-modules 5.14.0-284.124.1.rt14.409.el9_2, +4 more Red Hat Enterprise Linux Real Time for NFV E4S (v.9.2) kernel-rt 5.14.0-284.124.1.rt14.409.el9_2, kernel-rt-kvm 5.14.0-284.124.1.rt14.409.el9_2, kernel-rt-core 5.14.0-284.124.1.rt14.409.el9_2, kernel-rt-modules 5.14.0-284.124.1.rt14.409.el9_2, kernel-rt-debug-kvm 5.14.0-284.124.1.rt14.409.el9_2, kernel-rt-debug-core 5.14.0-284.124.1.rt14.409.el9_2, +6 morefixed: vendor fix “To mitigate this issue, prevent module atlantic from being loaded. Please see https://access.redhat.com/solutions/41278 for how to blacklist a kernel module to prevent it from loading automatically.” RHSA-2025:10675
-
Red Hat Enterprise Linux Server (v. 7 ELS) perf 3.10.0-1160.136.1.el7, kernel 3.10.0-1160.136.1.el7, bpftool 3.10.0-1160.136.1.el7, python-perf 3.10.0-1160.136.1.el7, kernel-kdump 3.10.0-1160.136.1.el7, kernel-tools 3.10.0-1160.136.1.el7, +7 more Red Hat Enterprise Linux Server Optional (v. 7 ELS) kernel-debuginfo-common-ppc64 3.10.0-1160.136.1.el7, kernel-debuginfo-common-x86_64 3.10.0-1160.136.1.el7, kernel-debuginfo-common-ppc64le 3.10.0-1160.136.1.el7fixed: vendor fix “To mitigate this issue, prevent module atlantic from being loaded. Please see https://access.redhat.com/solutions/41278 for how to blacklist a kernel module to prevent it from loading automatically.” RHSA-2025:11358
-
Red Hat Enterprise Linux 6 perf, kernel, python-perf, kernel-kdump, kernel-firmware, kernel-bootwrapper, +1 more Red Hat Enterprise Linux 10 kernelnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 3 d ago
Exploit prediction
0.20% chance of exploitation in the next 30 days, higher than 10% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
Affected products
- Linux Linux
Classification
- Weakness
-
- CWE-129 Improper Validation of Array Index
- Technology feeds
References
Sources
- CVE List CVE-2022-50066
- NVD CVE-2022-50066
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.