lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAE5jQCe4nX8m1f5jPL57GeU32CftNv+NvgNmZxufH85nun1o7w@mail.gmail.com>
Date:   Sat, 14 Jul 2018 15:24:17 +0300
From:   Anatoly Trosinenko <anatoly.trosinenko@...il.com>
To:     OGAWA Hirofumi <hirofumi@...l.parknet.co.jp>
Cc:     linux-kernel@...r.kernel.org
Subject: FAT: Operating on broken FAT FS causes the write syscall to return
 negative number not equal to -1

How to reproduce:
1) Compile v4.18-rc4 kernel with the attached config
1) Unpack the attached FS image (128 Mb) and mount it as vfat to /mnt
2) Compile and run vfat-bug.c

What is expected:
`write` returns either -1 or small positive number.

What happens:
The -13619152 aka 0xffffffffff303030 is returned.


Best regards,
Anatoly

Download attachment "config_v4.18-rc4" of type "application/octet-stream" (115374 bytes)

Download attachment "vfat_128m.img.bz2" of type "application/octet-stream" (1221 bytes)

View attachment "vfat-bug.c" of type "text/x-csrc" (366 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