Date: Mon, 13 Jun 2022 02:43:31 +0000 From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 264650] RDMA/ucma: Fix use-after-free access in ucma_close Message-ID: <bug-264650-227@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D264650 Bug ID: 264650 Summary: RDMA/ucma: Fix use-after-free access in ucma_close Product: Base System Version: Unspecified Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: kern Assignee: bugs@FreeBSD.org Reporter: xiaohuizhang@ruc.edu.cn Created attachment 234656 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D234656&action= =3Dedit a possible patch The error in ucma_create_id() left ctx in the list of contexts belong to ucma file descriptor. The attempt to close this file descriptor causes to use-after-free accesses while iterating over such list. --=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-264650-227>