oss-sec mailing list archives

CVE Request: avahi DoS


From: Ludwig Nussel <ludwig.nussel () suse de>
Date: Wed, 23 Jun 2010 11:11:19 +0200

Hi,

avahi crashes if it receives a bad packet (broken checksum)
immediately followed by a good packet. In that case FIONREAD returns
zero size for the bad packet. avahi doesn't consider that an error
and calls recvmsg() which succeeds and returns the good packet which
has a non-zero length of course. This discrepancy causes an assert()
to fail and avahi terminates.

The problem was acknowledged by upstream (Lennart) but no fix
was commited so far. I've attached my patch proposal.

cu
Ludwig

-- 
 (o_   Ludwig Nussel
 //\   
 V_/_  http://www.suse.de/
SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nuernberg)

Attachment: 0001-ignore-packet-if-FIONREAD-returns-zero.diff
Description:


Current thread: