Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 374089 - net-wireless/wpa_supplicant-1.0 fails when an AP sends an invalid WPA IE
Summary: net-wireless/wpa_supplicant-1.0 fails when an AP sends an invalid WPA IE
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal major (vote)
Assignee: Rick Farina (Zero_Chaos)
URL: https://bugzilla.redhat.com/show_bug....
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-07-05 00:53 UTC by Alexandre Rostovtsev (RETIRED)
Modified: 2018-03-13 12:02 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alexandre Rostovtsev (RETIRED) gentoo-dev 2011-07-05 00:53:05 UTC
See https://bugzilla.redhat.com/show_bug.cgi?id=678625

When an access point broadcasts an invalid WPA IE, wpa_supplicant eventually crashes. And when using networkmanager-0.8999, wpa_supplicant (launched by networkmanager) crashes almost instantly. This makes it utterly impossible to e.g. use my laptop's wifi in a particular shopping mall near my home.

Patching wpa_supplicant-0.7.3-r3 with Owen Taylor's wpa_supplicant-0.7.3-prop-failure.patch (see https://bugzilla.redhat.com/attachment.cgi?id=491018) fixes the problem and allows me to use wifi.
Comment 1 Bjarke Istrup Pedersen (RETIRED) gentoo-dev 2011-07-07 07:56:12 UTC
Patch added to 0.7.3-r4
Comment 2 Bjarke Istrup Pedersen (RETIRED) gentoo-dev 2012-05-15 09:29:08 UTC
Please try wpa_supplicant-1.0 and see if that works too.

The patch is not compatible with the version, but there has been several fixes to that file, so the problem might be fixed another way.

Could you please test and see?
Comment 3 Alexandre Rostovtsev (RETIRED) gentoo-dev 2012-07-02 16:47:05 UTC
(In reply to comment #2)
> Please try wpa_supplicant-1.0 and see if that works too.
> 
> The patch is not compatible with the version, but there has been several
> fixes to that file, so the problem might be fixed another way.
> 
> Could you please test and see?

Unfortunately, the problem seems to be present again in 1.0. I visited the same shopping mall yesterday, and saw the IE-related failures in my networkmanager logs when using wpa_supplicant-1.0 that disappeared after downgrading to wpa_supplicant-0.7.3-r5.
Comment 4 Bjarke Istrup Pedersen (RETIRED) gentoo-dev 2012-07-03 14:39:40 UTC
Hmm, i'm unable to provoke this problem at my end.

Could I get you to take it upstream, and work with them on it?

http://lists.shmoo.com/mailman/listinfo/hostap

Better than me being the middle man forwarding communication :)
Comment 5 Jeremy Murphy 2014-02-15 08:26:03 UTC
Still failing on 2.0 and 2.1?
Comment 6 Pacho Ramos gentoo-dev 2018-03-13 12:02:39 UTC
please retry with 2.6-r4