MCPcopy Create free account
hub / github.com/bsauce/kernel-exploit-factory / user_synchronize_rcu

Function user_synchronize_rcu

CVE-2026-23271/exploit/exploit.cpp:1738–1741  ·  view source on GitHub ↗

用户态 RCU 同步: 通过 membarrier 系统调用强制所有 CPU 执行内存屏障 这确保 RCU callbacks 在已调度过的 CPU 上被处理,加速 RCU 宽限期完成 关键作用: 确保 call_rcu(free_event_rcu) 的回调被执行,事件 A 内存真正释放

Source from the content-addressed store, hash-verified

1736// 这确保 RCU callbacks 在已调度过的 CPU 上被处理,加速 RCU 宽限期完成
1737// 关键作用: 确保 call_rcu(free_event_rcu) 的回调被执行,事件 A 内存真正释放
1738void user_synchronize_rcu(void)
1739{
1740 syscall(__NR_membarrier, MEMBARRIER_CMD_GLOBAL, 0, -1);
1741}
1742
1743
1744#define FALLOC_LEN 4096

Callers 4

tp_wait_target_slot_rcuFunction · 0.85
sprayer_threadFunction · 0.85
cross_cache_attackFunction · 0.85
locate_victim_eventFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected