IWLMEI may cause device down at resuming from s2idle

Bug #1987312 reported by You-Sheng Yang
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
HWE Next
Fix Released
Undecided
Unassigned
OEM Priority Project
Fix Released
Undecided
Unassigned
backport-iwlwifi-dkms (Ubuntu)
Fix Released
High
You-Sheng Yang
Jammy
Won't Fix
Undecided
Unassigned
Kinetic
Fix Released
High
You-Sheng Yang
Lunar
Fix Released
High
You-Sheng Yang
linux (Ubuntu)
Fix Released
High
You-Sheng Yang
Jammy
Invalid
Undecided
Unassigned
Kinetic
Fix Released
High
You-Sheng Yang
Lunar
Fix Released
High
You-Sheng Yang
linux-oem-5.17 (Ubuntu)
Invalid
Undecided
Unassigned
Jammy
Fix Released
High
You-Sheng Yang
Kinetic
Invalid
Undecided
Unassigned
Lunar
Invalid
Undecided
Unassigned
linux-oem-6.0 (Ubuntu)
Invalid
Undecided
Unassigned
Jammy
Fix Released
High
You-Sheng Yang
Kinetic
Invalid
Undecided
Unassigned
Lunar
Invalid
Undecided
Unassigned
linux-oem-6.1 (Ubuntu)
Invalid
Undecided
Unassigned
Jammy
Fix Released
Undecided
Unassigned
Kinetic
Invalid
Undecided
Unassigned
Lunar
Invalid
Undecided
Unassigned

Bug Description

[SRU Justification]

[Impact]

WiFi interfaces unsolicitedly down at resuming from s2idle.

[Fix]

Intel confirmed there is no CSME for WLAN POR for Linux. CSME for WLAN
POR is only for Windows project design. Please remove or disable
CONFIG_IWLMEI from Linux.

[Test Case]

Make sure iwlmei.ko is not built.

[Where problems could occur]

iwlmei was not enabled before 5.17 and was turned on automatically since
then. This restores the state and shall not have impact on existing
devices.

========== original bug report ==========

Intel confirmed there is no CSME for WLAN POR for Linux. CSME for WLAN POR is only for Windows project design. Please remove or disable CONFIG_IWLMEI from Linux.

You-Sheng Yang (vicamo)
Changed in linux-oem-5.17 (Ubuntu Kinetic):
status: New → Invalid
Changed in linux-oem-5.17 (Ubuntu Jammy):
status: New → In Progress
importance: Undecided → High
assignee: nobody → You-Sheng Yang (vicamo)
Changed in linux (Ubuntu Jammy):
status: New → Invalid
Changed in linux (Ubuntu Kinetic):
status: New → In Progress
Changed in backport-iwlwifi-dkms (Ubuntu Jammy):
status: New → Invalid
Changed in backport-iwlwifi-dkms (Ubuntu Kinetic):
status: New → In Progress
assignee: nobody → You-Sheng Yang (vicamo)
importance: Undecided → High
Changed in linux (Ubuntu Kinetic):
importance: Undecided → High
assignee: nobody → You-Sheng Yang (vicamo)
Revision history for this message
You-Sheng Yang (vicamo) wrote :

Backport-iwlwifi-dkms is also being upgraded to upstream revision 9904 in bug 1987048.

tags: added: oem-priority originate-from-1986771 somerville
description: updated
You-Sheng Yang (vicamo)
Changed in linux (Ubuntu Jammy):
assignee: nobody → You-Sheng Yang (vicamo)
importance: Undecided → High
status: Invalid → In Progress
You-Sheng Yang (vicamo)
summary: - IWLMEI may cause device failure at resuming from s2idle
+ IWLMEI may cause device down at resuming from s2idle
Revision history for this message
You-Sheng Yang (vicamo) wrote :

iwlmei was turned since 5.17

Changed in linux-oem-6.0 (Ubuntu Kinetic):
status: New → Invalid
Changed in linux (Ubuntu Jammy):
status: In Progress → Invalid
assignee: You-Sheng Yang (vicamo) → nobody
importance: High → Undecided
Changed in linux-oem-6.0 (Ubuntu Jammy):
assignee: nobody → You-Sheng Yang (vicamo)
importance: Undecided → High
status: New → In Progress
You-Sheng Yang (vicamo)
description: updated
Revision history for this message
You-Sheng Yang (vicamo) wrote :
Revision history for this message
You-Sheng Yang (vicamo) wrote : Re: [Bug 1987312] Re: IWLMEI may cause device down at resuming from s2idle

debdiff for Jammy (version 9858-0ubuntu6+22.04.1) and Kinetic
(9904-0ubuntu2). Need sponsoring.

Revision history for this message
You-Sheng Yang (vicamo) wrote :
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package backport-iwlwifi-dkms - 9904-0ubuntu2

