summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorMark Johnston <markj@FreeBSD.org>2018-11-07 23:28:11 +0000
committerMark Johnston <markj@FreeBSD.org>2018-11-07 23:28:11 +0000
commit150d384e5c834d41d19d44a44af1163e15d9f991 (patch)
tree91c4ba1d12b5092962bd5a5e4edd74e0e5eb7c63 /Makefile
parenta3fd276be02c4bcbab97889d80bed057efacb489 (diff)
downloadsrc-test-150d384e5c834d41d19d44a44af1163e15d9f991.tar.gz
src-test-150d384e5c834d41d19d44a44af1163e15d9f991.zip
Fix a use-after-free in swp_pager_meta_free().
This was introduced in r326329 and explains the crashes mentioned in the commit log message for r339934. In particular, on INVARIANTS kernels, UMA trashing causes the loop to exit early, leaving swap blocks behind when they should have been freed. After r336984 this became more problematic since new anonymous mappings were more likely to reuse swapped-out subranges of existing VM objects, so faults would trigger pageins of freed memory rather than returning zeroed pages. Reviewed by: kib MFC after: 3 days Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D17897
Notes
Notes: svn path=/head/; revision=340241
Diffstat (limited to 'Makefile')
0 files changed, 0 insertions, 0 deletions