Public bug reported:

[Impact]
When bootup Jammy kernel, it shows callrace:
kernel: 
================================================================================
kernel: UBSAN: invalid-load in 
/home/u/aaron/bionic/net/mac80211/status.c:1164:21
kernel: load of value 216 is not a valid value for type '_Bool'
kernel: CPU: 9 PID: 0 Comm: swapper/9 Not tainted 5.15.36+ #12
kernel: Hardware name: LENOVO 21D2SIT061/21D2SIT061, BIOS N3GET30W (1.11 ) 
05/27/2022
kernel: Call Trace:
kernel:  <IRQ>
kernel:  dump_stack_lvl+0x4a/0x5f
kernel:  dump_stack+0x10/0x12
kernel:  ubsan_epilogue+0x9/0x45
kernel:  __ubsan_handle_load_invalid_value.cold+0x44/0x49
kernel:  ieee80211_tx_status_ext.cold+0x1e/0xb0 [mac80211]
kernel:  ? percpu_ref_kill_and_confirm+0xd0/0xd0
kernel:  ? rht_key_get_hash.isra.0+0x19/0x20 [mac80211]
kernel:  ? sta_info_hash_lookup+0xac/0x100 [mac80211]
kernel:  ieee80211_tx_status+0x72/0xa0 [mac80211]
kernel:  ieee80211_tasklet_handler+0xa2/0xd0 [mac80211]
kernel:  tasklet_action_common.constprop.0+0xc0/0xf0
kernel:  tasklet_action+0x22/0x30
kernel:  __do_softirq+0xd9/0x2e3
kernel:  irq_exit_rcu+0x8c/0xb0
kernel:  common_interrupt+0x8a/0xa0
kernel:  </IRQ>
kernel:  <TASK>
kernel:  asm_common_interrupt+0x1e/0x40
kernel: RIP: 0010:cpuidle_enter_state+0xd9/0x620
kernel: Code: 3d b4 85 3d 5c e8 57 a7 6b ff 49 89 c7 0f 1f 44 00 00 31 ff e8 a8 
b3 6b ff 80 7d d0>
kernel: RSP: 0018:ffff9e2dc01f7e38 EFLAGS: 00000246
kernel: RAX: ffff8dfdb6870b00 RBX: ffff8df6c3ab6c00 RCX: 000000023cd33784
kernel: RDX: 000000023d103fa8 RSI: 000000023cd33784 RDI: 0000000000000000
kernel: RBP: ffff9e2dc01f7e88 R08: 000000023cd33d63 R09: 00000000000aae60
kernel: R10: 0000000000000004 R11: 071c71c71c71c71c R12: ffffffffa4ce65a0
kernel: R13: 0000000000000003 R14: 0000000000000003 R15: 000000023cd33d63
kernel:  ? cpuidle_enter_state+0xc8/0x620
kernel:  ? sched_clock_local+0x13/0x90
kernel:  cpuidle_enter+0x2e/0x40
kernel:  do_idle+0x203/0x2a0
kernel:  cpu_startup_entry+0x20/0x30
kernel:  start_secondary+0x12a/0x180
kernel:  secondary_startup_64_no_verify+0xc2/0xcb
kernel:  </TASK>
kernel: 
================================================================================

[Fix]
The size of the status_driver_data field was not adjusted
when the is_valid_ack_signal field was added.
Adjust the struct size accordingly.

[Test]
Verified on hardware, no error.

[Where problems could occur]
Low risk, It may break wifi driver.
Minor changes in title of "Copyright" when backport.

** Affects: linux (Ubuntu)
     Importance: Undecided
         Status: In Progress

** Affects: linux-oem-5.17 (Ubuntu)
     Importance: Undecided
         Status: In Progress

** Affects: linux (Ubuntu Jammy)
     Importance: Undecided
         Status: In Progress

** Affects: linux-oem-5.17 (Ubuntu Jammy)
     Importance: Undecided
         Status: In Progress

** Also affects: linux (Ubuntu Jammy)
   Importance: Undecided
       Status: New

