MANA patches from MSFT have broken MANA in v6 environments

Bug #2131828 reported by John Cabaj
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux-azure (Ubuntu)
New
Undecided
Unassigned
Jammy
Fix Released
Undecided
Unassigned

Bug Description

SRU Justification

[Impact]

* Microsoft requested patch to improve RX buffer handling in MANA driver (LP: #2121570), however the page_pool implementation in mainline 5.15 has an additional parameter in a check in page_pool_alloc_frag() which causes MANA NIC to not be detected.

[Fix]

* Jammy: revert of the following patches:
  - 827c33e: "net: mana: Improve mana_set_channels() in low mem conditions" upstream
  - 5b59c72: "net: mana: Use page pool fragments for RX buffers instead of full pages to improve memory efficiency." from linux-next

[Test Plan]

* Compile tested
* Microsoft to test

[Regression potential]

* Changes are localized to MANA and are clean reverts, so low likelihood of regression. Possible regressions could result in unexpected behavior of MANA driver.

[Other info]

* SF#00422364

tags: added: kernel-daily-bug
John Cabaj (john-cabaj)
Changed in linux-azure (Ubuntu Jammy):
status: New → Fix Committed
Revision history for this message
Ubuntu Kernel Bot (ubuntu-kernel-bot) wrote :

This bug is awaiting verification that the linux-azure/5.15.0-1101.110 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-linux-azure' to 'verification-done-jammy-linux-azure'. If the problem still exists, change the tag 'verification-needed-jammy-linux-azure' to 'verification-failed-jammy-linux-azure'.

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!

tags: added: kernel-spammed-jammy-linux-azure-v2 verification-needed-jammy-linux-azure
Revision history for this message
Launchpad Janitor (janitor) wrote :
Download full text (49.5 KiB)

This bug was fixed in the package linux-azure - 5.15.0-1101.110

---------------
linux-azure (5.15.0-1101.110) jammy; urgency=medium

  * jammy/linux-azure: 5.15.0-1101.110 -proposed tracker (LP: #2131830)

  * MANA patches from MSFT have broken MANA in v6 environments (LP: #2131828)
    - Revert "net: mana: Improve mana_set_channels() in low mem conditions"
    - Revert "net: mana: Use page pool fragments for RX buffers instead of
      full pages to improve memory efficiency."

linux-azure (5.15.0-1100.109) jammy; urgency=medium

  * jammy/linux-azure: 5.15.0-1100.109 -proposed tracker (LP: #2127520)

  * Add pvpanic kernel modules to linux-modules (LP: #2126659)
    - [Packaging] azure: Add pvpanic kernel modules to linux-modules

  * Jammy update: v5.15.190 upstream stable release (LP: #2122364) //
    CVE-2024-50047 fix.
    - smb: client: fix use-after-free in crypt_message when using async crypto

  [ Ubuntu: 5.15.0-163.173 ]

  * jammy/linux: 5.15.0-163.173 -proposed tracker (LP: #2127867)
  * Add pvpanic kernel modules to linux-modules (LP: #2126659)
    - [Packaging] Add pvpanic kernel modules to linux-modules
  * Ubuntu 24.04.2: error in audit_log_object_context keep printing in the
    kernel and console (LP: #2123815)
    - SAUCE: fix: apparmor4.0.0 [26/90]: LSM stacking v39: Audit: Add record
      for multiple object contexts
  * Hung task when heavily accessing kernfs files (LP: #2125142)
    - kernfs: switch global kernfs_rwsem lock to per-fs lock
    - kernfs: dont take i_lock on inode attr read
    - kernfs: move struct kernfs_root out of the public view.
    - kernfs: Introduce separate rwsem to protect inode attributes.
    - kernfs: Use a per-fs rwsem to protect per-fs list of kernfs_super_info.
    - kernfs: change kernfs_rename_lock into a read-write lock.
    - kernfs: prevent early freeing of root node
    - kernfs: remove redundant kernfs_rwsem declaration.
    - kernfs: fix NULL dereferencing in kernfs_remove
    - kernfs: fix potential NULL dereference in __kernfs_remove
    - kernfs: fix missing kernfs_iattr_rwsem locking
  * ensure mptcp keepalives are honored when set (LP: #2125444)
    - mptcp: sockopt: make sync_socket_options propagate SOCK_KEEPOPEN
  * UBUNTU: fan: fail to check kmalloc() return could cause a NULL pointer
    dereference (LP: #2125053)
    - SAUCE: fan: vxlan: check memory allocation for map
  * Jammy update: v5.15.193 upstream stable release (LP: #2127112)
    - [Config] enable CONFIG_MITIGATION_VMSCAPE
    - Linux 5.15.193
  * Jammy update: v5.15.192 upstream stable release (LP: #2126782)
    - bpf: Add cookie object to bpf maps
    - bpf: Move cgroup iterator helpers to bpf.h
    - bpf: Move bpf map owner out of common struct
    - bpf: Fix oob access in cgroup local storage
    - drm/amd/display: Don't warn when missing DCE encoder caps
    - fs: writeback: fix use-after-free in __mark_inode_dirty()
    - tee: fix NULL pointer dereference in tee_shm_put
    - arm64: dts: rockchip: Add vcc-supply to SPI flash on rk3399-pinebook-pro
    - wifi: cfg80211: fix use-after-free in cmp_bss()
    - netfilter: br_netfilter: do not check confirmed bit in br_nf_local_in()
      after confirm
    - ...

Changed in linux-azure (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-azure-5.15/5.15.0-1102.111~20.04.1 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-focal-linux-azure-5.15' to 'verification-done-focal-linux-azure-5.15'. If the problem still exists, change the tag 'verification-needed-focal-linux-azure-5.15' to 'verification-failed-focal-linux-azure-5.15'.

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!

tags: added: kernel-spammed-focal-linux-azure-5.15-v2 verification-needed-focal-linux-azure-5.15
tags: added: verification-done-focal-linux-azure-5.15
removed: verification-needed-focal-linux-azure-5.15
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.