Skip to content
Heist/ feed
Back to feed
UnratedFix available

wifi: ath12k: fix array out-of-bound access in SoC stats

Type: advisorySources: OSV

In the Linux kernel, the following vulnerability has been resolved: wifi: ath12k: fix array out-of-bound access in SoC stats Currently, the ath12k_soc_dp_stats::hal_reo_error array is defined with a maximum size of DP_REO_DST_RING_MAX. However, the ath12k_dp_rx_process() function access ath12k_soc_dp_stats::hal_reo_error using the REO destination SRNG ring ID, which is incorrect. SRNG ring ID differ from normal ring ID, and this usage leads to out-of-bounds array access. To fix this issue, modify ath12k_dp_rx_process() to use the normal ring ID directly instead of the SRNG ring ID to avoid out-of-bounds array access. Tested-on: QCN9274 hw2.0 PCI WLAN.WBE.1.0.1-00029-QCAHKSWPL_SILICONZ-1

Products
Kernel
Affected versions
Not specified
Fixed versions
6.10.14, 6.11.3, 6.6.55
CVEs
CVE-2024-49931
Confirmed fixed CVEs
Not specified
Updated in this feed
2 Nov 2026, 17:54 UTC · Revision 1

Source evidence

wifi: ath12k: fix array out-of-bound access in SoC stats

core-osv · Original source

Published 21 Oct 2024, 18:01 UTC

In the Linux kernel, the following vulnerability has been resolved: wifi: ath12k: fix array out-of-bound access in SoC stats Currently, the ath12k_soc_dp_stats::hal_reo_error array is defined with a maximum size of DP_REO_DST_RING_MAX. However, the ath12k_dp_rx_process() function access ath12k_soc_dp_stats::hal_reo_error using the REO destination SRNG ring ID, which is incorrect. SRNG ring ID differ from normal ring ID, and this usage leads to out-of-bounds array access. To fix this issue, modify ath12k_dp_rx_process() to use the normal ring ID directly instead of the SRNG ring ID to avoid out-of-bounds array access. Tested-on: QCN9274 hw2.0 PCI WLAN.WBE.1.0.1-00029-QCAHKSWPL_SILICONZ-1

osv:CVE-2024-49931

Kernel

Fixed versions: 6.6.55, 6.10.14, 6.11.3

Complete source record
{
  "id": "3a88b3e5c00528153c54252974cb74b642c7fd9634bafc3998e92cf20452b65b",
  "url": "https://osv.dev/vulnerability/CVE-2024-49931",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "wifi: ath12k: fix array out-of-bound access in SoC stats",
    "summary": "In the Linux kernel, the following vulnerability has been resolved: wifi: ath12k: fix array out-of-bound access in SoC stats Currently, the ath12k_soc_dp_stats::hal_reo_error array is defined with a maximum size of DP_REO_DST_RING_MAX. However, the ath12k_dp_rx_process() function access ath12k_soc_dp_stats::hal_reo_error using the REO destination SRNG ring ID, which is incorrect. SRNG ring ID differ from normal ring ID, and this usage leads to out-of-bounds array access. To fix this issue, modify ath12k_dp_rx_process() to use the normal ring ID directly instead of the SRNG ring ID to avoid out-of-bounds array access. Tested-on: QCN9274 hw2.0 PCI WLAN.WBE.1.0.1-00029-QCAHKSWPL_SILICONZ-1",
    "evidence": "osv:CVE-2024-49931",
    "products": [
      {
        "name": {
          "value": "Kernel",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "6.6.55",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.10.14",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.11.3",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "unknown",
    "structured": {
      "id": "CVE-2024-49931",
      "aliases": [
        "CVE-2024-49931"
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
              "type": "GIT",
              "events": [
                {
                  "introduced": "d889913205cf7ebda905b1e62c5867ed4e39f6c2"
                },
                {
                  "fixed": "d0e4274d9dc9f8409d56d622cd3ecf7b6fd49e2f"
                },
                {
                  "fixed": "a4aef827a41cdaf6201bbaf773c1eae4e20e967b"
                },
                {
                  "fixed": "ad791e3ec60cb66c1e4dc121ffbf872df312427d"
                },
                {
                  "fixed": "e106b7ad13c1d246adaa57df73edb8f8b8acb240"
                }
              ]
            }
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-49931.json"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.3.0"
                },
                {
                  "fixed": "6.6.55"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.7.0"
                },
                {
                  "fixed": "6.10.14"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.11.0"
                },
                {
                  "fixed": "6.11.3"
                }
              ]
            }
          ],
          "package": {
            "name": "Kernel",
            "ecosystem": "Linux"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-49931.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:22.116098415Z",
      "provider": "osv",
      "references": [
        "https://git.kernel.org/stable/c/a4aef827a41cdaf6201bbaf773c1eae4e20e967b",
        "https://git.kernel.org/stable/c/ad791e3ec60cb66c1e4dc121ffbf872df312427d",
        "https://git.kernel.org/stable/c/d0e4274d9dc9f8409d56d622cd3ecf7b6fd49e2f",
        "https://git.kernel.org/stable/c/e106b7ad13c1d246adaa57df73edb8f8b8acb240",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/49xxx/CVE-2024-49931.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2024-49931",
        "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
      ],
      "provider_metadata": {
        "cna_assigner": "Linux",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/49xxx/CVE-2024-49931.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2024-49931",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": null
  },
  "source_id": "core-osv",
  "document_id": 487960,
  "published_at": "2024-10-21T18:01:53.756+00:00"
}