CVE-2026-58098: Heap out-of-bounds access in semop(2)

Published Oct 15, 2026
·
Updated

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 Software

1 affected component
Linux Linux kernel

Event History

Oct 15, 2026
CVE Published
via MITRE·06:15 AM
Data Sourced
via MITRE·06:15 AM
DescriptionWeakness

Frequently Asked Questions

1

Who is exposed to this issue?

Systems running the Linux kernel where unprivileged local users can invoke semop(2) are exposed. The described impact is a kernel heap out-of-bounds access that could potentially allow local privilege escalation.

2

What does an attacker need to do to trigger the flaw?

An attacker needs to cause semop(2) to block on a semaphore condition, then create and destroy enough semaphore sets in the same table slot for the 15-bit sequence number to wrap before the blocked call wakes. This requires local unprivileged access.

3

How can administrators determine whether an exploitation attempt may be occurring?

The available information does not provide a specific log entry, kernel warning, or reliable indicator of attempted exploitation. Investigation would need to focus on suspicious local activity involving repeated creation and deletion of System V semaphore sets while semop(2) calls are blocked.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203