value 255 is not a valid value for type '_Bool' error for ath5k

Bug #1983771 reported by pp
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Kubuntu 22.04 doesn't list all wifi networks. Especially it doesn't list my wifi network which has the strongest signal. It was working fine in 18.04. My wifi is using ath5k driver. In dmesg I see this error:

[ 57.519923] ================================================================================
[ 57.519951] UBSAN: invalid-load in /build/linux-yb72Cu/linux-5.15.0/drivers/net/wireless/ath/ath5k/base.c:497:16
[ 57.519977] load of value 255 is not a valid value for type '_Bool'
[ 57.519993] CPU: 2 PID: 1459 Comm: NetworkManager Not tainted 5.15.0-43-generic #46-Ubuntu
[ 57.519994] Hardware name: LENOVO 10A8A0HBMD/SHARKBAY, BIOS FBKTB6AUS 08/02/2015
[ 57.519995] Call Trace:
[ 57.519997] <TASK>
[ 57.519998] show_stack+0x52/0x58
[ 57.520002] dump_stack_lvl+0x4a/0x5f
[ 57.520006] dump_stack+0x10/0x12
[ 57.520008] ubsan_epilogue+0x9/0x45
[ 57.520010] __ubsan_handle_load_invalid_value.cold+0x44/0x49
[ 57.520012] ath5k_vif_iter.cold+0x67/0x70 [ath5k]
[ 57.520019] ath5k_update_bssid_mask_and_opmode+0x63/0x150 [ath5k]
[ 57.520023] ath5k_add_interface+0x1bb/0x260 [ath5k]
[ 57.520027] drv_add_interface+0x4e/0x100 [mac80211]
[ 57.520057] ieee80211_do_open+0x4f9/0x9c0 [mac80211]
[ 57.520080] ? ieee80211_check_concurrent_iface+0x158/0x1c0 [mac80211]
[ 57.520104] ieee80211_open+0x6c/0x90 [mac80211]
[ 57.520127] __dev_open+0xf3/0x1c0
[ 57.520129] __dev_change_flags+0x1a3/0x220
[ 57.520131] ? __nla_validate_parse+0x14b/0x1a0
[ 57.520135] dev_change_flags+0x26/0x60
[ 57.520137] do_setlink+0x28a/0xc50
[ 57.520139] ? __nla_validate_parse+0x4c/0x1a0
[ 57.520141] __rtnl_newlink+0x618/0xa20
[ 57.520143] ? skb_free_head+0x68/0x80
[ 57.520146] ? apparmor_inet_conn_request+0x50/0x50
[ 57.520148] ? security_sock_rcv_skb+0x2f/0x50
[ 57.520151] ? skb_queue_tail+0x48/0x50
[ 57.520152] ? sock_def_readable+0x4b/0x80
[ 57.520153] ? __netlink_sendskb+0x62/0x80
[ 57.520157] ? netlink_unicast+0x2f3/0x330
[ 57.520158] ? rtnl_getlink+0x392/0x410
[ 57.520162] ? kmem_cache_alloc_trace+0x19e/0x2e0
[ 57.520165] rtnl_newlink+0x49/0x70
[ 57.520167] rtnetlink_rcv_msg+0x15d/0x400
[ 57.520169] ? rtnl_calcit.isra.0+0x130/0x130
[ 57.520170] netlink_rcv_skb+0x55/0x100
[ 57.520172] rtnetlink_rcv+0x15/0x20
[ 57.520173] netlink_unicast+0x21d/0x330
[ 57.520174] netlink_sendmsg+0x24c/0x4c0
[ 57.520176] sock_sendmsg+0x65/0x70
[ 57.520178] ____sys_sendmsg+0x24e/0x290
[ 57.520179] ? import_iovec+0x31/0x40
[ 57.520182] ? sendmsg_copy_msghdr+0x7b/0xa0
[ 57.520184] ___sys_sendmsg+0x81/0xc0
[ 57.520186] ? ttwu_do_activate+0x72/0xf0
[ 57.520189] ? try_to_wake_up+0x1fc/0x5a0
[ 57.520190] ? kvfree+0x2a/0x30
[ 57.520192] ? __fget_files+0x86/0xc0
[ 57.520195] ? __fget_light+0x32/0x80
[ 57.520197] __sys_sendmsg+0x62/0xb0
[ 57.520199] __x64_sys_sendmsg+0x1d/0x20
[ 57.520201] do_syscall_64+0x5c/0xc0
[ 57.520203] ? syscall_exit_to_user_mode+0x27/0x50
[ 57.520206] ? do_syscall_64+0x69/0xc0
[ 57.520207] ? do_syscall_64+0x69/0xc0
[ 57.520208] ? syscall_exit_to_user_mode+0x27/0x50
[ 57.520210] ? do_syscall_64+0x69/0xc0
[ 57.520211] ? exit_to_user_mode_prepare+0x37/0xb0
[ 57.520214] ? syscall_exit_to_user_mode+0x27/0x50
[ 57.520215] ? __x64_sys_close+0x11/0x40
[ 57.520218] ? do_syscall_64+0x69/0xc0
[ 57.520219] ? syscall_exit_to_user_mode+0x27/0x50
[ 57.520221] ? __x64_sys_write+0x19/0x20
[ 57.520223] ? do_syscall_64+0x69/0xc0
[ 57.520224] entry_SYSCALL_64_after_hwframe+0x44/0xae
[ 57.520227] RIP: 0033:0x7f19e14aeb4d
[ 57.520229] Code: 28 89 54 24 1c 48 89 74 24 10 89 7c 24 08 e8 3a 8f f6 ff 8b 54 24 1c 48 8b 74 24 10 41 89 c0 8b 7c 24 08 b8 2e 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 33 44 89 c7 48 89 44 24 08 e8 7e 8f f6 ff 48
[ 57.520231] RSP: 002b:00007ffc10f0a6a0 EFLAGS: 00000293 ORIG_RAX: 000000000000002e
[ 57.520233] RAX: ffffffffffffffda RBX: 0000000000000010 RCX: 00007f19e14aeb4d
[ 57.520234] RDX: 0000000000000000 RSI: 00007ffc10f0a6e0 RDI: 000000000000000c
[ 57.520234] RBP: 000055e76e3b1040 R08: 0000000000000000 R09: 0000000000000000
[ 57.520235] R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000000
[ 57.520236] R13: 00007ffc10f0a830 R14: 00007ffc10f0a82c R15: 0000000000000000
[ 57.520238] </TASK>
[ 57.520238] ================================================================================
[ 57.525881] ================================================================================
[ 57.525906] UBSAN: invalid-load in /build/linux-yb72Cu/linux-5.15.0/drivers/net/wireless/ath/ath5k/base.c:488:16
[ 57.525947] load of value 255 is not a valid value for type '_Bool'
[ 57.525964] CPU: 5 PID: 798 Comm: kworker/u16:9 Not tainted 5.15.0-43-generic #46-Ubuntu
[ 57.525966] Hardware name: LENOVO 10A8A0HBMD/SHARKBAY, BIOS FBKTB6AUS 08/02/2015
[ 57.525966] Workqueue: phy0 ieee80211_reconfig_filter [mac80211]
[ 57.525991] Call Trace:
[ 57.525992] <TASK>
[ 57.525993] show_stack+0x52/0x58
[ 57.525995] dump_stack_lvl+0x4a/0x5f
[ 57.525997] dump_stack+0x10/0x12
[ 57.526009] ubsan_epilogue+0x9/0x45
[ 57.526011] __ubsan_handle_load_invalid_value.cold+0x44/0x49
[ 57.526013] ? sched_clock_cpu+0x12/0xf0
[ 57.526015] ath5k_vif_iter.cold+0x13/0x70 [ath5k]
[ 57.526020] ? update_load_avg+0x82/0x620
[ 57.526022] __iterate_interfaces+0xa2/0x100 [mac80211]
[ 57.526057] ? ath5k_tasklet_ani+0x30/0x30 [ath5k]
[ 57.526062] ieee80211_iterate_active_interfaces_atomic+0x11/0x20 [mac80211]
[ 57.526085] ath5k_configure_filter+0x114/0x190 [ath5k]
[ 57.526090] ieee80211_configure_filter+0x175/0x2d0 [mac80211]
[ 57.526108] ieee80211_reconfig_filter+0x15/0x20 [mac80211]
[ 57.526125] process_one_work+0x22b/0x3d0
[ 57.526128] worker_thread+0x53/0x410
[ 57.526130] ? process_one_work+0x3d0/0x3d0
[ 57.526132] kthread+0x12a/0x150
[ 57.526134] ? set_kthread_struct+0x50/0x50
[ 57.526136] ret_from_fork+0x22/0x30
[ 57.526139] </TASK>
[ 57.526139] ================================================================================
---
ProblemType: Bug
ApportVersion: 2.20.11-0ubuntu82.1
Architecture: amd64
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC1: piotr 1759 F.... pulseaudio
 /dev/snd/controlC0: piotr 1759 F.... pulseaudio
