[{"id":1765883,"web_url":"http://patchwork.ozlabs.org/comment/1765883/","msgid":"<20170909231940.GC7527@w1.fi>","list_archive_url":null,"date":"2017-09-09T23:19:40","subject":"Re: [PATCH] PMKSA: fix use-after-free in pmksa_cache_clone_entry()","submitter":{"id":2486,"url":"http://patchwork.ozlabs.org/api/people/2486/","name":"Jouni Malinen","email":"j@w1.fi"},"content":"On Thu, Sep 07, 2017 at 09:42:02PM -0400, Andrew Elble wrote:\n> pmksa_cache_add_entry() may actually free old_entry if the pmksa cache\n> is full. This can result in the pmksa cache containing entries with\n> corrupt expiration times.\n\nThanks, applied.","headers":{"Return-Path":"<hostap-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org>","X-Original-To":"incoming@patchwork.ozlabs.org","Delivered-To":"patchwork-incoming@bilbo.ozlabs.org","Authentication-Results":["ozlabs.org; spf=none (mailfrom)\n\tsmtp.mailfrom=lists.infradead.org (client-ip=65.50.211.133;\n\thelo=bombadil.infradead.org;\n\tenvelope-from=hostap-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org;\n\treceiver=<UNKNOWN>)","ozlabs.org; dkim=pass (2048-bit key;\n\tunprotected) header.d=lists.infradead.org\n\theader.i=@lists.infradead.org header.b=\"tACnb+Ld\"; \n\tdkim-atps=neutral"],"Received":["from bombadil.infradead.org (bombadil.infradead.org\n\t[65.50.211.133])\n\t(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256\n\tbits)) (No client certificate requested)\n\tby ozlabs.org (Postfix) with ESMTPS id 3xqVY36BS3z9s8J\n\tfor <incoming@patchwork.ozlabs.org>;\n\tSun, 10 Sep 2017 09:20:39 +1000 (AEST)","from localhost ([127.0.0.1] helo=bombadil.infradead.org)\n\tby bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux))\n\tid 1dqp2u-0004yK-S3; Sat, 09 Sep 2017 23:20:16 +0000","from mail.w1.fi ([212.71.239.96] helo=li674-96.members.linode.com)\n\tby bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat\n\tLinux)) id 1dqp2e-00048l-Rn\n\tfor hostap@lists.infradead.org; Sat, 09 Sep 2017 23:20:04 +0000","from jm (188-67-35-238.bb.dnainternet.fi [188.67.35.238])\n\tby li674-96.members.linode.com (Postfix) with ESMTPSA id 737A511311; \n\tSat,  9 Sep 2017 23:19:41 +0000 (UTC)","by jm (sSMTP sendmail emulation); Sun, 10 Sep 2017 02:19:40 +0300"],"DKIM-Signature":"v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed;\n\td=lists.infradead.org; s=bombadil.20170209; h=Sender:\n\tContent-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post:\n\tList-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References:\n\tMessage-ID:Subject:To:From:Date:Reply-To:Content-ID:Content-Description:\n\tResent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:\n\tList-Owner; bh=tJgtstJ3GcTtLKD0Vp/yneMz7Mj7yZr4+aqmVQwNPEw=;\n\tb=tACnb+LdFA3zD0\n\tuXdexaNaR5BSFJCPHlzO7j5hec4ypzyVnExLblpC419txfaDJGfBzmP9+BVSSC1Joicj/RayvgzzI\n\tFG5LzFNXGvhZ6y9lA4umWE3E9v3Ys62wY32RIvMgRI8e4rn4Ok6k+6ShyBxBh2EMoZNQcJj+PgdF8\n\t/lG1Hn8LdDREwY13iAw3qTQGJCqXPfZ27/W8TqeaxBg4aP6P1DlloArbUG7TRuBps9kDRtVvAbq0F\n\tm9HNUkzC3C4Mg/EC6dGV7UDa/eWwD4IpOdOWxVjh/4gYd5sNtL7Qk65vCxecogG2CC8bYMMtFhmRT\n\tVV9f1oZUWMfcMuQ1gZZQ==;","Date":"Sun, 10 Sep 2017 02:19:40 +0300","From":"Jouni Malinen <j@w1.fi>","To":"Andrew Elble <aweits@rit.edu>","Subject":"Re: [PATCH] PMKSA: fix use-after-free in pmksa_cache_clone_entry()","Message-ID":"<20170909231940.GC7527@w1.fi>","References":"<20170908014202.1465-1-aweits@rit.edu>","MIME-Version":"1.0","Content-Disposition":"inline","In-Reply-To":"<20170908014202.1465-1-aweits@rit.edu>","User-Agent":"Mutt/1.5.24 (2015-08-30)","X-CRM114-Version":"20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 ","X-CRM114-CacheID":"sfid-20170909_162001_443582_4355C43A ","X-CRM114-Status":"UNSURE (   5.36  )","X-CRM114-Notice":"Please train this message.","X-Spam-Score":"-1.9 (-)","X-Spam-Report":"SpamAssassin version 3.4.1 on bombadil.infradead.org summary:\n\tContent analysis details:   (-1.9 points)\n\tpts rule name              description\n\t---- ----------------------\n\t--------------------------------------------------\n\t-0.0 SPF_PASS               SPF: sender matches SPF record\n\t-0.0 RP_MATCHES_RCVD Envelope sender domain matches handover relay\n\tdomain\n\t-1.9 BAYES_00               BODY: Bayes spam probability is 0 to 1%\n\t[score: 0.0000]","X-BeenThere":"hostap@lists.infradead.org","X-Mailman-Version":"2.1.21","Precedence":"list","List-Id":"<hostap.lists.infradead.org>","List-Unsubscribe":"<http://lists.infradead.org/mailman/options/hostap>,\n\t<mailto:hostap-request@lists.infradead.org?subject=unsubscribe>","List-Archive":"<http://lists.infradead.org/pipermail/hostap/>","List-Post":"<mailto:hostap@lists.infradead.org>","List-Help":"<mailto:hostap-request@lists.infradead.org?subject=help>","List-Subscribe":"<http://lists.infradead.org/mailman/listinfo/hostap>,\n\t<mailto:hostap-request@lists.infradead.org?subject=subscribe>","Cc":"hostap@lists.infradead.org","Content-Type":"text/plain; charset=\"us-ascii\"","Content-Transfer-Encoding":"7bit","Sender":"\"Hostap\" <hostap-bounces@lists.infradead.org>","Errors-To":"hostap-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org"}}]