Back to overview

CVE-2026-45258

Description
dsp_mmap_single() validated the requested mapping by checking the sum of the user-supplied offset and length against the buffer size. This addition could overflow, so that a large offset and length wrapped around and passed the check. The offset was then narrowed from 64 to 32 bits when converted to a buffer address, yielding a mapping that extended past the audio buffer into unrelated kernel memory. The /dev/dsp device nodes are world-accessible by default. On a system with an audio device, either issue allows an unprivileged local user to read and write kernel memory, which can be used to escalate privileges, potentially gaining full control of the affected system. At a minimum, an attacker can crash the kernel, resulting in a Denial of Service (DoS).

Metadata

CVE ID
CVE-2026-45258
State
PUBLISHED
Assigner
freebsd
Reserved
2026-05-11 16:27 UTC
Published
2026-06-27 08:50 UTC
Last updated
2026-06-27 08:50 UTC
Primary CWE
CWE-125
CWE-125 Out-of-bounds Read
Vendor / Product
FreeBSD / FreeBSD
Sources
cve.org  ·  NVD

Severity & Metrics

No CVSS data available.

Affected products (1)
VendorProductPlatformVersions
FreeBSD FreeBSD 15.0-RELEASE < p10, 14.4-RELEASE < p6, 14.3-RELEASE < p15
Weakness (CWE)
CWESourceDescription
CWE-125 cna CWE-125 Out-of-bounds Read
CWE-190 cna CWE-190 Integer Overflow or Wraparound
CWE-681 cna CWE-681 Incorrect Conversion between Numeric Types
CWE-787 cna CWE-787 Out-of-bounds Write
Back to overview