{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2022-50229","id":"CVE-2022-50229","title":"ALSA: bcd2000: Fix a UAF bug on the error path of probing","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nALSA: bcd2000: Fix a UAF bug on the error path of probing\n\nWhen the driver fails in snd_card_register() at probe time, it will free\nthe 'bcd2k->midi_out_urb' before killing it, which may cause a UAF bug.\n\nThe following log can reveal it:\n\n[   50.727020] BUG: KASAN: use-after-free in bcd2000_input_complete+0x1f1/0x2e0 [snd_bcd2000","descriptionLong":"In the Linux kernel, the following vulnerability has been resolved:\n\nALSA: bcd2000: Fix a UAF bug on the error path of probing\n\nWhen the driver fails in snd_card_register() at probe time, it will free\nthe 'bcd2k->midi_out_urb' before killing it, which may cause a UAF bug.\n\nThe following log can reveal it:\n\n[   50.727020] BUG: KASAN: use-after-free in bcd2000_input_complete+0x1f1/0x2e0 [snd_bcd2000]\n[   50.727623] Read of size 8 at addr ffff88810fab0e88 by task swapper/4/0\n[   50.729530] Call Trace:\n[   50.732899]  bcd2000_input_complete+0x1f1/0x2e0 [snd_bcd2000]\n\nFix this by adding usb_kill_urb() before usb_free_urb().","published":"2025-06-18T11:04:06.069Z","updated":"2026-10-28T02:30:38.341661026Z","reserved":"2025-06-18T10:57:27.432Z","status":"Analyzed","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":"NVD"},"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":"NVD"}],"rating":"high","products":["Linux"],"affectedProducts":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"b47a22290d581277be70e8a597824a4985d39e83","lessThan":"a718eba7e458e2f40531be3c6b6a0028ca7fcace","status":"affected","versionType":"git"},{"version":"b47a22290d581277be70e8a597824a4985d39e83","lessThan":"4fc41f7ebb7efca282f1740ea934d16f33c1d109","status":"affected","versionType":"git"},{"version":"b47a22290d581277be70e8a597824a4985d39e83","lessThan":"5e7338f4dd92b2f8915a82abfa1dd3ad3464bea0","status":"affected","versionType":"git"},{"version":"b47a22290d581277be70e8a597824a4985d39e83","lessThan":"05e0bb8c3c4dde3e21b9c1cf9395afb04e8b24db","status":"affected","versionType":"git"},{"version":"b47a22290d581277be70e8a597824a4985d39e83","lessThan":"348620464a5c127399ac09b266f494f393661952","status":"affected","versionType":"git"},{"version":"b47a22290d581277be70e8a597824a4985d39e83","lessThan":"64ca7f50ad96c2c65ae390b954925a36eabe04aa","status":"affected","versionType":"git"},{"version":"b47a22290d581277be70e8a597824a4985d39e83","lessThan":"1d6a246cf97c380f2da76591f03019dd9c9599c3","status":"affected","versionType":"git"},{"version":"b47a22290d581277be70e8a597824a4985d39e83","lessThan":"b0d4af0a4763ddc02344789ef2a281c494bc330d","status":"affected","versionType":"git"},{"version":"b47a22290d581277be70e8a597824a4985d39e83","lessThan":"ffb2759df7efbc00187bfd9d1072434a13a54139","status":"affected","versionType":"git"}],"platforms":[]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"3.16","status":"affected"},{"version":"0","lessThan":"3.16","status":"unaffected","versionType":"semver"},{"version":"4.9.326","lessThanOrEqual":"4.9.*","status":"unaffected","versionType":"semver"},{"version":"4.14.291","lessThanOrEqual":"4.14.*","status":"unaffected","versionType":"semver"},{"version":"4.19.256","lessThanOrEqual":"4.19.*","status":"unaffected","versionType":"semver"},{"version":"5.4.211","lessThanOrEqual":"5.4.*","status":"unaffected","versionType":"semver"},{"version":"5.10.137","lessThanOrEqual":"5.10.*","status":"unaffected","versionType":"semver"},{"version":"5.15.61","lessThanOrEqual":"5.15.*","status":"unaffected","versionType":"semver"},{"version":"5.18.18","lessThanOrEqual":"5.18.*","status":"unaffected","versionType":"semver"},{"version":"5.19.2","lessThanOrEqual":"5.19.*","status":"unaffected","versionType":"semver"},{"version":"6.0","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}],"platforms":[]}],"packages":[],"cwes":["CWE-416"],"aliases":[],"references":[{"url":"https://git.kernel.org/stable/c/a718eba7e458e2f40531be3c6b6a0028ca7fcace","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/4fc41f7ebb7efca282f1740ea934d16f33c1d109","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/5e7338f4dd92b2f8915a82abfa1dd3ad3464bea0","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/05e0bb8c3c4dde3e21b9c1cf9395afb04e8b24db","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/348620464a5c127399ac09b266f494f393661952","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/64ca7f50ad96c2c65ae390b954925a36eabe04aa","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/1d6a246cf97c380f2da76591f03019dd9c9599c3","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/b0d4af0a4763ddc02344789ef2a281c494bc330d","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/ffb2759df7efbc00187bfd9d1072434a13a54139","tags":["Patch","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/50xxx/CVE-2022-50229.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-50229","tags":["advisory"]},{"url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.00255,"epssPercentile":0.17318,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2022-50229","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-50229","ok":true,"note":"Analyzed"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2022-50229","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-2022-50229","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}