{"id":"CVE-2026-46088","aliases":["CVE-2026-46088"],"related":[],"kind":"vulnerability","state":"published","title":"ALSA: control: Validate buf_len before strnlen() in snd_ctl_elem_init_enum_names()","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nALSA: control: Validate buf_len before strnlen() in snd_ctl_elem_init_enum_names()\n\nsnd_ctl_elem_init_enum_names() advances pointer p through the names\nbuffer while decrementing buf_len. If buf_len reaches zero but items\nremain, the next iteration calls strnlen(p, 0).\n\nWhile strnlen(p, 0) returns 0 and would hit the existing name_len == 0\nerror path, CONFIG_FORTIFY_SOURCE's fortified strnlen() first checks\nmaxlen against __builtin_dynamic_object_size(). When Clang loses track\nof p's object size inside the loop, this triggers a BRK exception panic\nbefore the return value is examined.\n\nAdd a buf_len == 0 guard at the loop entry to prevent calling fortified\nstrnlen() on an exhausted buffer.\n\nFound by kernel fuzz testing through Xiaomi Smartphone.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nALSA: control: Validate buf_len before strnlen() in snd_ctl_elem_init_enum_names()\n\nsnd_ctl_elem_init_enum_names() advances pointer p through the names\nbuffer while decrementing buf_len. If buf_len reaches zero but items\nremain, the next iteration calls strnlen(p, 0).\n\nWhile strnlen(p, 0) returns 0 and would hit the existing name_len == 0\nerror path, CONFIG_FORTIFY_SOURCE's fortified strnlen() first checks\nmaxlen against __builtin_dynamic_object_size(). When Clang loses track\nof p's object size inside the loop, this triggers a BRK exception panic\nbefore the return value is examined.\n\nAdd a buf_len == 0 guard at the loop entry to prevent calling fortified\nstrnlen() on an exhausted buffer.\n\nFound by kernel fuzz testing through Xiaomi Smartphone.","source":"cvelist"}],"published":"2026-05-27T12:58:31.895Z","modified":"2026-11-06T17:17:36.597Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"}],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"8d448162bda5ae3b5ecb26fe50c8fbbeae99faa4","fixed":"708f6ec9bcdf58bfd561409110baaf4fd3be4ea3","status":"affected"},{"type":"git","introduced":"8d448162bda5ae3b5ecb26fe50c8fbbeae99faa4","fixed":"bfcbb4994da9e979c4bcfcf24aaaac69e457e48e","status":"affected"},{"type":"git","introduced":"8d448162bda5ae3b5ecb26fe50c8fbbeae99faa4","fixed":"a470f7cabc4df72d9bd132f5719a8717292bb440","status":"affected"},{"type":"git","introduced":"8d448162bda5ae3b5ecb26fe50c8fbbeae99faa4","fixed":"1fbe46d2b72754d8bd580e13e59ccb5d3d0e8cb0","status":"affected"},{"type":"git","introduced":"8d448162bda5ae3b5ecb26fe50c8fbbeae99faa4","fixed":"8ba0214c3dd32b8ec652947e3f2bc5b8f6e6be9e","status":"affected"},{"type":"git","introduced":"8d448162bda5ae3b5ecb26fe50c8fbbeae99faa4","fixed":"654c818a69c21d2bea4e8fd9eae7da865df9a5c8","status":"affected"},{"type":"git","introduced":"8d448162bda5ae3b5ecb26fe50c8fbbeae99faa4","fixed":"82012fd3e78a14360fbc2f1a7491589896704f97","status":"affected"},{"type":"git","introduced":"8d448162bda5ae3b5ecb26fe50c8fbbeae99faa4","fixed":"e0da8a8cac74f4b9f577979d131f0d2b88a84487","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"3.2","status":"affected"},{"type":"semver","introduced":"0","fixed":"3.2","status":"unaffected"},{"type":"semver","introduced":"5.10.258","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.209","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.175","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.140","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.86","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.27","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.0.4","lastAffected":"7.0.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.1","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"3.2","fixed":"5.10.258"},{"status":"affected","introduced":"5.11","fixed":"5.15.209"},{"status":"affected","introduced":"5.16","fixed":"6.1.175"},{"status":"affected","introduced":"6.2","fixed":"6.6.140"},{"status":"affected","introduced":"6.7","fixed":"6.12.86"},{"status":"affected","introduced":"6.13","fixed":"6.18.27"},{"status":"affected","introduced":"6.19","fixed":"7.0.4"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/708f6ec9bcdf58bfd561409110baaf4fd3be4ea3","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/bfcbb4994da9e979c4bcfcf24aaaac69e457e48e","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/a470f7cabc4df72d9bd132f5719a8717292bb440","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/1fbe46d2b72754d8bd580e13e59ccb5d3d0e8cb0","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/8ba0214c3dd32b8ec652947e3f2bc5b8f6e6be9e","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/654c818a69c21d2bea4e8fd9eae7da865df9a5c8","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/82012fd3e78a14360fbc2f1a7491589896704f97","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/e0da8a8cac74f4b9f577979d131f0d2b88a84487","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-784472.html","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-11-06T16:08:00.542Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-46088","url":"https://www.cve.org/CVERecord?id=CVE-2026-46088","licence":"CVE Terms of Use","modified":"2026-11-06T16:13:37.029Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-46088","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-46088","licence":"Public domain","modified":"2026-11-06T17:17:36.597Z"}],"updatedAt":"2026-11-25T22:59:22.576Z","epss":{"score":0.00126,"percentile":0.02449,"date":"2026-12-01T12:00:22.000Z"}}