[Bug 138873] Re: "*** stack smashing detected ***: /sbin/wpa_supplicant terminated" with iwl4965

2007-09-24 Thread Alexander Sack
wpasupplicant 0.6.0+0.5.8-0ubuntu1 (latest package in gutsy) is not affected. ** Changed in: wpasupplicant (Ubuntu) Status: In Progress => Fix Released -- "*** stack smashing detected ***: /sbin/wpa_supplicant terminated" with iwl4965 https://bugs.launchpad.net/bugs/138873 You received th

[Bug 138873] Re: "*** stack smashing detected ***: /sbin/wpa_supplicant terminated" with iwl4965

2007-09-20 Thread Kees Cook
Sorry, that should read "I _can_ upload a fixed package ..." -- "*** stack smashing detected ***: /sbin/wpa_supplicant terminated" with iwl4965 https://bugs.launchpad.net/bugs/138873 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu.

[Bug 138873] Re: "*** stack smashing detected ***: /sbin/wpa_supplicant terminated" with iwl4965

2007-09-20 Thread Kees Cook
No word from upstream. I have upload a fixed package ASAP if you want. -- "*** stack smashing detected ***: /sbin/wpa_supplicant terminated" with iwl4965 https://bugs.launchpad.net/bugs/138873 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact fo

[Bug 138873] Re: "*** stack smashing detected ***: /sbin/wpa_supplicant terminated" with iwl4965

2007-09-20 Thread Alexander Sack
kees, i milestone this for beta. Feel free to remove it if you think its inappropriate or if its clear that we won't be able to provide a fixed package in time for beta. ** Changed in: wpasupplicant (Ubuntu) Target: None => ubuntu-7.10-beta -- "*** stack smashing detected ***: /sbin/wpa_s

[Bug 138873] Re: "*** stack smashing detected ***: /sbin/wpa_supplicant terminated" with iwl4965

2007-09-20 Thread Alexander Sack
any news from upstream so far? -- "*** stack smashing detected ***: /sbin/wpa_supplicant terminated" with iwl4965 https://bugs.launchpad.net/bugs/138873 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list u

[Bug 138873] Re: "*** stack smashing detected ***: /sbin/wpa_supplicant terminated" with iwl4965

2007-09-16 Thread Reinhard Tartler
kees: that email was directed to upstream. That bug was 'only' CCed -- "*** stack smashing detected ***: /sbin/wpa_supplicant terminated" with iwl4965 https://bugs.launchpad.net/bugs/138873 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ub

[Bug 138873] Re: "*** stack smashing detected ***: /sbin/wpa_supplicant terminated" with iwl4965

2007-09-15 Thread Kees Cook
Attaching diff to this report too, just for completeness. ** Attachment added: "fix crashes for wireless drivers that report TSF" http://launchpadlibrarian.net/9289541/90_fix_wext_tsf_stack_overflow.dpatch -- "*** stack smashing detected ***: /sbin/wpa_supplicant terminated" with iwl4965 http

[Bug 138873] Re: "*** stack smashing detected ***: /sbin/wpa_supplicant terminated" with iwl4965

2007-09-15 Thread Kees Cook
I thought the PPA-upload-closing bug was fixed? siretart: what part did you want me to comment on? dalbers: sure, link their tracker back here. I sent the patch to Jouni Malinen last night, too. -- "*** stack smashing detected ***: /sbin/wpa_supplicant terminated" with iwl4965 https://bugs.lau

[Bug 138873] Re: "*** stack smashing detected ***: /sbin/wpa_supplicant terminated" with iwl4965

2007-09-15 Thread Darren Albers
So far so good! I can normally trigger it within 20 minutes and today it seemed 100% stable for over 3 hours. I opened an upstream bug report a couple of days ago when I opened this one, should I close it and link back here? There are also a number of T61 users who are experiencing this issue,

Re: [Bug 138873] Re: "*** stack smashing detected ***: /sbin/wpa_supplicant terminated" with iwl4965

