Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 16 Jul 2021 13:28:30 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 257217] net/freeradius3 update to 3.0.23.1 (Fixes "Bad talloc magic value" issue)
Message-ID:  <bug-257217-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D257217

            Bug ID: 257217
           Summary: net/freeradius3 update to 3.0.23.1 (Fixes "Bad talloc
                    magic value" issue)
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: zi@FreeBSD.org
          Reporter: zarychtam@plan-b.pwste.edu.pl
             Flags: maintainer-feedback?(zi@FreeBSD.org)
          Assignee: zi@FreeBSD.org

Created attachment 226497
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D226497&action=
=3Dedit
freeradius update to 3.0.23.1

"Bad talloc magic value" issue has been fixed upstream[1] but we need to wa=
it
for the next release. This issue is really nasty and we should fix it. The
upstream has rerelesed 3.0.23 packages to solve this. We probably have to d=
eal
with it on our own. I created a patch to fix this, reorder docs and connect
totp examples.


The typical occurrence of the issue looks like this one:

talloc: access after free error - first free may be at src/main/state.c:364

Bad talloc magic value - access after free

talloc abort: Bad talloc magic value - access after free

Backtrace of last 7 frames:
0x80033b43f <fr_talloc_fault_setup+0x8f> at
/usr/local/lib/freeradius-3.0.23/libfreeradius-radius.so
0x80071229d <_talloc_get_type_abort+0x11d> at /usr/local/lib/libtalloc.so.2
0x258b26 <fr_state_discard+0x266> at /usr/local/sbin/radiusd
0x258d15 <fr_state_get_vps+0xe5> at /usr/local/sbin/radiusd
0x22feef <rad_authenticate+0x23f> at /usr/local/sbin/radiusd
0x264815 <request_inject+0x365> at /usr/local/sbin/radiusd
0x262b80 <exec_trigger+0x530> at /usr/local/sbin/radiusd

[1]http://lists.freeradius.org/pipermail/freeradius-users/2021-July/100341.=
html

--=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-257217-7788>