[Bug 1972140] Re: UBSAN: array-index-out-of-bounds in /build/linux-HMZHpV/linux-5.15.0/drivers/net/wireless/ath/ath5k/base.c:1695:20

2022-06-03 Thread js1
Same problem with latest official 5.15.0-35-generic.  I am willing to
test any patched 5.15 kernel build that also includes the linux-headers
package.  Thanks for your efforts.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1972140

Title:
  UBSAN: array-index-out-of-bounds in /build/linux-
  HMZHpV/linux-5.15.0/drivers/net/wireless/ath/ath5k/base.c:1695:20

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


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1972140] Re: UBSAN: array-index-out-of-bounds in /build/linux-HMZHpV/linux-5.15.0/drivers/net/wireless/ath/ath5k/base.c:1695:20

2022-05-31 Thread Kai-Heng Feng
Alright, please give this one a try:
https://people.canonical.com/~khfeng/lp1972140

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1972140

Title:
  UBSAN: array-index-out-of-bounds in /build/linux-
  HMZHpV/linux-5.15.0/drivers/net/wireless/ath/ath5k/base.c:1695:20

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


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1972140] Re: UBSAN: array-index-out-of-bounds in /build/linux-HMZHpV/linux-5.15.0/drivers/net/wireless/ath/ath5k/base.c:1695:20

2022-05-23 Thread js1
"nomodeset" did not work.  I have taken the official 5.15.0-33-generic
update.  Now I get this stack traces:


[   46.083490] 

[   46.138353] UBSAN: invalid-load in 
/build/linux-MLl0vf/linux-5.15.0/drivers/net/wireless/ath/ath5k/base.c:497:16   

  
[   46.197259] load of value 255 is not a valid value for type '_Bool'
[   46.228123] CPU: 0 PID: 705 Comm: NetworkManager Tainted: P  IOE 
5.15.0-33-generic #34-Ubuntu
[   46.228127] Hardware name: Dell Inc. Precision WorkStation T7500  /0D881F, 
BIOS A18 10/15/2018
[   46.228129] Call Trace:
[   46.228132]  
[   46.228135]  show_stack+0x52/0x58
[   46.228143]  dump_stack_lvl+0x4a/0x5f
[   46.228150]  dump_stack+0x10/0x12
[   46.228153]  ubsan_epilogue+0x9/0x45
[   46.228156]  __ubsan_handle_load_invalid_value.cold+0x44/0x49
[   46.228160]  ath5k_vif_iter.cold+0x67/0x70 [ath5k]
[   46.228173]  ath5k_update_bssid_mask_and_opmode+0x63/0x150 [ath5k]
[   46.228183]  ath5k_add_interface+0x1bb/0x260 [ath5k]
[   46.228193]  drv_add_interface+0x4e/0x100 [mac80211]
[   46.228262]  ieee80211_do_open+0x4f9/0x9c0 [mac80211]
[   46.228316]  ? ieee80211_check_concurrent_iface+0x158/0x1c0 [mac80211]
[   46.228370]  ieee80211_open+0x6c/0x90 [mac80211]
[   46.228423]  __dev_open+0xf3/0x1c0
[   46.228428]  __dev_change_flags+0x1a3/0x220
[   46.228431]  dev_change_flags+0x26/0x60
[   46.228434]  do_setlink+0x28a/0xc50
[   46.228437]  ? dev_get_alias+0x35/0x40
[   46.228440]  ? dev_get_alias+0x35/0x40
[   46.228442]  ? nla_put_ifalias+0x38/0xa0
[   46.228445]  ? __nla_validate_parse+0x4c/0x1a0
[   46.228452]  __rtnl_newlink+0x618/0xa20
[   46.228455]  ? __rtnl_newlink+0x14b/0xa20
[   46.228458]  ? __nla_put+0x20/0x30
[   46.228461]  ? __nla_reserve+0x41/0x50
[   46.228464]  ? __nla_reserve+0x41/0x50
[   46.228467]  ? apparmor_inet_conn_request+0x50/0x50
[   46.228471]  ? security_sock_rcv_skb+0x2f/0x50
[   46.228475]  ? skb_queue_tail+0x48/0x50
[   46.228478]  ? sock_def_readable+0x4b/0x80
[   46.228483]  ? __netlink_sendskb+0x62/0x80
[   46.228488]  ? netlink_unicast+0x2f3/0x330
[   46.228492]  ? rtnl_getlink+0x392/0x410
[   46.228499]  ? kmem_cache_alloc_trace+0x19e/0x2e0
[   46.228505]  rtnl_newlink+0x49/0x70
[   46.228507]  rtnetlink_rcv_msg+0x15d/0x400
[   46.228510]  ? rtnl_calcit.isra.0+0x130/0x130
[   46.228513]  netlink_rcv_skb+0x55/0x100
[   46.228517]  rtnetlink_rcv+0x15/0x20
[   46.228522]  netlink_unicast+0x21d/0x330
[   46.228526]  netlink_sendmsg+0x24c/0x4c0
[   46.228530]  sock_sendmsg+0x65/0x70
[   46.228533]  sys_sendmsg+0x24e/0x290
[   46.228536]  ? import_iovec+0x31/0x40
[   46.228540]  ? sendmsg_copy_msghdr+0x7b/0xa0
[   46.228543]  ? fput_many+0x4a/0x90
[   46.228548]  ___sys_sendmsg+0x81/0xc0
[   46.228551]  ? do_filp_open+0xb2/0x150
[   46.228555]  ? security_file_free+0x54/0x60
[   46.228560]  ? kmem_cache_free+0x245/0x290
[   46.228563]  ? rseq_get_rseq_cs.isra.0+0x1b/0x220
[   46.228569]  ? __call_rcu+0xa8/0x260
[   46.228574]  ? __fget_files+0x86/0xc0
[   46.228578]  ? __fget_light+0x32/0x80
[   46.228582]  __sys_sendmsg+0x62/0xb0
[   46.228586]  __x64_sys_sendmsg+0x1d/0x20
[   46.228589]  do_syscall_64+0x5c/0xc0
[   46.228595]  ? exit_to_user_mode_prepare+0x37/0xb0
[   46.228599]  ? syscall_exit_to_user_mode+0x27/0x50
[   46.228603]  ? do_syscall_64+0x69/0xc0
[   46.228606]  ? syscall_exit_to_user_mode+0x27/0x50
[   46.228609]  ? do_syscall_64+0x69/0xc0
[   46.228612]  ? asm_exc_page_fault+0x8/0x30
[   46.228616]  entry_SYSCALL_64_after_hwframe+0x44/0xae
[   46.228620] RIP: 0033:0x7fe5d68c4b4d
[   46.228624] 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
[   46.228626] RSP: 002b:7fffb57fe780 EFLAGS: 0293 ORIG_RAX: 
002e
[   46.228631] RAX: ffda RBX: 0010 RCX: 7fe5d68c4b4d
[   46.228633] RDX:  RSI: 7fffb57fe7c0 RDI: 000c
[   46.228635] RBP: 5591ac4ee040 R08:  R09: 
[   46.228637] R10:  R11: 0293 R12: 
[   46.228638] R13: 7fffb57fe910 R14: 7fffb57fe90c R15: 
[   46.228642]  
[   46.228643] 

