[Bug 224491] REDZONE: Buffer overflow detected in swap
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Wed Dec 20 21:13:58 UTC 2017
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=224491
Bug ID: 224491
Summary: REDZONE: Buffer overflow detected in swap
Product: Base System
Version: CURRENT
Hardware: amd64
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: kern
Assignee: freebsd-bugs at FreeBSD.org
Reporter: shurd at FreeBSD.org
When shutting down with redzone enabled, I get the following:
REDZONE: Buffer overflow detected. 16 bytes corrupted after 0xfffffe0091e67688
(6710920 bytes allocated).
Allocation backtrace:
#0 0xffffffff80d66c09 at redzone_setup+0xe9
#1 0xffffffff80a35323 at malloc+0x273
#2 0xffffffff80a8c967 at blist_create+0x97
#3 0xffffffff80d6bcd7 at swaponsomething+0xa7
#4 0xffffffff80d6a3d3 at sys_swapon+0x413
#5 0xffffffff80f06ceb at amd64_syscall+0x79b
#6 0xffffffff80ee58eb at Xfast_syscall+0xfb
Free backtrace:
#0 0xffffffff80d66f74 at redzone_check+0x304
#1 0xffffffff80a353f4 at free+0x54
#2 0xffffffff80d6ac2d at swapoff_one+0x61d
#3 0xffffffff80d6adb7 at swapoff_all+0xd7
#4 0xffffffff80b05c18 at bufshutdown+0x398
#5 0xffffffff80a5a259 at kern_reboot+0x1d9
#6 0xffffffff80a5a024 at sys_reboot+0x3c4
#7 0xffffffff80f06ceb at amd64_syscall+0x79b
#8 0xffffffff80ee58eb at Xfast_syscall+0xfb
Uptime: 1h29m58s
This is with -CURRENT as of today, zfsroot with a separate swap partition
that's considerably larger than current RAM (approx 6x as large). 16GB of RAM,
96GB of swap.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-bugs
mailing list