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

Published Nov 30, 2026
·
Updated

In the Linux kernel, the following vulnerability has been resolved:

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

tlsdevicerxresyncnewrec() can run in process context with the socket lock held, but without an RCU read lock: from the strparser work item (tlsstrpwork()) and from the receive paths (tlsrxrecwait(), tlsrxrecdone()). The resyncasync pointer belongs to the driver RX context, which tlsdevicedown() 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 TLSRXDEVDEGRADED check before device-down sets it, tlsdevicedown() can complete synchronizenet() and delete the driver context before the parser accesses resyncasync->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 tlsdeviceresyncrx() 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 resyncasync access across the device-down grace period and the driver's teardown.

Affected Software

1 affected component
Linux Linux kernel

Event History

Nov 30, 2026
CVE Published
via MITRE·01:33 PM
Data Sourced
via MITRE·01:33 PM
Description

Frequently Asked Questions

1

Which systems are most likely to be exposed?

The issue concerns Linux kernel TLS receive processing that uses a driver RX context and asynchronous RX resynchronization. The vulnerable race involves concurrent parser activity while the associated network device is being brought down.

2

What timing is required for the use-after-free to occur?

The parser must pass the TLS_RX_DEV_DEGRADED check, then be preempted before accessing resync_async. During that interval, device-down must complete synchronize_net() and delete the driver context.

3

What is the potential consequence if the race is hit?

The parser can access resync_async after its driver context has been deleted. In the asynchronous stage, it may write to the freed record log, making this a write-based use-after-free rather than only a stale read.

4

Has this issue been observed in practice?

It was identified through code inspection and was not reproduced according to the available information.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203