Package: xfsprogs
Version: 6.17.0-2
Severity: normal

There is a XFS file system created with default options plus -n parent=1 in
order to create parent pointers.
The file system contains the two files 0 and O.

Running xfs_scrub -n -k -v on the file system results in an error:
kernel: xfs_scrub[47385]: segfault at 0 ip 00007fb4730bfa23 sp 00007fb46f7fc198 
error 4 in libc.so.6[b5a23,7fb473032000+168000] likely on CPU 3 (core 3, socket 
0)
kernel: Code: ff 66 0f 1f 44 00 00 66 0f 6e ce 89 f8 25 ff 0f 00 00 66 0f 60 c9 
3d c0 0f 00 00 66 0f 61 c9 66 0f 70 c9 00 0f 8f 4d 01 00 00 <f3> 0f 6f 07 66 0f 
ef db 66 0f 6f e0 66 0f 74 c1 66 0f 74 e3 66 0f

This also happens if the file system contains only a file - e.g., ''$'\033' -
with control characters.

The exit code is in both cases 139.


The same tests on a file system differing only in the absence of parent
pointers result in the following info respectively warning:
Info: inode 128 (0/128): Unicode name "O" in Verzeichnis could be confused with 
"0".
Warning: inode 128 (0/128): Unicode name "\x1b" in Verzeichnis contains control 
characters.

No segfaults occur.

The exit codes are 0 respectively 2.


-- System Information:
Debian Release: forky/sid
  APT prefers unstable
  APT policy: (998, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 6.18.5+deb14-amd64 (SMP w/4 CPU threads; PREEMPT)
Kernel taint flags: TAINT_WARN
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages xfsprogs depends on:
ii  libblkid1           2.41.3-3
ii  libc6               2.42-10+b1
ii  libdevmapper1.02.1  2:1.02.205-2+b1
ii  libedit2            3.1-20251016-1
ii  libicu76            76.1-4+b1
ii  libinih1            61-1+b1
ii  liburcu8t64         0.15.5-1
ii  libuuid1            2.41.3-3
ii  python3             3.13.9-3
ii  python3-dbus        1.4.0-1+b1

xfsprogs recommends no packages.

Versions of packages xfsprogs suggests:
ii  acl      2.3.2-2+b2
ii  attr     1:2.5.2-3+b1
pn  quota    <none>
ii  xfsdump  3.2.0-2

-- no debconf information

Reply via email to