cve.bz

CVE-2022-49667 linux linux kernel: Use After Free

7.8 highEPSS 0.3%Fix available

High (7.8) in linux linux kernel. EPSS 0.3% estimated probability of exploitation activity in the next 30 days.

On this page
In the Linux kernel, the following vulnerability has been resolved: net: bonding: fix use-after-free after 802.3ad slave unbind commit 0622cab0341c ("bonding: fix 802.3ad aggregator reselection"), resolve case, when there is several aggregation groups in the same bond. bond_3ad_unbind_slave will invalidate (clear) aggregator when __agg_active_ports return zero. So, ad_clear_agg can be executed even, when num_of_ports!=0. Than bond_3ad_unbind_slave can be executed again for, previously cleared aggregator. NOTE: at this time bond_3ad_unbind_slave will not update slave ports list, because lag_ports==NULL. So, here we got slave ports, pointing to freed aggregator memory. Fix with checking actual number of ports in group (as was before commit 0622cab0341c ("bonding: fix 802.3ad aggregator reselection") ), before ad_clear_agg(). The KASAN logs are as follows: [ 767.617392] ================================================================== [ 767.630776] BUG: KASAN: use-after-free in bond_3ad_state_machine_handler+0x13dc/0x1470 [ 767.638764] Read of size 2 at addr ffff00011ba9d430 by task kworker/u8:7/767 [ 767.647361] CPU: 3 PID: 767 Comm: kworker/u8:7 Tainted: G O 5.15.11 #15 [ 767.655329] Hardware name: DNI AmazonGo1 A7040 board (DT) [ 767.660760] Workqueue: lacp_1 bond_3ad_state_machine_handler [ 767.666468] Call trace: [ 767.668930] dump_backtrace+0x0/0x2d0 [ 767.672625] show_stack+0x24/0x30 [ 767.675965] dump_stack_lvl+0x68/0x84 [ 767.679659] print_address_description.constprop.0+0x74/0x2b8 [ 767.685451] kasan_report+0x1f0/0x260 [ 767.689148] __asan_load2+0x94/0xd0 [ 767.692667] bond_3ad_state_machine_handler+0x13dc/0x1470

Severity

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
EPSS
0.3% (unchanged from 0.3% a week ago; 0.3% 30 days ago) estimated probability of exploitation activity in the next 30 days; 22nd percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: total, assessed 2025-02-27. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-416 Use After Free
Published
Modified
NVD analysis
Analyzed
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2022-49667 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2022-49667?via=ask-ai-copy and https://cve.bz/cve/CVE-2022-49667?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2022-49667 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
Linux4.7 and later

Fixed in

