[Kernel-packages] [Bug 1970223] Re: linux-azure: add check to prevent attempting to resize an fs with sparse_super2

2022-05-10 Thread Launchpad Bug Tracker
This bug was fixed in the package linux-azure - 5.13.0-1023.27

---
linux-azure (5.13.0-1023.27) impish; urgency=medium

  * impish/linux-azure: 5.13.0-1023.27 -proposed tracker (LP: #1969004)

  * Impish update: upstream stable patchset 2022-03-22 (LP: #1966021)
- azure: updateconfigs for FRAMEBUFFER_CONSOLE_LEGACY_ACCELERATION

  * linux-azure: Harmonize arm64 config settings with amd64 (LP: #1968900)
- [Config] azure: Harmonize arm64 config settings with amd64
- [Config] azure: do_enforce_all=true
- [Config] azure: Ignore module movements

  * linux-azure: add check to prevent attempting to resize an fs with
sparse_super2 (LP: #1970223)
- ext4: add check to prevent attempting to resize an fs with sparse_super2

  [ Ubuntu: 5.13.0-41.46 ]

  * impish/linux: 5.13.0-41.46 -proposed tracker (LP: #1969014)
  * NVMe devices fail to probe due to ACPI power state change (LP: #1942624)
- ACPI: power: Rework turning off unused power resources
- ACPI: PM: Do not turn off power resources in unknown state
  * Recent 5.13 kernel has broken KVM support (LP: #1966499)
- KVM: Add infrastructure and macro to mark VM as bugged
- KVM: x86: Use KVM_BUG/KVM_BUG_ON to handle bugs that are fatal to the VM
- KVM: VMX: prepare sync_pir_to_irr for running with APICv disabled
  * LRMv6: add multi-architecture support (LP: #1968774)
- [Packaging] resync dkms-build{,--nvidia-N}
  * io_uring regression - lost write request (LP: #195)
- io-wq: split bounded and unbounded work into separate lists
  * xfrm interface cannot be changed anymore (LP: #1968591)
- xfrm: fix the if_id check in changelink
  * Use kernel-testing repo from launchpad for ADT tests (LP: #1968016)
- [Debian] Use kernel-testing repo from launchpad
  * vmx_ldtr_test in ubuntu_kvm_unit_tests failed (FAIL: Expected 0 for L1 LDTR
selector (got 50)) (LP: #1956315)
- KVM: nVMX: Set LDTR to its architecturally defined value on nested VM-Exit
  * audio from external sound card is distorted (LP: #1966066)
- ALSA: usb-audio: Fix packet size calculation regression
  * Impish update: upstream stable patchset 2022-04-12 (LP: #1968771)
- cgroup/cpuset: Fix a race between cpuset_attach() and cpu hotplug
- btrfs: tree-checker: check item_size for inode_item
- btrfs: tree-checker: check item_size for dev_item
- clk: jz4725b: fix mmc0 clock gating
- vhost/vsock: don't check owner in vhost_vsock_stop() while releasing
- parisc/unaligned: Fix fldd and fstd unaligned handlers on 32-bit kernel
- parisc/unaligned: Fix ldw() and stw() unalignment handlers
- KVM: x86/mmu: make apf token non-zero to fix bug
- drm/amdgpu: disable MMHUB PG for Picasso
- drm/i915: Correctly populate use_sagv_wm for all pipes
- sr9700: sanity check for packet length
- USB: zaurus: support another broken Zaurus
- CDC-NCM: avoid overflow in sanity checking
- x86/fpu: Correct pkru/xstate inconsistency
- tee: export teedev_open() and teedev_close_context()
- optee: use driver internal tee_context for some rpc
- ping: remove pr_err from ping_lookup
- perf data: Fix double free in perf_session__delete()
- bnx2x: fix driver load from initrd
- bnxt_en: Fix active FEC reporting to ethtool
- hwmon: Handle failure to register sensor with thermal zone correctly
- bpf: Do not try bpf_msg_push_data with len 0
- selftests: bpf: Check bpf_msg_push_data return value
- bpf: Add schedule points in batch ops
- io_uring: add a schedule point in io_add_buffers()
- net: __pskb_pull_tail() & pskb_carve_frag_list() drop_monitor friends
- tipc: Fix end of loop tests for list_for_each_entry()
- gso: do not skip outer ip header in case of ipip and net_failover
- openvswitch: Fix setting ipv6 fields causing hw csum failure
- drm/edid: Always set RGB444
- net/mlx5e: Fix wrong return value on ioctl EEPROM query failure
- net/sched: act_ct: Fix flow table lookup after ct clear or switching zones
- net: ll_temac: check the return value of devm_kmalloc()
- net: Force inlining of checksum functions in net/checksum.h
- nfp: flower: Fix a potential leak in nfp_tunnel_add_shared_mac()
- netfilter: nf_tables: fix memory leak during stateful obj update
- net/smc: Use a mutex for locking "struct smc_pnettable"
- surface: surface3_power: Fix battery readings on batteries without a 
serial
  number
- udp_tunnel: Fix end of loop test in udp_tunnel_nic_unregister()
- net/mlx5: Fix possible deadlock on rule deletion
- net/mlx5: Fix wrong limitation of metadata match on ecpf
- net/mlx5e: kTLS, Use CHECKSUM_UNNECESSARY for device-offloaded packets
- spi: spi-zynq-qspi: Fix a NULL pointer dereference in
  zynq_qspi_exec_mem_op()
- regmap-irq: Update interrupt clear register for proper reset
- RDMA/rtrs-clt: Fix possible double free in error case
- RDMA/rtrs-clt: Move free_permit from 

[Kernel-packages] [Bug 1970223] Re: linux-azure: add check to prevent attempting to resize an fs with sparse_super2

2022-05-10 Thread Launchpad Bug Tracker
This bug was fixed in the package linux-azure - 5.4.0-1078.81

---
linux-azure (5.4.0-1078.81) focal; urgency=medium

  * focal/linux-azure: 5.4.0-1078.81 -proposed tracker (LP: #1969026)

  * linux-azure: Harmonize arm64 config settings with amd64 (LP: #1968900)
- [Config] azure: Harmonize arm64 config settings with amd64
- [Config] azure: do_enforce_all=true
- [Config] azure: format annotations

  * linux-azure: add check to prevent attempting to resize an fs with
sparse_super2 (LP: #1970223)
- ext4: add check to prevent attempting to resize an fs with sparse_super2

  [ Ubuntu: 5.4.0-110.124 ]

  * focal/linux: 5.4.0-110.124 -proposed tracker (LP: #1969053)
  * net/mlx5e: Fix page DMA map/unmap attributes (LP: #1967292)
- net/mlx5e: Fix page DMA map/unmap attributes
  * xfs: Fix deadlock between AGI and AGF when target_ip exists in xfs_rename()
(LP: #1966803)
- xfs: Fix deadlock between AGI and AGF when target_ip exists in 
xfs_rename()
  * LRMv6: add multi-architecture support (LP: #1968774)
- [Packaging] resync dkms-build{,--nvidia-N}
  * xfrm interface cannot be changed anymore (LP: #1968591)
- xfrm: fix the if_id check in changelink
  * Use kernel-testing repo from launchpad for ADT tests (LP: #1968016)
- [Debian] Use kernel-testing repo from launchpad
  * vmx_ldtr_test in ubuntu_kvm_unit_tests failed (FAIL: Expected 0 for L1 LDTR
selector (got 50)) (LP: #1956315)
- KVM: nVMX: Set LDTR to its architecturally defined value on nested VM-Exit
  * [SRU][Regression] Revert "PM: ACPI: reboot: Use S5 for reboot" which causes
Bus Fatal Error when rebooting system with BCM5720 NIC (LP: #1917471)
- Revert "PM: ACPI: reboot: Use S5 for reboot"
  * Focal update: v5.4.181 upstream stable release (LP: #1967582)
- Makefile.extrawarn: Move -Wunaligned-access to W=1
- HID:Add support for UGTABLET WP5540
- Revert "svm: Add warning message for AVIC IPI invalid target"
- serial: parisc: GSC: fix build when IOSAPIC is not set
- parisc: Drop __init from map_pages declaration
- parisc: Fix data TLB miss in sba_unmap_sg
- parisc: Fix sglist access in ccio-dma.c
- btrfs: send: in case of IO error log it
- platform/x86: ISST: Fix possible circular locking dependency detected
- selftests: rtc: Increase test timeout so that all tests run
- net: ieee802154: at86rf230: Stop leaking skb's
- selftests/zram: Skip max_comp_streams interface on newer kernel
- selftests/zram01.sh: Fix compression ratio calculation
- selftests/zram: Adapt the situation that /dev/zram0 is being used
- ax25: improve the incomplete fix to avoid UAF and NPD bugs
- vfs: make freeze_super abort when sync_filesystem returns error
- quota: make dquot_quota_sync return errors from ->sync_fs
- nvme: fix a possible use-after-free in controller reset during load
- nvme-tcp: fix possible use-after-free in transport error_recovery work
- nvme-rdma: fix possible use-after-free in transport error_recovery work
- drm/amdgpu: fix logic inversion in check
- Revert "module, async: async_synchronize_full() on module init iff async 
is
  used"
- ftrace: add ftrace_init_nop()
- module/ftrace: handle patchable-function-entry
- arm64: module: rework special section handling
- arm64: module/ftrace: intialize PLT at load time
- iwlwifi: fix use-after-free
- drm/radeon: Fix backlight control on iMac 12,1
- ext4: check for out-of-order index extents in ext4_valid_extent_entries()
- ext4: check for inconsistent extents between index and leaf block
- ext4: prevent partial update of the extent blocks
- taskstats: Cleanup the use of task->exit_code
- dmaengine: at_xdmac: Start transfer for cyclic channels in issue_pending
- vsock: remove vsock from connected table when connect is interrupted by a
  signal
- mmc: block: fix read single on recovery logic
- iwlwifi: pcie: fix locking when "HW not ready"
- iwlwifi: pcie: gen2: fix locking when "HW not ready"
- netfilter: nft_synproxy: unregister hooks on init error path
- net: dsa: lan9303: fix reset on probe
- net: ieee802154: ca8210: Fix lifs/sifs periods
- ping: fix the dif and sdif check in ping_lookup
- bonding: force carrier update when releasing slave
- drop_monitor: fix data-race in dropmon_net_event / trace_napi_poll_hit
- bonding: fix data-races around agg_select_timer
- libsubcmd: Fix use-after-free for realloc(..., 0)
- ALSA: hda: Fix regression on forced probe mask option
- ALSA: hda: Fix missing codec probe on Shenker Dock 15
- ASoC: ops: Fix stereo change notifications in snd_soc_put_volsw()
- ASoC: ops: Fix stereo change notifications in snd_soc_put_volsw_range()
- powerpc/lib/sstep: fix 'ptesync' build error
- mtd: rawnand: gpmi: don't leak PM reference in error path
- block/wbt: fix negative inflight counter when remove scsi device
- 

[Kernel-packages] [Bug 1970223] Re: linux-azure: add check to prevent attempting to resize an fs with sparse_super2

2022-04-27 Thread Tim Gardner
** Tags removed: verification-needed-focal verification-needed-impish
** Tags added: verification-done-focal verification-done-impish

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux-azure in Ubuntu.
https://bugs.launchpad.net/bugs/1970223

Title:
  linux-azure: add check to prevent attempting to resize an fs with
  sparse_super2

Status in linux-azure package in Ubuntu:
  Fix Released
Status in linux-azure source package in Focal:
  Fix Committed
Status in linux-azure source package in Impish:
  Fix Committed

Bug description:
  SRU Justification

  [Impact]

  Microsoft has detected an Xfstest failure scenario. There might be fs
  corruption when resizing ext4 filesystems mounted with sparse_super2
  option enabled.

  Fix: commit b1489186cc8391e0c1e342f9fbc3eedf6b944c61 ("ext4: add check
  to prevent attempting to resize an fs with sparse_super2")

  [Test Case]
  mkfs.ext4 -b 4096 -I 256 -J size=32 -E resize=$((256*1024*1024)) -O 
sparse_super2 ext4.img 65M truncate -s 30G ext4.img
  mount ext4.img /mnt
  python3 -c 'import fcntl, os, struct ; fd = os.open("/mnt", os.O_RDONLY | 
os.O_DIRECTORY) ; fcntl.ioctl(fd, 0x40086610, struct.pack("Q", 30 * 1024 * 1024 
* 1024 // 4096), False) ; os.close(fd)'
  dmesg | tail
  e2fsck ext4.img

  [Where things could go wrong]

  The file system may erroneously not mount.

  [Other Info]

  SF: #00334996

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


[Kernel-packages] [Bug 1970223] Re: linux-azure: add check to prevent attempting to resize an fs with sparse_super2

2022-04-26 Thread Ubuntu Kernel Bot
This bug is awaiting verification that the linux-azure/5.4.0-1078.81
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!

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux-azure in Ubuntu.
https://bugs.launchpad.net/bugs/1970223

Title:
  linux-azure: add check to prevent attempting to resize an fs with
  sparse_super2

Status in linux-azure package in Ubuntu:
  Fix Released
Status in linux-azure source package in Focal:
  Fix Committed
Status in linux-azure source package in Impish:
  Fix Committed

Bug description:
  SRU Justification

  [Impact]

  Microsoft has detected an Xfstest failure scenario. There might be fs
  corruption when resizing ext4 filesystems mounted with sparse_super2
  option enabled.

  Fix: commit b1489186cc8391e0c1e342f9fbc3eedf6b944c61 ("ext4: add check
  to prevent attempting to resize an fs with sparse_super2")

  [Test Case]
  mkfs.ext4 -b 4096 -I 256 -J size=32 -E resize=$((256*1024*1024)) -O 
sparse_super2 ext4.img 65M truncate -s 30G ext4.img
  mount ext4.img /mnt
  python3 -c 'import fcntl, os, struct ; fd = os.open("/mnt", os.O_RDONLY | 
os.O_DIRECTORY) ; fcntl.ioctl(fd, 0x40086610, struct.pack("Q", 30 * 1024 * 1024 
* 1024 // 4096), False) ; os.close(fd)'
  dmesg | tail
  e2fsck ext4.img

  [Where things could go wrong]

  The file system may erroneously not mount.

  [Other Info]

  SF: #00334996

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


[Kernel-packages] [Bug 1970223] Re: linux-azure: add check to prevent attempting to resize an fs with sparse_super2

2022-04-26 Thread Ubuntu Kernel Bot
This bug is awaiting verification that the linux-azure/5.13.0-1023.27
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-impish' to 'verification-done-impish'. If the
problem still exists, change the tag 'verification-needed-impish' to
'verification-failed-impish'.

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-impish

** Tags added: verification-needed-focal

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux-azure in Ubuntu.
https://bugs.launchpad.net/bugs/1970223

Title:
  linux-azure: add check to prevent attempting to resize an fs with
  sparse_super2

Status in linux-azure package in Ubuntu:
  Fix Released
Status in linux-azure source package in Focal:
  Fix Committed
Status in linux-azure source package in Impish:
  Fix Committed

Bug description:
  SRU Justification

  [Impact]

  Microsoft has detected an Xfstest failure scenario. There might be fs
  corruption when resizing ext4 filesystems mounted with sparse_super2
  option enabled.

  Fix: commit b1489186cc8391e0c1e342f9fbc3eedf6b944c61 ("ext4: add check
  to prevent attempting to resize an fs with sparse_super2")

  [Test Case]
  mkfs.ext4 -b 4096 -I 256 -J size=32 -E resize=$((256*1024*1024)) -O 
sparse_super2 ext4.img 65M truncate -s 30G ext4.img
  mount ext4.img /mnt
  python3 -c 'import fcntl, os, struct ; fd = os.open("/mnt", os.O_RDONLY | 
os.O_DIRECTORY) ; fcntl.ioctl(fd, 0x40086610, struct.pack("Q", 30 * 1024 * 1024 
* 1024 // 4096), False) ; os.close(fd)'
  dmesg | tail
  e2fsck ext4.img

  [Where things could go wrong]

  The file system may erroneously not mount.

  [Other Info]

  SF: #00334996

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


[Kernel-packages] [Bug 1970223] Re: linux-azure: add check to prevent attempting to resize an fs with sparse_super2

2022-04-25 Thread Tim Gardner
** Changed in: linux-azure (Ubuntu Focal)
   Status: In Progress => Fix Committed

** Changed in: linux-azure (Ubuntu Impish)
   Status: In Progress => Fix Committed

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux-azure in Ubuntu.
https://bugs.launchpad.net/bugs/1970223

Title:
  linux-azure: add check to prevent attempting to resize an fs with
  sparse_super2

Status in linux-azure package in Ubuntu:
  Fix Released
Status in linux-azure source package in Focal:
  Fix Committed
Status in linux-azure source package in Impish:
  Fix Committed

Bug description:
  SRU Justification

  [Impact]

  Microsoft has detected an Xfstest failure scenario. There might be fs
  corruption when resizing ext4 filesystems mounted with sparse_super2
  option enabled.

  Fix: commit b1489186cc8391e0c1e342f9fbc3eedf6b944c61 ("ext4: add check
  to prevent attempting to resize an fs with sparse_super2")

  [Test Case]
  mkfs.ext4 -b 4096 -I 256 -J size=32 -E resize=$((256*1024*1024)) -O 
sparse_super2 ext4.img 65M truncate -s 30G ext4.img
  mount ext4.img /mnt
  python3 -c 'import fcntl, os, struct ; fd = os.open("/mnt", os.O_RDONLY | 
os.O_DIRECTORY) ; fcntl.ioctl(fd, 0x40086610, struct.pack("Q", 30 * 1024 * 1024 
* 1024 // 4096), False) ; os.close(fd)'
  dmesg | tail
  e2fsck ext4.img

  [Where things could go wrong]

  The file system may erroneously not mount.

  [Other Info]

  SF: #00334996

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


[Kernel-packages] [Bug 1970223] Re: linux-azure: add check to prevent attempting to resize an fs with sparse_super2

2022-04-25 Thread Tim Gardner
Patch submitted: https://lists.ubuntu.com/archives/kernel-
team/2022-April/129720.html

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux-azure in Ubuntu.
https://bugs.launchpad.net/bugs/1970223

Title:
  linux-azure: add check to prevent attempting to resize an fs with
  sparse_super2

Status in linux-azure package in Ubuntu:
  Fix Released
Status in linux-azure source package in Focal:
  In Progress
Status in linux-azure source package in Impish:
  In Progress

Bug description:
  SRU Justification

  [Impact]

  Microsoft has detected an Xfstest failure scenario. There might be fs
  corruption when resizing ext4 filesystems mounted with sparse_super2
  option enabled.

  Fix: commit b1489186cc8391e0c1e342f9fbc3eedf6b944c61 ("ext4: add check
  to prevent attempting to resize an fs with sparse_super2")

  [Test Case]
  mkfs.ext4 -b 4096 -I 256 -J size=32 -E resize=$((256*1024*1024)) -O 
sparse_super2 ext4.img 65M truncate -s 30G ext4.img
  mount ext4.img /mnt
  python3 -c 'import fcntl, os, struct ; fd = os.open("/mnt", os.O_RDONLY | 
os.O_DIRECTORY) ; fcntl.ioctl(fd, 0x40086610, struct.pack("Q", 30 * 1024 * 1024 
* 1024 // 4096), False) ; os.close(fd)'
  dmesg | tail
  e2fsck ext4.img

  [Where things could go wrong]

  The file system may erroneously not mount.

  [Other Info]

  SF: #00334996

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