CVE-2026-58091

Kernel use-after-free via the SNDCTL_DSP_SYNCSTART ioctl

Published Aug 26, 2026 CVSS 3.1 · 7.8 High EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical 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 the EPSS score indicates a very low but non‑zero probability of exploitation (0.00162). The inherent severity of a local privilege escalation still makes the risk high. Until patched, a system operator should treat this threat as critical.

Remediation

No solution or workaround provided in the CVE record.

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 18:42 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
CPEs 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: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:p1:*:*:*:*:*:*
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:p1:*:*:*:*:*:*
cpe:2.3:o:freebsd:freebsd:15.1:p2:*:*:*:*:*:*
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
Metrics cvssV3_1

{'score': 7.8, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H'}

Type Values Removed Values Added
First Time appeared Freebsd
Freebsd freebsd
Vendors & Products Freebsd
Freebsd freebsd
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
Weaknesses

Sources

Status
PUBLISHED
Assigner
freebsd
Published
Updated
Aug 27, 2026, 3:57 AM
Reserved
Jun 29, 2026, 1:40 AM
Status
Analyzed
Published
Aug 26, 2026, 5:18 AM
Modified
Sep 24, 2026, 1:55 PM