Praleisti ir pereiti prie pirmo neskaityto pranešimo
syzbot
neskaityta,
2022-11-22 06:56:432022-11-22
Atsakyti autoriui
Jei norite atsakyti autoriui, prisijunkite
Persiųsti
Jei norite peradresuoti, prisijunkite
Ištrinti
Neturite leidimo ištrinti pranešimų šioje grupėje
Kopijuoti nuorodą
Pranešti apie pranešimą
Jei norite pranešti apie pranešimą, prisijunkite
Rodyti pradinį pranešimą
Arba el. pašto adresai šioje grupėje yra anoniminiai, arba jums reikia narių el. pašto adresų peržiūros leidimo, kad galėtumėte peržiūrėti pradinį pranešimą
---
This report is generated by a bot. It may contain errors.
See https://goo.gl/tpsmEJ for more information about syzbot.
syzbot engineers can be reached at syzk...@googlegroups.com.
Arba el. pašto adresai šioje grupėje yra anoniminiai, arba jums reikia narių el. pašto adresų peržiūros leidimo, kad galėtumėte peržiūrėti pradinį pranešimą
That is what I got by running the C reproducer. It's the same stack
trace, but includes the expected transaction aborted error message.
Don't know why, but all reports from syzbot usually miss that error message.
Also, this is failing with ENOSPC because somehow the reproducer
manages to mount a 16M loop device file,
which will make gather_device_info() not able to find any device (in
case it were a multiple devices fs)
able to allocate a chunk of 67108864 bytes (64M), as the only
available device has a size (device->total_bytes) of 16777216 (16M).
mkfs.btrfs should refuse to build a fs on such a small device, like this:
$ fallocate -l 16M device
$ mkfs.btrfs -f device
btrfs-progs v6.0.1
See http://btrfs.wiki.kernel.org for more information.
ERROR: 'device' is too small to make a usable filesystem
ERROR: minimum size for each btrfs device is 114294784
Somehow the C reproducer (which is not really human readable), is able
to create and mount a fs on 16M loop device:
So no wonder we fail with ENOSPC and a transaction aborts.
The stack trace on transaction abort with -ENOSPC is actually useful
as it tells us where to look in case there's a bug
related with space allocation.
So the only bug here is the ability to create and mount a btrfs fs on
a 16M device.
Dmitry Vyukov
neskaityta,
2022-11-22 12:43:122022-11-22
Atsakyti autoriui
Jei norite atsakyti autoriui, prisijunkite
Persiųsti
Jei norite peradresuoti, prisijunkite
Ištrinti
Neturite leidimo ištrinti pranešimų šioje grupėje
Kopijuoti nuorodą
Pranešti apie pranešimą
Jei norite pranešti apie pranešimą, prisijunkite
Rodyti pradinį pranešimą
Arba el. pašto adresai šioje grupėje yra anoniminiai, arba jums reikia narių el. pašto adresų peržiūros leidimo, kad galėtumėte peržiūrėti pradinį pranešimą
kam: Filipe Manana, syzbot, c...@fb.com, dst...@suse.com, jo...@toxicpanda.com, linux...@vger.kernel.org, linux-...@vger.kernel.org, syzkall...@googlegroups.com
Arba el. pašto adresai šioje grupėje yra anoniminiai, arba jums reikia narių el. pašto adresų peržiūros leidimo, kad galėtumėte peržiūrėti pradinį pranešimą