LiveActive security incident?Get immediate response
CVE Record

CVE-2024-40942: wifi: mac80211: mesh: Fix leak of mesh_preq_queue objects

In the Linux kernel, the following vulnerability has been resolved: wifi: mac80211: mesh: Fix leak of mesh_preq_queue objects The hwmp code use objects of type mesh_preq_queue, added to a list in ieee80211_if_mesh, to keep track of mpath we need to resolve. If the mpath gets deleted, ex mesh interface is removed, the entries in that list will never get cleaned. Fix this by flushing all corresponding items of the preq_queue in mesh_path_flush_pending(). This should take care of KASAN reports like this: unreferenced object 0xffff00000668d800 (size 128): comm "kworker/u8:4", pid 67, jiffies 4295419552 (age 1836.444s) hex dump (first 32 bytes): 00 1f 05 09 00 00 ff ff 00 d5 68 06 00 00 ff ff ..........h..... 8e 97 ea eb 3e b8 01 00 00 00 00 00 00 00 00 00 ....>........... backtrace: [<000000007302a0b6>] __kmem_cache_alloc_node+0x1e0/0x35c [<00000000049bd418>] kmalloc_trace+0x34/0x80 [<0000000000d792bb>] mesh_queue_preq+0x44/0x2a8 [<00000000c99c3696>] mesh_nexthop_resolve+0x198/0x19c [<00000000926bf598>] ieee80211_xmit+0x1d0/0x1f4 [<00000000fc8c2284>] __ieee80211_subif_start_xmit+0x30c/0x764 [<000000005926ee38>] ieee80211_subif_start_xmit+0x9c/0x7a4 [<000000004c86e916>] dev_hard_start_xmit+0x174/0x440 [<0000000023495647>] __dev_queue_xmit+0xe24/0x111c [<00000000cfe9ca78>] batadv_send_skb_packet+0x180/0x1e4 [<000000007bacc5d5>] batadv_v_elp_periodic_work+0x2f4/0x508 [<00000000adc3cd94>] process_one_work+0x4b8/0xa1c [<00000000b36425d1>] worker_thread+0x9c/0x634 [<0000000005852dd5>] kthread+0x1bc/0x1c4 [<000000005fccd770>] ret_from_fork+0x10/0x20 unreferenced object 0xffff000009051f00 (size 128): comm "kworker/u8:4", pid 67, jiffies 4295419553 (age 1836.440s) hex dump (first 32 bytes): 90 d6 92 0d 00 00 ff ff 00 d8 68 06 00 00 ff ff ..........h..... 36 27 92 e4 02 e0 01 00 00 58 79 06 00 00 ff ff 6'.......Xy..... backtrace: [<000000007302a0b6>] __kmem_cache_alloc_node+0x1e0/0x35c [<00000000049bd418>] kmalloc_trace+0x34/0x80 [<0000000000d792bb>] mesh_queue_preq+0x44/0x2a8 [<00000000c99c3696>] mesh_nexthop_resolve+0x198/0x19c [<00000000926bf598>] ieee80211_xmit+0x1d0/0x1f4 [<00000000fc8c2284>] __ieee80211_subif_start_xmit+0x30c/0x764 [<000000005926ee38>] ieee80211_subif_start_xmit+0x9c/0x7a4 [<000000004c86e916>] dev_hard_start_xmit+0x174/0x440 [<0000000023495647>] __dev_queue_xmit+0xe24/0x111c [<00000000cfe9ca78>] batadv_send_skb_packet+0x180/0x1e4 [<000000007bacc5d5>] batadv_v_elp_periodic_work+0x2f4/0x508 [<00000000adc3cd94>] process_one_work+0x4b8/0xa1c [<00000000b36425d1>] worker_thread+0x9c/0x634 [<0000000005852dd5>] kthread+0x1bc/0x1c4 [<000000005fccd770>] ret_from_fork+0x10/0x20

UnknownCVSS not scoredNot KEV-listedUpdated
Glexia's TakeAutomated analysismoderate

Security readout for executives and security teams

Plain-English summary

CVE-2024-40942 is a Linux kernel Wi-Fi mesh memory leak. Under mesh networking activity, some queued path-resolution objects may not be freed when a mesh path or interface is removed. The public record does not provide CVSS, impact scoring, or evidence of exploitation.

Executive priority

Treat this as a targeted kernel maintenance risk, not a broad emergency. Prioritize appliances, industrial systems, and Linux hosts using Wi-Fi mesh. Patch through normal vendor channels unless your environment depends heavily on wireless mesh availability.

Technical view

The issue is in mac80211 mesh HWMP handling. mesh_preq_queue entries attached to ieee80211_if_mesh can remain allocated after mpath deletion, including mesh interface removal. The kernel fix flushes corresponding preq_queue items in mesh_path_flush_pending(). KASAN reports show 128-byte unreferenced allocations from mesh_queue_preq().

Likely exposure

Exposure is most likely on Linux systems using mac80211 Wi-Fi mesh networking. General Linux servers without wireless mesh interfaces are less likely to be exposed. Embedded, industrial, or network devices using Linux wireless mesh should check vendor kernel status.

Exploitation context

The source bundle marks KEV as false and provides no cited evidence of active exploitation or public weaponization. The available evidence describes a kernel memory leak found through KASAN-style reports, not a confirmed remote exploit chain.

Researcher notes

The public data is incomplete for exploitability assessment: no CVSS, CWE, or exploit evidence is provided. The clearest technical signal is a resource leak in mesh path request queue cleanup, with fixed commits across Linux stable branches and downstream advisories.

Mitigation direction

  • Apply Linux stable or distribution kernel updates containing the referenced fix.
  • Check Debian, Siemens, or device-vendor advisories for product-specific update guidance.
  • Prioritize systems using Wi-Fi mesh or embedded wireless networking.
  • If updates are unavailable, ask the vendor for supported interim mitigations.

Validation and detection

  • Inventory Linux kernel versions and identify systems with Wi-Fi mesh enabled.
  • Review vendor advisories for whether the deployed kernel includes the fix.
  • Confirm updated kernels include the referenced mac80211 mesh preq_queue flush change.
  • Monitor affected systems for memory growth during mesh interface lifecycle events.
Prepared
Confidence
medium
Sources
12

Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.

Potential ATT&CK relevance

Conservative CVE-to-ATT&CK context

These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.

ATT&CK lookup starting points

Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.

cve · low confidence lookup

CVE-2024-40942 mapping review

Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.

Open ATT&CK lookup
Vulnerability profileCVE Program record
Severity
Unknown
CVSS
Not scored
Known Exploited
No
Published
Official CVE source material

CNA and ADP enrichment extracted from CVE v5

These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.

0CVSS vectors
3Timeline events
3ADP providers
12Source links

SSVC decision data

CISA-ADPCISA Coordinator
Timestamp
Version
2.0.3
Exploitation: noneAutomatable: noTechnical Impact: partial

Vulnerability timeline

Timeline events are normalized from CVE metadata, CNA source timelines, ADP timelines, and KEV metadata when present.

  1. CVE reservedCVE Program

    The CVE ID was reserved by the assigning CNA.

  2. CVE publishedCVE Program

    The CVE record was published.

  3. CVE updatedCVE Program

    The CVE record metadata indicates this as the latest update time.

ADP provider summaries

CVECVE Program Container
CISA-ADPCISA ADP Vulnrichment
other:ssvc
siemens-SADPADP container
Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
LinuxLinux050ac52cbe1f3de2fb0d06f02c7919ae1f691c9e, 050ac52cbe1f3de2fb0d06f02c7919ae1f691c9e, 050ac52cbe1f3de2fb0d06f02c7919ae1f691c9e, 050ac52cbe1f3de2fb0d06f02c7919ae1f691c9e, 050ac52cbe1f3de2fb0d06f02c7919ae1f691c9e, 050ac52cbe1f3de2fb0d06f02c7919ae1f691c9e, 050ac52cbe1f3de2fb0d06f02c7919ae1f691c9e, 050ac52cbe1f3de2fb0d06f02c7919ae1f691c9eunaffected
LinuxLinux2.6.26, 0, 4.19.317, 5.4.279, 5.10.221, 5.15.162, 6.1.95, 6.6.35, 6.9.6, 6.10affected
Weakness

CWE details

No CWE listed

CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.