Thread (5 messages) 5 messages, 2 authors, 2017-06-14

[PATCH 0/3] wext: fix an ancient bug

flat view
STALE3413d

From: Johannes Berg <johannes@sipsolutions.net>
Date: 2017-06-14 11:55:43
Also in: linux-wireless

Robert O'Callahan reported that since struct iwreq is smaller than
struct ifreq, if it happens to land at the end of a mapped section
userspace will erroneously get -EFAULT.

Bug report is https://bugzilla.kernel.org/show_bug.cgi?id=195869.

This bug is ancient, it kernel 2.1.15 was the first to contain the
bug, and was released almost exactly 20.5 years ago.

Dave, I don't know if we should even bother sending this to stable,
but if so, the third patch will apply by itself but not compile, a
smaller patch consist of only the net/core/dev_ioctl.c modifications
with a cast thrown in where the compile fails/warns due to passing
the wrong struct type.

Should I merge this through my tree?

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