Description

The RACK setsockopt(2) handler drops the connection lock in order to copy option data from userspace, then reacquires the lock. After reacquiring, it verifies that the TCP stack had not been switched away, but did not reload its pointer to the stack's per-connection control block. If userspace switches stacks twice during this window, the check will succeed but the saved pointer will refer to freed memory. The bug may be exploitable by an unprivileged local user to escalate privileges.

Weaknesses

  • CWE-416 — CWE-416: Use After Free

Affected products

VendorProductVersions
FreeBSDFreeBSD15.1-RELEASE to <p1; 15.0-RELEASE to <p11; 14.4-RELEASE to <p7; 14.3-RELEASE to <p16

References

Authoritative sources

This page is a snapshot. For the latest enrichment and updates, view the record on CVE.org or the NVD.

Generated from the official CVE List on 19 Aug 2026 07:05 UTC.