Linux kernel use-after-free in mt76 SDIO TX path
Affects Linux kernels with the mt76 SDIO Wi-Fi transmit path (mt76s) when memory allocation fails. Fixed in 5.15.226, 6.1.193, 6.6.163, 6.12.117, 6.18.63 and 7.3.
- Exploited
- No known exploitation
- Fix
- Fixed in 5.15.226, 6.1.193, 6.6.163, 6.12.117, 6.18.63, and 1 more
- Who is exposed
- Not reported
Summary
Written by a model
In the Linux kernel, the following vulnerability has been resolved:
wifi: mt76: mt792x: fix UAF in SDIO TX path when out of memory
Using __skb_pad() instead of skb_pad() in mt76_skb_adjust_pad() to prevent double-free, as the caller handles cleanup.
Free the MCU message skb in __mt76x02u_mcu_send_msg() as well, which relied on skb_pad() to release it.
Who should check
Teams shipping Linux kernels with the mt76 mt792x SDIO Wi-Fi driver for MediaTek chips, including devices whose SDIO Wi-Fi uses this path.
“fix UAF in SDIO TX path when out of memory”
What to do
Upgrade to a fixed version: 5.15.226, 6.1.193, 6.6.163, 6.12.117, 6.18.63, or one of 1 more.
Check your systems with an agent
Paste this into a coding or ops agent. It checks your systems read-only and reports a table per asset.
Check whether my systems are affected by CVE-2026-138887 (wifi: mt76: mt792x: fix UAF in SDIO TX path when out of memory), using the cve.now data below.
Rules: work read-only. Do not run exploit code, proof-of-concept scripts or scanners that send attack payloads, and do not change any configuration, package, image or deployment. Report findings only.
What cve.now has for CVE-2026-138887 (entry last updated 2026-12-01):
Affected:
- Linux Linux: from 5.15.221, fixed in 5.15.226; from 6.1.188, fixed in 6.1.193; from 6.6.157, fixed in 6.6.163; from 6.12.110, fixed in 6.12.117; from 6.18.52, fixed in 6.18.63; from 7.2.6, fixed in 7.3
- Linux Linux: versions 7.3
Fixed versions: 5.15.226, 6.1.193, 6.6.163, 6.12.117, 6.18.63, 7.3.
Vendor patches: c8b50dd730ff1a2d15382355108dbf3f6c61b1e9, 03f00293538ba014bda41de91700e689a996bdf7, 194d71b4cdeba3fc9521888295659ed1e863ccb4 (source: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=c8b50dd730ff1a2d15382355108dbf3f6c61b1e9). Check each asset for these patch ids, not only its version.
Conditions (all must be true for the bug to be hit):
- The bug is hit only when __skb_pad() inside mt76_skb_adjust_pad() fails, which requires system-wide atomic memory exhaustion. (source: https://www.cve.org/CVERecord?id=CVE-2026-138887)
- The affected transmit path is the SDIO TX path (mt76s), reached through mt76s_tx_queue_skb(). (source: https://www.cve.org/CVERecord?id=CVE-2026-138887)
Setup: unknown whether the bug needs a non-default feature or setting. Check the advisory.
Attacker needs: adjacent access, no login, no user action.
CISA KEV: CVE-2026-138887 is not listed as of cve.now's last read.
This KEV status is for CVE-2026-138887 only. If you also check another CVE, look up its own KEV status; never assume it from this one.
How to check:
- Installed software: check what is actually running, not what a repo declares. Read the version from each host, container image and Kubernetes node (the binary's version output, the OS package database, image layers), and check whether the conditions above hold there. Distribution packages may carry a backported fix under an older version number; confirm against the distribution's own advisory.
Verify against the linked advisories before concluding, and cite the date you read each one:
- https://git.kernel.org/stable/c/c8b50dd730ff1a2d15382355108dbf3f6c61b1e9
- https://git.kernel.org/stable/c/03f00293538ba014bda41de91700e689a996bdf7
- https://git.kernel.org/stable/c/194d71b4cdeba3fc9521888295659ed1e863ccb4
- https://git.kernel.org/stable/c/0d35a2922d2cb2a78038d3923a3e18cef97c01f7
- https://git.kernel.org/stable/c/2fff1ca283f1e4a49a259befdcc23bbbac4b45f7
- https://git.kernel.org/stable/c/ec6d03d8b21c3af9cfe94543e59a889caba171d0
- https://git.kernel.org/stable/c/f5dd4833463ed45794027e33928539b3c532f82d
- https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=c8b50dd730ff1a2d15382355108dbf3f6c61b1e9
Do not conclude an asset is unaffected unless you checked it and the evidence covers both its version and the conditions above. If you could not check something, mark it unknown and say what is missing.
Report a table with one row per asset and these columns: Asset | Version or build | Status (affected, fixed, not applicable, unknown) | Compensating controls | Exposure (internet-facing, internal, none) | Evidence | Next action.
Entry: https://cve.now/CVE-2026-138887
For follow-up questions, use the cve.now MCP server at https://mcp.cve.now/mcp (no authentication), for example execute with name cve.get and arguments {"id": "CVE-2026-138887"}.Affected versions
- Linux LinuxFrom 5.15.221 · fixed in 5.15.226; From 6.1.188 · fixed in 6.1.193; From 6.6.157 · fixed in 6.6.163; From 6.12.110 · fixed in 6.12.117; From 6.18.52 · fixed in 6.18.63; From 7.2.6 · fixed in 7.3
- Linux Linux7.3
cve.now Index
- Exploitation?/40Unknown. No CISA SSVC exploitation rating yet
- Exposure?/25Unknown. Advisories don't say whether default setups are affected
- Reach20/20Affects Linux kernel (software on nearly every server, desktop or phone)
- Severity7.5/10CVSS 7.5
- No patch0/5No signal
What would change the score
- Would score about 83 if added to CISA KEV
- Would score about 78 if CISA's SSVC rates exploitation active
- Would score about 50 if advisories confirm default setups are exposed
Timeline
- CVE published
- First seen by cve.now1 day
- Record last updated
- Posted on X by cve.now
Evidence 9
Questions about CVE-2026-138887
Is CVE-2026-138887 being exploited?
It is not in CISA's Known Exploited Vulnerabilities catalog, and CISA's SSVC assessment does not mark exploitation as active. That does not mean it has not been attacked: vendors and researchers can report attacks before CISA lists them. No public exploit code is tracked.
Source: cve.now feed data
What does this mean?
A double free in the mt76 SDIO transmit path can leave a freed network buffer in use, corrupting kernel heap memory. The bug is reached only when a padding allocation fails under system-wide memory exhaustion.
Source: cve.org, git.kernel.org
Which versions are affected by CVE-2026-138887?
Linux: from 5.15.221 before 5.15.226; from 6.1.188 before 6.1.193; from 6.6.157 before 6.6.163; from 6.12.110 before 6.12.117; from 6.18.52 before 6.18.63; from 7.2.6 before 7.3. Linux: version 7.3.
Source: cve.now feed data
Am I affected, and how do I check?
Affected kernel ranges are 5.15.221 to before 5.15.226, 6.1.188 to before 6.1.193, 6.6.157 to before 6.6.163, 6.12.110 to before 6.12.117, 6.18.52 to before 6.18.63, and 7.2.6 to before 7.3. Check the running version with uname -r and whether the mt76s SDIO driver is loaded with lsmod | grep mt76s.
Source: cve.org, git.kernel.org
How do I fix CVE-2026-138887?
Upgrade to a fixed kernel: 5.15.226, 6.1.193, 6.6.163, 6.12.117, 6.18.63, or 7.3 and later. The vendor's patches are commits c8b50dd730ff1a2d15382355108dbf3f6c61b1e9, 03f00293538ba014bda41de91700e689a996bdf7, and 194d71b4cdeba3fc9521888295659ed1e863ccb4.
Source: cve.org, git.kernel.org
Related
- CVE-2026-142948i2c: designware: queue only one read command for block reads
- CVE-2026-142947cxl/core: Skip einj_inject creation when devm_add_action_or_reset() fails
- CVE-2026-142946ASoC: amd: acp-es8336: Switch to use acpi_bus_get_primary_device()
- CVE-2026-142945ASoC: amd: acp3x-es83xx: Switch to use acpi_bus_get_primary_device()
- CVE-2026-142944ASoC: amd: acp-es8336: Use an owned codec device reference
- CVE-2026-142943ASoC: amd: acp3x-es83xx: Keep an owned codec device reference
No corrections so far. Something wrong on this page? Report an error.