** Also affects: linux-oem-5.17 (Ubuntu)
   Importance: Undecided
       Status: New

** Changed in: linux (Ubuntu)
       Status: New => In Progress

** Changed in: linux (Ubuntu Jammy)
       Status: New => In Progress

** Changed in: linux-oem-5.17 (Ubuntu)
       Status: New => In Progress

** Changed in: linux-oem-5.17 (Ubuntu Jammy)
       Status: New => In Progress

** Description changed:

  [Impact]
  When bootup Jammy kernel, it shows callrace:
  kernel: 
================================================================================
  kernel: UBSAN: invalid-load in 
/home/u/aaron/bionic/net/mac80211/status.c:1164:21
  kernel: load of value 216 is not a valid value for type '_Bool'
  kernel: CPU: 9 PID: 0 Comm: swapper/9 Not tainted 5.15.36+ #12
  kernel: Hardware name: LENOVO 21D2SIT061/21D2SIT061, BIOS N3GET30W (1.11 ) 
05/27/2022
  kernel: Call Trace:
  kernel:  <IRQ>
  kernel:  dump_stack_lvl+0x4a/0x5f
  kernel:  dump_stack+0x10/0x12
  kernel:  ubsan_epilogue+0x9/0x45
  kernel:  __ubsan_handle_load_invalid_value.cold+0x44/0x49
  kernel:  ieee80211_tx_status_ext.cold+0x1e/0xb0 [mac80211]
  kernel:  ? percpu_ref_kill_and_confirm+0xd0/0xd0
  kernel:  ? rht_key_get_hash.isra.0+0x19/0x20 [mac80211]
  kernel:  ? sta_info_hash_lookup+0xac/0x100 [mac80211]
  kernel:  ieee80211_tx_status+0x72/0xa0 [mac80211]
  kernel:  ieee80211_tasklet_handler+0xa2/0xd0 [mac80211]
  kernel:  tasklet_action_common.constprop.0+0xc0/0xf0
  kernel:  tasklet_action+0x22/0x30
  kernel:  __do_softirq+0xd9/0x2e3
  kernel:  irq_exit_rcu+0x8c/0xb0
  kernel:  common_interrupt+0x8a/0xa0
  kernel:  </IRQ>
  kernel:  <TASK>
  kernel:  asm_common_interrupt+0x1e/0x40
  kernel: RIP: 0010:cpuidle_enter_state+0xd9/0x620
  kernel: Code: 3d b4 85 3d 5c e8 57 a7 6b ff 49 89 c7 0f 1f 44 00 00 31 ff e8 
a8 b3 6b ff 80 7d d0>
  kernel: RSP: 0018:ffff9e2dc01f7e38 EFLAGS: 00000246
  kernel: RAX: ffff8dfdb6870b00 RBX: ffff8df6c3ab6c00 RCX: 000000023cd33784
  kernel: RDX: 000000023d103fa8 RSI: 000000023cd33784 RDI: 0000000000000000
  kernel: RBP: ffff9e2dc01f7e88 R08: 000000023cd33d63 R09: 00000000000aae60
  kernel: R10: 0000000000000004 R11: 071c71c71c71c71c R12: ffffffffa4ce65a0
  kernel: R13: 0000000000000003 R14: 0000000000000003 R15: 000000023cd33d63
  kernel:  ? cpuidle_enter_state+0xc8/0x620
  kernel:  ? sched_clock_local+0x13/0x90
  kernel:  cpuidle_enter+0x2e/0x40
  kernel:  do_idle+0x203/0x2a0
  kernel:  cpu_startup_entry+0x20/0x30
  kernel:  start_secondary+0x12a/0x180
  kernel:  secondary_startup_64_no_verify+0xc2/0xcb
  kernel:  </TASK>
  kernel: 
================================================================================
  
  [Fix]
  The size of the status_driver_data field was not adjusted
  when the is_valid_ack_signal field was added.
  Adjust the struct size accordingly.
  
  [Test]
  Verified on hardware, no error.
  
  [Where problems could occur]
  Low risk, It may break wifi driver.
+ Minor changes in title of "Copyright" when backport.

