CVE-2022-48720

net: macsec: Fix offload support for NETDEV_UNREGISTER event

State
Published
Severity
7.8 High
Published
Jun 20, 2024
Updated
Aug 5, 2026
Reserved
Jun 20, 2024

Read the record on cve.org

Description

In the Linux kernel, the following vulnerability has been resolved:

net: macsec: Fix offload support for NETDEV_UNREGISTER event

Current macsec netdev notify handler handles NETDEV_UNREGISTER event by releasing relevant SW resources only, this causes resources leak in case of macsec HW offload, as the underlay driver was not notified to clean it's macsec offload resources.

Fix by calling the underlay driver to clean it's relevant resources by moving offload handling from macsec_dellink() to macsec_common_dellink() when handling NETDEV_UNREGISTER event.

Scores

CVSSScoreVectorSource
3.17.8 HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HLinux

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 3cf3227a21d1fb020fe26128e60321bd2151e922 to before 2e7f5b6ee1a7a2c628253a95b0a95b582901ef1bAffected
  • 3cf3227a21d1fb020fe26128e60321bd2151e922 to before e7a0b3a0806dae3cc81931f0e83055ca2ac6f455Affected
  • 3cf3227a21d1fb020fe26128e60321bd2151e922 to before 8299be160aad8548071d080518712dec0df92bd5Affected
  • 3cf3227a21d1fb020fe26128e60321bd2151e922 to before 9cef24c8b76c1f6effe499d2f131807c90f7ce9aAffected
LinuxLinux
  • 5.6Affected
  • before 5.6Not affected
  • 5.10.99 through 5.10.*Not affected
  • 5.15.22 through 5.15.*Not affected
  • 5.16.8 through 5.16.*Not affected
  • 5.17 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.