A vulnerability in the Linux kernel ALSA control component was identified where the function snd_ctl_elem_init_enum_names() could call strnlen()… (CVE-2026-46088)
A vulnerability in the Linux kernel ALSA control component was identified where the function snd_ctl_elem_init_enum_names() could call strnlen() with a zero length buffer, triggering a kernel panic due to a fortified strnlen() check. This occurs when the buffer length reaches zero but the loop continues, causing a BRK exception panic. The issue was found through kernel fuzz testing on a Xiaomi smartphone and fixed by adding a buffer length check before calling strnlen().
AI Analysis
Technical Summary
The vulnerability in the Linux kernel ALSA control subsystem involves improper validation of the buffer length before calling strnlen() in the snd_ctl_elem_init_enum_names() function. When the buffer length (buf_len) reaches zero but the loop continues, strnlen() is called with a max length of zero. While strnlen() normally returns zero in this case, the fortified implementation with CONFIG_FORTIFY_SOURCE performs an additional check against the dynamic object size. If the compiler (Clang) loses track of the pointer's object size, this triggers a BRK exception panic, causing a denial of service. The fix adds a guard to prevent calling strnlen() on an exhausted buffer.
Potential Impact
The vulnerability results in a denial of service (kernel panic) due to a BRK exception triggered by calling fortified strnlen() with a zero max length on an exhausted buffer. There is no impact on confidentiality or integrity. No known exploits are reported in the wild.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. The vulnerability was fixed by adding a buffer length check before calling strnlen() in the Linux kernel ALSA control code. Users should monitor official Linux kernel updates and apply patches when available.
A vulnerability in the Linux kernel ALSA control component was identified where the function snd_ctl_elem_init_enum_names() could call strnlen()… (CVE-2026-46088)
Description
A vulnerability in the Linux kernel ALSA control component was identified where the function snd_ctl_elem_init_enum_names() could call strnlen() with a zero length buffer, triggering a kernel panic due to a fortified strnlen() check. This occurs when the buffer length reaches zero but the loop continues, causing a BRK exception panic. The issue was found through kernel fuzz testing on a Xiaomi smartphone and fixed by adding a buffer length check before calling strnlen().
CVSS v3.1
Score 5.5medium
Affected software
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability in the Linux kernel ALSA control subsystem involves improper validation of the buffer length before calling strnlen() in the snd_ctl_elem_init_enum_names() function. When the buffer length (buf_len) reaches zero but the loop continues, strnlen() is called with a max length of zero. While strnlen() normally returns zero in this case, the fortified implementation with CONFIG_FORTIFY_SOURCE performs an additional check against the dynamic object size. If the compiler (Clang) loses track of the pointer's object size, this triggers a BRK exception panic, causing a denial of service. The fix adds a guard to prevent calling strnlen() on an exhausted buffer.
Potential Impact
The vulnerability results in a denial of service (kernel panic) due to a BRK exception triggered by calling fortified strnlen() with a zero max length on an exhausted buffer. There is no impact on confidentiality or integrity. No known exploits are reported in the wild.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. The vulnerability was fixed by adding a buffer length check before calling strnlen() in the Linux kernel ALSA control code. Users should monitor official Linux kernel updates and apply patches when available.
Technical Details
- Gcve Source
- db.gcve.eu
- Csaf Category
- csaf_vex
- Csaf Version
- 2.0
- Publisher
- Microsoft Security Response Center
- Advisory Id
- msrc_CVE-2026-46088
- Cve Count
- 1
- Additional Cves
- []
- Cvss Version
- 3.1
Threat ID: 6a18ab90e29bf47b5028965d
Added to database: 05/28/2026, 20:54:40 UTC
Last enriched: 06/26/2026, 23:38:23 UTC
Last updated: 07/31/2026, 19:22:59 UTC
Views: 52
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.