← Back

CVE-2026-58098

nvd nist
Published: Oct 15, 2026Modified: Oct 19, 2026

JSON object

Loading...
8.4
Vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Exploitability: 2.5 / Impact: 5.9
Source: 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary)

Description

When semop(2) blocks waiting for a semaphore condition, it releases the per-set lock and sleeps. Upon waking, it checks the sequence number embedded in the semaphore set's IPC identifier to detect whether the set was removed while the caller was asleep. This sequence number is only 15 bits wide. If enough semaphore sets are created and destroyed in the same table slot while a caller is blocked, the counter wraps around, and semop(2) may falsely conclude that the original set still exists. The subsequent access to a semaphore within the set may then be out of bounds. An unprivileged local user can trigger an out-of-bounds access on kernel heap memory, potentially leading to privilege escalation.

Affected (29)

Products: Freebsd: Freebsd
1 product
Freebsd
Configuration A
29 vulnerable
Vulnerable SoftwareAffected Versions
Freebsd
Version 14.4
Version 14.4 p1
Version 14.4 p2
Version 14.4 p3
Version 14.4 p4
Version 14.4 p5
Version 14.4 p6
Version 14.4 p7
Version 14.4 p8
Version 14.4 p9
Version 14.5
Version 15.0
Version 15.0 p10
Version 15.0 p11
Version 15.0 p12
Version 15.0 p13
Version 15.0 p1
Version 15.0 p2
Version 15.0 p3
Version 15.0 p4
Version 15.0 p5
Version 15.0 p6
Version 15.0 p7
Version 15.0 p8
Version 15.0 p9
Version 15.1
Version 15.1 p1
Version 15.1 p2
Version 15.1 p3

References (1)

Timeline

No history available yet.