View Issue Details

IDProjectCategoryView StatusLast Update
0005932Kali LinuxGeneral Bugpublic2020-12-01 10:41
Reporterpeerj Assigned To 
PrioritynormalSeveritycrashReproducibilityalways
Status closedResolutionopen 
Product Version2019.4 
Summary0005932: Latest kali 2019.4 running kismet on RPi3 produces massive logs for rtl8812au driver until kismet crashes.
Description

Running kismet on RPi3 with the latest upgrade of kali 2019.4, the kernel produces stack traces more often than ONCE EVERY SECOND, quickly filling /var/log/messages with many kilobytes of similar data.

Somewhat later, kismet stops with an error:

FATAL - Capture source did not get PING from Kismet for over 15 seconds; shutting down
ERROR: Data source 'wlan1 / wlan1' ('wlan1') encountered an error: Pipe
client error writing - Unknown error: 32
Uncaught exception "deadlock: shared mutex lock not available within 15 (claiming write)"
Stack trace (most recent call last) in thread 16858:
ALERT: SOURCEERROR Source wlan1 has encountered an error. Kismet will
attempt to re-open the source in 5 seconds. (1 failures)
ERROR: Source wlan1 has encountered an error. Kismet will attempt to
re-open the source in 5 seconds. (1 failures)
0000001 Object "/lib/arm-linux-gnueabihf/libstdc++.so.6, at 0x76a1dd83, in
#0 Object "kismet, at 0x78b303, in TerminationHandler()
Uncaught exception "std::exception"

Steps To Reproduce
  1. Start kismet. It properly produces it's normal info about startup, detected devices, APs, etc.
  2. tail -f /var log messages
  3. wait for kismet to crash
Additional Information

The errors logged in /var/log/messages look like this, from one of these to the next only the time changes:

Dec 18 10:48:17 kali kernel: [2633778.217767] ------------[ cut here ]------------
Dec 18 10:48:17 kali kernel: [2633778.217978] WARNING: CPU: 2 PID: 573 at drivers/net/wireless/realtek/rtl8812au/core/rtw_rf.c:216 rtw_get_scch_by_cch_offset+0xb4/0x10c [88XXau]
Dec 18 10:48:17 kali kernel: [2633778.217986] Modules linked in: hci_uart serdev joydev binfmt_misc btusb btrtl 88XXau raspberrypi_hwmon btintel hwmon btbcm brcmfmac bluetooth evdev brcmutil ecdh_generic cfg80211 rfkill hid_microsoft bcm2835_codec(C) bcm2835_v4l2(C) v4l2_mem2mem bcm2835_mmal_vchiq(C) snd_bcm2835(C) v4l2_common videobuf2_dma_contig videobuf2_vmalloc videobuf2_memops videobuf2_v4l2 snd_pcm videobuf2_common snd_timer videodev snd media vc_sm_cma(C) uio_pdrv_genirq uio fixed ip_tables x_tables ipv6
Dec 18 10:48:17 kali kernel: [2633778.218094] CPU: 2 PID: 573 Comm: RTW_CMD_THREAD Tainted: G WC 4.19.81-Re4son-v7+ 0000001
Dec 18 10:48:17 kali kernel: [2633778.218099] Hardware name: BCM2835
Dec 18 10:48:17 kali kernel: [2633778.218119] [<801120a8>] (unwind_backtrace) from [<8010d3f4>] (show_stack+0x20/0x24)
Dec 18 10:48:17 kali kernel: [2633778.218130] [<8010d3f4>] (show_stack) from [<8084ce64>] (dump_stack+0xcc/0x110)
Dec 18 10:48:17 kali kernel: [2633778.218142] [<8084ce64>] (dump_stack) from [<80120b9c>] (warn.part.3+0xcc/0xe8)
Dec 18 10:48:17 kali kernel: [2633778.218152] [<80120b9c>] (
warn.part.3) from [<80120d38>] (warn_slowpath_null+0x54/0x5c)
Dec 18 10:48:17 kali kernel: [2633778.218317] [<80120d38>] (warn_slowpath_null) from [<7f932314>] (rtw_get_scch_by_cch_offset+0xb4/0x10c [88XXau])
Dec 18 10:48:17 kali kernel: [2633778.218617] [<7f932314>] (rtw_get_scch_by_cch_offset [88XXau]) from [<7f96b370>] (rtw_hal_set_chnl_bw+0x11c/0x124 [88XXau])
Dec 18 10:48:17 kali kernel: [2633778.218914] [<7f96b370>] (rtw_hal_set_chnl_bw [88XXau]) from [<7f92c18c>] (set_channel_bwmode+0x90/0xcc [88XXau])
Dec 18 10:48:17 kali kernel: [2633778.219200] [<7f92c18c>] (set_channel_bwmode [88XXau]) from [<7f9289f8>] (rtw_set_chbw_hdl+0x40/0x50 [88XXau])
Dec 18 10:48:17 kali kernel: [2633778.219479] [<7f9289f8>] (rtw_set_chbw_hdl [88XXau]) from [<7f8fdef8>] (rtw_cmd_thread+0x1f4/0x3d8 [88XXau])
Dec 18 10:48:17 kali kernel: [2633778.219622] [<7f8fdef8>] (rtw_cmd_thread [88XXau]) from [<801426dc>] (kthread+0x16c/0x174)
Dec 18 10:48:17 kali kernel: [2633778.219632] [<801426dc>] (kthread) from [<801010ac>] (ret_from_fork+0x14/0x28)
Dec 18 10:48:17 kali kernel: [2633778.219638] Exception stack(0xb5495fb0 to 0xb5495ff8)
Dec 18 10:48:17 kali kernel: [2633778.219644] 5fa0: 00000000 00000000 00000000 00000000
Dec 18 10:48:17 kali kernel: [2633778.219651] 5fc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
Dec 18 10:48:17 kali kernel: [2633778.219657] 5fe0: 00000000 00000000 00000000 00000000 00000013 00000000
Dec 18 10:48:17 kali kernel: [2633778.219664] ---[ end trace 5dfa0517f541bd90 ]---

Activities

g0tmi1k

g0tmi1k

2020-12-01 10:41

administrator   ~0013813

This report has been filed against an old version of Kali. We will be closing this ticket due to inactivity.
Please could you see if you are able to replicate this issue with the latest version of Kali Linux (https://www.kali.org/downloads/)?
If you are still facing the same problem, feel free to re-open the ticket. If you choose to do this, could you provide more information to the issue you are facing, and also give information about your setup?
For more information, please read: https://kali.training/topic/filing-a-good-bug-report/

Issue History

Date Modified Username Field Change
2019-12-18 11:24 peerj New Issue
2020-12-01 10:41 g0tmi1k Note Added: 0013813
2020-12-01 10:41 g0tmi1k Status new => closed