[Bug 286502] RTLD deadlocks during IFUNC resolution
- In reply to: bugzilla-noreply_a_freebsd.org: "[Bug 286502] RTLD deadlocks during IFUNC resolution"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 02 May 2025 18:08:34 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=286502 --- Comment #7 from commit-hook@FreeBSD.org --- A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=c66c0a8479e62f3e3e085252839cddace4d4bbf5 commit c66c0a8479e62f3e3e085252839cddace4d4bbf5 Author: Konstantin Belousov <kib@FreeBSD.org> AuthorDate: 2025-05-01 15:44:12 +0000 Commit: Konstantin Belousov <kib@FreeBSD.org> CommitDate: 2025-05-02 18:08:09 +0000 rtld: do not call into ifunc resolvers with the bind lock write-locked If filter needs to be loader, we restart after the lock upgrade. But possible binds in the resolver itself would try to recurse on the lock, which can be only done for the read locks. PR: 286502 Sponsored by: The FreeBSD Foundation MFC after: 1 week libexec/rtld-elf/rtld.c | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) -- You are receiving this mail because: You are the assignee for the bug.