freebsd-nq/sys/fs/procfs
Ryan Libby d7671ad8d6 Close races in vm object chain traversal for unlock
We were unlocking the vm object before reading the backing_object field.
In the meantime, the object could be freed and reused.  This could cause
us to go off the rails in the object chain traversal, failing to unlock
the rest of the objects in the original chain and corrupting the lock
state of the victim chain.

Reviewed by:	bdrewery, kib, markj, vangyzen
MFC after:	3 days
Sponsored by:	Dell EMC Isilon
Differential Revision:	https://reviews.freebsd.org/D28926
2021-02-25 12:11:19 -08:00
..
procfs_dbregs.c Plug memory disclosures via ptrace(2). 2018-12-03 20:54:17 +00:00
procfs_fpregs.c Plug memory disclosures via ptrace(2). 2018-12-03 20:54:17 +00:00
procfs_map.c Close races in vm object chain traversal for unlock 2021-02-25 12:11:19 -08:00
procfs_mem.c
procfs_note.c
procfs_osrel.c
procfs_regs.c Plug memory disclosures via ptrace(2). 2018-12-03 20:54:17 +00:00
procfs_rlimit.c fs: clean up empty lines in .c and .h files 2020-09-01 21:18:40 +00:00
procfs_status.c
procfs_type.c
procfs.c fs: clean up empty lines in .c and .h files 2020-09-01 21:18:40 +00:00
procfs.h Retire procfs-based process debugging. 2020-04-01 19:22:09 +00:00