CVE-2022-49667
Linux Kernel vulnerability analysis and mitigation

Overview

In the Linux kernel, a use-after-free vulnerability was discovered in the bonding driver's 802.3ad (LACP) implementation. The issue occurs in the bond_3ad_unbind_slave function when handling multiple aggregation groups in the same bond. The vulnerability was introduced by commit 0622cab0341c ("bonding: fix 802.3ad aggregator reselection") and has been assigned CVE-2022-49667 (NVD).

Technical details

The vulnerability stems from the bond_3ad_unbind_slave function invalidating (clearing) an aggregator when __agg_active_ports returns zero, even when num_of_ports is not zero. This can lead to ad_clear_agg being executed on an aggregator that still has ports. Subsequently, bond_3ad_unbind_slave can be executed again for the previously cleared aggregator. Since lag_ports is NULL at this point, the slave ports list is not updated, resulting in slave ports pointing to freed aggregator memory (Kernel Commit).

Impact

This vulnerability can lead to use-after-free conditions in the kernel's networking stack, potentially causing system crashes or memory corruption. The issue was detected by KASAN (Kernel Address Sanitizer) showing memory access to freed aggregator memory (NVD).

Mitigation and workarounds

The issue has been fixed by adding a check for the actual number of ports in the group before calling ad_clear_agg(). The fix ensures that ad_clear_agg is only called when temp_aggregator->num_of_ports equals zero, reverting to the behavior that existed before the problematic commit (Kernel Commit).

Additional resources


SourceThis report was generated using AI

Related Linux Kernel vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-68753HIGH7.8
  • Linux KernelLinux Kernel
  • linux-realtime
NoYesJan 05, 2026
CVE-2025-68756HIGH7.1
  • Linux KernelLinux Kernel
  • linux-oracle
NoYesJan 05, 2026
CVE-2025-68764MEDIUM5.5
  • Linux KernelLinux Kernel
  • linux-realtime
NoYesJan 05, 2026
CVE-2025-68758MEDIUM5.5
  • Linux KernelLinux Kernel
  • kernel-zfcpdump-core
NoYesJan 05, 2026
CVE-2025-68762N/AN/A
  • Linux KernelLinux Kernel
  • kernel
NoYesJan 05, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management