Use-after-free in TCP RACK stack option handler
Summary
| CVE | CVE-2026-49422 |
|---|---|
| State | PUBLISHED |
| Assigner | freebsd |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-08-19 06:17:41 UTC |
| Updated | 2026-08-19 06:17:41 UTC |
| 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. |
Risk And Classification
Problem Types: CWE-416 | CWE-416 CWE-416: Use After Free
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| CNA | FreeBSD | FreeBSD | affected 15.1-RELEASE p1 release | Not specified |
| CNA | FreeBSD | FreeBSD | affected 15.0-RELEASE p11 release | Not specified |
| CNA | FreeBSD | FreeBSD | affected 14.4-RELEASE p7 release | Not specified |
| CNA | FreeBSD | FreeBSD | affected 14.3-RELEASE p16 release | Not specified |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| security.freebsd.org/advisories/FreeBSD-SA-26:43.tcp.asc | [email protected] | security.freebsd.org | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
Vendor Comments And Credit
Discovery Credit
CNA: Maik Muench (en)
There are currently no legacy QID mappings associated with this CVE.