CasperMD5CheckResult: unknown
CurrentDesktop: KDE
DistroRelease: Ubuntu 22.04
HibernationDevice:
 RESUME=UUID=019acf2f-bbc8-46c4-bef1-e12bce262cd5
 # RESUME=none
InstallationDate: Installed on 2018-12-25 (1320 days ago)
InstallationMedia: Kubuntu 18.04.1 LTS "Bionic Beaver" - Release amd64 (20180725)
MachineType: LENOVO 10A8A0HBMD
Package: linux (not installed)
ProcFB: 0 i915drmfb
ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-5.15.0-43-generic root=UUID=2494534b-8954-4f78-b6b7-49d239baff08 ro quiet splash
ProcVersionSignature: Ubuntu 5.15.0-43.46-generic 5.15.39
RelatedPackageVersions:
 linux-restricted-modules-5.15.0-43-generic N/A
 linux-backports-modules-5.15.0-43-generic N/A
 linux-firmware 20220329.git681281e4-0ubuntu3.3
RfKill:
 0: phy0: Wireless LAN
  Soft blocked: no
  Hard blocked: no
Tags: jammy
Uname: Linux 5.15.0-43-generic x86_64
UpgradeStatus: Upgraded to jammy on 2022-08-06 (0 days ago)
UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo vboxusers
_MarkForUpload: True
dmi.bios.date: 08/02/2015
dmi.bios.release: 1.182
dmi.bios.vendor: LENOVO
dmi.bios.version: FBKTB6AUS
dmi.board.name: SHARKBAY
dmi.board.vendor: LENOVO
dmi.board.version: NOK
dmi.chassis.type: 3
dmi.chassis.vendor: To Be Filled By O.E.M.
dmi.chassis.version: To Be Filled By O.E.M.
dmi.ec.firmware.release: 1.13
dmi.modalias: dmi:bvnLENOVO:bvrFBKTB6AUS:bd08/02/2015:br1.182:efr1.13:svnLENOVO:pn10A8A0HBMD:pvrThinkCentreM93p:rvnLENOVO:rnSHARKBAY:rvrNOK:cvnToBeFilledByO.E.M.:ct3:cvrToBeFilledByO.E.M.:skuLENOVO_MT_10A8:
dmi.product.family: ThinkCentre M93p
dmi.product.name: 10A8A0HBMD
dmi.product.sku: LENOVO_MT_10A8
dmi.product.version: ThinkCentre M93p
dmi.sys.vendor: LENOVO