[   46.395947] 

[   46.395955] UBSAN: invalid-load in 
/build/linux-MLl0vf/linux-5.15.0/drivers/net/wireless/ath/ath5k/base.c:488:16   

  
[   46.395960] load of value 142 is not a valid value for type '_Bool'
[   46.395963] CPU: 0 PID: 735 Comm: wpa_supplicant Tainted: P  IOE 
5.15.0-33-generic #34-Ubuntu
[  

[Bug 1972140] Re: UBSAN: array-index-out-of-bounds in /build/linux-HMZHpV/linux-5.15.0/drivers/net/wireless/ath/ath5k/base.c:1695:20

2022-05-23 Thread Kai-Heng Feng
Please use "nomodeset" to bypass nvidia.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1972140

Title:
  UBSAN: array-index-out-of-bounds in /build/linux-
  HMZHpV/linux-5.15.0/drivers/net/wireless/ath/ath5k/base.c:1695:20

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


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1972140] Re: UBSAN: array-index-out-of-bounds in /build/linux-HMZHpV/linux-5.15.0/drivers/net/wireless/ath/ath5k/base.c:1695:20

2022-05-22 Thread js1
Bro, X11 will not start on my computer (suffering from this bug) without
the nvidia driver.  If I cannot use my computer, I cannot reliably
report back if your patch works.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1972140

Title:
  UBSAN: array-index-out-of-bounds in /build/linux-
  HMZHpV/linux-5.15.0/drivers/net/wireless/ath/ath5k/base.c:1695:20

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


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1972140] Re: UBSAN: array-index-out-of-bounds in /build/linux-HMZHpV/linux-5.15.0/drivers/net/wireless/ath/ath5k/base.c:1695:20

