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.
CVE-2026-49422
CVSS base score
8.4 (v3.1)
Severity
HIGH
Attack vector
Local
Weakness
CWE-416
Last modified
November 9, 2026
CVSS vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Affected products
freebsd freebsd
References
- security.freebsd.org Vendor Advisory