CVE-2022-48720 (GCVE-0-2022-48720)

Vulnerability from cvelistv5 – Published: 2024-06-20 11:13 – Updated: 2026-08-05 08:51
VLAI
Title
net: macsec: Fix offload support for NETDEV_UNREGISTER event
Summary
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.
SSVC
Exploitation: none Automatable: no Technical Impact: partial
CISA Coordinator (v2.0.3)
Assigner
Impacted products
Vendor Product Version
Linux Linux Affected: 3cf3227a21d1fb020fe26128e60321bd2151e922 , < 2e7f5b6ee1a7a2c628253a95b0a95b582901ef1b (git)
Affected: 3cf3227a21d1fb020fe26128e60321bd2151e922 , < e7a0b3a0806dae3cc81931f0e83055ca2ac6f455 (git)
Affected: 3cf3227a21d1fb020fe26128e60321bd2151e922 , < 8299be160aad8548071d080518712dec0df92bd5 (git)
Affected: 3cf3227a21d1fb020fe26128e60321bd2151e922 , < 9cef24c8b76c1f6effe499d2f131807c90f7ce9a (git)
Create a notification for this product.
Linux Linux Affected: 5.6
Unaffected: 0 , < 5.6 (semver)
Unaffected: 5.10.99 , ≤ 5.10.* (semver)
Unaffected: 5.15.22 , ≤ 5.15.* (semver)
Unaffected: 5.16.8 , ≤ 5.16.* (semver)
Unaffected: 5.17 , ≤ * (original_commit_for_fix)
Create a notification for this product.
Show details on NVD website

