Public bug reported:

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
20.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] 
================================================================================

** Affects: linux (Ubuntu)
     Importance: Undecided
         Status: Incomplete

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1983771

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

Status in linux package in Ubuntu:
  Incomplete

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 20.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] 
================================================================================

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1983771/+subscriptions


-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to     : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to