CVE-2026-46088

NameCVE-2026-46088
DescriptionIn 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.
SourceCVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
ReferencesDLA-4664-1, DLA-4665-1, DLA-4671-1

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
linux (PTS)bullseye5.10.223-1vulnerable
bullseye (security)5.10.259-1fixed
bookworm6.1.170-3vulnerable
bookworm (security)6.1.176-1fixed
trixie6.12.86-1fixed
trixie (security)6.12.95-1fixed
forky7.0.13-1fixed
sid7.1.3-1fixed
linux-6.1 (PTS)bullseye (security)6.1.176-1~deb11u1fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
linuxsourcebullseye5.10.259-1DLA-4664-1
linuxsourcebookworm6.1.176-1DLA-4665-1
linuxsourcetrixie6.12.86-1
linuxsource(unstable)7.0.4-1
linux-6.1sourcebullseye6.1.176-1~deb11u1DLA-4671-1

Notes

https://git.kernel.org/linus/e0da8a8cac74f4b9f577979d131f0d2b88a84487 (7.1-rc1)

Search for package or bug name: Reporting problems