NetBSD Problem Report #32537
From salo@Xtrmntr.org Sun Jan 15 20:12:36 2006
Return-Path: <salo@Xtrmntr.org>
Received: from otaku.Xtrmntr.org (sauna.silcnet.org [147.175.66.205])
by narn.netbsd.org (Postfix) with ESMTP id 8C15563B88B
for <gnats-bugs@gnats.NetBSD.org>; Sun, 15 Jan 2006 20:12:36 +0000 (UTC)
Message-Id: <20060115201247.B51A849F5@otaku.Xtrmntr.org>
Date: Sun, 15 Jan 2006 21:12:47 +0100 (CET)
From: Lubomir Sedlacik <salo@Xtrmntr.org>
Reply-To: salo@Xtrmntr.org
To: gnats-bugs@netbsd.org
Subject: bringing down network interface exposes bugs in wpa_supplicant(8)
X-Send-Pr-Version: 3.95
>Number: 32537
>Category: bin
>Synopsis: bringing down network interface exposes bugs in wpa_supplicant(8)
>Confidential: no
>Severity: serious
>Priority: low
>Responsible: bin-bug-people
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sun Jan 15 20:15:00 +0000 2006
>Closed-Date: Tue Jun 14 22:18:38 +0000 2022
>Last-Modified: Tue Jun 14 22:18:38 +0000 2022
>Originator: Lubomir Sedlacik
>Release: NetBSD 3.99.11 Mon Nov 21 20:53:00 CET 2005
>Organization:
>Environment:
System: NetBSD 3.99.11 Mon Nov 21 20:53:00 CET 2005
Architecture: i386
Machine: i386
>Description:
bringing down network interface while wpa_supplicant(8) is running exposes
multiple double-free() problems:
# wpa_supplicant -d -d -i iwi0 -c /etc/wpa_supplicant.conf
...
# ifconfig iwi0 down
RTM_IFINFO: Interface 'iwi0' DOWN
Configured interface was removed.
select: Bad file descriptor
wpa_driver_bsd_del_key: keyidx=0
wpa_driver_bsd_del_key: keyidx=1
wpa_driver_bsd_del_key: keyidx=2
wpa_driver_bsd_del_key: keyidx=3
wpa_driver_bsd_set_wpa: enabled=0
wpa_driver_bsd_set_wpa_internal: wpa=0 privacy=0
wpa_driver_bsd_set_drop_unencrypted: enabled=0
wpa_driver_bsd_set_countermeasures: enabled=0
No keys have been configured - skip key clearing
wpa_driver_bsd_set_wpa_internal: wpa=1 privacy=1
wpa_supplicant in free(): warning: page is already free.
wpa_supplicant in free(): warning: chunk is already free.
wpa_supplicant in free(): warning: chunk is already free.
wpa_supplicant in free(): warning: page is already free.
>How-To-Repeat:
run wpa_supplicant(8),
bring the network interface down
>Fix:
n/a
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed
State-Changed-By: gutteridge@NetBSD.org
State-Changed-When: Tue, 14 Jun 2022 22:18:38 +0000
State-Changed-Why:
Stale bug, should be resolved. wpa_supplicant has been updated since, and I can't duplicate this issue.
>Unformatted:
(Contact us)
$NetBSD: gnats-precook-prs,v 1.4 2018/12/21 14:20:20 maya Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2017
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.