Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date: Wed, 23 Jun 2010 11:11:19 +0200
From: Ludwig Nussel <>
Cc: Lennart Poettering <>
Subject: CVE Request: avahi DoS


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.


 (o_   Ludwig Nussel
SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nuernberg)

View attachment "0001-ignore-packet-if-FIONREAD-returns-zero.diff" of type "text/x-patch" (1200 bytes)

Powered by blists - more mailing lists

Please check out the Open Source Software Security Wiki, which is counterpart to this mailing list.

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.