{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2026-142930",
        "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "state": "PUBLISHED",
        "assignerShortName": "Linux",
        "dateReserved": "2026-12-03T03:10:28.338Z",
        "datePublished": "2026-12-03T03:26:04.969Z",
        "dateUpdated": "2026-12-04T03:26:09.799Z"
    },
    "containers": {
        "cna": {
            "providerMetadata": {
                "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
                "shortName": "Linux",
                "dateUpdated": "2026-12-04T03:26:09.799Z"
            },
            "descriptions": [
                {
                    "lang": "en",
                    "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nwifi: ath12k: fix stale skb pointers after aligned TX payload shift\n\nath12k_wifi7_dp_tx() caches hdr, eth, and skb_cb from the skb before\ncalling ath12k_dp_tx_align_payload(). That function may shift skb->data\nin place (when headroom or tailroom is sufficient) or reallocate the\nbuffer entirely via skb_realloc_headroom(), freeing the original skb.\nIn either case hdr, eth, and skb_cb are left pointing into stale memory.\n\nAfter alignment, only hdr is refreshed, leaving eth and skb_cb stale.\nskb_cb is written immediately after (storing DMA addresses), and eth is\nre-read on every TCL ring retry via the tcl_ring_sel goto, so both\naccesses are use-after-free or stale-pointer bugs depending on which\nalignment path was taken.\n\nRefresh eth (conditionally, to preserve the encap-mode distinction) and\nskb_cb alongside hdr after ath12k_dp_tx_align_payload() returns, so all\nthree point into the live skb for all subsequent accesses.\n\nIssue found during code review, compile tested only."
                }
            ],
            "metrics": [
                {
                    "cvssV3_1": {
                        "version": "3.1",
                        "vectorString": "CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H",
                        "baseScore": 7,
                        "baseSeverity": "HIGH"
                    },
                    "scenarios": [
                        {
                            "lang": "en",
                            "value": "AV:L - ath12k_wifi7_dp_tx() runs only from ath12k_wifi7_mac_op_tx(), the mac80211 .tx op, and the stale pointers are produced while aligning an egress skb. No 802.11 field from a peer is parsed: only WCN7850 hw2.0 sets iova_mask, and that path frees the skb inside the transmit helper rather than on a received frame.\nAC:H - skb_cb dangles only if ath12k_dp_tx_align_payload() reaches skb_realloc_headroom() and dev_kfree_skb_any(). The in-place move keeps the sk_buff, and WCN7850 sets tcl_ring_retry false so eth is not reread at tcl_ring_sel. Realloc needs headroom < (skb->data & 127) and too little tailroom. mac80211 needed_headroom covers iova_mask (127) plus 802.11 headers, so stack-built skbs stay in-place; a sender cannot force headroom under 64.\nPR:L - Any local user who can send on the wireless netdev reaches ath12k_wifi7_mac_op_tx() and thus ath12k_wifi7_dp_tx(). Neither that function nor ath12k_dp_tx_align_payload() checks CAP_NET_ADMIN or a device-node permission.\nUI:N - The attacker generates the egress skb themselves. ath12k_wifi7_dp_tx() does not wait for another user to mount media, associate, or open a file.\nS:U - The corrupted object is a host-kernel sk_buff freed in ath12k_dp_tx_align_payload(). That stays inside the same kernel address space; it is not a guest exit or an IOMMU remap.\nC:H - On the realloc path dev_kfree_skb_any() frees the original skb, then ath12k_wifi7_dp_tx() still reads skb_cb->flags through ATH12K_SKB_CB(), which aliases ieee80211_tx_info in skb->cb. A concurrent allocation can reuse that slab slot, so the read returns another object's bytes rather than a few fixed fields of a live skb.\nI:H - The same freed ATH12K_SKB_CB() is then written: skb_cb->paddr = ti.paddr, and skb_cb->paddr_ext_desc when an MSDU extension descriptor is built. If a later error returns, ath12k_wifi7_mac_op_tx() calls ieee80211_free_txskb() on the caller's original pointer, which align already passed to dev_kfree_skb_any().\nA:H - Writing skb_cb->paddr into the sk_buff after dev_kfree_skb_any(), and the error-path double-free in ath12k_wifi7_mac_op_tx(), are slab corruptions that oops the host. Completion also dma_unmap_single()s address 0 from the replacement skb, because the real mapping was stored only in the freed cb."
                        }
                    ]
                }
            ],
            "affected": [
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "unaffected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "drivers/net/wireless/ath/ath12k/wifi7/dp_tx.c"
                    ],
                    "versions": [
                        {
                            "version": "38055789d15155109b41602ad719d770af507030",
                            "lessThan": "77bb18fff9241f306f9d2950432900f2e35db28f",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "38055789d15155109b41602ad719d770af507030",
                            "lessThan": "6c40719489c8d799798989b15bc07b0700c132f8",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "59670ab6f667d5c6540b015acfbf331a77fa3fd5",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "6.10.7",
                            "lessThan": "6.11",
                            "status": "affected",
                            "versionType": "semver"
                        }
                    ]
                },
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "affected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "drivers/net/wireless/ath/ath12k/wifi7/dp_tx.c"
                    ],
                    "versions": [
                        {
                            "version": "6.11",
                            "status": "affected"
                        },
                        {
                            "version": "0",
                            "lessThan": "6.11",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "7.3.6",
                            "lessThanOrEqual": "7.3.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "7.4-rc1",
                            "lessThanOrEqual": "*",
                            "status": "unaffected",
                            "versionType": "original_commit_for_fix"
                        }
                    ]
                }
            ],
            "cpeApplicability": [
                {
                    "nodes": [
                        {
                            "operator": "OR",
                            "negate": false,
                            "cpeMatch": [
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "6.11",
                                    "versionEndExcluding": "7.3.6"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "6.11",
                                    "versionEndExcluding": "7.4-rc1"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "6.10.7"
                                }
                            ]
                        }
                    ]
                }
            ],
            "references": [
                {
                    "url": "https://git.kernel.org/stable/c/77bb18fff9241f306f9d2950432900f2e35db28f"
                },
                {
                    "url": "https://git.kernel.org/stable/c/6c40719489c8d799798989b15bc07b0700c132f8"
                }
            ],
            "title": "wifi: ath12k: fix stale skb pointers after aligned TX payload shift",
            "x_generator": {
                "engine": "bippy-1.2.0"
            }
        }
    }
}