Skip to content
Heist/ feed
Back to feed
MediumFix available

wifi: ath10k: Fix memory leak in management tx

Type: advisorySources: OSV

In the Linux kernel, the following vulnerability has been resolved: wifi: ath10k: Fix memory leak in management tx In the current logic, memory is allocated for storing the MSDU context during management packet TX but this memory is not being freed during management TX completion. Similar leaks are seen in the management TX cleanup logic. Kmemleak reports this problem as below, unreferenced object 0xffffff80b64ed250 (size 16): comm "kworker/u16:7", pid 148, jiffies 4294687130 (age 714.199s) hex dump (first 16 bytes): 00 2b d8 d8 80 ff ff ff c4 74 e9 fd 07 00 00 00 .+.......t...... backtrace: [] __kmem_cache_alloc_node+0x1e4/0x2d8 [] kmalloc_trace+0x48/0x110 [] ath10k_wmi_tlv_op_gen_mgmt_tx_send+0xd4/0x1d8 [ath10k_core] [] ath10k_mgmt_over_wmi_tx_work+0x134/0x298 [ath10k_core] [] process_scheduled_works+0x1ac/0x400 [] worker_thread+0x208/0x328 [] kthread+0x100/0x1c0 [] ret_from_fork+0x10/0x20 Free the memory during completion and cleanup to fix the leak. Protect the mgmt_pending_tx idr_remove() operation in ath10k_wmi_tlv_op_cleanup_mgmt_tx_send() using ar->data_lock similar to other instances. Tested-on: WCN3990 hw1.0 SNOC WLAN.HL.2.0-01387-QCAHLSWMTPLZ-1

Products
Kernel
Affected versions
Not specified
Fixed versions
4.19.323, 5.10.229, 5.15.171, 5.4.285, 6.1.116, 6.11.7, 6.6.60
CVEs
CVE-2024-50236
Confirmed fixed CVEs
Not specified
Updated in this feed
3 Nov 2026, 10:37 UTC · Revision 1

Source evidence

wifi: ath10k: Fix memory leak in management tx

core-osv · Original source

Published 9 Nov 2024, 10:14 UTC

In the Linux kernel, the following vulnerability has been resolved: wifi: ath10k: Fix memory leak in management tx In the current logic, memory is allocated for storing the MSDU context during management packet TX but this memory is not being freed during management TX completion. Similar leaks are seen in the management TX cleanup logic. Kmemleak reports this problem as below, unreferenced object 0xffffff80b64ed250 (size 16): comm "kworker/u16:7", pid 148, jiffies 4294687130 (age 714.199s) hex dump (first 16 bytes): 00 2b d8 d8 80 ff ff ff c4 74 e9 fd 07 00 00 00 .+.......t...... backtrace: [] __kmem_cache_alloc_node+0x1e4/0x2d8 [] kmalloc_trace+0x48/0x110 [] ath10k_wmi_tlv_op_gen_mgmt_tx_send+0xd4/0x1d8 [ath10k_core] [] ath10k_mgmt_over_wmi_tx_work+0x134/0x298 [ath10k_core] [] process_scheduled_works+0x1ac/0x400 [] worker_thread+0x208/0x328 [] kthread+0x100/0x1c0 [] ret_from_fork+0x10/0x20 Free the memory during completion and cleanup to fix the leak. Protect the mgmt_pending_tx idr_remove() operation in ath10k_wmi_tlv_op_cleanup_mgmt_tx_send() using ar->data_lock similar to other instances. Tested-on: WCN3990 hw1.0 SNOC WLAN.HL.2.0-01387-QCAHLSWMTPLZ-1

osv:CVE-2024-50236

Kernel

Fixed versions: 4.19.323, 5.4.285, 5.10.229, 5.15.171, 6.1.116, 6.6.60, 6.11.7

