kismetwireless / kismet

Github mirror of official Kismet repository
Other
1.57k stars 306 forks source link

WiFi scanner, crash #497

Open PSLLSP opened 9 months ago

PSLLSP commented 9 months ago

Ubuntu 22.04.3 LTS, amd64 Kismet 2023-07-R1

USB WiFi dongle with chip RT5370.

$ kismet --version
Kismet 2023-07-R1

Kismet was running as WiFi scanner for several hours but crashed:

$ sudo kismet -c wlx0092c3112233:name=WIFI
...
...
INFO: Detected new 802.11 Wi-Fi device 42:F5:DA:11:22:33
Uncaught exception "basic_string_view::substr: __pos (which is 26) > __size (which is 24)"
Stack trace (most recent call last) in thread 17843:
#12   Object ", at 0xffffffffffffffff, in
#11   Source "../sysdeps/unix/sysv/linux/x86_64/clone3.S", line 81, in __clone3
#10   Source "./nptl/pthread_create.c", line 442, in start_thread
#9    Object "/usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.30, at 0x7f4ebe8dc252, in
#8    Object "/usr/bin/kismet, at 0x5574baf43d0b, in
#7    Object "/usr/bin/kismet, at 0x5574baf428b8, in packet_chain::packet_queue_processor(moodycamel::BlockingConcurrentQueue<std::shared_ptr<kis_packet>, moodycamel::ConcurrentQueueDefaultTraits>*)
#6    Object "/usr/bin/kismet, at 0x5574bb0e8110, in phydot11_packethook_dot11(void*, std::shared_ptr<kis_packet>)
#5    Object "/usr/bin/kismet, at 0x5574bb19d637, in kis_80211_phy::packet_dot11_dissector(std::shared_ptr<kis_packet>)
#4    Object "/usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.30, at 0x7f4ebe8a54cc, in
#3    Object "/usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.30, at 0x7f4ebe8ae4d7, in __cxa_throw
#2    Object "/usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.30, at 0x7f4ebe8ae276, in std::terminate()
#1    Object "/usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.30, at 0x7f4ebe8ae20b, in
#0    Object "/usr/bin/kismet, at 0x5574bb2b11fa, in TerminationHandler()
Uncaught exception "std::exception"
FATAL:  Error during write(): Broken pipe
Aborted (core dumped)