Kernel Panic after introducing irda device
lxoliva at fsfla.org
Sun Dec 7 23:17:13 UTC 2014
On Jan 7, 2013, lluvia_lists at lavabit.com wrote:
> I tested the device on two computers running Trisquel 5.0 and Trisquel 5.5
> respectively, and it was replicated at both cases. I inserted it on last
> Ubuntu's LTS and there was no kernel panic.
> 2-1:Missing Freefirmware
> STIR421X:Couldn't upload patch
> Kernel panic-not syncing:stack protector: kernel stack is corrupted
I've finally been able to track this down. This is from the irda-usb
module, and deblobbing causes a buffer overflow as the blob name
sprintf-ed to a 12-byte buffer is replaced with "/*(DEBLOBBED)*/", which
Here's the fix I've implemented for 3.18, though I'm pretty sure it
won't make it back to you through the address you used to report the bug
--- deblob-3.18 (revision 11729)
+++ deblob-3.18 (working copy)
@@ -1514,6 +1525,9 @@
announce USB_IRDA - "IrDA USB dongles"
+' drivers/net/irda/irda-usb.c "avoid buffer overflow with deblobbed filename"
clean_kconfig drivers/net/irda/Kconfig 'USB_IRDA'
clean_mk CONFIG_USB_IRDA drivers/net/irda/Makefile
Alexandre Oliva, freedom fighter http://FSFLA.org/~lxoliva/
You must be the change you wish to see in the world. -- Gandhi
Be Free! -- http://FSFLA.org/ FSF Latin America board member
Free Software Evangelist|Red Hat Brasil GNU Toolchain Engineer
More information about the linux-libre