CVE-2022-49539 (GCVE-0-2022-49539)
Vulnerability from cvelistv5
Published
2025-02-26 02:13
Modified
2025-05-04 08:40
Severity ?
Summary
In the Linux kernel, the following vulnerability has been resolved: rtw89: ser: fix CAM leaks occurring in L2 reset The CAM, meaning address CAM and bssid CAM here, will get leaks during SER (system error recover) L2 reset process and ieee80211_restart_hw() which is called by L2 reset process eventually. The normal flow would be like -> add interface (acquire 1) -> enter ips (release 1) -> leave ips (acquire 1) -> connection (occupy 1) <(A) 1 leak after L2 reset if non-sec connection> The ieee80211_restart_hw() flow (under connection) -> ieee80211 reconfig -> add interface (acquire 1) -> leave ips (acquire 1) -> connection (occupy (A) + 2) <(B) 1 more leak> Originally, CAM is released before HW restart only if connection is under security. Now, release CAM whatever connection it is to fix leak in (A). OTOH, check if CAM is already valid to avoid acquiring multiple times to fix (B). Besides, if AP mode, release address CAM of all stations before HW restart.
Impacted products
Vendor Product Version
Linux Linux Version: e3ec7017f6a20d12ddd9fe23d345ebb7b8c104dd
Version: e3ec7017f6a20d12ddd9fe23d345ebb7b8c104dd
Create a notification for this product.
Show details on NVD website


