VDB

CVE-2026-46088

CVE-2026-46088 PUBLISHED

ALSA: control: Validate buf_len before strnlen() in snd_ctl_elem_init_enum_names()

Reported by linux · Published May 27, 2026

In the Linux kernel, the following vulnerability has been resolved: ALSA: control: Validate buf_len before strnlen() in snd_ctl_elem_init_enum_names() snd_ctl_elem_init_enum_names() advances pointer p through the names buffer while decrementing buf_len. If buf_len reaches zero but items remain, the next iteration calls strnlen(p, 0). While strnlen(p, 0) returns 0 and would hit the existing name_len == 0 error path, CONFIG_FORTIFY_SOURCE's fortified strnlen() first checks maxlen against __builtin_dynamic_object_size(). When Clang loses track of p's object size inside the loop, this triggers a BRK exception panic before the return value is examined. Add a buf_len == 0 guard at the loop entry to prevent calling fortified strnlen() on an exhausted buffer. Found by kernel fuzz testing through Xiaomi Smartphone.

Affected products

VendorProductVersions
LinuxLinux8d448162bda5ae3b5ecb26fe50c8fbbeae99faa4, 8d448162bda5ae3b5ecb26fe50c8fbbeae99faa4, 8d448162bda5ae3b5ecb26fe50c8fbbeae99faa4
LinuxLinux3.2, 0, 5.10.258
linuxlinux_kernel3.2, 3.2, 3.2
SiemensSIMATIC S7-1500 TM MFP - GNU/Linux subsystem0
LinuxLinux3.2, 0, 5.10.258

Timeline

  • May 27, 2026 CVE Published
  • May 28, 2026 EPSS Score (14 in total, the first dated here)
  • May 29, 2026 Security Advisory (131 in total, the first dated here)
  • Jun 4, 2026 Coalition ESS Score
  • Aug 11, 2026 Distribution Patch (128 in total, the first dated here)

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2026-46088
vulnetix vdb fixes CVE-2026-46088

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-46088/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›