BaselineWatch
Desk

CVE-2026-58098

8.4 high SSVC exploitation: none Analyzed

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.

Fix

Patch, vendor advisory and mitigation references on NVD 1

Every line above is quoted from NVD, CISA, Microsoft, the vendor's own advisory or DISA; nothing is generated.

Change history 6

  1. Cpes+29 CPE criteria (now 29)NVD modified 2026-10-19 21:05
  2. StatusUndergoing Analysis → AnalyzedNVD modified 2026-10-19 21:05
  3. CVSS8.4 (v3.1, CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H)NVD modified 2026-10-16 15:17
  4. StatusAwaiting Analysis → Undergoing AnalysisNVD modified 2026-10-16 04:18
  5. StatusReceived → Awaiting AnalysisNVD modified 2026-10-15 16:17
  6. First seenunscoredNVD modified 2026-10-15 07:18

Affected (CPE criteria) 29

  • cpe:2.3:o:freebsd:freebsd:14.4:-:*:*:*:*:*:*
  • cpe:2.3:o:freebsd:freebsd:14.4:p1:*:*:*:*:*:*
  • cpe:2.3:o:freebsd:freebsd:14.4:p2:*:*:*:*:*:*
  • cpe:2.3:o:freebsd:freebsd:14.4:p3:*:*:*:*:*:*
  • cpe:2.3:o:freebsd:freebsd:14.4:p4:*:*:*:*:*:*
  • cpe:2.3:o:freebsd:freebsd:14.4:p5:*:*:*:*:*:*
  • cpe:2.3:o:freebsd:freebsd:14.4:p6:*:*:*:*:*:*
  • cpe:2.3:o:freebsd:freebsd:14.4:p7:*:*:*:*:*:*
  • cpe:2.3:o:freebsd:freebsd:14.4:p8:*:*:*:*:*:*
  • cpe:2.3:o:freebsd:freebsd:14.4:p9:*:*:*:*:*:*
  • cpe:2.3:o:freebsd:freebsd:14.5:-:*:*:*:*:*:*
  • cpe:2.3:o:freebsd:freebsd:15.0:-:*:*:*:*:*:*
  • cpe:2.3:o:freebsd:freebsd:15.0:p1:*:*:*:*:*:*
  • cpe:2.3:o:freebsd:freebsd:15.0:p10:*:*:*:*:*:*
  • cpe:2.3:o:freebsd:freebsd:15.0:p11:*:*:*:*:*:*
  • cpe:2.3:o:freebsd:freebsd:15.0:p12:*:*:*:*:*:*
  • cpe:2.3:o:freebsd:freebsd:15.0:p13:*:*:*:*:*:*
  • cpe:2.3:o:freebsd:freebsd:15.0:p2:*:*:*:*:*:*
  • cpe:2.3:o:freebsd:freebsd:15.0:p3:*:*:*:*:*:*
  • cpe:2.3:o:freebsd:freebsd:15.0:p4:*:*:*:*:*:*
  • cpe:2.3:o:freebsd:freebsd:15.0:p5:*:*:*:*:*:*
  • cpe:2.3:o:freebsd:freebsd:15.0:p6:*:*:*:*:*:*
  • cpe:2.3:o:freebsd:freebsd:15.0:p7:*:*:*:*:*:*
  • cpe:2.3:o:freebsd:freebsd:15.0:p8:*:*:*:*:*:*
  • cpe:2.3:o:freebsd:freebsd:15.0:p9:*:*:*:*:*:*
  • cpe:2.3:o:freebsd:freebsd:15.1:-:*:*:*:*:*:*
  • cpe:2.3:o:freebsd:freebsd:15.1:p1:*:*:*:*:*:*
  • cpe:2.3:o:freebsd:freebsd:15.1:p2:*:*:*:*:*:*
  • cpe:2.3:o:freebsd:freebsd:15.1:p3:*:*:*:*:*:*

References 1