{"id":"CVE-2025-38105","state":"PUBLISHED","title":"ALSA: usb-audio: Kill timer properly at removal","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nALSA: usb-audio: Kill timer properly at removal\n\nThe USB-audio MIDI code initializes the timer, but in a rare case, the\ndriver might be freed without the disconnect call.  This leaves the\ntimer in an active state while the assigned object is released via\nsnd_usbmidi_free(), which ends up with a kernel warning when the debug\nconfiguration is enabled, as spotted by fuzzer.\n\nFor avoiding the problem, put timer_shutdown_sync() at\nsnd_usbmidi_free(), so that the timer can be killed properly.\nWhile we're at it, replace the existing timer_delete_sync() at the\ndisconnect callback with timer_shutdown_sync(), too.","publishedAt":"2025-07-03T08:35:15.301Z","updatedAt":"2026-10-15T01:06:33.295Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"c88469704d63787e8d44ca5ea1c1bd0adc29572d","status":"affected","lessThan":"06513dd6d32c37d0364db8488cfdf3e14da238a8","versionType":"git"},{"version":"c88469704d63787e8d44ca5ea1c1bd0adc29572d","status":"affected","lessThan":"efaf61052b8ff9ee8968912fbaf02c2847c78ede","versionType":"git"},{"version":"c88469704d63787e8d44ca5ea1c1bd0adc29572d","status":"affected","lessThan":"647410a7da46067953a53c0d03f8680eff570959","versionType":"git"},{"version":"c88469704d63787e8d44ca5ea1c1bd0adc29572d","status":"affected","lessThan":"c611b9e55174e439dcd85a72969b43a95f3827a4","versionType":"git"},{"version":"c88469704d63787e8d44ca5ea1c1bd0adc29572d","status":"affected","lessThan":"62066758d2ae169278e5d6aea5995b1b6f6ddeb5","versionType":"git"},{"version":"c88469704d63787e8d44ca5ea1c1bd0adc29572d","status":"affected","lessThan":"0718a78f6a9f04b88d0dc9616cc216b31c5f3cf1","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["sound/usb/midi.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"2.6.14","status":"affected"},{"version":"0","status":"unaffected","lessThan":"2.6.14","versionType":"semver"},{"version":"5.15.209","status":"unaffected","lessThanOrEqual":"5.15.*","versionType":"semver"},{"version":"6.1.167","status":"unaffected","lessThanOrEqual":"6.1.*","versionType":"semver"},{"version":"6.6.111","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.12.52","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.15.3","status":"unaffected","lessThanOrEqual":"6.15.*","versionType":"semver"},{"version":"6.16","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["sound/usb/midi.c"]}],"references":["https://git.kernel.org/stable/c/06513dd6d32c37d0364db8488cfdf3e14da238a8","https://git.kernel.org/stable/c/efaf61052b8ff9ee8968912fbaf02c2847c78ede","https://git.kernel.org/stable/c/647410a7da46067953a53c0d03f8680eff570959","https://git.kernel.org/stable/c/c611b9e55174e439dcd85a72969b43a95f3827a4","https://git.kernel.org/stable/c/62066758d2ae169278e5d6aea5995b1b6f6ddeb5","https://git.kernel.org/stable/c/0718a78f6a9f04b88d0dc9616cc216b31c5f3cf1","https://cert-portal.siemens.com/productcert/html/ssa-784472.html"],"weaknesses":[],"ingestedAt":"2026-10-29T20:09:09.358Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2025/38xxx/CVE-2025-38105.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2025-38105","state":"PUBLISHED","datePublished":"2025-07-03T08:35:15.301Z","dateUpdated":"2026-10-15T01:06:33.295Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2025-04-16T04:51:23.985Z"},"containers":{"cna":{"title":"ALSA: usb-audio: Kill timer properly at removal","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nALSA: usb-audio: Kill timer properly at removal\n\nThe USB-audio MIDI code initializes the timer, but in a rare case, the\ndriver might be freed without the disconnect call.  This leaves the\ntimer in an active state while the assigned object is released via\nsnd_usbmidi_free(), which ends up with a kernel warning when the debug\nconfiguration is enabled, as spotted by fuzzer.\n\nFor avoiding the problem, put timer_shutdown_sync() at\nsnd_usbmidi_free(), so that the timer can be killed properly.\nWhile we're at it, replace the existing timer_delete_sync() at the\ndisconnect callback with timer_shutdown_sync(), too."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"c88469704d63787e8d44ca5ea1c1bd0adc29572d","status":"affected","lessThan":"06513dd6d32c37d0364db8488cfdf3e14da238a8","versionType":"git"},{"version":"c88469704d63787e8d44ca5ea1c1bd0adc29572d","status":"affected","lessThan":"efaf61052b8ff9ee8968912fbaf02c2847c78ede","versionType":"git"},{"version":"c88469704d63787e8d44ca5ea1c1bd0adc29572d","status":"affected","lessThan":"647410a7da46067953a53c0d03f8680eff570959","versionType":"git"},{"version":"c88469704d63787e8d44ca5ea1c1bd0adc29572d","status":"affected","lessThan":"c611b9e55174e439dcd85a72969b43a95f3827a4","versionType":"git"},{"version":"c88469704d63787e8d44ca5ea1c1bd0adc29572d","status":"affected","lessThan":"62066758d2ae169278e5d6aea5995b1b6f6ddeb5","versionType":"git"},{"version":"c88469704d63787e8d44ca5ea1c1bd0adc29572d","status":"affected","lessThan":"0718a78f6a9f04b88d0dc9616cc216b31c5f3cf1","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["sound/usb/midi.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"2.6.14","status":"affected"},{"version":"0","status":"unaffected","lessThan":"2.6.14","versionType":"semver"},{"version":"5.15.209","status":"unaffected","lessThanOrEqual":"5.15.*","versionType":"semver"},{"version":"6.1.167","status":"unaffected","lessThanOrEqual":"6.1.*","versionType":"semver"},{"version":"6.6.111","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.12.52","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.15.3","status":"unaffected","lessThanOrEqual":"6.15.*","versionType":"semver"},{"version":"6.16","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["sound/usb/midi.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/06513dd6d32c37d0364db8488cfdf3e14da238a8"},{"url":"https://git.kernel.org/stable/c/efaf61052b8ff9ee8968912fbaf02c2847c78ede"},{"url":"https://git.kernel.org/stable/c/647410a7da46067953a53c0d03f8680eff570959"},{"url":"https://git.kernel.org/stable/c/c611b9e55174e439dcd85a72969b43a95f3827a4"},{"url":"https://git.kernel.org/stable/c/62066758d2ae169278e5d6aea5995b1b6f6ddeb5"},{"url":"https://git.kernel.org/stable/c/0718a78f6a9f04b88d0dc9616cc216b31c5f3cf1"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-06-01T16:05:17.601Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"2.6.14","versionEndExcluding":"5.15.209"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"2.6.14","versionEndExcluding":"6.1.167"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"2.6.14","versionEndExcluding":"6.6.111"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"2.6.14","versionEndExcluding":"6.12.52"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"2.6.14","versionEndExcluding":"6.15.3"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"2.6.14","versionEndExcluding":"6.16"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}},"adp":[{"affected":[{"vendor":"Siemens","product":"SIMATIC S7-1500 TM MFP - GNU/Linux subsystem","defaultStatus":"unknown","versions":[{"version":"0","status":"affected","lessThan":"*","versionType":"custom"}]}],"references":[{"url":"https://cert-portal.siemens.com/productcert/html/ssa-784472.html"}],"providerMetadata":{"shortName":"siemens-SADP","orgId":"0b142b55-0307-4c5a-b3c9-f314f3fb7c5e","dateUpdated":"2026-10-15T01:06:33.295Z"},"x_adpType":"supplier"}]}}}