2022-05-22 Thread Kai-Heng Feng
Hmm, but this bug doesn't need NVIDIA to work to be verified.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1972140

Title:
  UBSAN: array-index-out-of-bounds in /build/linux-
  HMZHpV/linux-5.15.0/drivers/net/wireless/ath/ath5k/base.c:1695:20

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


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1972140] Re: UBSAN: array-index-out-of-bounds in /build/linux-HMZHpV/linux-5.15.0/drivers/net/wireless/ath/ath5k/base.c:1695:20

2022-05-20 Thread js1
Awesome!  Can you please also upload the linux-header package for this
build?  The nvidia drivers won't build without it.

Module build for kernel 5.15.0-33-generic was skipped since the
kernel headers for this kernel does not seem to be installed.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1972140

Title:
  UBSAN: array-index-out-of-bounds in /build/linux-
  HMZHpV/linux-5.15.0/drivers/net/wireless/ath/ath5k/base.c:1695:20

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


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1972140] Re: UBSAN: array-index-out-of-bounds in /build/linux-HMZHpV/linux-5.15.0/drivers/net/wireless/ath/ath5k/base.c:1695:20

2022-05-20 Thread Kai-Heng Feng
5.15 based kernel can be found here:
https://people.canonical.com/~khfeng/lp1972140-5.15/

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1972140

Title:
  UBSAN: array-index-out-of-bounds in /build/linux-
  HMZHpV/linux-5.15.0/drivers/net/wireless/ath/ath5k/base.c:1695:20

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


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1972140] Re: UBSAN: array-index-out-of-bounds in /build/linux-HMZHpV/linux-5.15.0/drivers/net/wireless/ath/ath5k/base.c:1695:20

2022-05-19 Thread js1
Thank you very much for building the kernel.  However, since this
happened on 5.15.0-27, and the latest for 22.04 is 5.15.0-30, can you
build against that version train?  Sorry to be such a bother.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1972140

Title:
  UBSAN: array-index-out-of-bounds in /build/linux-
  HMZHpV/linux-5.15.0/drivers/net/wireless/ath/ath5k/base.c:1695:20

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


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1972140] Re: UBSAN: array-index-out-of-bounds in /build/linux-HMZHpV/linux-5.15.0/drivers/net/wireless/ath/ath5k/base.c:1695:20

2022-05-18 Thread Kai-Heng Feng
Binary can be found here:
https://people.canonical.com/~khfeng/lp1972140/

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1972140

Title:
  UBSAN: array-index-out-of-bounds in /build/linux-
  HMZHpV/linux-5.15.0/drivers/net/wireless/ath/ath5k/base.c:1695:20

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


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1972140] Re: UBSAN: array-index-out-of-bounds in /build/linux-HMZHpV/linux-5.15.0/drivers/net/wireless/ath/ath5k/base.c:1695:20

2022-05-18 Thread js1
Thanks for the quick response.  Will a patched kernel binary be
available from a ppa or testing repo?  Or, do I need to download the deb
src, patch, and build the kernel myself?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1972140

Title:
  UBSAN: array-index-out-of-bounds in /build/linux-
  HMZHpV/linux-5.15.0/drivers/net/wireless/ath/ath5k/base.c:1695:20

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


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1972140] Re: UBSAN: array-index-out-of-bounds in /build/linux-HMZHpV/linux-5.15.0/drivers/net/wireless/ath/ath5k/base.c:1695:20

2022-05-17 Thread Ubuntu Foundations Team Bug Bot
** Tags added: patch

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1972140

Title:
  UBSAN: array-index-out-of-bounds in /build/linux-
  HMZHpV/linux-5.15.0/drivers/net/wireless/ath/ath5k/base.c:1695:20

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


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1972140] Re: UBSAN: array-index-out-of-bounds in /build/linux-HMZHpV/linux-5.15.0/drivers/net/wireless/ath/ath5k/base.c:1695:20

2022-05-17 Thread Kai-Heng Feng
Please give this patch a try, thanks!

** Patch added: "0001-ath5k-Fix-out-of-bound-access.patch"
   
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1972140/+attachment/5590578/+files/0001-ath5k-Fix-out-of-bound-access.patch

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1972140

Title:
  UBSAN: array-index-out-of-bounds in /build/linux-
  HMZHpV/linux-5.15.0/drivers/net/wireless/ath/ath5k/base.c:1695:20

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


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs