UBSAN: shift-out-of-bounds in WiFi driver (iwlwifi/mvm/mac-ctxt.c)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
Hello all!
On Ubuntu 20.04.5 LTS, when I use the mdk3 tool (https:/
UBSAN: shift-out-of-bounds in /build/
shift exponent 65535 is too large for 64-bit type 'long unsigned int'
The exact command I use is :
mdk3 wlp2s0 b -f somefile.txt -a -s 200
(Where wlp2s0 is my main Wi-Fi interface.)
Here is the full logs:
Dec 2 09:22:38 red-october kernel: [ 1228.100538] =======
Dec 2 09:22:38 red-october kernel: [ 1228.100614] UBSAN: shift-out-of-bounds in /build/
Dec 2 09:22:38 red-october kernel: [ 1228.100714] shift exponent 65535 is too large for 64-bit type 'long unsigned int'
Dec 2 09:22:38 red-october kernel: [ 1228.102683] CPU: 3 PID: 5865 Comm: ifconfig Tainted: P OE 5.15.0-53-generic #59~20.04.1-Ubuntu
Dec 2 09:22:38 red-october kernel: [ 1228.102689] Hardware name: ASUSTeK COMPUTER INC. ROG Zephyrus G14 GA401II_
Dec 2 09:22:38 red-october kernel: [ 1228.102693] Call Trace:
Dec 2 09:22:38 red-october kernel: [ 1228.102696] <TASK>
Dec 2 09:22:38 red-october kernel: [ 1228.102701] dump_stack_
Dec 2 09:22:38 red-october kernel: [ 1228.102713] dump_stack+
Dec 2 09:22:38 red-october kernel: [ 1228.102718] ubsan_epilogue+
Dec 2 09:22:38 red-october kernel: [ 1228.102723] __ubsan_
Dec 2 09:22:38 red-october kernel: [ 1228.102734] iwl_mvm_
Dec 2 09:22:38 red-october kernel: [ 1228.102770] iwl_mvm_
Dec 2 09:22:38 red-october kernel: [ 1228.102798] iwl_mvm_
Dec 2 09:22:38 red-october kernel: [ 1228.102821] iwl_mvm_
Dec 2 09:22:38 red-october kernel: [ 1228.102847] drv_add_
Dec 2 09:22:38 red-october kernel: [ 1228.102912] ieee80211_
Dec 2 09:22:38 red-october kernel: [ 1228.102980] ieee80211_
Dec 2 09:22:38 red-october kernel: [ 1228.103041] ? ieee80211_
Dec 2 09:22:38 red-october kernel: [ 1228.103104] ieee80211_
Dec 2 09:22:38 red-october kernel: [ 1228.103165] __dev_open+
Dec 2 09:22:38 red-october kernel: [ 1228.103172] __dev_change_
Dec 2 09:22:38 red-october kernel: [ 1228.103178] dev_change_
Dec 2 09:22:38 red-october kernel: [ 1228.103183] devinet_
Dec 2 09:22:38 red-october kernel: [ 1228.103192] inet_ioctl+
Dec 2 09:22:38 red-october kernel: [ 1228.103199] sock_do_
Dec 2 09:22:38 red-october kernel: [ 1228.103206] sock_ioctl+
Dec 2 09:22:38 red-october kernel: [ 1228.103211] ? syscall_
Dec 2 09:22:38 red-october kernel: [ 1228.103218] ? do_syscall_
Dec 2 09:22:38 red-october kernel: [ 1228.103223] __x64_sys_
Dec 2 09:22:38 red-october kernel: [ 1228.103232] do_syscall_
Dec 2 09:22:38 red-october kernel: [ 1228.103236] ? irqentry_
Dec 2 09:22:38 red-october kernel: [ 1228.103241] ? irqentry_
Dec 2 09:22:38 red-october kernel: [ 1228.103246] ? exc_page_
Dec 2 09:22:38 red-october kernel: [ 1228.103252] entry_SYSCALL_
Dec 2 09:22:38 red-october kernel: [ 1228.103257] RIP: 0033:0x7f487d3b63ab
Dec 2 09:22:38 red-october kernel: [ 1228.103263] Code: 0f 1e fa 48 8b 05 e5 7a 0d 00 64 c7 00 26 00 00 00 48 c7 c0 ff ff ff ff c3 66 0f 1f 44 00 00 f3 0f 1e fa b8 10 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d b5 7a 0d 00 f7 d8 64 89 01 48
Dec 2 09:22:38 red-october kernel: [ 1228.103267] RSP: 002b:00007ffc14
Dec 2 09:22:38 red-october kernel: [ 1228.103273] RAX: ffffffffffffffda RBX: 00007ffc147740b0 RCX: 00007f487d3b63ab
Dec 2 09:22:38 red-october kernel: [ 1228.103276] RDX: 00007ffc147740b0 RSI: 0000000000008914 RDI: 0000000000000004
Dec 2 09:22:38 red-october kernel: [ 1228.103278] RBP: 00007ffc14774160 R08: 0000000000000008 R09: 0000561e451b2940
Dec 2 09:22:38 red-october kernel: [ 1228.103281] R10: 0000000000000021 R11: 0000000000000202 R12: 0000000000000041
Dec 2 09:22:38 red-october kernel: [ 1228.103283] R13: 00007ffc14774458 R14: 0000000000000000 R15: 0000000000000000
Dec 2 09:22:38 red-october kernel: [ 1228.103288] </TASK>
Dec 2 09:22:38 red-october kernel: [ 1228.103290] =======
Dec 2 09:22:38 red-october kernel: [ 1228.109299] IPv6: ADDRCONF(
Dec 2 09:22:38 red-october kernel: [ 1228.131698] device wlp2s0 entered promiscuous mode
Dec 2 09:23:29 red-october kernel: [ 1278.805519] AppRun[2337]: segfault at 8 ip 00007f6b8401cb41 sp 00007ffd8c7daa70 error 4 in libQt5DBus.
Dec 2 09:23:29 red-october kernel: [ 1278.805537] Code: 00 00 00 c3 90 0f 1f 40 00 48 8b 47 08 8b 80 a0 00 00 00 c3 90 0f 1f 40 00 41 57 41 56 41 55 41 54 49 89 fc 55 53 48 83 ec 48 <48> 8b 5e 08 64 48 8b 04 25 28 00 00 00 48 89 44 24 38 31 c0 80 bb
---
ProblemType: Bug
ApportVersion: 2.20.11-
Architecture: amd64
AudioDevicesInUse:
USER PID ACCESS COMMAND
/dev/snd/
/dev/snd/
/dev/snd/
CasperMD5CheckR
CurrentDesktop: i3
DistroRelease: Ubuntu 20.04
InstallationDate: Installed on 2021-02-05 (667 days ago)
InstallationMedia: Ubuntu 20.04.1 LTS "Focal Fossa" - Release amd64 (20200731)
MachineType: ASUSTeK COMPUTER INC. ROG Zephyrus G14 GA401II_GA401II
NonfreeKernelMo
Package: linux (not installed)
ProcEnviron:
TERM=xterm-
PATH=(custom, no user)
XDG_RUNTIME_
LANG=fr_FR.UTF-8
SHELL=/bin/bash
ProcFB: 0 amdgpudrmfb
ProcKernelCmdLine: BOOT_IMAGE=
ProcVersionSign
RelatedPackageV
linux-
linux-
linux-firmware 1.201.5+
Tags: focal
Uname: Linux 5.15.0-53-generic x86_64
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm cdrom dip docker libvirt lpadmin lxd plugdev sambashare sudo vboxusers
_MarkForUpload: True
dmi.bios.date: 03/14/2022
dmi.bios.release: 5.16
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: GA401II.220
dmi.board.
dmi.board.name: GA401II
dmi.board.vendor: ASUSTeK COMPUTER INC.
dmi.board.version: 1.0
dmi.chassis.
dmi.chassis.type: 10
dmi.chassis.vendor: ASUSTeK COMPUTER INC.
dmi.chassis.
dmi.ec.
dmi.modalias: dmi:bvnAmerican
dmi.product.family: ROG Zephyrus G14
dmi.product.name: ROG Zephyrus G14 GA401II_GA401II
dmi.product.
dmi.sys.vendor: ASUSTeK COMPUTER INC.
This bug is missing log files that will aid in diagnosing the problem. While running an Ubuntu kernel (not a mainline or third-party kernel) please enter the following command in a terminal window:
apport-collect 1998576
and then change the status of the bug to 'Confirmed'.
If, due to the nature of the issue you have encountered, you are unable to run this command, please add a comment stating that fact and change the bug status to 'Confirmed'.
This change has been made by an automated script, maintained by the Ubuntu Kernel Team.