freebsd-dev/sys
Mark Johnston d0443e2b98 vm_fault: Fix a racy copy of page valid bits
We do not hold the object lock or a page busy lock when copying src_m's
validity state.  Prior to commit 45d72c7d7f we marked dst_m as fully
valid.

Use the source object's read lock to ensure that valid bits are not
concurrently cleared.

Reviewed by:	alc, kib
Fixes:		45d72c7d7f ("vm_fault_copy_entry: accept invalid source pages.")
MFC after:	2 weeks
Sponsored by:	The FreeBSD Foundation
Differential Revision:	https://reviews.freebsd.org/D35471
2022-06-14 18:18:09 -04:00
..
amd64 amd64: -m32 support for machine/md_var.h 2022-06-13 18:35:40 +01:00
arm am335x: Fix a typo in a source code comment 2022-06-04 13:28:10 +02:00
arm64 iommu_gas: pass size to iommu_map without rounding 2022-06-10 13:56:54 -05:00
bsm
cam CTL: Fix double command completions on HA failover. 2022-06-14 00:24:39 -04:00
cddl loader: add support for gzip compression 2022-06-09 20:54:30 +03:00
compat LinuxKPI: 802.11: fix compiling with DEBUG 2022-06-11 16:38:00 +00:00
conf newvers.sh: Don't use return to exit. 2022-06-14 10:51:39 -07:00
contrib ACPICA: Revert an upstream patch to appease useless warnings 2022-06-13 21:40:30 -04:00
crypto crypto: Remove unused devclass arguments to DRIVER_MODULE. 2022-05-06 15:46:58 -07:00
ddb ddb: namespacing of struct command 2022-06-14 13:10:08 -03:00
dev ddb: namespacing of struct command 2022-06-14 13:10:08 -03:00
dts sys/dts: Remove MIPS files 2022-05-20 17:11:27 +01:00
fs nfscl: Clean up the code by removing unused arguments 2022-06-14 13:35:25 -07:00
gdb
geom geom(4): Fix a common typo in a source code comment 2022-06-05 09:51:10 +02:00
gnu
i386 x86: cleanup in machine/cpufunc.h 2022-06-13 18:35:38 +01:00
isa isa: Remove unused devclass arguments to DRIVER_MODULE. 2022-05-06 15:46:59 -07:00
kern mount: Fix an incorrect assertion in kernel_mount() 2022-06-14 12:00:59 -04:00
kgssapi
libkern libkern: Fix a typo in a source code comment 2022-06-05 08:57:26 +02:00
modules modules: Only build MAC modules if options MAC is set 2022-06-14 13:10:08 -03:00
net lacp: Remove racy kassert 2022-06-13 11:32:10 -04:00
net80211 net80211: remove (optional) RSN from preobereq 2022-05-17 22:33:10 +00:00
netgraph ng_ubt(4): Probe USB Bluetooth per USB interface and not per USB device. 2022-06-03 10:49:17 +02:00
netinet sctp: remove book keeping not needed anymore 2022-06-08 23:30:52 +02:00
netinet6 rip6: Fix a lock order reversal in rip6_bind() 2022-06-14 12:00:59 -04:00
netipsec
netpfil ipfw: add support radix tables and table lookup for MAC addresses 2022-06-04 19:12:29 +03:00
netsmb
nfs nfs: skip bootpc when vfs.root.mountfrom is other than nfs 2022-05-31 16:07:27 -03:00
nfsclient
nfsserver
nlm
ofed ibcore: Fix use-after-free access in ucma_close() 2022-06-13 17:00:16 +02:00
opencrypto crypto: Remove unused devclass arguments to DRIVER_MODULE. 2022-05-06 15:46:58 -07:00
powerpc powerpc: Fix a typo in a comment 2022-06-04 19:55:03 +02:00
riscv Retire sv_transtrap 2022-05-20 14:54:03 +03:00
rpc krpc: Fix NFS-over-TLS for KTLS1.3 2022-05-15 11:51:56 -07:00
security sysent: Get rid of bogus sys/sysent.h include. 2022-05-28 20:52:17 +03:00
sys Make stop_all_proc_block interruptible to avoid deadlock with parallel suspension 2022-06-13 22:30:03 +03:00
teken
tests
tools firmware: Map '@' in filenames to '_' in symbols. 2022-06-14 10:50:51 -07:00
ufs Bug fix to UFS/FFS superblock integrity checks when reading a superblock. 2022-06-11 11:05:14 -07:00
vm vm_fault: Fix a racy copy of page valid bits 2022-06-14 18:18:09 -04:00
x86 linux(4): Properly restore the thread signal mask after signal delivery on i386 2022-05-30 20:03:49 +03:00
xdr
xen xenbus: improve device tracking 2022-06-07 12:29:53 +02:00
Makefile