shadPS4/src/core
Stephen Miller 5bc4183e36
Kernel.Vmm: Fix potential race condition involving concurrent Allocate and Free calls (#3978)
* Avoid nullptr dereference on GetSocket

Was gonna include this in my socket PR, but that got merged before I could push this.

* Lock unmap mutex in PoolExpand and Allocate

PAYDAY 2 has a rare race condition involving dmem releases.
I'm not certain this commit will fix it, but this would cause a race condition that could cause asserts like what PAYDAY 2 can hit, so I'll just pray this does the job until I can prove it doesn't.
2026-01-30 06:22:15 +02:00
..
aerolib fix typo in LOG_INFO (#559) 2024-08-26 15:22:11 +03:00
devtools Kernel.Vmm: Handle sparse physical memory usage + other fixes (#3932) 2026-01-21 17:36:09 +02:00
file_format Introducing key_manager for storing encryption keys . (#3935) 2026-01-19 18:49:57 +02:00
file_sys Kernel.Vmm: Fix potential race condition involving concurrent Allocate and Free calls (#3978) 2026-01-30 06:22:15 +02:00
ipc Emulator state (#3906) 2026-01-09 19:42:05 +02:00
libraries Delete unused fds in sceNetEpollDestroy and sys_socketclose (#3976) 2026-01-29 23:08:21 +02:00
loader Core: Simulate write-only file access with read-write access (#3360) 2025-11-04 10:57:26 +02:00
address_space.cpp Kernel.Vmm: Attempt to address race conditions involving ClampRangeSize, CopySparseMemory, and TryWriteBacking (#3956) 2026-01-27 12:25:23 +02:00
address_space.h Kernel.Vmm: Attempt to address race conditions involving ClampRangeSize, CopySparseMemory, and TryWriteBacking (#3956) 2026-01-27 12:25:23 +02:00
cpu_patches.cpp Kernel.Vmm: Remove hack from #2726 (#3864) 2025-12-11 12:24:45 +02:00
cpu_patches.h cpu_patches: Remove CPU patches for macOS and bump minimum OS version to 15.4 (#2743) 2025-04-03 22:39:08 +03:00
debug_state.cpp amdgpu: Split liverpool registers and cleanup (#3707) 2025-10-05 13:42:40 -07:00
debug_state.h amdgpu: Split liverpool registers and cleanup (#3707) 2025-10-05 13:42:40 -07:00
debugger.cpp Impl sceSystemServiceLoadExec (#3647) 2025-09-25 23:01:52 -03:00
debugger.h Impl sceSystemServiceLoadExec (#3647) 2025-09-25 23:01:52 -03:00
emulator_state.cpp Emulator state (#3906) 2026-01-09 19:42:05 +02:00
emulator_state.h Emulator state (#3906) 2026-01-09 19:42:05 +02:00
linker.cpp Fix thread names not updating correctly (#3968) 2026-01-28 13:25:48 +02:00
linker.h Lock linker mutex in RelocateAnyImports (#3693) 2025-10-01 22:27:12 +03:00
memory.cpp Kernel.Vmm: Fix potential race condition involving concurrent Allocate and Free calls (#3978) 2026-01-30 06:22:15 +02:00
memory.h Kernel.Vmm: Attempt to address race conditions involving ClampRangeSize, CopySparseMemory, and TryWriteBacking (#3956) 2026-01-27 12:25:23 +02:00
module.cpp Core: Memory code cleanup and further direct memory fixes (#3655) 2025-09-26 02:28:32 -07:00
module.h Core: Remove checks for symbol version_major and version_minor (#3540) 2025-09-08 19:30:03 -07:00
platform.h Support for Vulkan 1.4 (#1665) 2024-12-07 19:41:41 +02:00
signals.cpp Handle exceptions from OutputDebugString API. (#3914) 2026-01-11 03:36:36 +02:00
signals.h shader_recompiler: Patch SRT walker on segfault (#2991) 2025-06-09 13:04:21 +03:00
thread.cpp Core: Fix MXCSR and FPUCW registers on created threads (#3568) 2025-09-10 14:32:05 -07:00
thread.h Switch remaining CRLF terminated files to LF 2024-12-24 13:56:31 +01:00
tls.cpp Revert non-Linux parts of #3819 (#3852) 2025-12-03 15:05:19 +02:00
tls.h Revert non-Linux parts of #3819 (#3852) 2025-12-03 15:05:19 +02:00