{
  "containers": {
    "adp": [
      {
        "metrics": [
          {
            "other": {
              "content": {
                "id": "CVE-2022-48720",
                "options": [
                  {
                    "Exploitation": "none"
                  },
                  {
                    "Automatable": "no"
                  },
                  {
                    "Technical Impact": "partial"
                  }
                ],
                "role": "CISA Coordinator",
                "timestamp": "2024-06-20T15:49:59.493508Z",
                "version": "2.0.3"
              },
              "type": "ssvc"
            }
          }
        ],
        "providerMetadata": {
          "dateUpdated": "2024-06-20T15:50:07.599Z",
          "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
          "shortName": "CISA-ADP"
        },
        "title": "CISA ADP Vulnrichment"
      },
      {
        "providerMetadata": {
          "dateUpdated": "2024-08-03T15:24:59.933Z",
          "orgId": "af854a3a-2127-422b-91ae-364da2661108",
          "shortName": "CVE"
        },
        "references": [
          {
            "tags": [
              "x_transferred"
            ],
            "url": "https://git.kernel.org/stable/c/2e7f5b6ee1a7a2c628253a95b0a95b582901ef1b"
          },
          {
            "tags": [
              "x_transferred"
            ],
            "url": "https://git.kernel.org/stable/c/e7a0b3a0806dae3cc81931f0e83055ca2ac6f455"
          },
          {
            "tags": [
              "x_transferred"
            ],
            "url": "https://git.kernel.org/stable/c/8299be160aad8548071d080518712dec0df92bd5"
          },
          {
            "tags": [
              "x_transferred"
            ],
            "url": "https://git.kernel.org/stable/c/9cef24c8b76c1f6effe499d2f131807c90f7ce9a"
          }
        ],
        "title": "CVE Program Container"
      }
    ],
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "drivers/net/macsec.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "2e7f5b6ee1a7a2c628253a95b0a95b582901ef1b",
              "status": "affected",
              "version": "3cf3227a21d1fb020fe26128e60321bd2151e922",
              "versionType": "git"
            },
            {
              "lessThan": "e7a0b3a0806dae3cc81931f0e83055ca2ac6f455",
              "status": "affected",
              "version": "3cf3227a21d1fb020fe26128e60321bd2151e922",
              "versionType": "git"
            },
            {
              "lessThan": "8299be160aad8548071d080518712dec0df92bd5",
              "status": "affected",
              "version": "3cf3227a21d1fb020fe26128e60321bd2151e922",
              "versionType": "git"
            },
            {
              "lessThan": "9cef24c8b76c1f6effe499d2f131807c90f7ce9a",
              "status": "affected",
              "version": "3cf3227a21d1fb020fe26128e60321bd2151e922",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "drivers/net/macsec.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "5.6"
            },
            {
              "lessThan": "5.6",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.10.*",
              "status": "unaffected",
              "version": "5.10.99",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.15.*",
              "status": "unaffected",
              "version": "5.15.22",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.16.*",
              "status": "unaffected",
              "version": "5.16.8",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "5.17",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.10.99",
                  "versionStartIncluding": "5.6",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.15.22",
                  "versionStartIncluding": "5.6",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.16.8",
                  "versionStartIncluding": "5.6",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.17",
                  "versionStartIncluding": "5.6",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nnet: macsec: Fix offload support for NETDEV_UNREGISTER event\n\nCurrent macsec netdev notify handler handles NETDEV_UNREGISTER event by\nreleasing relevant SW resources only, this causes resources leak in case\nof macsec HW offload, as the underlay driver was not notified to clean\nit\u0027s macsec offload resources.\n\nFix by calling the underlay driver to clean it\u0027s relevant resources\nby moving offload handling from macsec_dellink() to macsec_common_dellink()\nwhen handling NETDEV_UNREGISTER event."
        }
      ],
      "metrics": [
        {
          "cvssV3_1": {
            "baseScore": 7.8,
            "baseSeverity": "HIGH",
            "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
            "version": "3.1"
          },
          "scenarios": [
            {
              "lang": "en",
              "value": "AV:L - The bug is triggered by creating a HW-offloaded macsec device via RTNL (`ip link add type macsec offload ...`) and then causing NETDEV_UNREGISTER on the underlying real_dev (e.g. netns move); both are local netlink/syscall paths, not remote packet processing.\nAC:L - An attacker who can create an offloaded macsec and unregister/move the lower device reliably leaves dangling driver state (e.g. aquantia `sw_secy`, mscc `priv-\u003esecy`); a subsequent link event (`aq_macsec_enable` \u2192 `apply_txsc_cfg`) or PN-rollover interrupt deterministically dereferences the freed objects with no race required.\nPR:L - Creating the macsec link and moving/unregistering the underlying netdev require CAP_NET_ADMIN checked via `netlink_net_capable` against the netns user_ns, which an unprivileged user obtains with user+network namespaces when a MACsec-offload-capable device is present in that netns.\nUI:N - The attacker performs the RTNL setup and unregister/move themselves; no separate victim action is required.\nS:U - Impact stays within the host kernel networking/MACsec offload authority; there is no VM escape, IOMMU bypass, or other cross-boundary effect.\nC:H - Failing to call `mdo_del_secy` leaves underlay drivers holding pointers into freed `macsec_secy`/SA objects; that UAF can be leveraged for arbitrary kernel memory disclosure once the freed objects are reallocated.\nI:H - Post-unregister paths write through the dangling pointers (e.g. `macsec_pn_wrapped()` updating `tx_sa-\u003eactive`/`secy-\u003eoperational`, aquantia re-applying SecY config from `sw_secy`), yielding a UAF write primitive suitable for integrity compromise or code-execution primitives.\nA:H - Any use of the dangling SecY/SA state after SW teardown can oops/panic the kernel, and CVSS kernel guidance rates UAF availability impact as High even before full exploitation."
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-08-05T08:51:55.891Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/2e7f5b6ee1a7a2c628253a95b0a95b582901ef1b"
        },
        {
          "url": "https://git.kernel.org/stable/c/e7a0b3a0806dae3cc81931f0e83055ca2ac6f455"
        },
        {
          "url": "https://git.kernel.org/stable/c/8299be160aad8548071d080518712dec0df92bd5"
        },
        {
          "url": "https://git.kernel.org/stable/c/9cef24c8b76c1f6effe499d2f131807c90f7ce9a"
        }
      ],
      "title": "net: macsec: Fix offload support for NETDEV_UNREGISTER event",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2022-48720",
    "datePublished": "2024-06-20T11:13:12.025Z",
    "dateReserved": "2024-06-20T11:09:39.051Z",
    "dateUpdated": "2026-08-05T08:51:55.891Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "epss": {
      "cve": "CVE-2022-48720",
      "date": "2026-08-07",
      "epss": "0.00229",
      "percentile": "0.1372"
    },
    "fkie_nvd": {
      "descriptions": "[{\"lang\": \"en\", \"value\": \"In the Linux kernel, the following vulnerability has been resolved:\\n\\nnet: macsec: Fix offload support for NETDEV_UNREGISTER event\\n\\nCurrent macsec netdev notify handler handles NETDEV_UNREGISTER event by\\nreleasing relevant SW resources only, this causes resources leak in case\\nof macsec HW offload, as the underlay driver was not notified to clean\\nit\u0027s macsec offload resources.\\n\\nFix by calling the underlay driver to clean it\u0027s relevant resources\\nby moving offload handling from macsec_dellink() to macsec_common_dellink()\\nwhen handling NETDEV_UNREGISTER event.\"}, {\"lang\": \"es\", \"value\": \"En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: net: macsec: se corrigi\\u00f3 el soporte de descarga para el evento NETDEV_UNREGISTER. El controlador de notificaci\\u00f3n netdev de macsec actual maneja el evento NETDEV_UNREGISTER liberando solo recursos SW relevantes, lo que provoca una p\\u00e9rdida de recursos en caso de descarga de HW de macsec, ya que No se notific\\u00f3 al controlador subyacente que limpiara sus recursos de descarga de macsec. Para solucionarlo, llame al controlador subyacente para limpiar sus recursos relevantes moviendo el manejo de descarga de macsec_dellink() a macsec_common_dellink() cuando se maneja el evento NETDEV_UNREGISTER.\"}]",
      "id": "CVE-2022-48720",
      "lastModified": "2024-11-21T07:33:51.487",
      "published": "2024-06-20T11:15:55.547",
      "references": "[{\"url\": \"https://git.kernel.org/stable/c/2e7f5b6ee1a7a2c628253a95b0a95b582901ef1b\", \"source\": \"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"}, {\"url\": \"https://git.kernel.org/stable/c/8299be160aad8548071d080518712dec0df92bd5\", \"source\": \"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"}, {\"url\": \"https://git.kernel.org/stable/c/9cef24c8b76c1f6effe499d2f131807c90f7ce9a\", \"source\": \"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"}, {\"url\": \"https://git.kernel.org/stable/c/e7a0b3a0806dae3cc81931f0e83055ca2ac6f455\", \"source\": \"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"}, {\"url\": \"https://git.kernel.org/stable/c/2e7f5b6ee1a7a2c628253a95b0a95b582901ef1b\", \"source\": \"af854a3a-2127-422b-91ae-364da2661108\"}, {\"url\": \"https://git.kernel.org/stable/c/8299be160aad8548071d080518712dec0df92bd5\", \"source\": \"af854a3a-2127-422b-91ae-364da2661108\"}, {\"url\": \"https://git.kernel.org/stable/c/9cef24c8b76c1f6effe499d2f131807c90f7ce9a\", \"source\": \"af854a3a-2127-422b-91ae-364da2661108\"}, {\"url\": \"https://git.kernel.org/stable/c/e7a0b3a0806dae3cc81931f0e83055ca2ac6f455\", \"source\": \"af854a3a-2127-422b-91ae-364da2661108\"}]",
      "sourceIdentifier": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
      "vulnStatus": "Awaiting Analysis"
    },
    "nvd": "{\"cve\":{\"id\":\"CVE-2022-48720\",\"sourceIdentifier\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"published\":\"2024-06-20T11:15:55.547\",\"lastModified\":\"2026-08-04T10:17:17.480\",\"vulnStatus\":\"Modified\",\"cveTags\":[],\"descriptions\":[{\"lang\":\"en\",\"value\":\"In the Linux kernel, the following vulnerability has been resolved:\\n\\nnet: macsec: Fix offload support for NETDEV_UNREGISTER event\\n\\nCurrent macsec netdev notify handler handles NETDEV_UNREGISTER event by\\nreleasing relevant SW resources only, this causes resources leak in case\\nof macsec HW offload, as the underlay driver was not notified to clean\\nit\u0027s macsec offload resources.\\n\\nFix by calling the underlay driver to clean it\u0027s relevant resources\\nby moving offload handling from macsec_dellink() to macsec_common_dellink()\\nwhen handling NETDEV_UNREGISTER event.\"},{\"lang\":\"es\",\"value\":\"En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: net: macsec: se corrigi\u00f3 el soporte de descarga para el evento NETDEV_UNREGISTER. El controlador de notificaci\u00f3n netdev de macsec actual maneja el evento NETDEV_UNREGISTER liberando solo recursos SW relevantes, lo que provoca una p\u00e9rdida de recursos en caso de descarga de HW de macsec, ya que No se notific\u00f3 al controlador subyacente que limpiara sus recursos de descarga de macsec. Para solucionarlo, llame al controlador subyacente para limpiar sus recursos relevantes moviendo el manejo de descarga de macsec_dellink() a macsec_common_dellink() cuando se maneja el evento NETDEV_UNREGISTER.\"}],\"affected\":[{\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"affectedData\":[{\"vendor\":\"Linux\",\"product\":\"Linux\",\"defaultStatus\":\"unaffected\",\"programFiles\":[\"drivers/net/macsec.c\"],\"repo\":\"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\"versions\":[{\"version\":\"3cf3227a21d1fb020fe26128e60321bd2151e922\",\"lessThan\":\"2e7f5b6ee1a7a2c628253a95b0a95b582901ef1b\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"3cf3227a21d1fb020fe26128e60321bd2151e922\",\"lessThan\":\"e7a0b3a0806dae3cc81931f0e83055ca2ac6f455\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"3cf3227a21d1fb020fe26128e60321bd2151e922\",\"lessThan\":\"8299be160aad8548071d080518712dec0df92bd5\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"3cf3227a21d1fb020fe26128e60321bd2151e922\",\"lessThan\":\"9cef24c8b76c1f6effe499d2f131807c90f7ce9a\",\"versionType\":\"git\",\"status\":\"affected\"}]},{\"vendor\":\"Linux\",\"product\":\"Linux\",\"defaultStatus\":\"affected\",\"programFiles\":[\"drivers/net/macsec.c\"],\"repo\":\"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\"versions\":[{\"version\":\"5.6\",\"status\":\"affected\"},{\"version\":\"0\",\"lessThan\":\"5.6\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"5.10.99\",\"lessThanOrEqual\":\"5.10.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"5.15.22\",\"lessThanOrEqual\":\"5.15.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"5.16.8\",\"lessThanOrEqual\":\"5.16.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"5.17\",\"lessThanOrEqual\":\"*\",\"versionType\":\"original_commit_for_fix\",\"status\":\"unaffected\"}]}]}],\"metrics\":{\"cvssMetricV31\":[{\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"type\":\"Secondary\",\"cvssData\":{\"version\":\"3.1\",\"vectorString\":\"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H\",\"baseScore\":7.8,\"baseSeverity\":\"HIGH\",\"attackVector\":\"LOCAL\",\"attackComplexity\":\"LOW\",\"privilegesRequired\":\"LOW\",\"userInteraction\":\"NONE\",\"scope\":\"UNCHANGED\",\"confidentialityImpact\":\"HIGH\",\"integrityImpact\":\"HIGH\",\"availabilityImpact\":\"HIGH\"},\"exploitabilityScore\":1.8,\"impactScore\":5.9},{\"source\":\"nvd@nist.gov\",\"type\":\"Primary\",\"cvssData\":{\"version\":\"3.1\",\"vectorString\":\"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N\",\"baseScore\":5.5,\"baseSeverity\":\"MEDIUM\",\"attackVector\":\"LOCAL\",\"attackComplexity\":\"LOW\",\"privilegesRequired\":\"LOW\",\"userInteraction\":\"NONE\",\"scope\":\"UNCHANGED\",\"confidentialityImpact\":\"HIGH\",\"integrityImpact\":\"NONE\",\"availabilityImpact\":\"NONE\"},\"exploitabilityScore\":1.8,\"impactScore\":3.6}],\"ssvcV203\":[{\"source\":\"134c704f-9b21-4f2e-91b3-4a467353bcc0\",\"ssvcData\":{\"timestamp\":\"2024-06-20T15:49:59.493508Z\",\"id\":\"CVE-2022-48720\",\"options\":[{\"exploitation\":\"none\"},{\"automatable\":\"no\"},{\"technicalImpact\":\"partial\"}],\"role\":\"CISA Coordinator\",\"version\":\"2.0.3\"}}]},\"weaknesses\":[{\"source\":\"nvd@nist.gov\",\"type\":\"Primary\",\"description\":[{\"lang\":\"en\",\"value\":\"NVD-CWE-Other\"}]}],\"configurations\":[{\"nodes\":[{\"operator\":\"OR\",\"negate\":false,\"cpeMatch\":[{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\",\"versionStartIncluding\":\"5.6\",\"versionEndExcluding\":\"5.10.99\",\"matchCriteriaId\":\"B69CC532-C65F-4966-A226-22878B182DF5\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\",\"versionStartIncluding\":\"5.11\",\"versionEndExcluding\":\"5.15.22\",\"matchCriteriaId\":\"74528AA6-B524-4C3F-B188-1194235FE47D\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\",\"versionStartIncluding\":\"5.16\",\"versionEndExcluding\":\"5.16.8\",\"matchCriteriaId\":\"0623892A-E3E4-44E6-8A5E-39A0B47AF782\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:5.17:rc1:*:*:*:*:*:*\",\"matchCriteriaId\":\"7BD5F8D9-54FA-4CB0-B4F0-CB0471FDDB2D\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:5.17:rc2:*:*:*:*:*:*\",\"matchCriteriaId\":\"E6E34B23-78B4-4516-9BD8-61B33F4AC49A\"}]}]}],\"references\":[{\"url\":\"https://git.kernel.org/stable/c/2e7f5b6ee1a7a2c628253a95b0a95b582901ef1b\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/8299be160aad8548071d080518712dec0df92bd5\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/9cef24c8b76c1f6effe499d2f131807c90f7ce9a\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/e7a0b3a0806dae3cc81931f0e83055ca2ac6f455\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/2e7f5b6ee1a7a2c628253a95b0a95b582901ef1b\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/8299be160aad8548071d080518712dec0df92bd5\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/9cef24c8b76c1f6effe499d2f131807c90f7ce9a\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/e7a0b3a0806dae3cc81931f0e83055ca2ac6f455\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\",\"tags\":[\"Patch\"]}]}}",
    "redhat_vex": {
      "aggregate_severity": "Low",
      "current_release_date": "2026-08-04T23:00:42+00:00",
      "cve": "CVE-2022-48720",
      "id": "CVE-2022-48720",
      "initial_release_date": "2022-01-01T00:00:00+00:00",
      "product_status:known_affected": "136",
      "product_status:known_not_affected": "62",
      "source": "Red Hat CSAF VEX",
      "status": "final",
      "title": "kernel: net: macsec: Fix offload support for NETDEV_UNREGISTER event",
      "url": "https://security.access.redhat.com/data/csaf/v2/vex/2022/cve-2022-48720.json",
      "version": "3"
    },
    "suse_vex": {
      "aggregate_severity": "moderate",
      "current_release_date": "2026-08-05T01:18:08Z",
      "cve": "CVE-2022-48720",
      "id": "CVE-2022-48720",
      "initial_release_date": "2024-06-22T04:09:29Z",
      "product_status:known_affected": "330",
      "product_status:known_not_affected": "205",
      "product_status:recommended": "391",
      "source": "SUSE CSAF VEX",
      "status": "interim",
      "title": "SUSE CVE CVE-2022-48720",
      "url": "https://ftp.suse.com/pub/projects/security/csaf-vex/cve-2022-48720.json",
      "version": "52"
    },
    "vulnrichment": {
      "containers": "{\"adp\": [{\"title\": \"CVE Program Container\", \"references\": [{\"url\": \"https://git.kernel.org/stable/c/2e7f5b6ee1a7a2c628253a95b0a95b582901ef1b\", \"tags\": [\"x_transferred\"]}, {\"url\": \"https://git.kernel.org/stable/c/e7a0b3a0806dae3cc81931f0e83055ca2ac6f455\", \"tags\": [\"x_transferred\"]}, {\"url\": \"https://git.kernel.org/stable/c/8299be160aad8548071d080518712dec0df92bd5\", \"tags\": [\"x_transferred\"]}, {\"url\": \"https://git.kernel.org/stable/c/9cef24c8b76c1f6effe499d2f131807c90f7ce9a\", \"tags\": [\"x_transferred\"]}], \"providerMetadata\": {\"orgId\": \"af854a3a-2127-422b-91ae-364da2661108\", \"shortName\": \"CVE\", \"dateUpdated\": \"2024-08-03T15:24:59.933Z\"}}, {\"title\": \"CISA ADP Vulnrichment\", \"metrics\": [{\"other\": {\"type\": \"ssvc\", \"content\": {\"id\": \"CVE-2022-48720\", \"role\": \"CISA Coordinator\", \"options\": [{\"Exploitation\": \"none\"}, {\"Automatable\": \"no\"}, {\"Technical Impact\": \"partial\"}], \"version\": \"2.0.3\", \"timestamp\": \"2024-06-20T15:49:59.493508Z\"}}}], \"providerMetadata\": {\"orgId\": \"134c704f-9b21-4f2e-91b3-4a467353bcc0\", \"shortName\": \"CISA-ADP\", \"dateUpdated\": \"2024-06-20T15:50:03.382Z\"}}], \"cna\": {\"title\": \"net: macsec: Fix offload support for NETDEV_UNREGISTER event\", \"metrics\": [{\"cvssV3_1\": {\"version\": \"3.1\", \"baseScore\": 7.8, \"baseSeverity\": \"HIGH\", \"vectorString\": \"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H\"}, \"scenarios\": [{\"lang\": \"en\", \"value\": \"AV:L - The bug is triggered by creating a HW-offloaded macsec device via RTNL (`ip link add type macsec offload ...`) and then causing NETDEV_UNREGISTER on the underlying real_dev (e.g. netns move); both are local netlink/syscall paths, not remote packet processing.\\nAC:L - An attacker who can create an offloaded macsec and unregister/move the lower device reliably leaves dangling driver state (e.g. aquantia `sw_secy`, mscc `priv-\u003esecy`); a subsequent link event (`aq_macsec_enable` \\u2192 `apply_txsc_cfg`) or PN-rollover interrupt deterministically dereferences the freed objects with no race required.\\nPR:L - Creating the macsec link and moving/unregistering the underlying netdev require CAP_NET_ADMIN checked via `netlink_net_capable` against the netns user_ns, which an unprivileged user obtains with user+network namespaces when a MACsec-offload-capable device is present in that netns.\\nUI:N - The attacker performs the RTNL setup and unregister/move themselves; no separate victim action is required.\\nS:U - Impact stays within the host kernel networking/MACsec offload authority; there is no VM escape, IOMMU bypass, or other cross-boundary effect.\\nC:H - Failing to call `mdo_del_secy` leaves underlay drivers holding pointers into freed `macsec_secy`/SA objects; that UAF can be leveraged for arbitrary kernel memory disclosure once the freed objects are reallocated.\\nI:H - Post-unregister paths write through the dangling pointers (e.g. `macsec_pn_wrapped()` updating `tx_sa-\u003eactive`/`secy-\u003eoperational`, aquantia re-applying SecY config from `sw_secy`), yielding a UAF write primitive suitable for integrity compromise or code-execution primitives.\\nA:H - Any use of the dangling SecY/SA state after SW teardown can oops/panic the kernel, and CVSS kernel guidance rates UAF availability impact as High even before full exploitation.\"}]}], \"affected\": [{\"repo\": \"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\", \"vendor\": \"Linux\", \"product\": \"Linux\", \"versions\": [{\"status\": \"affected\", \"version\": \"3cf3227a21d1fb020fe26128e60321bd2151e922\", \"lessThan\": \"2e7f5b6ee1a7a2c628253a95b0a95b582901ef1b\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"3cf3227a21d1fb020fe26128e60321bd2151e922\", \"lessThan\": \"e7a0b3a0806dae3cc81931f0e83055ca2ac6f455\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"3cf3227a21d1fb020fe26128e60321bd2151e922\", \"lessThan\": \"8299be160aad8548071d080518712dec0df92bd5\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"3cf3227a21d1fb020fe26128e60321bd2151e922\", \"lessThan\": \"9cef24c8b76c1f6effe499d2f131807c90f7ce9a\", \"versionType\": \"git\"}], \"programFiles\": [\"drivers/net/macsec.c\"], \"defaultStatus\": \"unaffected\"}, {\"repo\": \"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\", \"vendor\": \"Linux\", \"product\": \"Linux\", \"versions\": [{\"status\": \"affected\", \"version\": \"5.6\"}, {\"status\": \"unaffected\", \"version\": \"0\", \"lessThan\": \"5.6\", \"versionType\": \"semver\"}, {\"status\": \"unaffected\", \"version\": \"5.10.99\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"5.10.*\"}, {\"status\": \"unaffected\", \"version\": \"5.15.22\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"5.15.*\"}, {\"status\": \"unaffected\", \"version\": \"5.16.8\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"5.16.*\"}, {\"status\": \"unaffected\", \"version\": \"5.17\", \"versionType\": \"original_commit_for_fix\", \"lessThanOrEqual\": \"*\"}], \"programFiles\": [\"drivers/net/macsec.c\"], \"defaultStatus\": \"affected\"}], \"references\": [{\"url\": \"https://git.kernel.org/stable/c/2e7f5b6ee1a7a2c628253a95b0a95b582901ef1b\"}, {\"url\": \"https://git.kernel.org/stable/c/e7a0b3a0806dae3cc81931f0e83055ca2ac6f455\"}, {\"url\": \"https://git.kernel.org/stable/c/8299be160aad8548071d080518712dec0df92bd5\"}, {\"url\": \"https://git.kernel.org/stable/c/9cef24c8b76c1f6effe499d2f131807c90f7ce9a\"}], \"x_generator\": {\"engine\": \"bippy-1.2.0\"}, \"descriptions\": [{\"lang\": \"en\", \"value\": \"In the Linux kernel, the following vulnerability has been resolved:\\n\\nnet: macsec: Fix offload support for NETDEV_UNREGISTER event\\n\\nCurrent macsec netdev notify handler handles NETDEV_UNREGISTER event by\\nreleasing relevant SW resources only, this causes resources leak in case\\nof macsec HW offload, as the underlay driver was not notified to clean\\nit\u0027s macsec offload resources.\\n\\nFix by calling the underlay driver to clean it\u0027s relevant resources\\nby moving offload handling from macsec_dellink() to macsec_common_dellink()\\nwhen handling NETDEV_UNREGISTER event.\"}], \"cpeApplicability\": [{\"nodes\": [{\"negate\": false, \"cpeMatch\": [{\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"5.10.99\", \"versionStartIncluding\": \"5.6\"}, {\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"5.15.22\", \"versionStartIncluding\": \"5.6\"}, {\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"5.16.8\", \"versionStartIncluding\": \"5.6\"}, {\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"5.17\", \"versionStartIncluding\": \"5.6\"}], \"operator\": \"OR\"}]}], \"providerMetadata\": {\"orgId\": \"416baaa9-dc9f-4396-8d5f-8c081fb06d67\", \"shortName\": \"Linux\", \"dateUpdated\": \"2026-08-05T08:51:55.891Z\"}}}",
      "cveMetadata": "{\"cveId\": \"CVE-2022-48720\", \"state\": \"PUBLISHED\", \"dateUpdated\": \"2026-08-05T08:51:55.891Z\", \"dateReserved\": \"2024-06-20T11:09:39.051Z\", \"assignerOrgId\": \"416baaa9-dc9f-4396-8d5f-8c081fb06d67\", \"datePublished\": \"2024-06-20T11:13:12.025Z\", \"assignerShortName\": \"Linux\"}",
      "dataType": "CVE_RECORD",
      "dataVersion": "5.2"
    }
  }
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.

Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…

Loading…