{"id":"CVE-2021-47456","aliases":["CVE-2021-47456"],"related":[],"kind":"vulnerability","state":"published","title":"can: peak_pci: peak_pci_remove(): fix UAF","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\ncan: peak_pci: peak_pci_remove(): fix UAF\n\nWhen remove the module peek_pci, referencing 'chan' again after\nreleasing 'dev' will cause UAF.\n\nFix this by releasing 'dev' later.\n\nThe following log reveals it:\n\n[   35.961814 ] BUG: KASAN: use-after-free in peak_pci_remove+0x16f/0x270 [peak_pci]\n[   35.963414 ] Read of size 8 at addr ffff888136998ee8 by task modprobe/5537\n[   35.965513 ] Call Trace:\n[   35.965718 ]  dump_stack_lvl+0xa8/0xd1\n[   35.966028 ]  print_address_description+0x87/0x3b0\n[   35.966420 ]  kasan_report+0x172/0x1c0\n[   35.966725 ]  ? peak_pci_remove+0x16f/0x270 [peak_pci]\n[   35.967137 ]  ? trace_irq_enable_rcuidle+0x10/0x170\n[   35.967529 ]  ? peak_pci_remove+0x16f/0x270 [peak_pci]\n[   35.967945 ]  __asan_report_load8_noabort+0x14/0x20\n[   35.968346 ]  peak_pci_remove+0x16f/0x270 [peak_pci]\n[   35.968752 ]  pci_device_remove+0xa9/0x250","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\ncan: peak_pci: peak_pci_remove(): fix UAF\n\nWhen remove the module peek_pci, referencing 'chan' again after\nreleasing 'dev' will cause UAF.\n\nFix this by releasing 'dev' later.\n\nThe following log reveals it:\n\n[   35.961814 ] BUG: KASAN: use-after-free in peak_pci_remove+0x16f/0x270 [peak_pci]\n[   35.963414 ] Read of size 8 at addr ffff888136998ee8 by task modprobe/5537\n[   35.965513 ] Call Trace:\n[   35.965718 ]  dump_stack_lvl+0xa8/0xd1\n[   35.966028 ]  print_address_description+0x87/0x3b0\n[   35.966420 ]  kasan_report+0x172/0x1c0\n[   35.966725 ]  ? peak_pci_remove+0x16f/0x270 [peak_pci]\n[   35.967137 ]  ? trace_irq_enable_rcuidle+0x10/0x170\n[   35.967529 ]  ? peak_pci_remove+0x16f/0x270 [peak_pci]\n[   35.967945 ]  __asan_report_load8_noabort+0x14/0x20\n[   35.968346 ]  peak_pci_remove+0x16f/0x270 [peak_pci]\n[   35.968752 ]  pci_device_remove+0xa9/0x250","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: can: pico_pci: pico_pci_remove(): arreglar UAF Cuando se elimina el módulo peek_pci, hacer referencia a 'chan' nuevamente después de liberar 'dev' causará UAF. Solucione este problema lanzando 'dev' más tarde. El siguiente registro lo revela: [35.961814] ERROR: KASAN: uso después de liberar en pico_pci_remove+0x16f/0x270 [peak_pci] [35.963414] Lectura de tamaño 8 en addr ffff888136998ee8 por tarea modprobe/5537 [35.965513] Seguimiento de llamadas: [3 5.965718 ] dump_stack_lvl+0xa8/0xd1 [35.966028] print_address_description+0x87/0x3b0 [35.966420] kasan_report+0x172/0x1c0 [35.966725]? pico_pci_remove+0x16f/0x270 [pico_pci] [35.967137]? trace_irq_enable_rcuidle+0x10/0x170 [35.967529]? pico_pci_remove+0x16f/0x270 [pico_pci] [ 35.967945 ] __asan_report_load8_noabort+0x14/0x20 [ 35.968346 ] pico_pci_remove+0x16f/0x270 [pico_pci] [ 35.968752 ] ve+0xa9/0x250","source":"nvd"}],"published":"2024-05-22T06:19:45.363Z","modified":"2026-06-17T04:17:30.930Z","severity":{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":8.4,"rating":"HIGH"},"severities":[{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":8.4,"rating":"HIGH"}],"cwes":["CWE-416","CWE-467"],"affected":[{"ranges":[{"type":"git","introduced":"e6d9c80b7ca1504411ad6d7acdb8683e4ae1c9cd","fixed":"1c616528ba4aeb1125a06b407572ab7b56acae38","status":"affected"},{"type":"git","introduced":"e6d9c80b7ca1504411ad6d7acdb8683e4ae1c9cd","fixed":"447d44cd2f67a20b596ede3ca3cd67086dfd9ca9","status":"affected"},{"type":"git","introduced":"e6d9c80b7ca1504411ad6d7acdb8683e4ae1c9cd","fixed":"34914971bb3244db4ce2be44e9438a9b30c56250","status":"affected"},{"type":"git","introduced":"e6d9c80b7ca1504411ad6d7acdb8683e4ae1c9cd","fixed":"adbda14730aacce41c0d3596415aa39ad63eafd9","status":"affected"},{"type":"git","introduced":"e6d9c80b7ca1504411ad6d7acdb8683e4ae1c9cd","fixed":"1248582e47a9f7ce0ecd156c39fc61f8b6aa3699","status":"affected"},{"type":"git","introduced":"e6d9c80b7ca1504411ad6d7acdb8683e4ae1c9cd","fixed":"28f28e4bc3a5e0051faa963f10b778ab38c1db69","status":"affected"},{"type":"git","introduced":"e6d9c80b7ca1504411ad6d7acdb8683e4ae1c9cd","fixed":"0e5afdc2315b0737edcf55bede4ee1640d2d464d","status":"affected"},{"type":"git","introduced":"e6d9c80b7ca1504411ad6d7acdb8683e4ae1c9cd","fixed":"949fe9b35570361bc6ee2652f89a0561b26eec98","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"3.4","status":"affected"},{"type":"semver","introduced":"0","fixed":"3.4","status":"unaffected"},{"type":"semver","introduced":"4.4.290","lastAffected":"4.4.*","status":"unaffected"},{"type":"semver","introduced":"4.9.288","lastAffected":"4.9.*","status":"unaffected"},{"type":"semver","introduced":"4.14.253","lastAffected":"4.14.*","status":"unaffected"},{"type":"semver","introduced":"4.19.214","lastAffected":"4.19.*","status":"unaffected"},{"type":"semver","introduced":"5.4.156","lastAffected":"5.4.*","status":"unaffected"},{"type":"semver","introduced":"5.10.76","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.14.15","lastAffected":"5.14.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"5.15","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"e6d9c80b7ca1","status":"affected"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:-:*:*:*:*:*:*:*","source":"cvelist"},{"ranges":[{"version":"3.4","status":"affected"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:-:*:*:*:*:*:*:*","source":"cvelist"},{"ranges":[{"version":"0","status":"unaffected"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:-:*:*:*:*:*:*:*","source":"cvelist"},{"ranges":[{"version":"4.4.290","status":"unaffected"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:-:*:*:*:*:*:*:*","source":"cvelist"},{"ranges":[{"version":"4.9.288","status":"unaffected"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:-:*:*:*:*:*:*:*","source":"cvelist"},{"ranges":[{"version":"4.14.253","status":"unaffected"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:-:*:*:*:*:*:*:*","source":"cvelist"},{"ranges":[{"version":"4.19.214","status":"unaffected"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:-:*:*:*:*:*:*:*","source":"cvelist"},{"ranges":[{"version":"5.4.156","status":"unaffected"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:-:*:*:*:*:*:*:*","source":"cvelist"},{"ranges":[{"version":"5.10.76","status":"unaffected"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:-:*:*:*:*:*:*:*","source":"cvelist"},{"ranges":[{"version":"5.14.15","status":"unaffected"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:-:*:*:*:*:*:*:*","source":"cvelist"},{"ranges":[{"version":"5.15","status":"unaffected"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:-:*:*:*:*:*:*:*","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"3.4","fixed":"4.4.290"},{"status":"affected","introduced":"4.5","fixed":"4.9.288"},{"status":"affected","introduced":"4.10","fixed":"4.14.253"},{"status":"affected","introduced":"4.15","fixed":"4.19.214"},{"status":"affected","introduced":"4.20","fixed":"5.4.156"},{"status":"affected","introduced":"5.5","fixed":"5.10.76"},{"status":"affected","introduced":"5.11","fixed":"5.14.15"},{"status":"affected","version":"5.15"},{"status":"affected","version":"5.15"},{"status":"affected","version":"5.15"},{"status":"affected","version":"5.15"},{"status":"affected","version":"5.15"},{"status":"affected","version":"5.15"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/1c616528ba4aeb1125a06b407572ab7b56acae38","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/447d44cd2f67a20b596ede3ca3cd67086dfd9ca9","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/34914971bb3244db4ce2be44e9438a9b30c56250","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/adbda14730aacce41c0d3596415aa39ad63eafd9","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/1248582e47a9f7ce0ecd156c39fc61f8b6aa3699","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/28f28e4bc3a5e0051faa963f10b778ab38c1db69","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/0e5afdc2315b0737edcf55bede4ee1640d2d464d","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/949fe9b35570361bc6ee2652f89a0561b26eec98","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2024-05-22T14:47:53.013Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2021-47456","url":"https://www.cve.org/CVERecord?id=CVE-2021-47456","licence":"CVE Terms of Use","modified":"2026-05-11T13:55:04.351Z"},{"source":"nvd","name":"NVD","id":"CVE-2021-47456","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-47456","licence":"Public domain","modified":"2026-06-17T04:17:30.930Z"}],"updatedAt":"2026-11-25T22:58:08.867Z","epss":{"score":0.00236,"percentile":0.15653,"date":"2026-12-01T12:00:22.000Z"}}