Description
The implementation of this ioctl attempts to acquire locks on all channels in a sync group. If locking a channel would block, it releases the sync group list lock and sleeps. Upon reawakening, it is possible that the sync group structure is freed, but the implementation did not handle this possibility.

On a system with a multiple audio devices, an unprivileged local user can exploit this use-after-free to escalate privileges.
Published: 2026-08-26
Score: n/a
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The bug is a use‑after‑free triggered by the SNDCTL_DSP_SYNCSTART ioctl in the FreeBSD kernel. The ioctl tries to lock all channels in a sync group and will sleep if a lock would block; when it wakes, the sync group structure may have been freed and the code does not protect against this condition. This flaw allows an unprivileged local user to corrupt kernel memory and gain root privileges, a classic CWE‑416 vulnerability.

Affected Systems

The vulnerability exists in the FreeBSD kernel for systems that use the sound subsystem and have multiple audio devices. No specific release or version numbers are listed in the advisory, so all kernel releases that contain this ioctl are potentially affected.

Risk and Exploitability

The flaw is exploitable by any local user who can open the audio device and issue the SNDCTL_DSP_SYNCSTART ioctl. Because the attack is local and does not require elevated privileges beforehand, it provides a straightforward privilege escalation path. The vulnerability is not listed in KEV and no EPSS score is available, but the inherent severity of a local privilege escalation makes the risk high. Until patched, a system operator should treat this threat as critical.

Generated by OpenCVE AI on August 26, 2026 at 06:24 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade the FreeBSD kernel to a release that includes the patch for CVE-2026-58091
  • Disable or remove the audio subsystem (or the SNDCTL_DSP_SYNCSTART ioctl) if the sound device is not needed for the environment
  • Restrict local users from accessing the sound device by adjusting group membership or device permissions

Generated by OpenCVE AI on August 26, 2026 at 06:24 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Wed, 26 Aug 2026 05:00:00 +0000

Type Values Removed Values Added
Description The implementation of this ioctl attempts to acquire locks on all channels in a sync group. If locking a channel would block, it releases the sync group list lock and sleeps. Upon reawakening, it is possible that the sync group structure is freed, but the implementation did not handle this possibility. On a system with a multiple audio devices, an unprivileged local user can exploit this use-after-free to escalate privileges.
Title Kernel use-after-free via the SNDCTL_DSP_SYNCSTART ioctl
Weaknesses CWE-416
References

Subscriptions

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: freebsd

Published:

Updated: 2026-08-26T04:38:19.487Z

Reserved: 2026-06-29T01:40:17.498Z

Link: CVE-2026-58091

cve-icon Vulnrichment

No data.

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-26T06:30:16Z

Weaknesses