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/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D264469 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=3D234460&action= =3Dedit 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. --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-264469-227>