linux/drivers/net/hamradio
One Thousand Gnomes 60aa3b080a 6pack: fix free memory scribbles
commit acf673a318 fixed a user triggerable free
memory scribble but in doing so replaced it with a different one that allows
the user to control the data and scribble even more.

sixpack_close is called by the tty layer in tty context. The tty context is
protected by sp_get() and sp_put(). However network layer activity via
sp_xmit() is not protected this way. We must therefore stop the queue
otherwise the user gets to dump a buffer mostly of their choice into freed
kernel pages.

Signed-off-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2016-01-06 01:25:01 -05:00
..
6pack.c 6pack: fix free memory scribbles 2016-01-06 01:25:01 -05:00
baycom_epp.c x86/asm/tsc: Rename native_read_tsc() to rdtsc() 2015-07-06 15:23:28 +02:00
baycom_par.c Remove all #inclusions of asm/system.h 2012-03-28 18:30:03 +01:00
baycom_ser_fdx.c hamradio: baycom: remove deprecated IRQF_DISABLED 2013-09-30 15:08:13 -04:00
baycom_ser_hdx.c hamradio: baycom: remove deprecated IRQF_DISABLED 2013-09-30 15:08:13 -04:00
bpqether.c NET: hamradio: Fix IP over bpq encapsulation. 2015-07-08 14:09:03 -07:00
dmascc.c ax25: Stop using magic neighbour cache operations. 2015-03-03 14:44:41 -05:00
hdlcdrv.c ax25: Stop using magic neighbour cache operations. 2015-03-03 14:44:41 -05:00
Kconfig tty: Added a CONFIG_TTY option to allow removal of TTY 2013-01-18 16:15:27 -08:00
Makefile Fix common misspellings 2011-03-31 11:26:23 -03:00
mkiss.c mkiss: Fix use after free in mkiss_close(). 2015-12-18 16:03:03 -05:00
scc.c ax25: Stop using magic neighbour cache operations. 2015-03-03 14:44:41 -05:00
yam.c ax25: Stop using magic neighbour cache operations. 2015-03-03 14:44:41 -05:00
z8530.h