{"api_version":"1","generated_at":"2026-06-03T09:29:56+00:00","cve":"CVE-2025-38105","urls":{"html":"https://cve.report/CVE-2025-38105","api":"https://cve.report/api/cve/CVE-2025-38105.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2025-38105","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2025-38105"},"summary":{"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.","state":"PUBLISHED","assigner":"Linux","published_at":"2025-07-03 09:15:23","updated_at":"2026-06-01 17:16:34"},"problem_types":["NVD-CWE-noinfo"],"metrics":[{"version":"3.1","source":"nvd@nist.gov","type":"Primary","score":"5.5","severity":"MEDIUM","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","data":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","baseScore":5.5,"baseSeverity":"MEDIUM","attackVector":"LOCAL","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"NONE","integrityImpact":"NONE","availabilityImpact":"HIGH"}}],"references":[{"url":"https://git.kernel.org/stable/c/647410a7da46067953a53c0d03f8680eff570959","name":"https://git.kernel.org/stable/c/647410a7da46067953a53c0d03f8680eff570959","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":["Patch"],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/c611b9e55174e439dcd85a72969b43a95f3827a4","name":"https://git.kernel.org/stable/c/c611b9e55174e439dcd85a72969b43a95f3827a4","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":["Patch"],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/62066758d2ae169278e5d6aea5995b1b6f6ddeb5","name":"https://git.kernel.org/stable/c/62066758d2ae169278e5d6aea5995b1b6f6ddeb5","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":["Patch"],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/06513dd6d32c37d0364db8488cfdf3e14da238a8","name":"https://git.kernel.org/stable/c/06513dd6d32c37d0364db8488cfdf3e14da238a8","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/efaf61052b8ff9ee8968912fbaf02c2847c78ede","name":"https://git.kernel.org/stable/c/efaf61052b8ff9ee8968912fbaf02c2847c78ede","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/0718a78f6a9f04b88d0dc9616cc216b31c5f3cf1","name":"https://git.kernel.org/stable/c/0718a78f6a9f04b88d0dc9616cc216b31c5f3cf1","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":["Patch"],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2025-38105","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-38105","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected c88469704d63787e8d44ca5ea1c1bd0adc29572d 06513dd6d32c37d0364db8488cfdf3e14da238a8 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected c88469704d63787e8d44ca5ea1c1bd0adc29572d efaf61052b8ff9ee8968912fbaf02c2847c78ede git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected c88469704d63787e8d44ca5ea1c1bd0adc29572d 647410a7da46067953a53c0d03f8680eff570959 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected c88469704d63787e8d44ca5ea1c1bd0adc29572d c611b9e55174e439dcd85a72969b43a95f3827a4 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected c88469704d63787e8d44ca5ea1c1bd0adc29572d 62066758d2ae169278e5d6aea5995b1b6f6ddeb5 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected c88469704d63787e8d44ca5ea1c1bd0adc29572d 0718a78f6a9f04b88d0dc9616cc216b31c5f3cf1 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 2.6.14","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 2.6.14 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 5.15.209 5.15.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.1.167 6.1.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.6.111 6.6.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.12.52 6.12.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.15.3 6.15.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.16 * original_commit_for_fix","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2025","cve_id":"38105","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"linux","cpe5":"linux_kernel","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"cna":{"affected":[{"defaultStatus":"unaffected","product":"Linux","programFiles":["sound/usb/midi.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"lessThan":"06513dd6d32c37d0364db8488cfdf3e14da238a8","status":"affected","version":"c88469704d63787e8d44ca5ea1c1bd0adc29572d","versionType":"git"},{"lessThan":"efaf61052b8ff9ee8968912fbaf02c2847c78ede","status":"affected","version":"c88469704d63787e8d44ca5ea1c1bd0adc29572d","versionType":"git"},{"lessThan":"647410a7da46067953a53c0d03f8680eff570959","status":"affected","version":"c88469704d63787e8d44ca5ea1c1bd0adc29572d","versionType":"git"},{"lessThan":"c611b9e55174e439dcd85a72969b43a95f3827a4","status":"affected","version":"c88469704d63787e8d44ca5ea1c1bd0adc29572d","versionType":"git"},{"lessThan":"62066758d2ae169278e5d6aea5995b1b6f6ddeb5","status":"affected","version":"c88469704d63787e8d44ca5ea1c1bd0adc29572d","versionType":"git"},{"lessThan":"0718a78f6a9f04b88d0dc9616cc216b31c5f3cf1","status":"affected","version":"c88469704d63787e8d44ca5ea1c1bd0adc29572d","versionType":"git"}]},{"defaultStatus":"affected","product":"Linux","programFiles":["sound/usb/midi.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"status":"affected","version":"2.6.14"},{"lessThan":"2.6.14","status":"unaffected","version":"0","versionType":"semver"},{"lessThanOrEqual":"5.15.*","status":"unaffected","version":"5.15.209","versionType":"semver"},{"lessThanOrEqual":"6.1.*","status":"unaffected","version":"6.1.167","versionType":"semver"},{"lessThanOrEqual":"6.6.*","status":"unaffected","version":"6.6.111","versionType":"semver"},{"lessThanOrEqual":"6.12.*","status":"unaffected","version":"6.12.52","versionType":"semver"},{"lessThanOrEqual":"6.15.*","status":"unaffected","version":"6.15.3","versionType":"semver"},{"lessThanOrEqual":"*","status":"unaffected","version":"6.16","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"cpeMatch":[{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"5.15.209","versionStartIncluding":"2.6.14","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.1.167","versionStartIncluding":"2.6.14","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.6.111","versionStartIncluding":"2.6.14","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.12.52","versionStartIncluding":"2.6.14","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.15.3","versionStartIncluding":"2.6.14","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.16","versionStartIncluding":"2.6.14","vulnerable":true}],"negate":false,"operator":"OR"}]}],"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."}],"providerMetadata":{"dateUpdated":"2026-06-01T16:05:17.601Z","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux"},"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"}],"title":"ALSA: usb-audio: Kill timer properly at removal","x_generator":{"engine":"bippy-1.2.0"}}},"cveMetadata":{"assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","assignerShortName":"Linux","cveId":"CVE-2025-38105","datePublished":"2025-07-03T08:35:15.301Z","dateReserved":"2025-04-16T04:51:23.985Z","dateUpdated":"2026-06-01T16:05:17.601Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2025-07-03 09:15:23","lastModifiedDate":"2026-06-01 17:16:34","problem_types":["NVD-CWE-noinfo"],"metrics":{"cvssMetricV31":[{"source":"nvd@nist.gov","type":"Primary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","baseScore":5.5,"baseSeverity":"MEDIUM","attackVector":"LOCAL","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"NONE","integrityImpact":"NONE","availabilityImpact":"HIGH"},"exploitabilityScore":1.8,"impactScore":3.6}]},"configurations":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"2.6.14","versionEndExcluding":"6.6.111","matchCriteriaId":"0317582A-6B0D-428B-AEE4-F2F23E337ACF"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.7","versionEndExcluding":"6.12.52","matchCriteriaId":"2D9B210A-8880-498F-A5CE-0C653F909220"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.13","versionEndExcluding":"6.15.3","matchCriteriaId":"0541C761-BD5E-4C1A-8432-83B375D7EB92"}]}]}]},"legacy_mitre":{"record":{"CveYear":"2025","CveId":"38105","Ordinal":"1","Title":"ALSA: usb-audio: Kill timer properly at removal","CVE":"CVE-2025-38105","Year":"2025"},"notes":[{"CveYear":"2025","CveId":"38105","Ordinal":"1","NoteData":"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.","Type":"Description","Title":"ALSA: usb-audio: Kill timer properly at removal"}]}}}