I found that maybe this patch is required to solve issue:

commit 1ea1cd11c72d1405a6b98440a9d5ea82dfa07166
Author: Jan Kara <j...@suse.cz>
Date:   Wed Jan 25 11:43:03 2023 +0100

    udf: Fix directory iteration for longer tail extents
    
    When directory's last extent has more that one block and its length is
    not multiple of a block side, the code wrongly decided to move to the
    next extent instead of processing the last partial block. This led to
    directory corruption. Fix the rounding issue.
    
    Signed-off-by: Jan Kara <j...@suse.cz>


Could you try kernel 6.8 which already has this fix? I'll try to build a test 
kernel with the current 5.15 and this patch. Please help me verify if possible. 
Thanks

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

Title:
  NFS, overlay, fstab issue after update to kernel 5.15.0-133-generic
  and -134

Status in linux package in Ubuntu:
  Triaged

Bug description:
  Hello,
  After updating from 5.15.0-131-generic on ubuntu 22.04 to newer versions, our 
fstab mountpoints for overlays are failing. we are using them to mount ISO 
(VM's on vsphere). It happens on all ubuntu vm's.

  lsb_release -rd
  Description:    Ubuntu 22.04.5 LTS
  Release:        22.04

  apport file in the attachment

  fstab entry:
  cat /etc/fstab
  # /etc/fstab: static file system information.
  #
  # Use 'blkid' to print the universally unique identifier for a
  # device; this may be used with UUID= as a more robust way to name devices
  # that works even if disks are added and removed. See fstab(5).
  #
  # <file system> <mount point>   <type>  <options>       <dump>  <pass>
  # / was on /dev/sda1 during installation
  UUID=3f1bdecc-af3b-4c65-a8e5-208b58e147b9 /               ext4    
errors=remount-ro 0       1
  # swap was on /dev/sda5 during installation
  UUID=5cd2a861-4079-4492-bf6b-e60c6d406b4e none            swap    sw          
    0       0
  #/dev/sda1       /mapsrw         ext4       defaults         0       1
  /dev/sr0        /media/cdrom0   udf,iso9660 user,noauto     0       0
  /dev/sr1        /media/cdrom1   udf,iso9660 user,noauto     0       0


  /dev/sr0 /mapsro udf,iso9660 ro 0 0

  overlay /opt/iso overlay
  
lowerdir=/mapsro,upperdir=/mapsrw,workdir=/mapswork,defaults,_netdev,x-systemd.requires-
  mounts-for=/mapsro

  
  /dev/sr1 /gcdro udf,iso9660 ro 0 0
  overlay /opt/iso/map/gcd overlay 
lowerdir=/gcdro,upperdir=/gcdrw,workdir=/gcdwork,defaults,_netdev,x-systemd.requires-mounts-for=/gcdro

  
  dmesg output after update

  [    2.791617] vmwgfx 0000:00:0f.0: [drm] Screen Target display unit 
initialized
  [    2.792712] vmwgfx 0000:00:0f.0: [drm] Fifo max 0x00040000 min 0x00001000 
cap 0x0000077f
  [    2.793589] vmwgfx 0000:00:0f.0: [drm] Using command buffers with DMA pool.
  [    2.793595] vmwgfx 0000:00:0f.0: [drm] Available shader model: Legacy.
  [    2.795045] fbcon: svgadrmfb (fb0) is primary device
  [    2.795542] Console: switching to colour frame buffer device 100x37
  [    2.799710] [drm] Initialized vmwgfx 2.19.0 20210722 for 0000:00:0f.0 on 
minor 0
  [    2.800406] systemd[1]: Finished Load Kernel Modules.
  [    2.801077] systemd[1]: Starting Apply Kernel Variables...
  [    2.801185] systemd[1]: Started Journal Service.
  [    2.805436] systemd-journald[434]: Received client request to flush 
runtime journal.
  [    2.912001] vmw_vmci 0000:00:07.7: Using capabilities 0xc
  [    2.912403] Guest personality initialized and is active
  [    2.916033] VMCI host device registered (name=vmci, major=10, minor=123)
  [    2.916035] Initialized host personality
  [    2.960298] Adding 4317180k swap on /dev/sda5.  Priority:-2 extents:1 
across:4317180k SSFS
  [    2.975943] RAPL PMU: API unit is 2^-32 Joules, 0 fixed counters, 
10737418240 ms ovfl timer
  [    2.979501] cryptd: max_cpu_qlen set to 1000
  [    2.989102] AVX2 version of gcm_enc/dec engaged.
  [    2.989205] AES CTR mode by8 optimization enabled
  [    3.129983] RPC: Registered named UNIX socket transport module.
  [    3.129986] RPC: Registered udp transport module.
  [    3.129986] RPC: Registered tcp transport module.
  [    3.129987] RPC: Registered tcp NFSv4.1 backchannel transport module.
  [    3.134884] audit: type=1400 audit(1742377247.423:2): apparmor="STATUS" 
operation="profile_load" profile="unconfined" name="nvidia_modprobe" pid=669 
comm="apparmor_parser"
  [    3.134888] audit: type=1400 audit(1742377247.423:3): apparmor="STATUS" 
operation="profile_load" profile="unconfined" name="nvidia_modprobe//kmod" 
pid=669 comm="apparmor_parser"
  [    3.134905] audit: type=1400 audit(1742377247.423:4): apparmor="STATUS" 
operation="profile_load" profile="unconfined" name="lsb_release" pid=668 
comm="apparmor_parser"
  [    3.137445] audit: type=1400 audit(1742377247.427:5): apparmor="STATUS" 
operation="profile_load" profile="unconfined" name="/usr/bin/man" pid=673 
comm="apparmor_parser"
  [    3.137447] audit: type=1400 audit(1742377247.427:6): apparmor="STATUS" 
operation="profile_load" profile="unconfined" name="man_filter" pid=673 
comm="apparmor_parser"
  [    3.137450] audit: type=1400 audit(1742377247.427:7): apparmor="STATUS" 
operation="profile_load" profile="unconfined" name="man_groff" pid=673 
comm="apparmor_parser"
  [    3.140695] audit: type=1400 audit(1742377247.431:8): apparmor="STATUS" 
operation="profile_load" profile="unconfined" name="ubuntu_pro_apt_news" 
pid=671 comm="apparmor_parser"
  [    3.142882] audit: type=1400 audit(1742377247.431:9): apparmor="STATUS" 
operation="profile_load" profile="unconfined" name="tcpdump" pid=674 
comm="apparmor_parser"
  [    3.146434] audit: type=1400 audit(1742377247.435:10): apparmor="STATUS" 
operation="profile_load" profile="unconfined" 
name="/usr/lib/NetworkManager/nm-dhcp-client.action" pid=670 
comm="apparmor_parser"
  [    3.147041] vmxnet3 0000:03:00.0 ens160: intr type 3, mode 0, 9 vectors 
allocated
  [    3.149459] vmxnet3 0000:03:00.0 ens160: NIC Link is Up 10000 Mbps
  [    3.192250] NET: Registered PF_VSOCK protocol family
  [   16.512894] overlayfs: null uuid detected in lower fs '/', falling back to 
xino=off,index=off,nfs_export=off.
  [   16.518113] UDF-fs: error (device sr0): udf_fiiter_advance_blk: extent 
after position 2016 not allocated in directory (ino 318)
  [   16.518118] UDF-fs: error (device sr0): udf_verify_fi: directory (ino 318) 
has entry at pos 2016 with unaligned lenght of impUse field
  [   16.518145] UDF-fs: error (device sr0): udf_fiiter_advance_blk: extent 
after position 2016 not allocated in directory (ino 318)
  [   16.518146] UDF-fs: error (device sr0): udf_verify_fi: directory (ino 318) 
has entry at pos 2016 with unaligned lenght of impUse field
  [   16.518159] UDF-fs: error (device sr0): udf_fiiter_advance_blk: extent 
after position 2016 not allocated in directory (ino 318)
  [   16.518160] UDF-fs: error (device sr0): udf_verify_fi: directory (ino 318) 
has entry at pos 2016 with unaligned lenght of impUse field
  [   16.520084] UDF-fs: error (device sr0): udf_fiiter_advance_blk: extent 
after position 2016 not allocated in directory (ino 318)
  [   16.520089] UDF-fs: error (device sr0): udf_verify_fi: directory (ino 318) 
has entry at pos 2016 with unaligned lenght of impUse field
  [   16.520125] UDF-fs: error (device sr0): udf_fiiter_advance_blk: extent 
after position 2016 not allocated in directory (ino 318)
  [   16.520126] UDF-fs: error (device sr0): udf_verify_fi: directory (ino 318) 
has entry at pos 2016 with unaligned lenght of impUse field
  [   16.522079] FS-Cache: Loaded
  [   16.554821] FS-Cache: Netfs 'nfs' registered for caching
  [   16.684508] NFS: Registering the id_resolver key type
  [   16.684517] Key type id_resolver registered
  [   16.684518] Key type id_legacy registered
  [   20.160812] UDF-fs: error (device sr0): udf_fiiter_advance_blk: extent 
after position 2016 not allocated in directory (ino 318)
  [   20.160853] UDF-fs: error (device sr0): udf_verify_fi: directory (ino 318) 
has entry at pos 2016 with unaligned lenght of impUse field
  [   20.166339] UDF-fs: error (device sr0): udf_fiiter_advance_blk: extent 
after position 2016 not allocated in directory (ino 318)
  [   20.166380] UDF-fs: error (device sr0): udf_verify_fi: directory (ino 318) 
has entry at pos 2016 with unaligned lenght of impUse field
  [   20.166740] UDF-fs: error (device sr0): udf_fiiter_advance_blk: extent 
after position 2016 not allocated in directory (ino 318)
  [   20.166773] UDF-fs: error (device sr0): udf_verify_fi: directory (ino 318) 
has entry at pos 2016 with unaligned lenght of impUse field
  [   20.166829] UDF-fs: error (device sr0): udf_fiiter_advance_blk: extent 
after position 2016 not allocated in directory (ino 318)
  [   20.166859] UDF-fs: error (device sr0): udf_verify_fi: directory (ino 318) 
has entry at pos 2016 with unaligned lenght of impUse field
  [   20.166912] UDF-fs: error (device sr0): udf_fiiter_advance_blk: extent 
after position 2016 not allocated in directory (ino 318)
  [   20.166941] UDF-fs: error (device sr0): udf_verify_fi: directory (ino 318) 
has entry at pos 2016 with unaligned lenght of impUse field
  [   20.166995] UDF-fs: error (device sr0): udf_fiiter_advance_blk: extent 
after position 2016 not allocated in directory (ino 318)
  [   20.167024] UDF-fs: error (device sr0): udf_verify_fi: directory (ino 318) 
has entry at pos 2016 with unaligned lenght of impUse field
  [   20.184362] UDF-fs: error (device sr0): udf_fiiter_advance_blk: extent 
after position 2016 not allocated in directory (ino 318)
  [   20.184405] UDF-fs: error (device sr0): udf_verify_fi: directory (ino 318) 
has entry at pos 2016 with unaligned lenght of impUse field
  [   20.198854] UDF-fs: error (device sr0): udf_fiiter_advance_blk: extent 
after position 2016 not allocated in directory (ino 318)
  [   20.198895] UDF-fs: error (device sr0): udf_verify_fi: directory (ino 318) 
has entry at pos 2016 with unaligned lenght of impUse field
  [   20.199000] UDF-fs: error (device sr0): udf_fiiter_advance_blk: extent 
after position 2016 not allocated in directory (ino 318)
  [   20.199688] UDF-fs: error (device sr0): udf_verify_fi: directory (ino 318) 
has entry at pos 2016 with unaligned lenght of impUse field
  [   20.212325] UDF-fs: error (device sr0): udf_fiiter_advance_blk: extent 
after position 2016 not allocated in directory (ino 318)
  [   20.213678] UDF-fs: error (device sr0): udf_verify_fi: directory (ino 318) 
has entry at pos 2016 with unaligned lenght of impUse field
  [   20.219212] UDF-fs: error (device sr0): udf_fiiter_advance_blk: extent 
after position 2016 not allocated in directory (ino 318)
  [   20.220536] UDF-fs: error (device sr0): udf_verify_fi: directory (ino 318) 
has entry at pos 2016 with unaligned lenght of impUse field
  [   20.228836] UDF-fs: error (device sr0): udf_fiiter_advance_blk: extent 
after position 2016 not allocated in directory (ino 318)
  [   20.230183] UDF-fs: error (device sr0): udf_verify_fi: directory (ino 318) 
has entry at pos 2016 with unaligned lenght of impUse field
  [   20.384191] UDF-fs: error (device sr0): udf_fiiter_advance_blk: extent 
after position 2016 not allocated in directory (ino 318)
  [   20.385550] UDF-fs: error (device sr0): udf_verify_fi: directory (ino 318) 
has entry at pos 2016 with unaligned lenght of impUse field
  [   20.386987] UDF-fs: error (device sr0): udf_fiiter_advance_blk: extent 
after position 2016 not allocated in directory (ino 318)
  [   20.388239] UDF-fs: error (device sr0): udf_verify_fi: directory (ino 318) 
has entry at pos 2016 with unaligned lenght of impUse field
  [   20.389527] UDF-fs: error (device sr0): udf_fiiter_advance_blk: extent 
after position 2016 not allocated in directory (ino 318)
  [   20.390973] UDF-fs: error (device sr0): udf_verify_fi: directory (ino 318) 
has entry at pos 2016 with unaligned lenght of impUse field
  [   20.540547] UDF-fs: error (device sr0): udf_fiiter_advance_blk: extent 
after position 2016 not allocated in directory (ino 318)
  [   20.541910] UDF-fs: error (device sr0): udf_verify_fi: directory (ino 318) 
has entry at pos 2016 with unaligned lenght of impUse field
  [   20.587198] UDF-fs: error (device sr0): udf_fiiter_advance_blk: extent 
after position 2016 not allocated in directory (ino 318)
  [   20.588558] UDF-fs: error (device sr0): udf_verify_fi: directory (ino 318) 
has entry at pos 2016 with unaligned lenght of impUse field
  [   20.590494] UDF-fs: error (device sr0): udf_fiiter_advance_blk: extent 
after position 2016 not allocated in directory (ino 318)
  [   20.591733] UDF-fs: error (device sr0): udf_verify_fi: directory (ino 318) 
has entry at pos 2016 with unaligned lenght of impUse field
  [   20.593009] UDF-fs: error (device sr0): udf_fiiter_advance_blk: extent 
after position 2016 not allocated in directory (ino 318)
  [   20.594276] UDF-fs: error (device sr0): udf_verify_fi: directory (ino 318) 
has entry at pos 2016 with unaligned lenght of impUse field
  [   20.595543] UDF-fs: error (device sr0): udf_fiiter_advance_blk: extent 
after position 2016 not allocated in directory (ino 318)
  [   20.596853] UDF-fs: error (device sr0): udf_verify_fi: directory (ino 318) 
has entry at pos 2016 with unaligned lenght of impUse field
  [   20.598310] UDF-fs: error (device sr0): udf_fiiter_advance_blk: extent 
after position 2016 not allocated in directory (ino 318)
  [   20.599556] UDF-fs: error (device sr0): udf_verify_fi: directory (ino 318) 
has entry at pos 2016 with unaligned lenght of impUse field
  [   20.792315] UDF-fs: error (device sr0): udf_fiiter_advance_blk: extent 
after position 2016 not allocated in directory (ino 318)
  [   20.793705] UDF-fs: error (device sr0): udf_verify_fi: directory (ino 318) 
has entry at pos 2016 with unaligned lenght of impUse field
  [   29.068728] UDF-fs: error (device sr0): udf_fiiter_advance_blk: extent 
after position 2016 not allocated in directory (ino 318)
  [   29.070077] UDF-fs: error (device sr0): udf_verify_fi: directory (ino 318) 
has entry at pos 2016 with unaligned lenght of impUse field
  [ 2636.042175] UDF-fs: error (device sr0): udf_fiiter_advance_blk: extent 
after position 2016 not allocated in directory (ino 318)
  [ 2636.043563] UDF-fs: error (device sr0): udf_verify_fi: directory (ino 318) 
has entry at pos 2016 with unaligned lenght of impUse field
  [ 2636.271936] UDF-fs: error (device sr0): udf_fiiter_advance_blk: extent 
after position 2016 not allocated in directory (ino 318)
  [ 2636.273292] UDF-fs: error (device sr0): udf_verify_fi: directory (ino 318) 
has entry at pos 2016 with unaligned lenght of impUse field
  [ 2636.484056] UDF-fs: error (device sr0): udf_fiiter_advance_blk: extent 
after position 2016 not allocated in directory (ino 318)
  [ 2636.485421] UDF-fs: error (device sr0): udf_verify_fi: directory (ino 318) 
has entry at pos 2016 with unaligned lenght of impUse field
  [ 2636.612029] UDF-fs: error (device sr0): udf_fiiter_advance_blk: extent 
after position 2016 not allocated in directory (ino 318)
  [ 2636.613398] UDF-fs: error (device sr0): udf_verify_fi: directory (ino 318) 
has entry at pos 2016 with unaligned lenght of impUse field
  [ 2636.787934] UDF-fs: error (device sr0): udf_fiiter_advance_blk: extent 
after position 2016 not allocated in directory (ino 318)
  [ 2636.789298] UDF-fs: error (device sr0): udf_verify_fi: directory (ino 318) 
has entry at pos 2016 with unaligned lenght of impUse field

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