ProductRelease lineFixed in
Linux4.94.9.322
Linux4.144.14.287
Linux4.194.19.251
Linux5.45.4.204
Linux5.105.10.129
Linux5.155.15.53
Linux5.185.18.10
Linuxlater releases5.19

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13, 14linux5.18.14-1DEBIAN-CVE-2022-49667
Ubuntu16.04:LTSlinux-hwe-edgeno fix listedUBUNTU-CVE-2022-49667
Ubuntu18.04:LTSlinux4.15.0-194.205UBUNTU-CVE-2022-49667
Ubuntu18.04:LTSlinux-aws4.15.0-1142.154UBUNTU-CVE-2022-49667
Ubuntu18.04:LTSlinux-aws-5.45.4.0-1086.93~18.04.1UBUNTU-CVE-2022-49667
Ubuntu18.04:LTSlinux-azure-4.154.15.0-1153.168UBUNTU-CVE-2022-49667
Ubuntu18.04:LTSlinux-azure-5.45.4.0-1094.100~18.04.1UBUNTU-CVE-2022-49667
Ubuntu18.04:LTSlinux-gcp, linux-hwe, linux-oem and 12 moreno fix listedUBUNTU-CVE-2022-49667
Ubuntu18.04:LTSlinux-gcp-4.154.15.0-1137.153UBUNTU-CVE-2022-49667
Ubuntu18.04:LTSlinux-gcp-5.45.4.0-1092.101~18.04.1UBUNTU-CVE-2022-49667
Ubuntu18.04:LTSlinux-hwe-5.45.4.0-128.144~18.04.1UBUNTU-CVE-2022-49667
Ubuntu18.04:LTSlinux-ibm-5.45.4.0-1034.38~18.04.1UBUNTU-CVE-2022-49667
Ubuntu18.04:LTSlinux-kvm4.15.0-1128.133UBUNTU-CVE-2022-49667
54 more for Ubuntu in the JSON and on Ubuntu's page.
Red Hatrhel_e4s:9.0::appstreamperf, kernel-doc, kernel-devel and 16 more0:5.14.0-70.163.1.el9_0RHSA-2026:1494
Red Hatrhel_e4s:9.0::baseoskernel, bpftool, kernel-core and 25 more0:5.14.0-70.163.1.el9_0RHSA-2026:1494
Red Hatrhel_e4s:9.0::nfvkernel-rt, kernel-rt-kvm, kernel-rt-core and 12 more0:5.14.0-70.163.1.rt21.235.el9_0RHSA-2026:1495
Red Hatrhel_e4s:9.0::realtimekernel-rt, kernel-rt-core, kernel-rt-debug and 10 more0:5.14.0-70.163.1.rt21.235.el9_0RHSA-2026:1495
SUSELinux Enterprise High Availability Extension 15 SP4, Linux Enterprise Live Patching 15 SP4, Linux Enterprise Micro 5.3 and 1 morekernel-default5.14.21-150400.24.158.1SUSE-SU-2025:1027-1
SUSELinux Enterprise High Performance Computing 15 SP4-ESPOS, Linux Enterprise High Performance Computing 15 SP4-LTSSkernel-64kb, kernel-docs, kernel-syms and 3 more5.14.21-150400.24.158.1SUSE-SU-2025:1027-1
SUSELinux Enterprise High Performance Computing 15 SP4-ESPOS, Linux Enterprise High Performance Computing 15 SP4-LTSS, Linux Enterprise Micro 5.3 and 5 morekernel-default-base5.14.21-150400.24.158.1.150400.24.78.1SUSE-SU-2025:1027-1
SUSELinux Enterprise High Performance Computing 15 SP5-ESPOS, Linux Enterprise High Performance Computing 15 SP5-LTSSkernel-64kb, kernel-docs, kernel-syms and 3 more5.14.21-150500.55.100.1SUSE-SU-2025:1241-1
SUSELinux Enterprise High Performance Computing 15 SP5-ESPOS, Linux Enterprise High Performance Computing 15 SP5-LTSS, Linux Enterprise Micro 5.5 and 2 morekernel-default-base5.14.21-150500.55.100.1.150500.6.47.1SUSE-SU-2025:1241-1
SUSELinux Enterprise Live Patching 12 SP5kernel-default4.12.14-122.255.1SUSE-SU-2025:1293-1
SUSELinux Enterprise Live Patching 12 SP5kgraft-patch-SLE12-SP5_Update_671-8.5.1SUSE-SU-2025:1293-1
SUSELinux Enterprise Live Patching 15 SP4kernel-livepatch-SLE15-SP4_Update_381-150400.9.3.1SUSE-SU-2025:1027-1
SUSELinux Enterprise Live Patching 15 SP5kernel-default5.14.21-150500.55.100.1SUSE-SU-2025:1241-1
SUSELinux Enterprise Live Patching 15 SP5kernel-livepatch-SLE15-SP5_Update_251-150500.11.3.1SUSE-SU-2025:1241-1
SUSELinux Enterprise Micro 5.3, Linux Enterprise Micro 5.4kernel-rt, kernel-source-rt5.14.21-150400.15.115.1SUSE-SU-2025:1183-1
SUSELinux Enterprise Micro 5.5kernel-rt, kernel-source-rt5.14.21-150500.13.91.1SUSE-SU-2025:1176-1
8 more for SUSE in the JSON and on SUSE's page.

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

The bug could happen if bonding network ports in the Linux being used. For triggering the bug need to detach one of the bonded ports and some other conditions to happen all-together. The security impact is limited, because only local user with access to administration of bonded ports can trigger it.

Red Hat's mitigation

To mitigate this issue, prevent module bonding from being loaded. Please see https://access.redhat.com/solutions/41278 for how to blacklist a kernel module to prevent it from loading automatically.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 9.0 Update Services for SAP Solutionskernel-0:5.14.0-70.163.1.el9_0Fixed 2026-01-28RHSA-2026:1494
Red Hat Enterprise Linux 9.0 Update Services for SAP Solutionskernel-rt-0:5.14.0-70.163.1.rt21.235.el9_0Fixed 2026-01-28RHSA-2026:1495
Red Hat Enterprise Linux 10kernelNot affected
Red Hat Enterprise Linux 6kernelOut of support scope
Red Hat Enterprise Linux 7kernelFix deferred
Red Hat Enterprise Linux 7kernel-rtFix deferred
Red Hat Enterprise Linux 8kernelOut of support scope
Red Hat Enterprise Linux 8kernel-rtOut of support scope
Red Hat Enterprise Linux 9kernelAffected
Red Hat Enterprise Linux 9kernel-rtAffected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2022-49667.

References

Check your stackJSON