CVE-2024-47721 (GCVE-0-2024-47721)
Vulnerability from cvelistv5
Published
2024-10-21 11:53
Modified
2026-08-05 11:39
Summary
In the Linux kernel, the following vulnerability has been resolved: wifi: rtw89: remove unused C2H event ID RTW89_MAC_C2H_FUNC_READ_WOW_CAM to prevent out-of-bounds reading The handler of firmware C2H event RTW89_MAC_C2H_FUNC_READ_WOW_CAM isn't implemented, but driver expects number of handlers is NUM_OF_RTW89_MAC_C2H_FUNC_WOW causing out-of-bounds access. Fix it by removing ID. Addresses-Coverity-ID: 1598775 ("Out-of-bounds read")
Impacted products
Vendor Product Version
Linux Linux Version: ff53fce5c78ba27ec7eb0baff7ef9648fde7ad8e
Version: ff53fce5c78ba27ec7eb0baff7ef9648fde7ad8e
Version: ff53fce5c78ba27ec7eb0baff7ef9648fde7ad8e
Create a notification for this product.
Show details on NVD website


{
  "containers": {
    "adp": [
      {
        "metrics": [
          {
            "other": {
              "content": {
                "id": "CVE-2024-47721",
                "options": [
                  {
                    "Exploitation": "none"
                  },
                  {
                    "Automatable": "no"
                  },
                  {
                    "Technical Impact": "partial"
                  }
                ],
                "role": "CISA Coordinator",
                "timestamp": "2024-10-21T13:02:00.306477Z",
                "version": "2.0.3"
              },
              "type": "ssvc"
            }
          }
        ],
        "providerMetadata": {
          "dateUpdated": "2024-10-21T13:04:17.474Z",
          "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
          "shortName": "CISA-ADP"
        },
        "title": "CISA ADP Vulnrichment"
      }
    ],
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "drivers/net/wireless/realtek/rtw89/mac.h"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "10463308b9454f534d03300cf679bc4b3d078f46",
              "status": "affected",
              "version": "ff53fce5c78ba27ec7eb0baff7ef9648fde7ad8e",
              "versionType": "git"
            },
            {
              "lessThan": "2c9c2d1a20916589497a7facbea3e82cabec4ab8",
              "status": "affected",
              "version": "ff53fce5c78ba27ec7eb0baff7ef9648fde7ad8e",
              "versionType": "git"
            },
            {
              "lessThan": "56310ddb50b190b3390fdc974aec455d0a516bd2",
              "status": "affected",
              "version": "ff53fce5c78ba27ec7eb0baff7ef9648fde7ad8e",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "drivers/net/wireless/realtek/rtw89/mac.h"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "6.10"
            },
            {
              "lessThan": "6.10",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.10.*",
              "status": "unaffected",
              "version": "6.10.13",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.11.*",
              "status": "unaffected",
              "version": "6.11.2",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "6.12",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.10.13",
                  "versionStartIncluding": "6.10",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.11.2",
                  "versionStartIncluding": "6.10",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.12",
                  "versionStartIncluding": "6.10",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nwifi: rtw89: remove unused C2H event ID RTW89_MAC_C2H_FUNC_READ_WOW_CAM to prevent out-of-bounds reading\n\nThe handler of firmware C2H event RTW89_MAC_C2H_FUNC_READ_WOW_CAM isn\u0027t\nimplemented, but driver expects number of handlers is\nNUM_OF_RTW89_MAC_C2H_FUNC_WOW causing out-of-bounds access. Fix it by\nremoving ID.\n\nAddresses-Coverity-ID: 1598775 (\"Out-of-bounds read\")"
        }
      ],
      "metrics": [
        {
          "cvssV3_1": {
            "baseScore": 8.8,
            "baseSeverity": "HIGH",
            "vectorString": "CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
            "version": "3.1"
          },
          "scenarios": [
            {
              "lang": "en",
              "value": "AV:A - The malicious C2H event originates from the Wi-Fi device firmware, whose state and event emission are driven by over-the-air activity (WoWLAN wake patterns, association/rekey traffic) from an attacker within radio range, and the WOW-class dispatch path is entered directly from the device interrupt handler. Consistent with kernel CNA practice for firmware-supplied-index OOB bugs in wireless drivers, this is Adjacent rather than Network.\nAC:L - The class and func fields are consumed verbatim from the C2H header with no validation whatsoever, so a single event with class=0x3/func=1 deterministically triggers the out-of-bounds fetch and indirect call \u2014 no race, no memory-layout grooming, and no timing window is involved.\nPR:N - The C2H dispatch path is gated only by RTW89_FLAG_RUNNING (interface up); there is no capability check, no authentication, and no requirement that WoWLAN was configured by a privileged process. The attacker needs no credentials on the target system.\nUI:N - No victim action is required \u2014 the event is processed asynchronously in the driver\u0027s interrupt/work path as soon as it arrives, independent of any user activity such as suspending the machine or configuring WoWLAN.\nS:U - The out-of-bounds read and the resulting indirect call both occur within the kernel\u0027s own security authority; no VM, IOMMU, or sandbox boundary is crossed.\nC:H - Reading past the one-element handler table and invoking the resulting pointer produces a type confusion with adjacent same-signature C2H handlers, which cast skb-\u003edata to fixed structs and memcpy fixed lengths without honoring len \u2014 leaking out-of-bounds heap contents into driver state, including WoWLAN key-material buffers (GTK/PTK/IGTK/IV). Combined with the leak of kernel .rodata contents through the branch target, this is a high confidentiality impact.\nI:H - The OOB slot is dereferenced as a function pointer and called, so an attacker-induced event transfers control to an address the kernel never intended to branch to \u2014 a control-flow-integrity violation and potential code-execution primitive \u2014 while the type-confused handler also writes unvalidated firmware-controlled data into driver key/state structures.\nA:H - Calling a garbage or mismatched function pointer from interrupt/atomic context reliably produces a kernel oops, CFI panic, or memory corruption crash, and the event can be re-delivered repeatedly."
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-08-05T11:39:41.958Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/10463308b9454f534d03300cf679bc4b3d078f46"
        },
        {
          "url": "https://git.kernel.org/stable/c/2c9c2d1a20916589497a7facbea3e82cabec4ab8"
        },
        {
          "url": "https://git.kernel.org/stable/c/56310ddb50b190b3390fdc974aec455d0a516bd2"
        }
      ],
      "title": "wifi: rtw89: remove unused C2H event ID RTW89_MAC_C2H_FUNC_READ_WOW_CAM to prevent out-of-bounds reading",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2024-47721",
    "datePublished": "2024-10-21T11:53:50.861Z",
    "dateReserved": "2024-09-30T16:00:12.950Z",
    "dateUpdated": "2026-08-05T11:39:41.958Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "vulnrichment": {
      "containers": "{\"adp\": [{\"title\": \"CISA ADP Vulnrichment\", \"metrics\": [{\"other\": {\"type\": \"ssvc\", \"content\": {\"id\": \"CVE-2024-47721\", \"role\": \"CISA Coordinator\", \"options\": [{\"Exploitation\": \"none\"}, {\"Automatable\": \"no\"}, {\"Technical Impact\": \"partial\"}], \"version\": \"2.0.3\", \"timestamp\": \"2024-10-21T13:02:00.306477Z\"}}}], \"providerMetadata\": {\"orgId\": \"134c704f-9b21-4f2e-91b3-4a467353bcc0\", \"shortName\": \"CISA-ADP\", \"dateUpdated\": \"2024-10-21T13:02:03.557Z\"}}], \"cna\": {\"title\": \"wifi: rtw89: remove unused C2H event ID RTW89_MAC_C2H_FUNC_READ_WOW_CAM to prevent out-of-bounds reading\", \"affected\": [{\"repo\": \"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\", \"vendor\": \"Linux\", \"product\": \"Linux\", \"versions\": [{\"status\": \"affected\", \"version\": \"ff53fce5c78ba27ec7eb0baff7ef9648fde7ad8e\", \"lessThan\": \"10463308b9454f534d03300cf679bc4b3d078f46\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"ff53fce5c78ba27ec7eb0baff7ef9648fde7ad8e\", \"lessThan\": \"2c9c2d1a20916589497a7facbea3e82cabec4ab8\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"ff53fce5c78ba27ec7eb0baff7ef9648fde7ad8e\", \"lessThan\": \"56310ddb50b190b3390fdc974aec455d0a516bd2\", \"versionType\": \"git\"}], \"programFiles\": [\"drivers/net/wireless/realtek/rtw89/mac.h\"], \"defaultStatus\": \"unaffected\"}, {\"repo\": \"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\", \"vendor\": \"Linux\", \"product\": \"Linux\", \"versions\": [{\"status\": \"affected\", \"version\": \"6.10\"}, {\"status\": \"unaffected\", \"version\": \"0\", \"lessThan\": \"6.10\", \"versionType\": \"semver\"}, {\"status\": \"unaffected\", \"version\": \"6.10.13\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"6.10.*\"}, {\"status\": \"unaffected\", \"version\": \"6.11.2\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"6.11.*\"}, {\"status\": \"unaffected\", \"version\": \"6.12\", \"versionType\": \"original_commit_for_fix\", \"lessThanOrEqual\": \"*\"}], \"programFiles\": [\"drivers/net/wireless/realtek/rtw89/mac.h\"], \"defaultStatus\": \"affected\"}], \"references\": [{\"url\": \"https://git.kernel.org/stable/c/10463308b9454f534d03300cf679bc4b3d078f46\"}, {\"url\": \"https://git.kernel.org/stable/c/2c9c2d1a20916589497a7facbea3e82cabec4ab8\"}, {\"url\": \"https://git.kernel.org/stable/c/56310ddb50b190b3390fdc974aec455d0a516bd2\"}], \"x_generator\": {\"engine\": \"bippy-1.2.0\"}, \"descriptions\": [{\"lang\": \"en\", \"value\": \"In the Linux kernel, the following vulnerability has been resolved:\\n\\nwifi: rtw89: remove unused C2H event ID RTW89_MAC_C2H_FUNC_READ_WOW_CAM to prevent out-of-bounds reading\\n\\nThe handler of firmware C2H event RTW89_MAC_C2H_FUNC_READ_WOW_CAM isn\u0027t\\nimplemented, but driver expects number of handlers is\\nNUM_OF_RTW89_MAC_C2H_FUNC_WOW causing out-of-bounds access. Fix it by\\nremoving ID.\\n\\nAddresses-Coverity-ID: 1598775 (\\\"Out-of-bounds read\\\")\"}], \"cpeApplicability\": [{\"nodes\": [{\"negate\": false, \"cpeMatch\": [{\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"6.10.13\", \"versionStartIncluding\": \"6.10\"}, {\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"6.11.2\", \"versionStartIncluding\": \"6.10\"}, {\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"6.12\", \"versionStartIncluding\": \"6.10\"}], \"operator\": \"OR\"}]}], \"providerMetadata\": {\"orgId\": \"416baaa9-dc9f-4396-8d5f-8c081fb06d67\", \"shortName\": \"Linux\", \"dateUpdated\": \"2025-05-04T09:38:16.712Z\"}}}",
      "cveMetadata": "{\"cveId\": \"CVE-2024-47721\", \"state\": \"PUBLISHED\", \"dateUpdated\": \"2025-05-04T09:38:16.712Z\", \"dateReserved\": \"2024-09-30T16:00:12.950Z\", \"assignerOrgId\": \"416baaa9-dc9f-4396-8d5f-8c081fb06d67\", \"datePublished\": \"2024-10-21T11:53:50.861Z\", \"assignerShortName\": \"Linux\"}",
      "dataType": "CVE_RECORD",
      "dataVersion": "5.1"
    }
  }
}


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…