Local privilege escalation via execve(2) TOCTOU race
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in p16, p7, p11 and 1 more.
During execve(2) of a SUID binary, the new virtual address space is installed before the process credentials are updated. During this window, a process running as the same user can access the target process's memory via procfs or linprocfs, because the kernel's debugging permission check still saw the original credentials. An unprivileged local user can exploit this race to modify the address space of a SUID binary before its credentials are elevated, potentially gaining full control of the affected system.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| FreeBSD | freebsd | =14.3, =14.4, =15.0, =15.1 | |
| FreeBSD | >=14.3-RELEASE <p16, >=14.4-RELEASE <p7, >=15.0-RELEASE <p11, >=15.1-RELEASE <p1 | p16, p7, p11, p1 |
Timeline
Every event on this vulnerability
Embed
A live severity badge for an advisory, README or ticket