Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2026-139249

published high CVSS 3.1 · 7.0

tls: device: protect async RX resync state during device-down

Published
30 Nov 2026, 13:33:00 UTC
Updated
01 Dec 2026, 05:42:00 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Linux — Linuxed9b7646b06a2ed2450dd9437fc7d1ad2783140c to < 13472de079a1ea57cb333c730bca271cc9ee2b4f · ed9b7646b06a2ed2450dd9437fc7d1ad2783140c to < 580b9f64349f6b9b4219d867cc568dbf5ad30c0a · ed9b7646b06a2ed2450dd9437fc7d1ad2783140c to < 02d8cc622bb6e4525abe5dab2439617b448e8bfd · ed9b7646b06a2ed2450dd9437fc7d1ad2783140c to < 09bb42ce72497a3af5ed529e42b440eb78c09704 · ed9b7646b06a2ed2450dd9437fc7d1ad2783140c to < 793cc50510cf57a9932f5afabc0b96c597b82e32 · ed9b7646b06a2ed2450dd9437fc7d1ad2783140c to < 9c81d3e2b0b21b3d995bc75e4394896238f1bd79 · ed9b7646b06a2ed2450dd9437fc7d1ad2783140c to < 5c8b1902b865c1039237669c0344ca10ff1b39e9 · ed9b7646b06a2ed2450dd9437fc7d1ad2783140c to < f89a228125238f8d4c7e2b8161e2a85fe35307b6 · Other versions: unaffected Affected Not stated Linux
Linux — Linux5.9 (affected) · 0 to < 5.9 (unaffected · semver) · 5.10.275 through 5.10.* (unaffected · semver) · 5.15.226 through 5.15.* (unaffected · semver) · 6.1.193 through 6.1.* (unaffected · semver) · 6.6.163 through 6.6.* (unaffected · semver) · 6.12.119 through 6.12.* (unaffected · semver) · 6.18.65 through 6.18.* (unaffected · semver) · 7.3.6 through 7.3.* (unaffected · semver) · 7.4-rc1 and later (unaffected · original_commit_for_fix) · Other versions: affected Version-specific Not stated Linux

Description

In the Linux kernel, the following vulnerability has been resolved: tls: device: protect async RX resync state during device-down tls_device_rx_resync_new_rec() can run in process context with the socket lock held, but without an RCU read lock: from the strparser work item (tls_strp_work()) and from the receive paths (tls_rx_rec_wait(), tls_rx_rec_done()). The resync_async pointer belongs to the driver RX context, which tls_device_down() tears down from the netdev notifier without taking the socket lock; only the softirq entry to the parser is implicitly inside an RCU section. If the parser passes the TLS_RX_DEV_DEGRADED check before device-down sets it, tls_device_down() can complete synchronize_net() and delete the driver context before the parser accesses resync_async->req or its record log. In the asynchronous stage the parser also writes the record log, so this is a write to freed memory, not only a stale read. The RCU section in tls_device_resync_rx() starts after those accesses and therefore does not prevent the use-after-free. Found by code inspection; not reproduced. Hitting the window requires the parser to be preempted between the DEGRADED check and the resync_async access across the device-down grace period and the driver's teardown.

en · Linux · cna

Vendor advisories explicitly linked to this CVE.

0

No linked advisories were found for this CVE.

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
7.0 / 10
Severity
high
Provider
Linux · cna
Vector string
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
Scenarios
en: AV:L - No malformed input causes this; it is a missing rcu_read_lock in tls_device_rx_resync_new_rec() racing tls_device_down(). The use comes from the local socket owner's recvmsg/tls_strp_work parser, and the free from a NETDEV_DOWN notifier that no remote TLS peer can raise; the freed object is mlx5 priv_rx driver state, not protocol data. AC:H - The free needs an admin to down or unregister the mlx5 netdev (tls_dev_event NETDEV_DOWN -> tls_device_down -> mlx5e_ktls_del_rx kfree). The parser must be preempted between the TLS_RX_DEV_DEGRADED test and the resync_async access for the whole synchronize_net plus teardown, and mlx5 tls-hw-rx-offload is off by default; the attacker controls none of this. PR:L - tls_set_device_offload_rx() has no capability check, so any local user can set TCP_ULP tls and TLS_RX (TLS 1.2) on a TCP socket routed over an offload-enabled mlx5 port and drive the process-context parser via recvmsg on that socket. UI:N - No victim action is needed; the admin device-down is an operational event already accounted for in AC:H, not a user being lured into an action. S:U - The corruption is to kernel heap memory in the same kernel security authority; no VM, IOMMU or sandbox boundary is crossed. C:H - After kfree of mlx5e_ktls_offload_context_rx, the parser reads resync_async->req and log[] from freed slab memory that may already be reallocated to another object, a use-after-free read of kernel heap. I:H - In the async stage tls_device_rx_resync_async() writes log[loglen++] = seq (a TCP sequence the attacker's peer partly controls), increments rcd_delta and cmpxchg's req to 0 inside the freed object, a heap write into whatever object reuses the slot. A:H - A write into a reallocated slab object corrupts unrelated kernel state, which can oops the kernel or trigger a KASAN panic.

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Linux Linux ed9b7646b06a2ed2450dd9437fc7d1ad2783140c to < 13472de079a1ea57cb333c730bca271cc9ee2b4f (affected · git)ed9b7646b06a2ed2450dd9437fc7d1ad2783140c to < 580b9f64349f6b9b4219d867cc568dbf5ad30c0a (affected · git)ed9b7646b06a2ed2450dd9437fc7d1ad2783140c to < 02d8cc622bb6e4525abe5dab2439617b448e8bfd (affected · git)ed9b7646b06a2ed2450dd9437fc7d1ad2783140c to < 09bb42ce72497a3af5ed529e42b440eb78c09704 (affected · git)ed9b7646b06a2ed2450dd9437fc7d1ad2783140c to < 793cc50510cf57a9932f5afabc0b96c597b82e32 (affected · git)ed9b7646b06a2ed2450dd9437fc7d1ad2783140c to < 9c81d3e2b0b21b3d995bc75e4394896238f1bd79 (affected · git)ed9b7646b06a2ed2450dd9437fc7d1ad2783140c to < 5c8b1902b865c1039237669c0344ca10ff1b39e9 (affected · git)ed9b7646b06a2ed2450dd9437fc7d1ad2783140c to < f89a228125238f8d4c7e2b8161e2a85fe35307b6 (affected · git)Default: unaffected Linux · cna
Linux Linux 5.9 (affected)0 to < 5.9 (unaffected · semver)5.10.275 through 5.10.* (unaffected · semver)5.15.226 through 5.15.* (unaffected · semver)6.1.193 through 6.1.* (unaffected · semver)6.6.163 through 6.6.* (unaffected · semver)6.12.119 through 6.12.* (unaffected · semver)6.18.65 through 6.18.* (unaffected · semver)7.3.6 through 7.3.* (unaffected · semver)7.4-rc1 and later (unaffected · original_commit_for_fix)Default: affected Linux · cna

Weaknesses

0

No weakness assertions.

References

8

Provider assertions

1

Linux · cna

tls: device: protect async RX resync state during device-down

Provenance

Schema
5.2
Searchable
yes
Content hash
8e7be959e32e45186905403d79f7882bad761977c16cc05306f5c6c7b1ac7c0d
Ingested
01 Dec 2026, 05:47:22 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected