Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 12 Mar 2012 15:12:22 +0100
From:      Dimitry Andric <dim@FreeBSD.org>
To:        Michael Butler <imb@protected-networks.net>
Cc:        current@FreeBSD.org
Subject:   Re: sudo through ssh broken on -current?
Message-ID:  <4F5E0446.5010704@FreeBSD.org>
In-Reply-To: <4F5D3B56.4010702@protected-networks.net>
References:  <4F5D3B56.4010702@protected-networks.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On 2012-03-12 00:55, Michael Butler wrote:
> I noted some thing odd when executing the following ..
> 
> /home/imb> ssh imb@xxxx "sudo /sbin/ipfw list"
> 
> sudo: (malloc) /usr/src/lib/libc/stdlib/malloc.c:2644: Failed assertion:
> "(run->regs_mask[elm] & (1U << bit)) == 0"
> Abort
> 
> Adding '-t' as a parameter to ssh runs without the assert,

This is a double free bug in sudo:

  http://www.sudo.ws/bugs/show_bug.cgi?id=544

Alternative fix:

  http://www.andric.com/freebsd/security-sudo-fix-double-free-1.diff



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4F5E0446.5010704>