[Bug 255862] [PATCH] dev/acpica: Fix a double free in acpi_pci_link_route_irqs
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 26 May 2021 14:50:15 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=255862 --- Comment #1 from commit-hook@FreeBSD.org --- A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=4cf33275289088e3b0a913a44b5cd549e348094d commit 4cf33275289088e3b0a913a44b5cd549e348094d Author: Mark Johnston <markj@FreeBSD.org> AuthorDate: 2021-05-26 14:34:39 +0000 Commit: Mark Johnston <markj@FreeBSD.org> CommitDate: 2021-05-26 14:49:30 +0000 acpi: Add missing error handling to acpi_pci_link_route_irqs() Otherwise the resouce buffer may have been freed when AcpiSetCurrentResources() is called, leading to a use-after-free. PR: 255862 Submitted by: Lv Yunlong <lylgood@foxmail.com> (original version) MFC after: 1 week sys/dev/acpica/acpi_pci_link.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) -- You are receiving this mail because: You are the assignee for the bug.