Thread (8 messages) flat view 8 messages, 2 authors, 2015-07-17

Re: Null pointer dereference when station associates [introduced by 4.0.5?]

From: Johannes Berg <johannes@sipsolutions.net>
Date: 2015-06-29 08:14:41
Also in: stable

On Sat, 2015-06-27 at 16:34 +0100, Tom Hughes wrote:
Interestingly from what I can see this is trying to create a file
for the station at a path something like:

ieee80211/phy0/netdev:XXXX/stations/XXXXXX
indeed.
but in my (currently working) boot under 4.0.4 there is no netdev
directory under phy0 in debugfs... but then maybe that is the problem
as well if the inode pointer was null?
This is pretty strange - if the dentry pointer (sdata
->debugfs.subdir_stations) was NULL or an ERR_PTR(), the code would
return pretty much immediately.

So it looks like that pointer is valid, but it's ->d_inode was NULL?

I'm not really sure how that could happen.

Since 4.0.4 was stable, and 4.0.5 crashes, you'd think there's
something wrong between those two kernels and there were no changes to
mac80211 related to these code paths in there.

johannes
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help