Page 1 of 1

PAX: size overflow detected in function btrfs_sync_file

PostPosted: Sun Oct 25, 2015 12:20 am
by kennethlakin
This is a similar report to my last one, which is currently languishing in the moderation queue.

I'm now using Gentoo's hardened-sources-4.2.4. While the frequency of reports appears to be much reduced, they are still present.

Code: Select all
[  501.188692] PAX: size overflow detected in function btrfs_sync_file fs/btrfs/file.c:1871 cicus.685_109 max, count: 289, decl: btrfs_wait_ordered_range; num: 3; context: fndecl;
[  501.189143] CPU: 1 PID: 4334 Comm: postgres Not tainted 4.2.4-hardened #1
[  501.189146] Hardware name: LENOVO 766313U/766313U, BIOS 7LETC6WW (2.26 ) 05/11/2009
[  501.189148]  ffffffff820b6ea4 0000000000000000 ffffffff820b6de1 ffffc900033cbd78
[  501.189152]  ffffffff81d43282 ffff88013bd0db00 ffffffff820b6ea4 ffffc900033cbda8
[  501.189156]  ffffffff812376bc 0000000000000000 7fffffffffffffff 7fffffffffffffff
[  501.189159] Call Trace:
[  501.189168]  [<ffffffff81d43282>] dump_stack+0x45/0x5d
[  501.189173]  [<ffffffff812376bc>] report_size_overflow+0x5c/0x60
[  501.189178]  [<ffffffff8157a189>] btrfs_sync_file+0x89/0x520
[  501.189182]  [<ffffffff81262b14>] vfs_fsync_range+0x54/0xb0
[  501.189185]  [<ffffffff81262bac>] do_fsync+0x3c/0x70
[  501.189187]  [<ffffffff81262c25>] SyS_fsync+0x15/0x30
[  501.189191]  [<ffffffff81d4bf99>] entry_SYSCALL_64_fastpath+0x12/0x83

Re: PAX: size overflow detected in function btrfs_sync_file

PostPosted: Sun Nov 01, 2015 4:08 pm
by ephox
You can follow this issue here:
viewtopic.php?f=1&t=4284&p=15617#p15617