Complete source record
{
  "id": "39e7d1747cd7cc01344c78e84c45dad3db558143fb31d1b78ba372e9004efc6a",
  "url": "https://osv.dev/vulnerability/CVE-2024-50236",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "wifi: ath10k: Fix memory leak in management tx",
    "summary": "In the Linux kernel, the following vulnerability has been resolved: wifi: ath10k: Fix memory leak in management tx In the current logic, memory is allocated for storing the MSDU context during management packet TX but this memory is not being freed during management TX completion. Similar leaks are seen in the management TX cleanup logic. Kmemleak reports this problem as below, unreferenced object 0xffffff80b64ed250 (size 16): comm \"kworker/u16:7\", pid 148, jiffies 4294687130 (age 714.199s) hex dump (first 16 bytes): 00 2b d8 d8 80 ff ff ff c4 74 e9 fd 07 00 00 00 .+.......t...... backtrace: [] __kmem_cache_alloc_node+0x1e4/0x2d8 [] kmalloc_trace+0x48/0x110 [] ath10k_wmi_tlv_op_gen_mgmt_tx_send+0xd4/0x1d8 [ath10k_core] [] ath10k_mgmt_over_wmi_tx_work+0x134/0x298 [ath10k_core] [] process_scheduled_works+0x1ac/0x400 [] worker_thread+0x208/0x328 [] kthread+0x100/0x1c0 [] ret_from_fork+0x10/0x20 Free the memory during completion and cleanup to fix the leak. Protect the mgmt_pending_tx idr_remove() operation in ath10k_wmi_tlv_op_cleanup_mgmt_tx_send() using ar->data_lock similar to other instances. Tested-on: WCN3990 hw1.0 SNOC WLAN.HL.2.0-01387-QCAHLSWMTPLZ-1",
    "evidence": "osv:CVE-2024-50236",
    "products": [
      {
        "name": {
          "value": "Kernel",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "4.19.323",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "5.4.285",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "5.10.229",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "5.15.171",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.1.116",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.6.60",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.11.7",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "medium",
    "structured": {
      "id": "CVE-2024-50236",
      "aliases": [
        "CVE-2024-50236"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
              "type": "GIT",
              "events": [
                {
                  "introduced": "dc405152bb64d4ae01c9ac669de25b2d1fb6fc2d"
                },
                {
                  "fixed": "eff818238bedb9c2484c251ec46f9f160911cdc0"
                },
                {
                  "fixed": "6fc9af3df6ca7f3c94774d20f62dc7b49616026d"
                },
                {
                  "fixed": "4112450da7d67b59ccedc2208bae622db17dbcb8"
                },
                {
                  "fixed": "705be2dc45c7f852e211e16bc41a916fab741983"
                },
                {
                  "fixed": "6cc23898e6ba47e976050d3c080b4d2c1add3748"
                },
                {
                  "fixed": "5f5a939759c79e7385946c85e62feca51a18d816"
                },
                {
                  "fixed": "2f6f1e26ac6d2b38e2198a71f81f0ade14d6b07b"
                },
                {
                  "fixed": "e15d84b3bba187aa372dff7c58ce1fd5cb48a076"
                }
              ]
            }
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-50236.json"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "4.19.0"
                },
                {
                  "fixed": "4.19.323"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "4.20.0"
                },
                {
                  "fixed": "5.4.285"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "5.5.0"
                },
                {
                  "fixed": "5.10.229"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "5.11.0"
                },
                {
                  "fixed": "5.15.171"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "5.16.0"
                },
                {
                  "fixed": "6.1.116"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.2.0"
                },
                {
                  "fixed": "6.6.60"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.7.0"
                },
                {
                  "fixed": "6.11.7"
                }
              ]
            }
          ],
          "package": {
            "name": "Kernel",
            "ecosystem": "Linux"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-50236.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:28.001622398Z",
      "provider": "osv",
      "references": [
        "https://git.kernel.org/stable/c/2f6f1e26ac6d2b38e2198a71f81f0ade14d6b07b",
        "https://git.kernel.org/stable/c/4112450da7d67b59ccedc2208bae622db17dbcb8",
        "https://git.kernel.org/stable/c/5f5a939759c79e7385946c85e62feca51a18d816",
        "https://git.kernel.org/stable/c/6cc23898e6ba47e976050d3c080b4d2c1add3748",
        "https://git.kernel.org/stable/c/6fc9af3df6ca7f3c94774d20f62dc7b49616026d",
        "https://git.kernel.org/stable/c/705be2dc45c7f852e211e16bc41a916fab741983",
        "https://git.kernel.org/stable/c/e15d84b3bba187aa372dff7c58ce1fd5cb48a076",
        "https://git.kernel.org/stable/c/eff818238bedb9c2484c251ec46f9f160911cdc0",
        "https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html",
        "https://lists.debian.org/debian-lts-announce/2025/03/msg00002.html",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/50xxx/CVE-2024-50236.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2024-50236",
        "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/50xxx/CVE-2024-50236.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2024-50236",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 494589,
  "published_at": "2024-11-09T10:14:46.202+00:00"
}