From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp-out2.suse.de (smtp-out2.suse.de [195.135.220.29]) by sourceware.org (Postfix) with ESMTPS id 69B483858C2F for ; Wed, 13 Sep 2023 11:43:46 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 69B483858C2F Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=suse.de Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=suse.de Received: from relay2.suse.de (relay2.suse.de [149.44.160.134]) by smtp-out2.suse.de (Postfix) with ESMTP id 66A681F390; Wed, 13 Sep 2023 11:43:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1694605425; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=Y4CoqIErae+FYG2MDDlSKDMAItC5NC3GtoTqLa9gKiQ=; b=ec6YxtDNImgmNMVxJ/AoxEDF/tPt8cS6kUifgtJWSKaB+R6+5nHF3LlX5t0OiMqEt7eDm5 rqSR8jA/bFdiXMsn6PX9vVezFd9Ue5Jgt2R6xqmIufu496a0jfG3tHIbOnyYaeHKsPTnuA SsRFON6stn519l/84EoGLQODCVS5xRQ= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1694605425; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=Y4CoqIErae+FYG2MDDlSKDMAItC5NC3GtoTqLa9gKiQ=; b=ccoxgNVAoWBN8FNHg3nzytExWh3fn73BtDkpkY41LRneWFD1iDwet02EgFgKOj1+Wj69wd 2yc+cK1y3Vs60FAw== Received: from hawking.nue2.suse.org (unknown [10.168.4.11]) by relay2.suse.de (Postfix) with ESMTP id 54FEA2C142; Wed, 13 Sep 2023 11:43:45 +0000 (UTC) Received: by hawking.nue2.suse.org (Postfix, from userid 17005) id 54CF84A04B1; Wed, 13 Sep 2023 13:43:45 +0200 (CEST) From: Andreas Schwab To: Florian Weimer Cc: libc-alpha@sourceware.org Subject: Re: [PATCH] CVE-2023-4527: Stack read overflow with large TCP responses in no-aaaa mode In-Reply-To: <87a5tr5pr5.fsf@oldenburg.str.redhat.com> (Florian Weimer's message of "Tue, 12 Sep 2023 18:18:38 +0200") References: <87a5tr5pr5.fsf@oldenburg.str.redhat.com> X-Yow: .. I think I'll KILL myself by leaping out of this 14th STORY WINDOW while reading ERICA JONG'S poetry!! Date: Wed, 13 Sep 2023 13:43:45 +0200 Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Status: No, score=-3.1 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS,TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: On Sep 12 2023, Florian Weimer wrote: > Without passing alt_dns_packet_buffer, __res_context_search can only > store 2048 bytes (what fits into dns_packet_buffer). However, > the function returns the total packet size, and the subsequent > DNS parsing code in _nss_dns_gethostbyname4_r reads beyond the end > of the stack-allocated buffer. Ok. -- Andreas Schwab, SUSE Labs, schwab@suse.de GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7 "And now for something completely different."