opnsense-src/sys
Mark Johnston 3ea8c7ad90 vm_fault: Shoot down shared mappings in vm_fault_copy_entry()
As in vm_fault_cow(), it's possible, albeit rare, for multiple vm_maps
to share a shadow object.  When copying a page from a backing object
into the shadow, all mappings of the source page must therefore be
removed.  Otherwise, future operations on the object tree may detect
that the source page is fully shadowed and thus can be freed.

Approved by:	so
Security:	FreeBSD-SA-22:11.vm
Reviewed by:	alc, kib
Sponsored by:	The FreeBSD Foundation
Differential Revision:	https://reviews.freebsd.org/D35635

(cherry picked from commit 5c50e900ad)
2022-08-09 15:47:40 -04:00
..
amd64 Fix unused variable warning in amd64's pmap.c 2022-07-29 20:30:00 +02:00
arm busdma: _bus_dmamap_addseg repaired 2022-07-12 11:26:11 -05:00
arm64 iommu_gas: Eliminate redundant parameters and push down lock acquisition 2022-08-08 02:07:50 -05:00
bsm
cam ses: don't panic if disk elements have really weird descriptors 2022-07-24 09:41:18 -06:00
cddl Adjust fbt_unload() definition to avoid clang 15 warning 2022-07-24 13:00:08 +02:00
compat elf_note_prpsinfo: handle more failures from proc_getargv() 2022-08-09 15:47:32 -04:00
conf Suppress -Wstrict-prototypes for several zlib files 2022-07-29 20:29:59 +02:00
contrib zlib: Fix a bug when getting a gzip header extra field with inflate(). 2022-08-09 10:40:35 -04:00
crypto crypto: Add an API supporting curve25519. 2022-07-13 12:28:41 -07:00
ddb Adjust db_flush_line() definition to avoid clang 15 warning 2022-07-23 10:56:44 +02:00
dev bce(4): Fix two typos in kernel messages 2022-08-09 08:02:10 +02:00
dts add overlay for enabling i2c1 on allwinner h3 2022-02-09 11:35:59 +02:00
fs nfsd: Fix CreateSession for an established ClientID 2022-07-28 13:20:33 -07:00
gdb gdb(4): Do not use run length encoding for 3-symbol repetitions 2022-02-04 20:58:34 -05:00
geom Adjust function definition in geom_subr.c to avoid clang 15 warnings 2022-07-29 20:31:13 +02:00
gnu bwn: eliminate dead writes in BWN_GPL_PHY 2022-05-12 08:56:04 -04:00
i386 i386: fix pmap_trm_arena_last atomic load type 2022-08-08 11:00:32 -04:00
isa Adjust function definition in isa's pnp.c to avoid clang 15 warning 2022-08-01 20:07:10 +02:00
kern elf_note_prpsinfo: handle more failures from proc_getargv() 2022-08-09 15:47:32 -04:00
kgssapi
libkern libkern: Fix a typo in a source code comment 2022-06-10 14:24:24 +02:00
mips mips busdma: expunge an extra closing brace 2022-07-12 13:47:44 -05:00
modules Remove unnecessary terminating slash in iscsi module Makefile 2022-08-01 20:07:17 +02:00
net if_vlan: avoid hash table thrashing when adding and removing entries 2022-08-05 13:54:25 +02:00
net80211 Fix unused variable warning in ieee80211_proto.c 2022-07-29 20:29:09 +02:00
netgraph Adjust ng_{name,ID}_rehash() definitions to avoid clang 15 warnings 2022-07-29 20:28:08 +02:00
netinet Adjust sctp_drain() definition to avoid clang 15 warning 2022-07-29 20:28:09 +02:00
netinet6 Adjust function definition in nd6.c to avoid clang 15 warnings 2022-07-29 20:29:08 +02:00
netipsec ipsec: replace SECASVAR mtx by rmlock 2022-08-09 15:46:57 +02:00
netpfil Adjust function definitions in if_pfsync.c to avoid clang 15 warnings 2022-07-29 20:28:08 +02:00
netsmb
nfs nfs: do not panic on bootpc_init when no interfaces are found 2022-05-06 09:14:28 -03:00
nfsclient
nfsserver
nlm
ofed ibcore: Fix sysfs registration error flow 2022-06-27 10:14:49 +02:00
opencrypto crypto: Validate return values from CRYPTODEV_PROCESS() 2022-07-15 12:33:49 -04:00
powerpc busdma: _bus_dmamap_addseg repaired 2022-07-12 11:26:11 -05:00
riscv riscv: Avoid passing invalid addresses to pmap_fault() 2022-08-04 09:57:15 -04:00
rpc Adjust local_rpcb() definition to avoid clang 15 warning 2022-07-27 21:17:23 +02:00
security sysent: Get rid of bogus sys/sysent.h include. 2022-06-17 22:35:31 +03:00
sys atomic: Add some type checking to plain atomic_load/store helpers 2022-08-08 11:00:32 -04:00
teken teken: color #3 is yellow not brown - use TC_YELLOW as the name 2022-05-03 14:20:44 -04:00
tests routing: add IPv6 fib validation procedure. 2021-09-07 21:02:58 +00:00
tools firmware: Map '@' in filenames to '_' in symbols. 2022-07-13 09:19:51 -07:00
ufs Adjust function definitions in ufs_dirhash.c to avoid clang 15 warnings 2022-07-29 20:30:01 +02:00
vm vm_fault: Shoot down shared mappings in vm_fault_copy_entry() 2022-08-09 15:47:40 -04:00
x86 iommu_gas: Eliminate redundant parameters and push down lock acquisition 2022-08-08 02:07:50 -05:00
xdr
xen Create wrapper for Giant taken for newbus 2022-06-21 17:13:20 +02:00
Makefile