{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2025-40275","id":"CVE-2025-40275","title":"ALSA: usb-audio: Fix NULL pointer dereference in snd_usb_mixer_controls_badd","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nALSA: usb-audio: Fix NULL pointer dereference in snd_usb_mixer_controls_badd\n\nIn snd_usb_create_streams(), for UAC version 3 devices, the Interface\nAssociation Descriptor (IAD) is retrieved via usb_ifnum_to_if(). If this\ncall fails, a fallback routine attempts to obtain the IAD from the next\ninterface and sets a BADD profile. How","descriptionLong":"In the Linux kernel, the following vulnerability has been resolved:\n\nALSA: usb-audio: Fix NULL pointer dereference in snd_usb_mixer_controls_badd\n\nIn snd_usb_create_streams(), for UAC version 3 devices, the Interface\nAssociation Descriptor (IAD) is retrieved via usb_ifnum_to_if(). If this\ncall fails, a fallback routine attempts to obtain the IAD from the next\ninterface and sets a BADD profile. However, snd_usb_mixer_controls_badd()\nassumes that the IAD retrieved from usb_ifnum_to_if() is always valid,\nwithout performing a NULL check. This can lead to a NULL pointer\ndereference when usb_ifnum_to_if() fails to find the interface descriptor.\n\nThis patch adds a NULL pointer check after calling usb_ifnum_to_if() in\nsnd_usb_mixer_controls_badd() to prevent the dereference.\n\nThis issue was discovered by syzkaller, which triggered the bug by sending\na crafted USB device descriptor.","published":"2025-12-06T21:50:57.914Z","updated":"2026-10-28T02:30:34.873147133Z","reserved":"2025-04-16T07:20:57.184Z","status":"Deferred","rejected":false,"assigner":"Linux","metric":null,"metrics":[],"rating":"unrated","products":["Linux"],"affectedProducts":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"17156f23e93c0f59e06dd2aaffd06221341caaee","lessThan":"23aea9c74aeea2625aaf4fbcc6beb9d09e30f9e4","status":"affected","versionType":"git"},{"version":"17156f23e93c0f59e06dd2aaffd06221341caaee","lessThan":"c5c08965ab96b16361e69a1e2a0e89dbcb99b5a6","status":"affected","versionType":"git"},{"version":"17156f23e93c0f59e06dd2aaffd06221341caaee","lessThan":"9f282104627be5fbded3102ff9004f753c55a063","status":"affected","versionType":"git"},{"version":"17156f23e93c0f59e06dd2aaffd06221341caaee","lessThan":"2762d3ea9c929ca4094541ca517c317ffa94625b","status":"affected","versionType":"git"},{"version":"17156f23e93c0f59e06dd2aaffd06221341caaee","lessThan":"57f607c112966c21240c424b33e2cb71e121dcf0","status":"affected","versionType":"git"},{"version":"17156f23e93c0f59e06dd2aaffd06221341caaee","lessThan":"cbdbfc756f2990942138ed0138da9303b4dbf9ff","status":"affected","versionType":"git"},{"version":"17156f23e93c0f59e06dd2aaffd06221341caaee","lessThan":"85568535893600024d7d8794f4f8b6428b521e0c","status":"affected","versionType":"git"},{"version":"17156f23e93c0f59e06dd2aaffd06221341caaee","lessThan":"632108ec072ad64c8c83db6e16a7efee29ebfb74","status":"affected","versionType":"git"}],"platforms":[]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"4.18","status":"affected"},{"version":"0","lessThan":"4.18","status":"unaffected","versionType":"semver"},{"version":"5.4.302","lessThanOrEqual":"5.4.*","status":"unaffected","versionType":"semver"},{"version":"5.10.247","lessThanOrEqual":"5.10.*","status":"unaffected","versionType":"semver"},{"version":"5.15.197","lessThanOrEqual":"5.15.*","status":"unaffected","versionType":"semver"},{"version":"6.1.159","lessThanOrEqual":"6.1.*","status":"unaffected","versionType":"semver"},{"version":"6.6.117","lessThanOrEqual":"6.6.*","status":"unaffected","versionType":"semver"},{"version":"6.12.59","lessThanOrEqual":"6.12.*","status":"unaffected","versionType":"semver"},{"version":"6.17.9","lessThanOrEqual":"6.17.*","status":"unaffected","versionType":"semver"},{"version":"6.18","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}],"platforms":[]}],"packages":[],"cwes":[],"aliases":[],"references":[{"url":"https://git.kernel.org/stable/c/23aea9c74aeea2625aaf4fbcc6beb9d09e30f9e4","tags":["web"]},{"url":"https://git.kernel.org/stable/c/c5c08965ab96b16361e69a1e2a0e89dbcb99b5a6","tags":["web"]},{"url":"https://git.kernel.org/stable/c/9f282104627be5fbded3102ff9004f753c55a063","tags":["web"]},{"url":"https://git.kernel.org/stable/c/2762d3ea9c929ca4094541ca517c317ffa94625b","tags":["web"]},{"url":"https://git.kernel.org/stable/c/57f607c112966c21240c424b33e2cb71e121dcf0","tags":["web"]},{"url":"https://git.kernel.org/stable/c/cbdbfc756f2990942138ed0138da9303b4dbf9ff","tags":["web"]},{"url":"https://git.kernel.org/stable/c/85568535893600024d7d8794f4f8b6428b521e0c","tags":["web"]},{"url":"https://git.kernel.org/stable/c/632108ec072ad64c8c83db6e16a7efee29ebfb74","tags":["web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/40xxx/CVE-2025-40275.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-40275","tags":["advisory"]},{"url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","tags":["package"]}],"patchReferenced":false,"fixAvailable":false,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.0021,"epssPercentile":0.11252,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2025-40275","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-40275","ok":true,"note":"Deferred"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2025-40275","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2025-40275","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}