AZL-118205: CVE-2026-143150 affecting package kernel 6.6.161.1-1

Published Dec 3, 2026
·
Updated

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

tcp: fix requestsock use-after-free during Fast Open accept()

Commit e3d95ad7da4f ("inet: avoid fastopen lock for regular accept()") made inetcskaccept() check tfolistener before taking fastopenq.lock to avoid taking the lock for connections that did not use Fast Open.

reqskfastopenremove() clears tfolistener while holding fastopenq.lock, then reads req->sk. If inetcskaccept() concurrently observes tfolistener after it has been cleared, it skips fastopenq.lock and drops the last reference to the requestsock. This can free the requestsock while reqskfastopenremove() is still using it.

If the freed memory is reused for a new requestsock with req->sk == NULL, the reset path in reqskfastopenremove() can append the new requestsock to the original listener's list of requests that caused an RST. After the new requestsock is freed, the next append writes through the stale rskqrsttail into freed memory.

KASAN reported the following use-after-free when writing fastopenq->rskqrsttail->dlnext = req:

BUG: KASAN: slab-use-after-free in reqskfastopenremove+0x142/0x210 Write of size 8 at addr ffff888108230688 by task swapper/5/0 ... Call Trace: <IRQ> ... reqskfastopenremove+0x142/0x210 tcpcheckreq+0x96f/0xdd0 ... tcprcvstateprocess+0x19c/0x26b0 ... tcpv4dorcv+0x16e/0x490 tcpv4rcv+0x14a0/0x1af0 ... ipprotocoldeliverrcu+0x39/0x1e0 iplocaldeliverfinish+0x124/0x1e0 iplocaldeliver+0xfb/0x1e0 ... </IRQ>

To widen the race windows, mdelay(5) was added after newsk = req->sk, mdelay(20) after the if (req) reqskput(req) block, and mdelay(100) after tcprsk(req)->tfolistener = false. The KASAN report above was reproduced with this kernel.

For the lockless check, use tcpsk(newsk)->synfastopenchild instead of tfolistener, which reqskfastopenremove() clears.

synfastopenchild is a field of the Fast Open child TCP socket referenced by newsk, not of the requestsock. It is set before the child socket is added to the accept queue. The paths that call reqskfastopenremove() in response to a remote ACK or RST do not clear this field.

inetcskaccept() uses this field to take fastopenq.lock only for Fast Open child sockets and rechecks tfolistener while holding the lock. Connections that did not use Fast Open continue to avoid the lock.

Affected Software

1 affected component
azure-linux/kernel<=6.6.161.1-1

Event History

Dec 3, 2026
Advisory Published
via OSV·10:17 AM
Data Sourced
via OSV·10:17 AM
DescriptionAffected Software

Child vulnerabilities

Contains the following vulnerabilities.

Frequently Asked Questions

1

What conditions are involved in triggering the race?

The race involves a TCP Fast Open listener and concurrent execution of inet_csk_accept() and reqsk_fastopen_remove(). It occurs when accept observes that tfo_listener has been cleared and skips fastopenq.lock while reqsk_fastopen_remove() is still using the request_sock.

2

What observable evidence may indicate the issue has occurred?

The reported symptom is a KASAN slab-use-after-free in reqsk_fastopen_remove() while writing fastopenq->rskq_rst_tail->dl_next. The corruption path can involve a freed request_sock being reused and a stale rskq_rst_tail later writing to freed memory.

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