-- 
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/1978297

Title:
  [SRU][Jammy/OEM-5.17][PATCH 0/1] Fix calltrace in mac80211

Status in linux package in Ubuntu:
  In Progress
Status in linux-oem-5.17 package in Ubuntu:
  In Progress
Status in linux source package in Jammy:
  In Progress
Status in linux-oem-5.17 source package in Jammy:
  In Progress

Bug description:
  [Impact]
  When bootup Jammy kernel, it shows callrace:
  kernel: 
================================================================================
  kernel: UBSAN: invalid-load in 
/home/u/aaron/bionic/net/mac80211/status.c:1164:21
  kernel: load of value 216 is not a valid value for type '_Bool'
  kernel: CPU: 9 PID: 0 Comm: swapper/9 Not tainted 5.15.36+ #12
  kernel: Hardware name: LENOVO 21D2SIT061/21D2SIT061, BIOS N3GET30W (1.11 ) 
05/27/2022
  kernel: Call Trace:
  kernel:  <IRQ>
  kernel:  dump_stack_lvl+0x4a/0x5f
  kernel:  dump_stack+0x10/0x12
  kernel:  ubsan_epilogue+0x9/0x45
  kernel:  __ubsan_handle_load_invalid_value.cold+0x44/0x49
  kernel:  ieee80211_tx_status_ext.cold+0x1e/0xb0 [mac80211]
  kernel:  ? percpu_ref_kill_and_confirm+0xd0/0xd0
  kernel:  ? rht_key_get_hash.isra.0+0x19/0x20 [mac80211]
  kernel:  ? sta_info_hash_lookup+0xac/0x100 [mac80211]
  kernel:  ieee80211_tx_status+0x72/0xa0 [mac80211]
  kernel:  ieee80211_tasklet_handler+0xa2/0xd0 [mac80211]
  kernel:  tasklet_action_common.constprop.0+0xc0/0xf0
  kernel:  tasklet_action+0x22/0x30
  kernel:  __do_softirq+0xd9/0x2e3
  kernel:  irq_exit_rcu+0x8c/0xb0
  kernel:  common_interrupt+0x8a/0xa0
  kernel:  </IRQ>
  kernel:  <TASK>
  kernel:  asm_common_interrupt+0x1e/0x40
  kernel: RIP: 0010:cpuidle_enter_state+0xd9/0x620
  kernel: Code: 3d b4 85 3d 5c e8 57 a7 6b ff 49 89 c7 0f 1f 44 00 00 31 ff e8 
a8 b3 6b ff 80 7d d0>
  kernel: RSP: 0018:ffff9e2dc01f7e38 EFLAGS: 00000246
  kernel: RAX: ffff8dfdb6870b00 RBX: ffff8df6c3ab6c00 RCX: 000000023cd33784
  kernel: RDX: 000000023d103fa8 RSI: 000000023cd33784 RDI: 0000000000000000
  kernel: RBP: ffff9e2dc01f7e88 R08: 000000023cd33d63 R09: 00000000000aae60
  kernel: R10: 0000000000000004 R11: 071c71c71c71c71c R12: ffffffffa4ce65a0
  kernel: R13: 0000000000000003 R14: 0000000000000003 R15: 000000023cd33d63
  kernel:  ? cpuidle_enter_state+0xc8/0x620
  kernel:  ? sched_clock_local+0x13/0x90
  kernel:  cpuidle_enter+0x2e/0x40
  kernel:  do_idle+0x203/0x2a0
  kernel:  cpu_startup_entry+0x20/0x30
  kernel:  start_secondary+0x12a/0x180
  kernel:  secondary_startup_64_no_verify+0xc2/0xcb
  kernel:  </TASK>
  kernel: 
================================================================================

  [Fix]
  The size of the status_driver_data field was not adjusted
  when the is_valid_ack_signal field was added.
  Adjust the struct size accordingly.

  [Test]
  Verified on hardware, no error.

  [Where problems could occur]
  Low risk, It may break wifi driver.
  Minor changes in title of "Copyright" when backport.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1978297/+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