Feature-rich wifi hotspot creator for Linux which provides both GUI and command-line interface. It is also able to create a hotspot using the same wifi card which is connected to an AP already ( Similar to Windows 10).
BSD 2-Clause "Simplified" License
3.33k
stars
307
forks
source link
Kernel null pointer deference after device was suspended #433
Describe the bug
Once the device is suspended, and I try to stop the current running hotspot. I encounter a kernel NULL pointer dereference. This seems to break the entire network stack, and I have to restart the machine. This is probably more a kernel bug than something that belongs here, but I've only seen it happen with this program.
To Reproduce
Steps to reproduce the behavior:
Create a hotspot
Suspend the system.
Wake up the system.
Try to stop the hotspot.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
OS: archlinux
Version 6.11.3-arch1-1
Additional context
Output of journalctl --output=cat
NetworkManager-dispatcher.service: Deactivated successfully.
acer_wmi: Unknown function number - 8 - 0
acer_wmi: Unknown function number - 8 - 1
<info> [1728885575.0269] manager: NetworkManager state is now CONNECTED_GLOBAL
Starting Network Manager Script Dispatcher Service...
Started Network Manager Script Dispatcher Service.
pam_unix(polkit-1:session): session opened for user root(uid=0) by aadil(uid=1000)
aadil: Executing command [USER=root] [TTY=unknown] [CWD=/home/aadil] [COMMAND=/usr/bin/create_ap --stop 23706]
NetworkManager-dispatcher.service: Deactivated successfully.
pam_unix(polkit-1:session): session opened for user root(uid=0) by aadil(uid=1000)
aadil: Executing command [USER=root] [TTY=unknown] [CWD=/home/aadil] [COMMAND=/usr/bin/create_ap --list-running]
BUG: kernel NULL pointer dereference, address: 0000000000000098
#PF: supervisor write access in kernel mode
#PF: error_code(0x0002) - not-present page
PGD 0 P4D 0
Oops: Oops: 0002 [#1] PREEMPT SMP NOPTI
CPU: 2 UID: 0 PID: 232821 Comm: ip Not tainted 6.11.3-arch1-1 #1 1400000003000000474e55000681d53aa6c7b79b
Hardware name: Acer Aspire A315-57G/Happy_IL, BIOS V1.15 11/10/2021
RIP: 0010:down_write+0x20/0x60
Code: 90 90 90 90 90 90 90 90 90 90 f3 0f 1e fa 0f 1f 44 00 00 53 48 89 fb 2e 2e 2e 31 c0 65 ff 05 1f 1e bc 4c 31 c0 ba 01 00 00 00 <>
RSP: 0018:ffffb839e0be72f0 EFLAGS: 00010246
RAX: 0000000000000000 RBX: 0000000000000098 RCX: 0000000100000000
RDX: 0000000000000001 RSI: 0000000000000064 RDI: 0000000000000098
RBP: ffffb839e0be7348 R08: 0000000000000000 R09: 0000000000000000
R10: ffff937dbd04ca00 R11: 0000000000000000 R12: 0000000000000000
R13: 0000000000000000 R14: 0000000000000098 R15: ffff937f47bf26c0
FS: 00007bafc108c740(0000) GS:ffff93819c300000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000000000098 CR3: 00000002b9348005 CR4: 0000000000770ef0
I used to have this exact issue with older versions of Gnome, with the latest versions my system doesn't wake up from suspend at all, the lock screen doesn't show up.
Describe the bug Once the device is suspended, and I try to stop the current running hotspot. I encounter a kernel NULL pointer dereference. This seems to break the entire network stack, and I have to restart the machine. This is probably more a kernel bug than something that belongs here, but I've only seen it happen with this program.
To Reproduce Steps to reproduce the behavior:
Screenshots If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
Additional context Output of
journalctl --output=cat