AZL-115693: CVE-2026-99774 affecting package kernel 6.6.161.1-1
In the Linux kernel, the following vulnerability has been resolved:
xfrm: espintcp: reorder operations within espintcpinitsk
When enabled on a socket, espintcp sets the socket callbacks to its own before it has finished setting up its context and published it as icskulpdata. Any one of those callbacks that gets called before will dereference a NULL icskulpdata.
Fix this by reording the operations, and add memory barriers to ensure callers will have a struct espintcpctx available. Add a few WRITEONCE/READONCE too while we're there.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Compensating control
In xfrm: espintcp: espintcp_init_sk, reorder setup so the espintcp context is initialized and published in icsk_ulp_data before setting the socket callbacks, and add memory barriers to ensure callbacks see the context.