You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have two kernel modules from this repo. 88x2bu1 and 88x2bu2. They are from the same commit.
I think I did not see this kind of logs on Ubuntu 20.04. Recently I upgraded to 22.04, so perhaps these logs started to show up because of the kernel version change?
Here are some warnings similar to the previous one (call stack removed):
[ 11.788712] UBSAN: array-index-out-of-bounds in /var/lib/dkms/rtl88x2bu2/5.13.1/build/hal/phydm/phydm_dfs.c:1287:46
[ 11.788714] index 6 is out of range for type 'u8 [6]'
[ 11.789460] UBSAN: array-index-out-of-bounds in /var/lib/dkms/rtl88x2bu2/5.13.1/build/hal/phydm/phydm_dfs.c:1286:24
[ 11.789462] index 6 is out of range for type 'u8 [6]'
[ 11.790185] UBSAN: array-index-out-of-bounds in /var/lib/dkms/rtl88x2bu2/5.13.1/build/hal/phydm/phydm_dfs.c:1288:53
[ 11.790187] index 6 is out of range for type 'u8 [6]'
[ 11.790919] UBSAN: array-index-out-of-bounds in /var/lib/dkms/rtl88x2bu2/5.13.1/build/hal/phydm/phydm_dfs.c:1289:47
[ 11.790922] index 6 is out of range for type 'u8 [6]'
[ 11.791672] UBSAN: array-index-out-of-bounds in /var/lib/dkms/rtl88x2bu2/5.13.1/build/hal/phydm/phydm_dfs.c:1288:25
[ 11.791674] index 6 is out of range for type 'u8 [6]
The text was updated successfully, but these errors were encountered:
tbh I am surprised that this kernel enabled UBSAN. I thought this should be some debug feature for kernel developers and should never be turned on in these linux distributions.
Also I am surprised that undefined behavior can be detected at runtime.
The driver works fine but there are some call stack dump in my
dmesg
. So I think I should share them.The commit I'm using is:
I have two kernel modules from this repo.
88x2bu1
and88x2bu2
. They are from the same commit.I think I did not see this kind of logs on Ubuntu 20.04. Recently I upgraded to 22.04, so perhaps these logs started to show up because of the kernel version change?
Here are some warnings similar to the previous one (call stack removed):
The text was updated successfully, but these errors were encountered: