CVE-2023-52688 (GCVE-0-2023-52688)
Vulnerability from cvelistv5
Published
2024-05-17 14:24
Modified
2026-08-05 09:11
Summary
In the Linux kernel, the following vulnerability has been resolved: wifi: ath12k: fix the error handler of rfkill config When the core rfkill config throws error, it should free the allocated resources. Currently it is not freeing the core pdev create resources. Avoid this issue by calling the core pdev destroy in the error handler of core rfkill config. Found this issue in the code review and it is compile tested only.
Impacted products
Vendor Product Version
Linux Linux Version: 004ccbc0dd49c63576a4c60a663a38dd3cb6bee5
Version: 004ccbc0dd49c63576a4c60a663a38dd3cb6bee5
Create a notification for this product.
Show details on NVD website


{
  "containers": {
    "adp": [
      {
        "providerMetadata": {
          "dateUpdated": "2024-08-02T23:11:35.644Z",
          "orgId": "af854a3a-2127-422b-91ae-364da2661108",
          "shortName": "CVE"
        },
        "references": [
          {
            "tags": [
              "x_transferred"
            ],
            "url": "https://git.kernel.org/stable/c/b4e593a7a22fa3c7d0550ef51c90b5c21f790aa8"
          },
          {
            "tags": [
              "x_transferred"
            ],
            "url": "https://git.kernel.org/stable/c/898d8b3e1414cd900492ee6a0b582f8095ba4a1a"
          }
        ],
        "title": "CVE Program Container"
      },
      {
        "metrics": [
          {
            "other": {
              "content": {
                "id": "CVE-2023-52688",
                "options": [
                  {
                    "Exploitation": "none"
                  },
                  {
                    "Automatable": "no"
                  },
                  {
                    "Technical Impact": "partial"
                  }
                ],
                "role": "CISA Coordinator",
                "timestamp": "2024-09-10T15:41:59.585007Z",
                "version": "2.0.3"
              },
              "type": "ssvc"
            }
          }
        ],
        "providerMetadata": {
          "dateUpdated": "2024-09-11T17:33:19.126Z",
          "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
          "shortName": "CISA-ADP"
        },
        "title": "CISA ADP Vulnrichment"
      }
    ],
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "drivers/net/wireless/ath/ath12k/core.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "b4e593a7a22fa3c7d0550ef51c90b5c21f790aa8",
              "status": "affected",
              "version": "004ccbc0dd49c63576a4c60a663a38dd3cb6bee5",
              "versionType": "git"
            },
            {
              "lessThan": "898d8b3e1414cd900492ee6a0b582f8095ba4a1a",
              "status": "affected",
              "version": "004ccbc0dd49c63576a4c60a663a38dd3cb6bee5",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "drivers/net/wireless/ath/ath12k/core.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "6.7"
            },
            {
              "lessThan": "6.7",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.7.*",
              "status": "unaffected",
              "version": "6.7.2",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "6.8",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.7.2",
                  "versionStartIncluding": "6.7",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.8",
                  "versionStartIncluding": "6.7",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nwifi: ath12k: fix the error handler of rfkill config\n\nWhen the core rfkill config throws error, it should free the\nallocated resources. Currently it is not freeing the core pdev\ncreate resources. Avoid this issue by calling the core pdev\ndestroy in the error handler of core rfkill config.\n\nFound this issue in the code review and it is compile tested only."
        }
      ],
      "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 in ath12k driver firmware-ready/init cleanup (QMI FW_READY \u2192 ath12k_core_qmi_firmware_ready), not in WiFi frame or remote packet processing; exploitation requires local access to the host with the ath12k device.\nAC:L - Once rfkill WMI config fails, the incorrect error path deterministically frees still-registered mac80211 state; a local attacker can induce WMI failure (e.g., memory pressure causing -ENOMEM) and then reliably hit the dangling wiphy.\nPR:L - After the broken cleanup leaves a registered-but-freed wiphy, an unprivileged local user can trigger use-after-free via nl80211/cfg80211 (e.g., iw); CAP_NET_ADMIN via user namespaces is not required for the UAF impact path.\nUI:N - No separate victim action is required; the attacker triggers the failure path and interacts with the wireless stack themselves.\nS:U - Impact remains within the same kernel privilege domain (local kernel memory corruption/crash); there is no VM escape or cross-authority boundary crossing.\nC:H - Freeing ieee80211_hw while still registered creates a use-after-free on mac80211/cfg80211 objects, which per kernel CVSS guidance enables arbitrary kernel memory disclosure.\nI:H - The same UAF on registered wireless stack objects can be leveraged for heap reuse and control-flow hijacking, enabling arbitrary kernel writes / code execution.\nA:H - Use-after-free of registered ieee80211_hw and leaving IRQs enabled after core stop reliably causes kernel oops/panic and denial of service."
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-08-05T09:11:02.944Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/b4e593a7a22fa3c7d0550ef51c90b5c21f790aa8"
        },
        {
          "url": "https://git.kernel.org/stable/c/898d8b3e1414cd900492ee6a0b582f8095ba4a1a"
        }
      ],
      "title": "wifi: ath12k: fix the error handler of rfkill config",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2023-52688",
    "datePublished": "2024-05-17T14:24:49.321Z",
    "dateReserved": "2024-03-07T14:49:46.888Z",
    "dateUpdated": "2026-08-05T09:11:02.944Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "vulnrichment": {
      "containers": "{\"adp\": [{\"title\": \"CVE Program Container\", \"references\": [{\"url\": \"https://git.kernel.org/stable/c/b4e593a7a22fa3c7d0550ef51c90b5c21f790aa8\", \"tags\": [\"x_transferred\"]}, {\"url\": \"https://git.kernel.org/stable/c/898d8b3e1414cd900492ee6a0b582f8095ba4a1a\", \"tags\": [\"x_transferred\"]}], \"providerMetadata\": {\"orgId\": \"af854a3a-2127-422b-91ae-364da2661108\", \"shortName\": \"CVE\", \"dateUpdated\": \"2024-08-02T23:11:35.644Z\"}}, {\"title\": \"CISA ADP Vulnrichment\", \"metrics\": [{\"other\": {\"type\": \"ssvc\", \"content\": {\"id\": \"CVE-2023-52688\", \"role\": \"CISA Coordinator\", \"options\": [{\"Exploitation\": \"none\"}, {\"Automatable\": \"no\"}, {\"Technical Impact\": \"partial\"}], \"version\": \"2.0.3\", \"timestamp\": \"2024-09-10T15:41:59.585007Z\"}}}], \"providerMetadata\": {\"orgId\": \"134c704f-9b21-4f2e-91b3-4a467353bcc0\", \"shortName\": \"CISA-ADP\", \"dateUpdated\": \"2024-09-11T12:42:16.126Z\"}}], \"cna\": {\"title\": \"wifi: ath12k: fix the error handler of rfkill config\", \"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 in ath12k driver firmware-ready/init cleanup (QMI FW_READY \\u2192 ath12k_core_qmi_firmware_ready), not in WiFi frame or remote packet processing; exploitation requires local access to the host with the ath12k device.\\nAC:L - Once rfkill WMI config fails, the incorrect error path deterministically frees still-registered mac80211 state; a local attacker can induce WMI failure (e.g., memory pressure causing -ENOMEM) and then reliably hit the dangling wiphy.\\nPR:L - After the broken cleanup leaves a registered-but-freed wiphy, an unprivileged local user can trigger use-after-free via nl80211/cfg80211 (e.g., iw); CAP_NET_ADMIN via user namespaces is not required for the UAF impact path.\\nUI:N - No separate victim action is required; the attacker triggers the failure path and interacts with the wireless stack themselves.\\nS:U - Impact remains within the same kernel privilege domain (local kernel memory corruption/crash); there is no VM escape or cross-authority boundary crossing.\\nC:H - Freeing ieee80211_hw while still registered creates a use-after-free on mac80211/cfg80211 objects, which per kernel CVSS guidance enables arbitrary kernel memory disclosure.\\nI:H - The same UAF on registered wireless stack objects can be leveraged for heap reuse and control-flow hijacking, enabling arbitrary kernel writes / code execution.\\nA:H - Use-after-free of registered ieee80211_hw and leaving IRQs enabled after core stop reliably causes kernel oops/panic and denial of service.\"}]}], \"affected\": [{\"repo\": \"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\", \"vendor\": \"Linux\", \"product\": \"Linux\", \"versions\": [{\"status\": \"affected\", \"version\": \"004ccbc0dd49c63576a4c60a663a38dd3cb6bee5\", \"lessThan\": \"b4e593a7a22fa3c7d0550ef51c90b5c21f790aa8\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"004ccbc0dd49c63576a4c60a663a38dd3cb6bee5\", \"lessThan\": \"898d8b3e1414cd900492ee6a0b582f8095ba4a1a\", \"versionType\": \"git\"}], \"programFiles\": [\"drivers/net/wireless/ath/ath12k/core.c\"], \"defaultStatus\": \"unaffected\"}, {\"repo\": \"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\", \"vendor\": \"Linux\", \"product\": \"Linux\", \"versions\": [{\"status\": \"affected\", \"version\": \"6.7\"}, {\"status\": \"unaffected\", \"version\": \"0\", \"lessThan\": \"6.7\", \"versionType\": \"semver\"}, {\"status\": \"unaffected\", \"version\": \"6.7.2\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"6.7.*\"}, {\"status\": \"unaffected\", \"version\": \"6.8\", \"versionType\": \"original_commit_for_fix\", \"lessThanOrEqual\": \"*\"}], \"programFiles\": [\"drivers/net/wireless/ath/ath12k/core.c\"], \"defaultStatus\": \"affected\"}], \"references\": [{\"url\": \"https://git.kernel.org/stable/c/b4e593a7a22fa3c7d0550ef51c90b5c21f790aa8\"}, {\"url\": \"https://git.kernel.org/stable/c/898d8b3e1414cd900492ee6a0b582f8095ba4a1a\"}], \"x_generator\": {\"engine\": \"bippy-1.2.0\"}, \"descriptions\": [{\"lang\": \"en\", \"value\": \"In the Linux kernel, the following vulnerability has been resolved:\\n\\nwifi: ath12k: fix the error handler of rfkill config\\n\\nWhen the core rfkill config throws error, it should free the\\nallocated resources. Currently it is not freeing the core pdev\\ncreate resources. Avoid this issue by calling the core pdev\\ndestroy in the error handler of core rfkill config.\\n\\nFound this issue in the code review and it is compile tested only.\"}], \"cpeApplicability\": [{\"nodes\": [{\"negate\": false, \"cpeMatch\": [{\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"6.7.2\", \"versionStartIncluding\": \"6.7\"}, {\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"6.8\", \"versionStartIncluding\": \"6.7\"}], \"operator\": \"OR\"}]}], \"providerMetadata\": {\"orgId\": \"416baaa9-dc9f-4396-8d5f-8c081fb06d67\", \"shortName\": \"Linux\", \"dateUpdated\": \"2026-08-05T09:11:02.944Z\"}}}",
      "cveMetadata": "{\"cveId\": \"CVE-2023-52688\", \"state\": \"PUBLISHED\", \"dateUpdated\": \"2026-08-05T09:11:02.944Z\", \"dateReserved\": \"2024-03-07T14:49:46.888Z\", \"assignerOrgId\": \"416baaa9-dc9f-4396-8d5f-8c081fb06d67\", \"datePublished\": \"2024-05-17T14:24:49.321Z\", \"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…

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.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • 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…