PT-2026-78319 · Freebsd · Freebsd
CVSS v3.1
7.8
High
| Vector | AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
Name of the Vulnerable Software and Affected Versions
The product name cannot be determined (affected versions not specified)
Description
The
GETALL and SETALL commands in the semctl() function contain a flaw in how they handle semaphore sets. The process records the number of semaphores, releases the protecting lock, allocates a buffer, and then reacquires the lock. While a sequence-number check is used to ensure the set was not replaced, this number wraps after 0x8000 create and destroy cycles. A local unprivileged user can rapidly destroy and recreate semaphore sets at the same index to cause this wrap, bypassing validation and triggering out-of-bounds reads and writes on kernel heap memory, which may lead to privilege escalation.Recommendations
At the moment, there is no information about a newer version that contains a fix for this vulnerability.
LPE
Memory Corruption
Out of bounds Read
Integer Underflow
Found an issue in the description? Have something to add? Feel free to write us 👾
Related Identifiers
Affected Products
Freebsd