liburing stops working after upgrading to 5.4.0-1012

Bug #1946219 reported by Jesse Sung
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
HWE Next
Fix Released
Undecided
Unassigned
linux-bluefield (Ubuntu)
Fix Released
Undecided
Jesse Sung
Focal
Fix Released
Undecided
Jesse Sung

Bug Description

== Impact ==
After configuration multipath with io uring virtio_blk module is stuck

== Fix ==
The issue was introduced by one of the stable updates merged in the base kernel Ubuntu-5.4.0-74.83. After reverting the commit the issue can not be reproduced any more.

commit d6757b3e34831b7615edd3268b878536761f8b2e
Author: Pavel Begunkov <email address hidden>
Date: Fri Nov 20 17:10:28 2020 +0000

    block: don't ignore REQ_NOWAIT for direct IO

    BugLink: https://bugs.launchpad.net/bugs/1926490

    [ Upstream commit f8b78caf21d5bc3fcfc40c18898f9d52ed1451a5 ]

    If IOCB_NOWAIT is set on submission, then that needs to get propagated to
    REQ_NOWAIT on the block side. Otherwise we completely lose this
    information, and any issuer of IOCB_NOWAIT IO will potentially end up
    blocking on eg request allocation on the storage side.

    Signed-off-by: Pavel Begunkov <email address hidden>
    Signed-off-by: Jens Axboe <email address hidden>
    Signed-off-by: Sasha Levin <email address hidden>
    Signed-off-by: Kamal Mostafa <email address hidden>
    Signed-off-by: Stefan Bader <email address hidden>

== Risk of Regression ==
Medium. The commit has a good reason to be part of the stable updates. However the kernel passes Cert and Nvidia tests without the commit so reverting the commit should be an acceptable approach for now.

CVE References

Jesse Sung (wenchien)
Changed in linux-bluefield (Ubuntu Focal):
status: New → In Progress
assignee: nobody → Jesse Sung (wenchien)
tags: added: chelmsford oem-priority originate-from-1935996
Changed in linux-bluefield (Ubuntu Focal):
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-bluefield/5.4.0-1020.23 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' to 'verification-done-focal'. If the problem still exists, change the tag 'verification-needed-focal' to 'verification-failed-focal'.

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: verification-needed-focal
Jesse Sung (wenchien)
tags: added: verification-done-focal
removed: verification-needed-focal
Revision history for this message
Launchpad Janitor (janitor) wrote :
Download full text (45.3 KiB)

This bug was fixed in the package linux-bluefield - 5.4.0-1020.23

---------------
linux-bluefield (5.4.0-1020.23) focal; urgency=medium

  * focal/linux-bluefield: 5.4.0-1020.23 -proposed tracker (LP: #1944877)

  * liburing stops working after upgrading to 5.4.0-1012 (LP: #1946219)
    - SAUCE: Revert "block: don't ignore REQ_NOWAIT for direct IO"

  * mlxbf_gige: update driver version to 1.25 (LP: #1943065)
    - SAUCE: mlxbf_gige: update driver version to 1.25

  * oob_net0 up but stops processing Rx packets (LP: #1942932)
    - SAUCE: mlxbf_gige: clear valid_polarity upon open

  * "ethtool -S oob_net0" does not report interrupt counts (LP: #1942931)
    - SAUCE: mlxbf_gige: add interrupt counts to "ethtool -S"

  [ Ubuntu: 5.4.0-89.100 ]

  * focal/linux: 5.4.0-89.100 -proposed tracker (LP: #1944901)
  * Packaging resync (LP: #1786013)
    - debian/dkms-versions -- update from kernel-versions (main/2021.09.27)
  * ext4 journal recovery fails w/ data=journal + mmap (LP: #1847340)
    - jbd2: introduce/export functions
      jbd2_journal_submit|finish_inode_data_buffers()
    - jbd2, ext4, ocfs2: introduce/use journal callbacks
      j_submit|finish_inode_data_buffers()
    - ext4: data=journal: fixes for ext4_page_mkwrite()
    - ext4: data=journal: write-protect pages on j_submit_inode_data_buffers()
    - ext4: fix mmap write protection for data=journal mode
  * CVE-2021-40490
    - ext4: fix race writing to an inline_data file while its xattrs are changing
  * Obsolete patch "UBUNTU: SAUCE: ext4: fix directory index node split
    corruption" (LP: #1942902)
    - Revert "UBUNTU: SAUCE: ext4: fix directory index node split corruption"
  * psock_snd.sh in net from ubuntu_kernel_selftests ADT failure with
    focal/groovy/hirsute/impish (LP: #1892213)
    - selftests/net: remove min gso test in packet_snd
  * Focal update: v5.4.143 upstream stable release (LP: #1944212)
    - ext4: fix EXT4_MAX_LOGICAL_BLOCK macro
    - x86/fpu: Make init_fpstate correct with optimized XSAVE
    - ath: Use safer key clearing with key cache entries
    - ath9k: Clear key cache explicitly on disabling hardware
    - ath: Export ath_hw_keysetmac()
    - ath: Modify ath_key_delete() to not need full key entry
    - ath9k: Postpone key cache entry deletion for TXQ frames reference it
    - mtd: cfi_cmdset_0002: fix crash when erasing/writing AMD cards
    - media: zr364xx: propagate errors from zr364xx_start_readpipe()
    - media: zr364xx: fix memory leaks in probe()
    - media: drivers/media/usb: fix memory leak in zr364xx_probe
    - USB: core: Avoid WARNings for 0-length descriptor requests
    - dmaengine: xilinx_dma: Fix read-after-free bug when terminating transfers
    - dmaengine: usb-dmac: Fix PM reference leak in usb_dmac_probe()
    - ARM: dts: am43x-epos-evm: Reduce i2c0 bus speed for tps65218
    - dmaengine: of-dma: router_xlate to return -EPROBE_DEFER if controller is not
      yet available
    - scsi: megaraid_mm: Fix end of loop tests for list_for_each_entry()
    - scsi: scsi_dh_rdac: Avoid crash during rdac_bus_attach()
    - scsi: core: Avoid printing an error if target_alloc() returns -ENXIO
    - scsi: core: Fix capacity set to zero a...

Changed in linux-bluefield (Ubuntu Focal):
status: Fix Committed → Fix Released
Changed in linux-bluefield (Ubuntu):
status: In Progress → Fix Released
Changed in hwe-next:
status: New → Fix Released
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.