{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "drivers/net/wireless/realtek/rtw89/cam.c",
            "drivers/net/wireless/realtek/rtw89/ser.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "f6aff772c9978844529618d86aafb53e5d3ae161",
              "status": "affected",
              "version": "e3ec7017f6a20d12ddd9fe23d345ebb7b8c104dd",
              "versionType": "git"
            },
            {
              "lessThan": "b169f877f001a474fb89939842c390518160bcc5",
              "status": "affected",
              "version": "e3ec7017f6a20d12ddd9fe23d345ebb7b8c104dd",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "drivers/net/wireless/realtek/rtw89/cam.c",
            "drivers/net/wireless/realtek/rtw89/ser.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "5.16"
            },
            {
              "lessThan": "5.16",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.18.*",
              "status": "unaffected",
              "version": "5.18.3",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "5.19",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.18.3",
                  "versionStartIncluding": "5.16",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.19",
                  "versionStartIncluding": "5.16",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nrtw89: ser: fix CAM leaks occurring in L2 reset\n\nThe CAM, meaning address CAM and bssid CAM here, will get leaks during\nSER (system error recover) L2 reset process and ieee80211_restart_hw()\nwhich is called by L2 reset process eventually.\n\nThe normal flow would be like\n-\u003e add interface (acquire 1)\n-\u003e enter ips (release 1)\n-\u003e leave ips (acquire 1)\n-\u003e connection (occupy 1) \u003c(A) 1 leak after L2 reset if non-sec connection\u003e\n\nThe ieee80211_restart_hw() flow (under connection)\n-\u003e ieee80211 reconfig\n-\u003e add interface (acquire 1)\n-\u003e leave ips (acquire 1)\n-\u003e connection (occupy (A) + 2) \u003c(B) 1 more leak\u003e\n\nOriginally, CAM is released before HW restart only if connection is under\nsecurity. Now, release CAM whatever connection it is to fix leak in (A).\nOTOH, check if CAM is already valid to avoid acquiring multiple times to\nfix (B).\n\nBesides, if AP mode, release address CAM of all stations before HW restart."
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2025-05-04T08:40:06.520Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/f6aff772c9978844529618d86aafb53e5d3ae161"
        },
        {
          "url": "https://git.kernel.org/stable/c/b169f877f001a474fb89939842c390518160bcc5"
        }
      ],
      "title": "rtw89: ser: fix CAM leaks occurring in L2 reset",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2022-49539",
    "datePublished": "2025-02-26T02:13:55.529Z",
    "dateReserved": "2025-02-26T02:08:31.589Z",
    "dateUpdated": "2025-05-04T08:40:06.520Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.1",
  "vulnerability-lookup:meta": {
    "nvd": "{\"cve\":{\"id\":\"CVE-2022-49539\",\"sourceIdentifier\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"published\":\"2025-02-26T07:01:29.857\",\"lastModified\":\"2025-02-26T07:01:29.857\",\"vulnStatus\":\"Awaiting Analysis\",\"cveTags\":[],\"descriptions\":[{\"lang\":\"en\",\"value\":\"In the Linux kernel, the following vulnerability has been resolved:\\n\\nrtw89: ser: fix CAM leaks occurring in L2 reset\\n\\nThe CAM, meaning address CAM and bssid CAM here, will get leaks during\\nSER (system error recover) L2 reset process and ieee80211_restart_hw()\\nwhich is called by L2 reset process eventually.\\n\\nThe normal flow would be like\\n-\u003e add interface (acquire 1)\\n-\u003e enter ips (release 1)\\n-\u003e leave ips (acquire 1)\\n-\u003e connection (occupy 1) \u003c(A) 1 leak after L2 reset if non-sec connection\u003e\\n\\nThe ieee80211_restart_hw() flow (under connection)\\n-\u003e ieee80211 reconfig\\n-\u003e add interface (acquire 1)\\n-\u003e leave ips (acquire 1)\\n-\u003e connection (occupy (A) + 2) \u003c(B) 1 more leak\u003e\\n\\nOriginally, CAM is released before HW restart only if connection is under\\nsecurity. Now, release CAM whatever connection it is to fix leak in (A).\\nOTOH, check if CAM is already valid to avoid acquiring multiple times to\\nfix (B).\\n\\nBesides, if AP mode, release address CAM of all stations before HW restart.\"},{\"lang\":\"es\",\"value\":\"En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: rtw89: ser: corrige las fugas de CAM que ocurren en el reinicio de L2 El CAM, es decir, la direcci\u00f3n CAM y el bssid CAM aqu\u00ed, tendr\u00e1n fugas durante el proceso de reinicio de L2 de SER (recuperaci\u00f3n de error del sistema) y ieee80211_restart_hw() que es llamado por el proceso de reinicio de L2 eventualmente. El flujo normal ser\u00eda como -\u0026gt; agregar interfaz (adquirir 1) -\u0026gt; ingresar ips (liberar 1) -\u0026gt; dejar ips (adquirir 1) -\u0026gt; conexi\u00f3n (ocupar 1) \u0026lt;(A) 1 fuga despu\u00e9s del reinicio de L2 si la conexi\u00f3n no es segura\u0026gt; El flujo ieee80211_restart_hw() (bajo conexi\u00f3n) -\u0026gt; ieee80211 reconfig -\u0026gt; agregar interfaz (adquirir 1) -\u0026gt; dejar ips (adquirir 1) -\u0026gt; conexi\u00f3n (ocupar (A) + 2) \u0026lt;(B) 1 fuga m\u00e1s\u0026gt; Originalmente, CAM se libera antes del reinicio de HW solo si la conexi\u00f3n est\u00e1 bajo seguridad. Ahora, libere la CAM de cualquier conexi\u00f3n para reparar la fuga en (A). Por otra parte, verifique si la CAM ya es v\u00e1lida para evitar realizar m\u00faltiples adquisiciones para reparar (B). Adem\u00e1s, si est\u00e1 en modo AP, libere la direcci\u00f3n CAM de todas las estaciones antes de reiniciar el hardware.\"}],\"metrics\":{},\"references\":[{\"url\":\"https://git.kernel.org/stable/c/b169f877f001a474fb89939842c390518160bcc5\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/f6aff772c9978844529618d86aafb53e5d3ae161\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"}]}}"
  }
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Sightings

Author Source Type Date

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
  • Confirmed: The vulnerability is confirmed from an analyst perspective.
  • Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
  • Patched: This vulnerability was successfully patched by the user reporting the sighting.
  • Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
  • Not confirmed: The user expresses doubt about the veracity of the vulnerability.
  • Not patched: This vulnerability was not successfully patched by the user reporting the sighting.


Loading…

Loading…