All of lore.kernel.org
 help / color / mirror / Atom feed
* Bluetooth 6lowpan ping6 slab corruption
@ 2016-12-16  6:46 Wong, Joshua Weng Onn
  2016-12-16  7:44   ` Alexander Aring
  2016-12-16 12:34 ` Luiz Augusto von Dentz
  0 siblings, 2 replies; 13+ messages in thread
From: Wong, Joshua Weng Onn @ 2016-12-16  6:46 UTC (permalink / raw)
  To: alex.aring, jukka.rissanen; +Cc: linux-bluetooth

Hi,

I have enabled 6lowpan and bluetooth 6lowpan in the kernel configuration on two systems. Both these systems are running linux and one act as a master and another act as a slave.
I am facing a bug while in a bluetooth 6lowpan connection. This happens during a ping6. The kernel version that I am using is 4.1.27 with BlueZ 5.40 on a x86_64 architecture. The kernel reports regarding slab corruption.

The steps that I have performed are as follows:
Slave device:
$ modprobe 6lowpan
$ modprobe Bluetooth_6lowpan
$ echo 1 > /sys/kernel/debug/bluetooth/6lowpan_enable
$ hciconfig hci0 leadv 

Master device:
$ modprobe 6lowpan
$ modprobe bluetooth_6lowpan
$ echo 1 > /sys/kernel/debug/bluetooth/6lowpan_enable
$ hcitool lescan << to obtain slave BT ADDR
$ echo "connect <remote_BT_MAC> 1" > /sys/kernel/debug/bluetooth/6lowpan_control
$ ifconfig (look for bt0 interface) << to obtain IPv6 address of slave device
$ ping6 -I bt0 <IPV6_ADDR>     <<<<------ The console message starts to appear here during ping6

The output of the console message:

[  794.985623] Slab corruption (Tainted: G     U         ): skbuff_head_cache start=ffff8801f568f700, len=232
[  795.008755] 050: 00 00 00 00 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b  ....kkkkkkkkkkkk
[  795.029380] Prev obj: start=ffff8801f568f600, len=232
[  795.044743] 000: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
[  795.061310] 010: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
[  795.076752] Next obj: start=ffff8801f568f800, len=232
[  795.088448] 000: 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b  kkkkkkkkkkkkkkkk
[  795.102365] 010: 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b  kkkkkkkkkkkkkkkk

The 6lowpan connection between the two devices is connected.
I observed that the console message appears once when the master initiates the connection to the slave and nothing happens after that.
Once I start doing the ping6 from master to slave, the same message appears again. This same set of message continues to be printed every 5 seconds or so.
This also persists when ping6 is done from the slave to the master. 

Do you know what could possibly cause this issue?

Please let me know if you require further information.

Thank you.

Best regards,
Joshua

^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2017-01-05 12:57 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-12-16  6:46 Bluetooth 6lowpan ping6 slab corruption Wong, Joshua Weng Onn
2016-12-16  7:44 ` Alexander Aring
2016-12-16  7:44   ` Alexander Aring
2016-12-16  8:18   ` Wong, Joshua Weng Onn
2016-12-16  9:54     ` Alexander Aring
2016-12-19  0:27       ` Wong, Joshua Weng Onn
     [not found]         ` <CAAK7Ti_wdFr6PUGzE0aDdUMTNJtNVZxRpJ7WWrV61btWcYHJJw@mail.gmail.com>
2016-12-19  6:38           ` Wong, Joshua Weng Onn
2016-12-19  8:19             ` Alexander Aring
2016-12-21 23:38         ` Wong, Joshua Weng Onn
2017-01-05  9:37           ` Alexander Aring
2017-01-05 12:57             ` Wong, Joshua Weng Onn
2016-12-16 12:34 ` Luiz Augusto von Dentz
2016-12-19  0:30   ` Wong, Joshua Weng Onn

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.