2007-09-15 Thread Reinhard Tartler
Kees Cook <[EMAIL PROTECTED]> writes: > wpasupplicant (0.6.0-3ubuntu1~ppa1) gutsy; urgency=low > > * Add debian/patches/90_fix_wext_tsf_stack_overflow.dpatch: correct > buffer size limit on hexstr2bin call from wext_get_scan_custom > (LP: #138873). > > -- Kees Cook <[EMAIL PROTECTED]>

[Bug 138873] Re: "*** stack smashing detected ***: /sbin/wpa_supplicant terminated" with iwl4965

2007-09-15 Thread Reinhard Tartler
this bug is not fixed in gutsy, but test packages are available in kees' PPA ** Changed in: wpasupplicant (Ubuntu) Status: Fix Released => In Progress -- "*** stack smashing detected ***: /sbin/wpa_supplicant terminated" with iwl4965 https://bugs.launchpad.net/bugs/138873 You received thi

[Bug 138873] Re: "*** stack smashing detected ***: /sbin/wpa_supplicant terminated" with iwl4965

2007-09-14 Thread Kees Cook
wpasupplicant (0.6.0-3ubuntu1~ppa1) gutsy; urgency=low * Add debian/patches/90_fix_wext_tsf_stack_overflow.dpatch: correct buffer size limit on hexstr2bin call from wext_get_scan_custom (LP: #138873). -- Kees Cook <[EMAIL PROTECTED]> Fri, 14 Sep 2007 23:08:25 -0700 -- "*** stack sm

[Bug 138873] Re: "*** stack smashing detected ***: /sbin/wpa_supplicant terminated" with iwl4965

2007-09-14 Thread Kees Cook
When it finishes building, can you test the wpasupplicant from my PPA? http://ppa.launchpad.net/keescook/ubuntu/pool/main/w/ I think I found the crash and got it fixed. If you can confirm this fixes it for you, I'll get it uploaded to the main archive. Thanks for doing all the gdb debugging! **

[Bug 138873] Re: "*** stack smashing detected ***: /sbin/wpa_supplicant terminated" with iwl4965

2007-09-14 Thread Kees Cook
Yup, that turned out great. I'll continue digging. Thanks! -- "*** stack smashing detected ***: /sbin/wpa_supplicant terminated" with iwl4965 https://bugs.launchpad.net/bugs/138873 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu.

[Bug 138873] Re: "*** stack smashing detected ***: /sbin/wpa_supplicant terminated" with iwl4965

2007-09-14 Thread Darren Albers
Here you go, is this better? ** Attachment added: "gdb.log" http://launchpadlibrarian.net/9286226/gdb.log -- "*** stack smashing detected ***: /sbin/wpa_supplicant terminated" with iwl4965 https://bugs.launchpad.net/bugs/138873 You received this bug notification because you are a member of U

[Bug 138873] Re: "*** stack smashing detected ***: /sbin/wpa_supplicant terminated" with iwl4965

2007-09-14 Thread Darren Albers
Well I'm an idiot, I forgot to do: info reg x/10i $eip I'll rerun it now and pipe it to a file for you. Sorry about that! -- "*** stack smashing detected ***: /sbin/wpa_supplicant terminated" with iwl4965 https://bugs.launchpad.net/bugs/138873 You received this bug notification because you are

Re: [Bug 138873] Re: "*** stack smashing detected ***: /sbin/wpa_supplicant terminated" with iwl4965

2007-09-14 Thread Kees Cook
On Fri, Sep 14, 2007 at 11:19:56PM -, Darren Albers wrote: > Here you go! Let me know if this isn't what you are looking for. > Thanks! Hm, I don't think it was deleting the watch-point correctly. Can you try it again, and attach (as a file rather than a comment) the entire gdb session? Ma

[Bug 138873] Re: "*** stack smashing detected ***: /sbin/wpa_supplicant terminated" with iwl4965

2007-09-14 Thread Darren Albers
Here you go! Let me know if this isn't what you are looking for. Thanks! (gdb) continue Continuing. Hardware watchpoint 3: *$cow Hardware watchpoint 4: *$cow Hardware watchpoint 5: *$cow Hardware watchpoint 6: *$cow Hardware watchpoint 7: *$cow Hardware watchpoint 8: *$cow Hardware watchpoint 3

[Bug 138873] Re: "*** stack smashing detected ***: /sbin/wpa_supplicant terminated" with iwl4965

2007-09-13 Thread Darren Albers
Kees, I appreciate all your help and I will get you that backtrace when I get back home tomorrow. It very well could be the driver itself a IPW3945 card does not exhibit this problem with the IPW driver. -- "*** stack smashing detected ***: /sbin/wpa_supplicant terminated" with iwl4965 https://

[Bug 138873] Re: "*** stack smashing detected ***: /sbin/wpa_supplicant terminated" with iwl4965

2007-09-13 Thread Alexander Sack
for now i assume that this is not a network-manager bug. If it turns out to be, fee free to reopen the network-manager task. - Alexander ** Changed in: network-manager (Ubuntu) Status: Confirmed => Invalid -- "*** stack smashing detected ***: /sbin/wpa_supplicant terminated" with iwl496

[Bug 138873] Re: "*** stack smashing detected ***: /sbin/wpa_supplicant terminated" with iwl4965

2007-09-13 Thread Kees Cook
Well, I spent some time digging around in wpa_driver_wext_get_scan_results, and while it's scary to read, the overflow isn't obvious yet. Can you try another gdb recipe? This one is quite a bit more exciting -- it tries to break out the moment the stack gets trashed. Here are the commands, after

Re: [Bug 138873] Re: "*** stack smashing detected ***: /sbin/wpa_supplicant terminated" with iwl4965

2007-09-12 Thread Kees Cook
On Tue, Sep 11, 2007 at 11:20:10PM -, Darren Albers wrote: > I am not sure how useful this is going to be but here you go. Thanks for doing this. Yeah, it's going to be tricky (since the stack is, well, smashed). Hopefully it will help track it down. -- "*** stack smashing detected ***: /s

[Bug 138873] Re: "*** stack smashing detected ***: /sbin/wpa_supplicant terminated" with iwl4965

2007-09-11 Thread Darren Albers
I am not sure how useful this is going to be but here you go. The first breakpoint came with this message from NetworkManager: NetworkManager: nm_utils_supplicant_request_with_check(): nm_device_802_11_wireless_scan: supplicant error for 'SCAN'. Response: 'TIMEOUT[CLI]' NetworkManager: nm_d

Re: [Bug 138873] Re: "*** stack smashing detected ***: /sbin/wpa_supplicant terminated" with iwl4965

2007-09-11 Thread Reinhard Tartler
Alexander Sack <[EMAIL PROTECTED]> writes: > siretart ... ever seen something like this before? Err, sorry. nope :( -- Gruesse/greetings, Reinhard Tartler, KeyID 945348A4 -- "*** stack smashing detected ***: /sbin/wpa_supplicant terminated" with iwl4965 https://bugs.launchpad.net/bugs/138873

[Bug 138873] Re: "*** stack smashing detected ***: /sbin/wpa_supplicant terminated" with iwl4965

2007-09-11 Thread Darren Albers
Sure, I will do it tonight. -- "*** stack smashing detected ***: /sbin/wpa_supplicant terminated" with iwl4965 https://bugs.launchpad.net/bugs/138873 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubun

[Bug 138873] Re: "*** stack smashing detected ***: /sbin/wpa_supplicant terminated" with iwl4965

2007-09-11 Thread Kees Cook
Hi, if you can reproduce this issue, can you start up everything, but before the "stack smashing" would normally happen, try this: $ sudo gdb /sbin/wpa_supplicant $(pidof wpa_supplicant) ... (gdb) br __stack_chk_fail (gdb) continue Then once gdb pops at the stack check failure, do: (gdb) bt an

[Bug 138873] Re: "*** stack smashing detected ***: /sbin/wpa_supplicant terminated" with iwl4965

2007-09-11 Thread Darren Albers
Alexander, I did as of last night with a system that was completely up to date with network-manager 0.6.5-0ubuntu11. As a note I did not see the problem with Network Manager stopped and associated with wpa_supplicant manually. -- "*** stack smashing detected ***: /sbin/wpa_supplicant terminated"

[Bug 138873] Re: "*** stack smashing detected ***: /sbin/wpa_supplicant terminated" with iwl4965

2007-09-11 Thread Alexander Sack
siretart ... ever seen something like this before? ** Changed in: wpasupplicant (Ubuntu) Status: New => Incomplete -- "*** stack smashing detected ***: /sbin/wpa_supplicant terminated" with iwl4965 https://bugs.launchpad.net/bugs/138873 You received this bug notification because you are a

[Bug 138873] Re: "*** stack smashing detected ***: /sbin/wpa_supplicant terminated" with iwl4965

2007-09-11 Thread Alexander Sack
do you still see the disconnects with latest gutsy network-manager? ** Also affects: wpasupplicant (Ubuntu) Importance: Undecided Status: New ** Changed in: network-manager (Ubuntu) Status: New => Confirmed -- "*** stack smashing detected ***: /sbin/wpa_supplicant terminated"

[Bug 138873] Re: "*** stack smashing detected ***: /sbin/wpa_supplicant terminated" with iwl4965

2007-09-11 Thread Darren Albers
Set this to be a security vulnerability since this might indicate a possible buffer overflow... ** This bug has been flagged as a security issue -- "*** stack smashing detected ***: /sbin/wpa_supplicant terminated" with iwl4965 https://bugs.launchpad.net/bugs/138873 You received this bug notific