Revision history for this message
pp (pitrasw) wrote :
Revision history for this message
pp (pitrasw) wrote :
Revision history for this message
Ubuntu Kernel Bot (ubuntu-kernel-bot) wrote : Missing required logs.

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 1983771

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.

Changed in linux (Ubuntu):
status: New → Incomplete
pp (pitrasw)
description: updated
Revision history for this message
pp (pitrasw) wrote : AlsaInfo.txt

apport information

tags: added: apport-collected jammy
description: updated
Revision history for this message
pp (pitrasw) wrote : CRDA.txt

apport information

Revision history for this message
pp (pitrasw) wrote : CurrentDmesg.txt

apport information

Revision history for this message
pp (pitrasw) wrote : IwConfig.txt

apport information

Revision history for this message
pp (pitrasw) wrote : Lspci.txt

apport information

Revision history for this message
pp (pitrasw) wrote : Lspci-vt.txt

apport information

Revision history for this message
pp (pitrasw) wrote : Lsusb.txt

apport information

Revision history for this message
pp (pitrasw) wrote : Lsusb-t.txt

apport information

Revision history for this message
pp (pitrasw) wrote : Lsusb-v.txt

apport information

Revision history for this message
pp (pitrasw) wrote : PaInfo.txt

apport information

Revision history for this message
pp (pitrasw) wrote : ProcCpuinfo.txt

apport information

Revision history for this message
pp (pitrasw) wrote : ProcCpuinfoMinimal.txt

apport information

Revision history for this message
pp (pitrasw) wrote : ProcEnviron.txt

apport information

Revision history for this message
pp (pitrasw) wrote : ProcInterrupts.txt

apport information

Revision history for this message
pp (pitrasw) wrote : ProcModules.txt

apport information

Revision history for this message
pp (pitrasw) wrote : PulseList.txt

apport information

Revision history for this message
pp (pitrasw) wrote : UdevDb.txt

apport information

Revision history for this message
pp (pitrasw) wrote : WifiSyslog.txt

apport information

Revision history for this message
pp (pitrasw) wrote : acpidump.txt

apport information

Changed in linux (Ubuntu):
status: Incomplete → Confirmed
description: updated
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.