# CVE-2026-139249: tls: device: protect async RX resync state during device-down

- Severity: High 7.0 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.16%, higher than 5% of CVEs (2026-12-01)
- Published: 2026-11-30T13:33:00.068Z
- Modified: 2026-12-01T06:17:40.210Z
- Assigned by: 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.

(As written by CVE List.)

## Affected

- Linux Linux: from ed9b7646b06a2ed2450dd9437fc7d1ad2783140c before 13472de079a1ea57cb333c730bca271cc9ee2b4f; from ed9b7646b06a2ed2450dd9437fc7d1ad2783140c before 580b9f64349f6b9b4219d867cc568dbf5ad30c0a; from ed9b7646b06a2ed2450dd9437fc7d1ad2783140c before 02d8cc622bb6e4525abe5dab2439617b448e8bfd; from ed9b7646b06a2ed2450dd9437fc7d1ad2783140c before 09bb42ce72497a3af5ed529e42b440eb78c09704; from ed9b7646b06a2ed2450dd9437fc7d1ad2783140c before 793cc50510cf57a9932f5afabc0b96c597b82e32; from ed9b7646b06a2ed2450dd9437fc7d1ad2783140c before 9c81d3e2b0b21b3d995bc75e4394896238f1bd79; from ed9b7646b06a2ed2450dd9437fc7d1ad2783140c before 5c8b1902b865c1039237669c0344ca10ff1b39e9; from ed9b7646b06a2ed2450dd9437fc7d1ad2783140c before f89a228125238f8d4c7e2b8161e2a85fe35307b6; 5.9 (not affected: before 5.9; from 5.10.275 up to 5.10.*; from 5.15.226 up to 5.15.*; from 6.1.193 up to 6.1.*; from 6.6.163 up to 6.6.*; from 6.12.119 up to 6.12.*; from 6.18.65 up to 6.18.*; from 7.3.6 up to 7.3.*; from 7.4-rc1 up to *)

## References

- <https://git.kernel.org/stable/c/13472de079a1ea57cb333c730bca271cc9ee2b4f>
- <https://git.kernel.org/stable/c/580b9f64349f6b9b4219d867cc568dbf5ad30c0a>
- <https://git.kernel.org/stable/c/02d8cc622bb6e4525abe5dab2439617b448e8bfd>
- <https://git.kernel.org/stable/c/09bb42ce72497a3af5ed529e42b440eb78c09704>
- <https://git.kernel.org/stable/c/793cc50510cf57a9932f5afabc0b96c597b82e32>
- <https://git.kernel.org/stable/c/9c81d3e2b0b21b3d995bc75e4394896238f1bd79>
- <https://git.kernel.org/stable/c/5c8b1902b865c1039237669c0344ca10ff1b39e9>
- <https://git.kernel.org/stable/c/f89a228125238f8d4c7e2b8161e2a85fe35307b6>

## Sources

- CVE List: [CVE-2026-139249](https://www.cve.org/CVERecord?id=CVE-2026-139249), CVE Terms of Use, modified 2026-12-01
- NVD: [CVE-2026-139249](https://nvd.nist.gov/vuln/detail/CVE-2026-139249), Public domain, modified 2026-12-01

---

Page: https://cve.day/CVE-2026-139249 · Whole record: https://cve.day/CVE-2026-139249.json · Rebuilt by cve.day 2026-12-01T06:32:20.641Z
