Date: Sun, 05 Jun 2022 09:49:12 +0000 From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 264469] net/mlx4_core: fix a use-after-free Message-ID: <bug-264469-227@https.bugs.freebsd.org/bugzilla/>
index | next in thread | raw e-mail
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=264469 Bug ID: 264469 Summary: net/mlx4_core: fix a use-after-free Product: Base System Version: Unspecified Hardware: Any OS: Any Status: New Severity: Affects Many People Priority: --- Component: kern Assignee: bugs@FreeBSD.org Reporter: ruc_gongyuanjun@163.com Created attachment 234460 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=234460&action=edit a possible patch mlx4_QP_FLOW_STEERING_DETACH_wrapper first removes the rrule and then references qpn field in rrule. The memory of rrule might be reallocated, making the pqn field different. Fix this by saving qpn in a local variable. -- You are receiving this mail because: You are the assignee for the bug.home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-264469-227>
