tls: device: protect async RX resync state during device-down
Summary
| CVE | CVE-2026-139249 |
|---|---|
| State | PUBLISHED |
| Assigner | Linux |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-11-30 14:18:47 UTC |
| Updated | 2026-12-01 06:17:40 UTC |
| 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. |
Risk And Classification
Primary CVSS: v3.1 7 HIGH from 416baaa9-dc9f-4396-8d5f-8c081fb06d67
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS: 0.001610000 probability, percentile 0.055050000 (date 2026-12-01)
| Version | Source | Type | Score | Severity | Vector |
|---|---|---|---|---|---|
| 3.1 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | Secondary | 7 | HIGH | CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H |
| 3.1 | CNA | DECLARED | 7 | HIGH | CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H |
CVSS v3.1 Breakdown
Attack Vector
LocalAttack Complexity
HighPrivileges Required
LowUser Interaction
NoneScope
UnchangedConfidentiality
HighIntegrity
HighAvailability
HighCVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| CNA | Linux | Linux | affected ed9b7646b06a2ed2450dd9437fc7d1ad2783140c 13472de079a1ea57cb333c730bca271cc9ee2b4f git | Not specified |
| CNA | Linux | Linux | affected ed9b7646b06a2ed2450dd9437fc7d1ad2783140c 580b9f64349f6b9b4219d867cc568dbf5ad30c0a git | Not specified |
| CNA | Linux | Linux | affected ed9b7646b06a2ed2450dd9437fc7d1ad2783140c 02d8cc622bb6e4525abe5dab2439617b448e8bfd git | Not specified |
| CNA | Linux | Linux | affected ed9b7646b06a2ed2450dd9437fc7d1ad2783140c 09bb42ce72497a3af5ed529e42b440eb78c09704 git | Not specified |
| CNA | Linux | Linux | affected ed9b7646b06a2ed2450dd9437fc7d1ad2783140c 793cc50510cf57a9932f5afabc0b96c597b82e32 git | Not specified |
| CNA | Linux | Linux | affected ed9b7646b06a2ed2450dd9437fc7d1ad2783140c 9c81d3e2b0b21b3d995bc75e4394896238f1bd79 git | Not specified |
| CNA | Linux | Linux | affected ed9b7646b06a2ed2450dd9437fc7d1ad2783140c 5c8b1902b865c1039237669c0344ca10ff1b39e9 git | Not specified |
| CNA | Linux | Linux | affected ed9b7646b06a2ed2450dd9437fc7d1ad2783140c f89a228125238f8d4c7e2b8161e2a85fe35307b6 git | Not specified |
| CNA | Linux | Linux | affected 5.9 | Not specified |
| CNA | Linux | Linux | unaffected 5.9 semver | Not specified |
| CNA | Linux | Linux | unaffected 5.10.275 5.10.* semver | Not specified |
| CNA | Linux | Linux | unaffected 5.15.226 5.15.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.1.193 6.1.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.6.163 6.6.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.12.119 6.12.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.18.65 6.18.* semver | Not specified |
| CNA | Linux | Linux | unaffected 7.3.6 7.3.* semver | Not specified |
| CNA | Linux | Linux | unaffected 7.4-rc1 * original_commit_for_fix | Not specified |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| git.kernel.org/stable/c/09bb42ce72497a3af5ed529e42b440eb78c09704 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| git.kernel.org/stable/c/13472de079a1ea57cb333c730bca271cc9ee2b4f | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| git.kernel.org/stable/c/9c81d3e2b0b21b3d995bc75e4394896238f1bd79 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| git.kernel.org/stable/c/f89a228125238f8d4c7e2b8161e2a85fe35307b6 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| git.kernel.org/stable/c/793cc50510cf57a9932f5afabc0b96c597b82e32 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| git.kernel.org/stable/c/02d8cc622bb6e4525abe5dab2439617b448e8bfd | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| git.kernel.org/stable/c/5c8b1902b865c1039237669c0344ca10ff1b39e9 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| git.kernel.org/stable/c/580b9f64349f6b9b4219d867cc568dbf5ad30c0a | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.