{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-89736","id":"CVE-2026-89736","title":"usb: gadget: u_audio: Fix use-after-free on sound card disconnect","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nusb: gadget: u_audio: Fix use-after-free on sound card disconnect\n\ng_audio_cleanup() invokes snd_card_free_when_closed() to initiate sound\ncard teardown and immediately frees the underlying struct snd_uac_chip\ncontext. However, snd_card_free_when_closed() returns asynchronously\nwhile ALSA control elements (kctls) remain open in u","descriptionLong":"In the Linux kernel, the following vulnerability has been resolved:\n\nusb: gadget: u_audio: Fix use-after-free on sound card disconnect\n\ng_audio_cleanup() invokes snd_card_free_when_closed() to initiate sound\ncard teardown and immediately frees the underlying struct snd_uac_chip\ncontext. However, snd_card_free_when_closed() returns asynchronously\nwhile ALSA control elements (kctls) remain open in userspace.\n\nWhen userspace control applications access or close these open file\ndescriptors, kctl callbacks attempt to dereference kctl->private_data\npointing to &uac->c_prm or &uac->p_prm within the freed uac structure,\nresulting in a use-after-free (UAF) memory corruption.\n\nFix this issue by deferring the destruction of struct snd_uac_chip until\nall references to the ALSA sound card are released. Register a custom\ncard->private_free callback (u_audio_card_free) during g_audio_setup()\nthat frees uac and its associated playback/capture request and ring\nbuffers only when the sound card reference count drops to zero.","published":"2026-09-11T19:46:44.608Z","updated":"2026-11-18T19:57:30.548907070Z","reserved":"2026-09-11T19:38:34.761Z","status":"Received","rejected":false,"assigner":"Linux","metric":{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"Linux"},"metrics":[{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"Linux"},{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"OSV"}],"rating":"high","products":["Linux"],"affectedProducts":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"33f341c1fc60e172a3515c51bdabee11e83d1ee9","lessThan":"a7ecd1a04f4f485d7be6443d0f0b2c61a800cb82","status":"affected","versionType":"git"},{"version":"b131989797f7287d7fdadb2bababc05a15d44750","lessThan":"f983793f03148b097977f200298db215cd2d4438","status":"affected","versionType":"git"},{"version":"3bc7324e4911351e39c54a62e6ca46321cb10faf","lessThan":"6f46762196f04464e1050a9ee94e72b917db9010","status":"affected","versionType":"git"},{"version":"6c67ed9ad9b83e453e808f9b31a931a20a25629b","lessThan":"891a8d11f4d5eb50b2ce7570f4f98204a7a57493","status":"affected","versionType":"git"},{"version":"6c67ed9ad9b83e453e808f9b31a931a20a25629b","lessThan":"c74ff0b1a0fca53d3ac185873c87d6a719b30a47","status":"affected","versionType":"git"},{"version":"6c67ed9ad9b83e453e808f9b31a931a20a25629b","lessThan":"4e747c864a88537e18b1ffc19a1954c9686bb8e1","status":"affected","versionType":"git"},{"version":"6c67ed9ad9b83e453e808f9b31a931a20a25629b","lessThan":"79a92896e2bb9471550c56fc23d8d93592f04c27","status":"affected","versionType":"git"},{"version":"6c67ed9ad9b83e453e808f9b31a931a20a25629b","lessThan":"858965947081d10d41d9a1010a540d3d5eea958b","status":"affected","versionType":"git"},{"version":"3e016ef2e72da93a2ea7afbb45de1b481b44d761","status":"affected","versionType":"git"},{"version":"3256e152b645fc1e788ba44c2d8ced690113e3e6","status":"affected","versionType":"git"},{"version":"0eda2004f38d95ef5715d62be884cd344260535b","status":"affected","versionType":"git"},{"version":"43ca70753dfffd517d2af126da28690f8f615605","status":"affected","versionType":"git"},{"version":"5.10.177","lessThan":"5.10.270","status":"affected","versionType":"semver"},{"version":"5.15.105","lessThan":"5.15.221","status":"affected","versionType":"semver"},{"version":"6.1.22","lessThan":"6.1.188","status":"affected","versionType":"semver"},{"version":"4.14.312","lessThan":"4.15","status":"affected","versionType":"semver"},{"version":"4.19.280","lessThan":"4.20","status":"affected","versionType":"semver"},{"version":"5.4.240","lessThan":"5.5","status":"affected","versionType":"semver"},{"version":"6.2.9","lessThan":"6.3","status":"affected","versionType":"semver"}],"platforms":[]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.3","status":"affected"},{"version":"0","lessThan":"6.3","status":"unaffected","versionType":"semver"},{"version":"5.10.270","lessThanOrEqual":"5.10.*","status":"unaffected","versionType":"semver"},{"version":"5.15.221","lessThanOrEqual":"5.15.*","status":"unaffected","versionType":"semver"},{"version":"6.1.188","lessThanOrEqual":"6.1.*","status":"unaffected","versionType":"semver"},{"version":"6.6.157","lessThanOrEqual":"6.6.*","status":"unaffected","versionType":"semver"},{"version":"6.12.109","lessThanOrEqual":"6.12.*","status":"unaffected","versionType":"semver"},{"version":"6.18.50","lessThanOrEqual":"6.18.*","status":"unaffected","versionType":"semver"},{"version":"7.2.4","lessThanOrEqual":"7.2.*","status":"unaffected","versionType":"semver"},{"version":"7.3","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}],"platforms":[]}],"packages":[],"cwes":[],"aliases":[],"references":[{"url":"https://git.kernel.org/stable/c/a7ecd1a04f4f485d7be6443d0f0b2c61a800cb82","tags":["web"]},{"url":"https://git.kernel.org/stable/c/f983793f03148b097977f200298db215cd2d4438","tags":["web"]},{"url":"https://git.kernel.org/stable/c/6f46762196f04464e1050a9ee94e72b917db9010","tags":["web"]},{"url":"https://git.kernel.org/stable/c/891a8d11f4d5eb50b2ce7570f4f98204a7a57493","tags":["web"]},{"url":"https://git.kernel.org/stable/c/c74ff0b1a0fca53d3ac185873c87d6a719b30a47","tags":["web"]},{"url":"https://git.kernel.org/stable/c/4e747c864a88537e18b1ffc19a1954c9686bb8e1","tags":["web"]},{"url":"https://git.kernel.org/stable/c/79a92896e2bb9471550c56fc23d8d93592f04c27","tags":["web"]},{"url":"https://git.kernel.org/stable/c/858965947081d10d41d9a1010a540d3d5eea958b","tags":["web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/89xxx/CVE-2026-89736.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-89736","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.00126,"epssPercentile":0.02345,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-89736","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-89736","ok":true,"note":"Received"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-89736","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-2026-89736","ok":true,"note":"scored 2026-11-18"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}