# CVE-2022-48720: net: macsec: Fix offload support for NETDEV\_UNREGISTER event

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.8
- **CVSS:** 7.8 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.33% (percentile 18, 2026-11-26)
- **Published:** 2024-06-20T11:13:12.025Z
- **Modified:** 2026-08-05T08:51:55.891Z

## Who should check

- Anyone running Linux \>= 3cf3227a21d1fb020fe26128e60321bd2151e922, \< 2e7f5b6ee1a7a2c628253a95b0a95b582901ef1b; \>= 3cf3227a21d1fb020fe26128e60321bd2151e922, \< e7a0b3a0806dae3cc81931f0e83055ca2ac6f455; \>= 3cf3227a21d1fb020fe26128e60321bd2151e922, \< 8299be160aad8548071d080518712dec0df92bd5; \>= 3cf3227a21d1fb020fe26128e60321bd2151e922, \< 9cef24c8b76c1f6effe499d2f131807c90f7ce9a
- Anyone running Linux 5.6

## 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.

## Affected and fixed versions

- Linux: \>= 3cf3227a21d1fb020fe26128e60321bd2151e922, \< 2e7f5b6ee1a7a2c628253a95b0a95b582901ef1b; \>= 3cf3227a21d1fb020fe26128e60321bd2151e922, \< e7a0b3a0806dae3cc81931f0e83055ca2ac6f455; \>= 3cf3227a21d1fb020fe26128e60321bd2151e922, \< 8299be160aad8548071d080518712dec0df92bd5; \>= 3cf3227a21d1fb020fe26128e60321bd2151e922, \< 9cef24c8b76c1f6effe499d2f131807c90f7ce9a (cvelist)
- Linux: 5.6 (cvelist)

## Mitigation

- Upgrade Linux to 9cef24c8b76c1f6effe499d2f131807c90f7ce9a or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2022-48720. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2022-48720.md
Affected: Linux >= 3cf3227a21d1fb020fe26128e60321bd2151e922, < 2e7f5b6ee1a7a2c628253a95b0a95b582901ef1b; >= 3cf3227a21d1fb020fe26128e60321bd2151e922, < e7a0b3a0806dae3cc81931f0e83055ca2ac6f455; >= 3cf3227a21d1fb020fe26128e60321bd2151e922, < 8299be160aad8548071d080518712dec0df92bd5; >= 3cf3227a21d1fb020fe2612…
Fixed in: Linux 2e7f5b6ee1a7a2c628253a95b0a95b582901ef1b, Linux 8299be160aad8548071d080518712dec0df92bd5, Linux 9cef24c8b76c1f6effe499d2f131807c90f7ce9a

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2022-48720 being exploited?

There is no confirmed exploitation: CVE-2022-48720 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.33% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2022-48720?

High: CVSS 7.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2022-48720?

Linux \>= 3cf3227a21d1fb020fe26128e60321bd2151e922, \< 2e7f5b6ee1a7a2c628253a95b0a95b582901ef1b; \>= 3cf3227a21d1fb020fe26128e60321bd2151e922, \< e7a0b3a0806dae3cc81931f0e83055ca2ac6f455; \>= 3cf3227a21d1fb020fe26128e60321bd2151e922, \< 8299be160aad8548071d080518712dec0df92bd5; \>= 3cf3227a21d1fb020fe26128e60321bd2151e922, \< 9cef24c8b76c1f6effe499d2f131807c90f7ce9a; Linux 5.6.

### Is there a fix for CVE-2022-48720?

Yes. Fixed in Linux 2e7f5b6ee1a7a2c628253a95b0a95b582901ef1b, Linux 8299be160aad8548071d080518712dec0df92bd5, Linux 9cef24c8b76c1f6effe499d2f131807c90f7ce9a. Upgrade Linux to 9cef24c8b76c1f6effe499d2f131807c90f7ce9a or later.

### How do I check if I'm affected by CVE-2022-48720?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://git.kernel.org/stable/c/2e7f5b6ee1a7a2c628253a95b0a95b582901ef1b>
- patch: <https://git.kernel.org/stable/c/e7a0b3a0806dae3cc81931f0e83055ca2ac6f455>
- patch: <https://git.kernel.org/stable/c/8299be160aad8548071d080518712dec0df92bd5>
- patch: <https://git.kernel.org/stable/c/9cef24c8b76c1f6effe499d2f131807c90f7ce9a>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2022-48720>

HTML: <https://flawdb.com/CVE-2022-48720> · JSON: <https://flawdb.com/api/v1/entries/CVE-2022-48720>