---------------
backport-iwlwifi-dkms (9904-0ubuntu2) kinetic; urgency=low

  [ You-Sheng Yang ]
  * Disable IWLMEI (LP: #1987312)

 -- You-Sheng Yang <email address hidden> Wed, 24 Aug 2022 21:39:38 +0800

Changed in backport-iwlwifi-dkms (Ubuntu Kinetic):
status: In Progress → Fix Released
Andy Chi (andch)
tags: added: originate-from-1983454
Timo Aaltonen (tjaalton)
Changed in linux-oem-5.17 (Ubuntu Jammy):
status: In Progress → Fix Committed
Changed in linux-oem-6.0 (Ubuntu Jammy):
status: In Progress → Fix Committed
Revision history for this message
Ubuntu Kernel Bot (ubuntu-kernel-bot) wrote :

This bug is awaiting verification that the linux-oem-5.17/5.17.0-1017.18 kernel in -proposed solves the problem. Please test the kernel and update this bug with the results. If the problem is solved, change the tag 'verification-needed-jammy' to 'verification-done-jammy'. If the problem still exists, change the tag 'verification-needed-jammy' to 'verification-failed-jammy'.

If verification is not done by 5 working days from today, this fix will be dropped from the source code, and this bug will be closed.

See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Thank you!

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package linux-oem-5.17 - 5.17.0-1017.18

---------------
linux-oem-5.17 (5.17.0-1017.18) jammy; urgency=medium

  * jammy/linux-oem-5.17: 5.17.0-1017.18 -proposed tracker (LP: #1987777)

  * [SRU][OEM-5.17][PATCH 0/1] Fix output issue of USB-C to DP dongle on AMD
    (LP: #1988721)
    - drm/amd/display: Refactor fixed VS logic for non-transparent mode

  * IWLMEI may cause device down at resuming from s2idle (LP: #1987312)
    - [Config] Disable IWLMEI

  * GPIO character device v1 API not enabled in kernel (LP: #1953613)
    - [Config] Enable CONFIG_GPIO_CDEV_V1

  [ Ubuntu: 5.17.0-9.9~22.04.8 ]

  * jammy/linux-hwe-5.17: 5.17.0-9.9~22.04.8 -proposed tracker (LP: #1987779)
  * CVE-2022-36946
    - netfilter: nf_queue: do not allow packet truncation below transport header
      offset
  * CVE-2021-33655
    - fbcon: Disallow setting font bigger than screen size
    - fbcon: Prevent that screen size is smaller than font size
    - fbmem: Check virtual screen sizes in fb_set_var()

 -- Timo Aaltonen <email address hidden> Thu, 08 Sep 2022 16:51:33 +0300

Changed in linux-oem-5.17 (Ubuntu Jammy):
status: Fix Committed → Fix Released
Revision history for this message
Ubuntu Kernel Bot (ubuntu-kernel-bot) wrote :

This bug is awaiting verification that the linux-oem-6.0/6.0.0-1004.4 kernel in -proposed solves the problem. Please test the kernel and update this bug with the results. If the problem is solved, change the tag 'verification-needed-jammy' to 'verification-done-jammy'. If the problem still exists, change the tag 'verification-needed-jammy' to 'verification-failed-jammy'.

If verification is not done by 5 working days from today, this fix will be dropped from the source code, and this bug will be closed.

See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Thank you!

Revision history for this message
You-Sheng Yang (vicamo) wrote :

verified linux-oem-6.0/jammy version 6.0.0-1004.4.

$ find lib -name iwl\*
lib/modules/6.0.0-1004-oem/kernel/drivers/net/wireless/intel/iwlegacy
lib/modules/6.0.0-1004-oem/kernel/drivers/net/wireless/intel/iwlegacy/iwl3945.ko
lib/modules/6.0.0-1004-oem/kernel/drivers/net/wireless/intel/iwlegacy/iwl4965.ko
lib/modules/6.0.0-1004-oem/kernel/drivers/net/wireless/intel/iwlegacy/iwlegacy.ko
lib/modules/6.0.0-1004-oem/kernel/drivers/net/wireless/intel/iwlwifi
lib/modules/6.0.0-1004-oem/kernel/drivers/net/wireless/intel/iwlwifi/dvm/iwldvm.ko
lib/modules/6.0.0-1004-oem/kernel/drivers/net/wireless/intel/iwlwifi/iwlwifi.ko
lib/modules/6.0.0-1004-oem/kernel/drivers/net/wireless/intel/iwlwifi/mvm/iwlmvm.ko
$ grep IWLMEI boot/config-6.0.0-1004-oem
# CONFIG_IWLMEI is not set

tags: added: verification-done-jammy
Revision history for this message
You-Sheng Yang (vicamo) wrote :

Also fixed in upstream v6.0 commit 8997f5c8a627 (“wifi: iwlwifi: Mark IWLMEI as broken”).

Revision history for this message
Launchpad Janitor (janitor) wrote :
Download full text (18.6 KiB)

This bug was fixed in the package linux - 5.19.0-18.18

---------------
linux (5.19.0-18.18) kinetic; urgency=medium

  * kinetic/linux: 5.19.0-18.18 -proposed tracker (LP: #1990366)

  * 5.19.0-17.17: kernel NULL pointer dereference, address: 0000000000000084
    (LP: #1990236)
    - Revert "UBUNTU: SAUCE: apparmor: Fix regression in stacking due to label
      flags"
    - Revert "UBUNTU: [Config] disable SECURITY_APPARMOR_RESTRICT_USERNS"
    - Revert "UBUNTU: SAUCE: Revert "hwrng: virtio - add an internal buffer""
    - Revert "UBUNTU: SAUCE: Revert "hwrng: virtio - don't wait on cleanup""
    - Revert "UBUNTU: SAUCE: Revert "hwrng: virtio - don't waste entropy""
    - Revert "UBUNTU: SAUCE: Revert "hwrng: virtio - always add a pending
      request""
    - Revert "UBUNTU: SAUCE: Revert "hwrng: virtio - unregister device before
      reset""
    - Revert "UBUNTU: SAUCE: Revert "virtio-rng: make device ready before making
      request""
    - Revert "UBUNTU: [Config] update configs after apply new apparmor patch set"
    - Revert "UBUNTU: SAUCE: apparmor: add user namespace creation mediation"
    - Revert "UBUNTU: SAUCE: selinux: Implement userns_create hook"
    - Revert "UBUNTU: SAUCE: bpf-lsm: Make bpf_lsm_userns_create() sleepable"
    - Revert "UBUNTU: SAUCE: security, lsm: Introduce security_create_user_ns()"
    - Revert "UBUNTU: SAUCE: lsm stacking v37: AppArmor: Remove the exclusive
      flag"
    - Revert "UBUNTU: SAUCE: lsm stacking v37: LSM: Add /proc attr entry for full
      LSM context"
    - Revert "UBUNTU: SAUCE: lsm stacking v37: LSM: Removed scaffolding function
      lsmcontext_init"
    - Revert "UBUNTU: SAUCE: lsm stacking v37: netlabel: Use a struct lsmblob in
      audit data"
    - Revert "UBUNTU: SAUCE: lsm stacking v37: Audit: Add record for multiple
      object contexts"
    - Revert "UBUNTU: SAUCE: lsm stacking v37: audit: multiple subject lsm values
      for netlabel"
    - Revert "UBUNTU: SAUCE: lsm stacking v37: Audit: Add record for multiple task
      security contexts"
    - Revert "UBUNTU: SAUCE: lsm stacking v37: Audit: Allow multiple records in an
      audit_buffer"
    - Revert "UBUNTU: SAUCE: lsm stacking v37: LSM: Add a function to report
      multiple LSMs"
    - Revert "UBUNTU: SAUCE: lsm stacking v37: Audit: Create audit_stamp
      structure"
    - Revert "UBUNTU: SAUCE: lsm stacking v37: Audit: Keep multiple LSM data in
      audit_names"
    - Revert "UBUNTU: SAUCE: lsm stacking v37: LSM: security_secid_to_secctx
      module selection"
    - Revert "UBUNTU: SAUCE: lsm stacking v37: binder: Pass LSM identifier for
      confirmation"
    - Revert "UBUNTU: SAUCE: lsm stacking v37: NET: Store LSM netlabel data in a
      lsmblob"
    - Revert "UBUNTU: SAUCE: lsm stacking v37: LSM: security_secid_to_secctx in
      netlink netfilter"
    - Revert "UBUNTU: SAUCE: lsm stacking v37: LSM: Use lsmcontext in
      security_dentry_init_security"
    - Revert "UBUNTU: SAUCE: lsm stacking v37: LSM: Use lsmcontext in
      security_inode_getsecctx"
    - Revert "UBUNTU: SAUCE: lsm stacking v37: LSM: Use lsmcontext in
      security_secid_to_secctx"
    - Revert "UBUNTU: SAUCE: lsm stacking v37: LSM:...

Changed in linux (Ubuntu Kinetic):
status: In Progress → Fix Released
Changed in backport-iwlwifi-dkms (Ubuntu Jammy):
status: Invalid → Confirmed
Revision history for this message
Timo Aaltonen (tjaalton) wrote :

fixed in oem-6.0 1006

Changed in linux-oem-6.0 (Ubuntu Jammy):
status: Fix Committed → Fix Released
Changed in hwe-next:
status: New → Fix Released
Revision history for this message
You-Sheng Yang (vicamo) wrote :

We won't SRU bug 1975573, therefore iwlmei is not built in Jammy.

Changed in backport-iwlwifi-dkms (Ubuntu Jammy):
status: Confirmed → Won't Fix
Changed in oem-priority:
status: New → Fix Released
Changed in linux-oem-6.1 (Ubuntu Jammy):
status: New → Fix Released
Changed in linux-oem-6.1 (Ubuntu Kinetic):
status: New → Invalid
Changed in linux-oem-6.1 (Ubuntu Lunar):
status: New → Invalid
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.