{"id":478231,"date":"2026-05-01T10:59:05","date_gmt":"2026-05-01T10:59:05","guid":{"rendered":"https:\/\/savepearlharbor.com\/?p=478231"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T21:00:00","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=478231","title":{"rendered":"Copy.Fail (CVE-2026-31431) \u2014 \u0431\u043e\u043b\u044c\u0448\u0435 \u0447\u0435\u043c LPE"},"content":{"rendered":"<div xmlns=\"http:\/\/www.w3.org\/1999\/xhtml\">\n<p>\u0421\u0432\u0435\u0436\u0430\u044f CVE-2026-31431 \u0442\u043e\u043b\u044c\u043a\u043e \u043d\u0430\u0431\u0438\u0440\u0430\u0435\u0442 \u043e\u0431\u043e\u0440\u043e\u0442\u044b, \u0438 \u0442\u0443\u0442 \u044f \u0445\u043e\u0447\u0443 \u043f\u043e\u043a\u0430\u0437\u0430\u0442\u044c, \u043f\u043e\u0447\u0435\u043c\u0443 \u044d\u0442\u043e \u043d\u0435 \u0441\u043e\u0432\u0441\u0435\u043c \u043e\u0431\u044b\u0447\u043d\u0430\u044f LPE. <\/p>\n<p><strong>Copy Fail \u043a\u0430\u043a \u043f\u0440\u0438\u043c\u0438\u0442\u0438\u0432 Process Injection \u0447\u0435\u0440\u0435\u0437 Page Cache<\/strong><\/p>\n<p>\u041e\u0440\u0438\u0433\u0438\u043d\u0430\u043b\u044c\u043d\u044b\u0439 PoC \u043c\u043e\u0434\u0438\u0444\u0438\u0446\u0438\u0440\u0443\u0435\u0442 setuid binary \u043f\u0435\u0440\u0435\u0434 execve \u0438 \u043f\u043e\u043b\u0443\u0447\u0430\u0435\u0442 root. <br \/>\u0412\u0442\u043e\u0440\u043e\u0439 \u043f\u0443\u0431\u043b\u0438\u0447\u043d\u044b\u0439 PoC \u043f\u043e\u0434\u043c\u0435\u043d\u044f\u0435\u0442 id \u0443 \u0442\u0435\u043a\u0443\u0449\u0435\u0433\u043e \u044e\u0437\u0435\u0440\u0430 \u043d\u0430 0000. <\/p>\n<p>\u0425\u043e\u0440\u043e\u0448\u0438\u0435, \u0440\u0430\u0431\u043e\u0447\u0438\u0435 LPE, \u0434\u0430\u044e\u0449\u0438\u0435 \u0440\u0443\u0442\u0430.<\/p>\n<p>\u041d\u043e \u0438\u0441\u0441\u043b\u0435\u0434\u0443\u044f \u0434\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0435 \u0441\u0432\u043e\u0439\u0441\u0442\u0432\u0430 \u044d\u0442\u043e\u0433\u043e \u043f\u0440\u0438\u043c\u0438\u0442\u0438\u0432\u0430 \u044f \u043e\u0431\u043d\u0430\u0440\u0443\u0436\u0438\u043b \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u044d\u0444\u0444\u0435\u043a\u0442\u043e\u0432, \u043d\u0435 \u043e\u043f\u0438\u0441\u0430\u043d\u043d\u044b\u0445 \u0432 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b\u044c\u043d\u043e\u043c disclosure:<\/p>\n<ol>\n<li>\n<p>Copy Fail \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u0435\u0442 \u043c\u043e\u0434\u0438\u0444\u0438\u0446\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u043a\u043e\u0434 \u0443\u0436\u0435 \u0437\u0430\u043f\u0443\u0449\u0435\u043d\u043d\u043e\u0433\u043e \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u0430 \u2014 \u0431\u0435\u0437 ptrace \u0438 \u0431\u0435\u0437 \u0432\u0437\u0430\u0438\u043c\u043e\u0434\u0435\u0439\u0441\u0442\u0432\u0438\u044f \u0441 \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u043e\u043c. \u0411\u0435\u0437 execve \u0434\u043b\u044f \u0437\u0430\u043f\u0443\u0441\u043a\u0430 \u043a\u043e\u0434\u0430.<\/p>\n<\/li>\n<li>\n<p> \u041c\u043e\u0434\u0438\u0444\u0438\u043a\u0430\u0446\u0438\u044f \u043d\u0435\u0432\u0438\u0434\u0438\u043c\u0430 \u0434\u043b\u044f inotify, \u043d\u0435 \u043e\u0431\u043d\u043e\u0432\u043b\u044f\u0435\u0442 mtime \u0444\u0430\u0439\u043b\u0430, \u043d\u0435\u0432\u0438\u0434\u0438\u043c\u0430 \u0434\u043b\u044f auditd \u0438 \u0434\u0440\u0443\u0433\u0438\u0445 \u0441\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u043d\u044b\u0445 \u0438\u043d\u0441\u0442\u0440\u0443\u043c\u0435\u043d\u0442\u043e\u0432 \u043e\u0442\u0441\u043b\u0435\u0436\u0438\u0432\u0430\u043d\u0438\u044f \u0438\u043d\u0436\u0435\u043a\u0442\u0430 \u0432 \u043f\u0440\u043e\u0446\u0435\u0441\u0441. <\/p>\n<\/li>\n<li>\n<p>\u041c\u043e\u0434\u0438\u0444\u0438\u0446\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u043c\u043e\u0436\u043d\u043e \u043d\u0435 \u0442\u043e\u043b\u044c\u043a\u043e 4 \u0431\u0430\u0439\u0442\u0430, \u0432 \u0446\u0438\u043a\u043b\u0435 \u043f\u0440\u0438\u043c\u0438\u0442\u0438\u0432\u0430\u043c\u0438 \u0431\u044b\u043b \u043c\u043e\u0434\u0438\u0444\u0438\u0446\u0438\u0440\u043e\u0432\u0430\u043d \u0444\u0430\u0439\u043b \u0432 100 \u041a\u0431 \u0434\u0430\u043d\u043d\u044b\u0445 \u0437\u0430 6.5 \u0441\u0435\u043a\u0443\u043d\u0434.<\/p>\n<\/li>\n<\/ol>\n<p><strong>Live Code Injection \u0432 \u0440\u0430\u0431\u043e\u0442\u0430\u044e\u0449\u0438\u0439 \u043f\u0440\u043e\u0446\u0435\u0441\u0441<\/strong><\/p>\n<p>\u0418\u0441\u043f\u043e\u043b\u043d\u044f\u0435\u043c\u044b\u0439 \u0444\u0430\u0439\u043b \u0437\u0430\u0433\u0440\u0443\u0436\u0430\u0435\u0442\u0441\u044f \u0447\u0435\u0440\u0435\u0437 mmap(file, MAP_PRIVATE, PROT_READ|PROT_EXEC). <br \/>.text segment \u0434\u043e\u0441\u0442\u0443\u043f\u0435\u043d \u0442\u043e\u043b\u044c\u043a\u043e \u043d\u0430 \u0447\u0442\u0435\u043d\u0438\u0435 \u2014 \u043f\u0440\u043e\u0446\u0435\u0441\u0441 \u0432 \u043d\u0435\u0433\u043e \u043d\u0435 \u043f\u0438\u0448\u0435\u0442, COW \u043d\u0435 \u043f\u0440\u043e\u0438\u0441\u0445\u043e\u0434\u0438\u0442. PTE \u0443\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u0442 \u043d\u0430 page cache page \u0444\u0430\u0439\u043b\u0430.<\/p>\n<p>Copy Fail \u043c\u043e\u0434\u0438\u0444\u0438\u0446\u0438\u0440\u0443\u0435\u0442 \u044d\u0442\u0443 page cache page \u0447\u0435\u0440\u0435\u0437 crypto subsystem (AF_ALG + splice + authencesn scratch write). \u041f\u0440\u043e\u0446\u0435\u0441\u0441 \u0432\u0438\u0434\u0438\u0442 \u0438\u0437\u043c\u0435\u043d\u0451\u043d\u043d\u044b\u0439 \u043a\u043e\u0434 \u043f\u0440\u0438 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0435\u043c \u0438\u0441\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u0438 \u0438\u043d\u0441\u0442\u0440\u0443\u043a\u0446\u0438\u0438 \u0441 \u043c\u043e\u0434\u0438\u0444\u0438\u0446\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u043e\u0439 page.<\/p>\n<p>\u0410\u043d\u0430\u043b\u043e\u0433\u0438\u0447\u043d\u044b\u0439 \u043c\u0435\u0445\u0430\u043d\u0438\u0437\u043c \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043b Dirty Pipe (CVE-2022-0847) \u2014 \u0437\u0430\u043f\u0438\u0441\u044c \u0432 page cache \u0447\u0435\u0440\u0435\u0437 splice. \u0420\u0430\u0437\u043d\u0438\u0446\u0430: Dirty Pipe \u043c\u043e\u0434\u0438\u0444\u0438\u0446\u0438\u0440\u043e\u0432\u0430\u043b pipe buffer flags, Copy Fail \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442 scratch write \u0432 authencesn. \u041a\u043b\u0430\u0441\u0441 \u0430\u0442\u0430\u043a\u0438 \u043e\u0434\u0438\u043d \u2014 \u044d\u043a\u0441\u043f\u043b\u0443\u0430\u0442\u0430\u0446\u0438\u044f \u0440\u0430\u0437\u0434\u0435\u043b\u044f\u0435\u043c\u043e\u0441\u0442\u0438 page cache \u043c\u0435\u0436\u0434\u0443 \u0444\u0430\u0439\u043b\u043e\u0432\u044b\u043c \u043a\u044d\u0448\u0435\u043c \u0438 memory mappings \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u043e\u0432. <\/p>\n<p>Max Kellerman \u0435\u0449\u0451 \u0432 2022, \u0440\u0430\u0441\u043a\u0440\u044b\u0432\u0430\u044f Dirty Pipe, \u043e\u0442\u043c\u0435\u0442\u0438\u043b \u0447\u0442\u043e page cache write \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u0435\u0442 \u00abinject code into arbitrary processes\u00bb. <\/p>\n<p>\u041d\u0430 Copy.Fail \u044d\u0442\u043e \u0441\u0440\u0430\u0431\u043e\u0442\u0430\u043b\u043e \u043d\u0430 \u043f\u0440\u0430\u043a\u0442\u0438\u043a\u0435, \u0438 \u0437\u0430\u043e\u0434\u043d\u043e \u043e\u0431\u043d\u0430\u0440\u0443\u0436\u0438\u043b\u043e\u0441\u044c, \u0447\u0442\u043e \u0441\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u043d\u044b\u0439 Linux detection stack \u043d\u0435 \u043e\u0447\u0435\u043d\u044c \u0433\u043e\u0442\u043e\u0432 \u043a \u044d\u0442\u043e\u043c\u0443.<\/p>\n<p><strong>PoC<\/strong><\/p>\n<p><a href=\"https:\/\/github.com\/kvakirsanov\/CVE-2026-31431-live-process-code-injection\/blob\/main\/copy_fail_inject_poc.py\" rel=\"noopener noreferrer nofollow\">https:\/\/github.com\/kvakirsanov\/CVE-2026-31431-live-process-code-injection\/blob\/main\/copy_fail_inject_poc.py<\/a><\/p>\n<p>\u0420\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442 \u043d\u0430 \u0440\u0430\u0431\u043e\u0442\u0430\u044e\u0449\u0435\u043c \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u0435:<\/p>\n<pre><code>check() = 42 check() = 42 check() = 1337    \u2190 \u043a\u043e\u0434 \u0438\u0437\u043c\u0435\u043d\u0451\u043d \u0431\u0435\u0437 \u043e\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0438 \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u0430 check() = 1337<\/code><div class=\"code-explainer\"><a href=\"https:\/\/sourcecraft.dev\/\" class=\"tm-button code-explainer__link\" style=\"visibility: hidden;\"><img style=\"width:87px;height:14px;object-fit:cover;object-position:left;\"\/><\/a><\/div><\/pre>\n<p>\u041f\u0440\u043e\u0442\u0435\u0441\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u043e \u043d\u0430 Debian 6.1.0-25,<code>x86_64<\/code> \u0438 <code>aarch64<\/code><\/p>\n<p>\u041f\u0440\u043e\u0446\u0435\u0441\u0441 \u043d\u0435 \u043e\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u043b\u0441\u044f, ptrace \u043d\u0435 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043b\u0441\u044f, \/proc\/PID\/mem \u043d\u0435 \u043e\u0442\u043a\u0440\u044b\u0432\u0430\u043b\u0441\u044f.<\/p>\n<p>\u041d\u0430 \u0443\u044f\u0437\u0432\u0438\u043c\u044b\u0445 \u0441\u0438\u0441\u0442\u0435\u043c\u0430\u0445 \u044d\u0442\u043e \u0440\u0430\u0431\u043e\u0447\u0438\u0439 \u0441\u043f\u043e\u0441\u043e\u0431 \u0438\u043d\u0436\u0435\u043a\u0442\u0430 \u0432 \u043f\u0440\u043e\u0446\u0435\u0441\u0441 \u0432 Linux. <br \/>Detection stack \u0434\u043b\u044f process injection \u043d\u0435 \u043f\u043e\u043a\u0440\u044b\u0432\u0430\u0435\u0442 \u044d\u0442\u043e\u0442 \u0441\u043b\u0443\u0447\u0430\u0439. <br \/>\u0421\u0438\u043d\u0438\u0435 \u0434\u043e\u043b\u0436\u043d\u044b \u043c\u043e\u043d\u0438\u0442\u043e\u0440\u0438\u0442\u044c AF_ALG, \u043d\u0435 \u0442\u043e\u043b\u044c\u043a\u043e ptrace.<\/p>\n<p>\u041d\u0435\u0437\u0430\u043c\u0435\u0442\u043d\u044b\u0439 \u0438 \u043d\u0435\u043e\u0431\u043d\u0430\u0440\u0443\u0436\u0438\u0432\u0430\u0435\u043c\u044b\u0439, \u0447\u0442\u043e \u043d\u0435\u043c\u043d\u043e\u0433\u043e \u0443\u0441\u043b\u043e\u0436\u043d\u044f\u0435\u0442 \u0438 \u0431\u0435\u0437 \u0442\u043e\u0433\u043e \u044d\u043f\u0438\u0447\u043d\u044b\u0439 \u0431\u0430\u0433. <\/p>\n<p><strong>\u041a\u0430\u043a\u0438\u0435 \u043c\u0435\u0445\u0430\u043d\u0438\u0437\u043c\u044b \u0437\u0430\u0449\u0438\u0442\u044b \u044d\u0442\u043e \u043e\u0431\u0445\u043e\u0434\u0438\u0442<\/strong><\/p>\n<p>\u0412\u0441\u0435 \u0437\u0430\u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u0435 \u043f\u043e\u0434\u0445\u043e\u0434\u044b (MITRE DET0203, DET0508, Tracee TRC-1024, Akamai guide) \u043c\u043e\u043d\u0438\u0442\u043e\u0440\u044f\u0442 ptrace, \/proc\/PID\/mem, process_vm_writev. <br \/>Page cache injection \u043d\u0435 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442 \u043d\u0438 \u043e\u0434\u0438\u043d \u0438\u0437 \u044d\u0442\u0438\u0445 \u043c\u0435\u0445\u0430\u043d\u0438\u0437\u043c\u043e\u0432 \u2014 \u0430\u0442\u0430\u043a\u0443\u044e\u0449\u0438\u0439 \u043f\u0440\u043e\u0446\u0435\u0441\u0441 \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u0442\u043e\u043b\u044c\u043a\u043e \u0441 \u0444\u0430\u0439\u043b\u043e\u043c (AF_ALG socket + splice).<\/p>\n<p>\u0422\u0435\u043f\u0435\u0440\u044c \u043b\u043e\u0432\u0438\u0442\u044c \u043d\u0443\u0436\u043d\u043e \u0438 AF_ALG \u0441\u043e\u043a\u0435\u0442.<\/p>\n<p><strong>YAMA ptrace_scope<\/strong> \u2014 \u043e\u0433\u0440\u0430\u043d\u0438\u0447\u0438\u0432\u0430\u0435\u0442 ptrace. \u041d\u0435 \u043f\u0440\u0438\u043c\u0435\u043d\u0438\u043c\u043e, ptrace \u043d\u0435 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0441\u044f.<\/p>\n<p><strong>Seccomp<\/strong> \u2014 \u0437\u0430\u0432\u0438\u0441\u0438\u0442 \u043e\u0442 \u043f\u0440\u043e\u0444\u0438\u043b\u044f. <br \/>Docker default \u0438 Kubernetes PSS Restricted \u043d\u0435 \u0431\u043b\u043e\u043a\u0438\u0440\u0443\u044e\u0442 AF_ALG (\u043f\u043e\u0434\u0442\u0432\u0435\u0440\u0436\u0434\u0435\u043d\u043e Juliet Security). \u041f\u0440\u043e\u0444\u0438\u043b\u044c, \u044f\u0432\u043d\u043e \u0431\u043b\u043e\u043a\u0438\u0440\u0443\u044e\u0449\u0438\u0439 socket(AF_ALG, \u2026), \u043f\u0440\u0435\u0434\u043e\u0442\u0432\u0440\u0430\u0449\u0430\u0435\u0442 \u0430\u0442\u0430\u043a\u0443.<\/p>\n<p><strong>auditd ptrace\/procfs rules<\/strong> \u2014 \u043d\u0435 \u0441\u0440\u0430\u0431\u0430\u0442\u044b\u0432\u0430\u044e\u0442 (ptrace \u0438 \/proc\/PID\/mem \u043d\u0435 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044e\u0442\u0441\u044f). \u041d\u0435\u0432\u0438\u0434\u0438\u043c\u043e\u0441\u0442\u044c \u0434\u043b\u044f \u0444\u0430\u0439\u043b\u043e\u0432\u043e\u0433\u043e \u043c\u043e\u043d\u0438\u0442\u043e\u0440\u0438\u043d\u0433\u0430<\/p>\n<p>Copy Fail \u043d\u0435 \u0432\u044b\u0437\u044b\u0432\u0430\u0435\u0442 write() \u043d\u0430 \u0446\u0435\u043b\u0435\u0432\u043e\u043c \u0444\u0430\u0439\u043b\u0435. <br \/>\u041c\u043e\u0434\u0438\u0444\u0438\u043a\u0430\u0446\u0438\u044f page cache \u043f\u0440\u043e\u0438\u0441\u0445\u043e\u0434\u0438\u0442 \u0432\u043d\u0443\u0442\u0440\u0438 crypto subsystem \u0447\u0435\u0440\u0435\u0437 scatterwalk_map_and_copy(). inotify \u2014 \u043d\u0435 \u0432\u0438\u0434\u0438\u0442 \u043c\u043e\u0434\u0438\u0444\u0438\u043a\u0430\u0446\u0438\u044e<\/p>\n<pre><code>$ inotifywait -m \/tmp\/copyfail_test.txt &amp; $ python3 copy_fail_write.py \/tmp\/copyfail_test.txt 0 --text \"PWND\"\/tmp\/copyfail_test.txt OPEN\/tmp\/copyfail_test.txt ACCESS\/tmp\/copyfail_test.txt CLOSE_NOWRITE,CLOSE<\/code><div class=\"code-explainer\"><a href=\"https:\/\/sourcecraft.dev\/\" class=\"tm-button code-explainer__link\" style=\"visibility: hidden;\"><img style=\"width:14px;height:14px;object-fit:cover;object-position:left;\"\/><\/a><\/div><\/pre>\n<p>\u0421\u043e\u0431\u044b\u0442\u0438\u0435 MODIFY \u043d\u0435 \u0433\u0435\u043d\u0435\u0440\u0438\u0440\u0443\u0435\u0442\u0441\u044f. <br \/>\u0417\u0430\u0444\u0438\u043a\u0441\u0438\u0440\u043e\u0432\u0430\u043d\u044b \u0442\u043e\u043b\u044c\u043a\u043e OPEN, ACCESS, CLOSE_NOWRITE \u2014 \u043d\u043e\u0440\u043c\u0430\u043b\u044c\u043d\u044b\u0435 \u0441\u043e\u0431\u044b\u0442\u0438\u044f \u0447\u0442\u0435\u043d\u0438\u044f. \u0418\u043d\u0441\u0442\u0440\u0443\u043c\u0435\u043d\u0442\u044b, \u0437\u0430\u0432\u0438\u0441\u044f\u0449\u0438\u0435 \u043e\u0442 inotify (systemd path units, \u0447\u0430\u0441\u0442\u044c EDR), \u043d\u0435 \u043f\u043e\u043b\u0443\u0447\u0430\u044e\u0442 \u0443\u0432\u0435\u0434\u043e\u043c\u043b\u0435\u043d\u0438\u044f \u043e\u0431 \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u0438. mtime\/ctime \u2014 \u043d\u0435 \u043e\u0431\u043d\u043e\u0432\u043b\u044f\u044e\u0442\u0441\u044f<\/p>\n<pre><code>Modify: 2026-05-01 00:13:34    # \u0434\u043e Copy Fail Modify: 2026-05-01 00:13:34    # \u043f\u043e\u0441\u043b\u0435 \u2014 \u0431\u0435\u0437 \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u0439<\/code><div class=\"code-explainer\"><a href=\"https:\/\/sourcecraft.dev\/\" class=\"tm-button code-explainer__link\" style=\"visibility: hidden;\"><img style=\"width:14px;height:14px;object-fit:cover;object-position:left;\"\/><\/a><\/div><\/pre>\n<p><strong>\u041e\u0431\u0440\u0430\u0442\u0438\u043c\u043e\u0441\u0442\u044c<\/strong><\/p>\n<p>\u041c\u043e\u0434\u0438\u0444\u0438\u043a\u0430\u0446\u0438\u044f page cache \u043e\u0431\u0440\u0430\u0442\u0438\u043c\u0430 \u0447\u0435\u0440\u0435\u0437 <code>posix_fadvise(fd, 0, 0, POSIX_FADV_DONTNEED)<\/code> \u2014 \u044f\u0434\u0440\u043e \u0441\u0431\u0440\u0430\u0441\u044b\u0432\u0430\u0435\u0442 \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u044b \u0438\u0437 \u043a\u044d\u0448\u0430, \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0435\u0435 \u0447\u0442\u0435\u043d\u0438\u0435 \u0437\u0430\u0433\u0440\u0443\u0436\u0430\u0435\u0442 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b\u044c\u043d\u044b\u0435 \u0434\u0430\u043d\u043d\u044b\u0435 \u0441 \u0434\u0438\u0441\u043a\u0430. <br \/>\u042d\u0442\u043e \u0434\u0435\u043b\u0430\u0435\u0442\u0441\u044f \u0431\u0435\u0437 \u043f\u0440\u0438\u0432\u0438\u043b\u0435\u0433\u0438\u0439. <br \/>\u041f\u043e\u0441\u043b\u0435 \u0441\u0431\u0440\u043e\u0441\u0430: \u0441\u043e\u0434\u0435\u0440\u0436\u0438\u043c\u043e\u0435 \u0444\u0430\u0439\u043b\u0430 \u0432\u043e\u0441\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d\u043e, \u0445\u044d\u0448\u0438 \u0441\u043e\u0432\u043f\u0430\u0434\u0430\u044e\u0442 \u0441 baseline, mtime \u043d\u0435 \u043c\u0435\u043d\u044f\u043b\u0441\u044f, inotify \u043d\u0435 \u0441\u0440\u0430\u0431\u0430\u0442\u044b\u0432\u0430\u043b.<\/p>\n<p>\u041f\u043e\u043b\u043d\u044b\u0439 \u0446\u0438\u043a\u043b (inject \u2192 use \u2192 erase) \u043f\u043e\u0445\u043e\u0436\u0435 \u043d\u0435 \u043e\u0441\u043e\u0431\u043e \u0432\u0438\u0434\u0438\u043c \u0434\u043b\u044f \u0441\u0440\u0435\u0434\u0441\u0442\u0432 \u043c\u043e\u043d\u0438\u0442\u043e\u0440\u0438\u043d\u0433\u0430.<\/p>\n<p><a href=\"https:\/\/github.com\/kvakirsanov\/CVE-2026-31431-live-process-code-injection\/blob\/main\/copy_fail_inject_poc.py\" rel=\"noopener noreferrer nofollow\">https:\/\/github.com\/kvakirsanov\/CVE-2026-31431-live-process-code-injection\/blob\/main\/copy_fail_inject_poc.py<\/a><\/p>\n<p>Telegram: <a class=\"mention\" href=\"\/users\/secinfosex\">@secinfosex<\/a><\/p>\n<\/div>\n<p>\u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b \u0441\u0442\u0430\u0442\u044c\u0438 <a href=\"https:\/\/habr.com\/ru\/articles\/1030428\/\">https:\/\/habr.com\/ru\/articles\/1030428\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u0421\u0432\u0435\u0436\u0430\u044f CVE-2026-31431 \u0442\u043e\u043b\u044c\u043a\u043e \u043d\u0430\u0431\u0438\u0440\u0430\u0435\u0442 \u043e\u0431\u043e\u0440\u043e\u0442\u044b, \u0438 \u0442\u0443\u0442 \u044f \u0445\u043e\u0447\u0443 \u043f\u043e\u043a\u0430\u0437\u0430\u0442\u044c, \u043f\u043e\u0447\u0435\u043c\u0443 \u044d\u0442\u043e \u043d\u0435 \u0441\u043e\u0432\u0441\u0435\u043c \u043e\u0431\u044b\u0447\u043d\u0430\u044f LPE. Copy Fail \u043a\u0430\u043a \u043f\u0440\u0438\u043c\u0438\u0442\u0438\u0432 Process Injection \u0447\u0435\u0440\u0435\u0437 Page Cache\u041e\u0440\u0438\u0433\u0438\u043d\u0430\u043b\u044c\u043d\u044b\u0439 PoC \u043c\u043e\u0434\u0438\u0444\u0438\u0446\u0438\u0440\u0443\u0435\u0442 setuid binary \u043f\u0435\u0440\u0435\u0434 execve \u0438 \u043f\u043e\u043b\u0443\u0447\u0430\u0435\u0442 root. \u0412\u0442\u043e\u0440\u043e\u0439 \u043f\u0443\u0431\u043b\u0438\u0447\u043d\u044b\u0439 PoC \u043f\u043e\u0434\u043c\u0435\u043d\u044f\u0435\u0442 id \u0443 \u0442\u0435\u043a\u0443\u0449\u0435\u0433\u043e \u044e\u0437\u0435\u0440\u0430 \u043d\u0430 0000. \u0425\u043e\u0440\u043e\u0448\u0438\u0435, \u0440\u0430\u0431\u043e\u0447\u0438\u0435 LPE, \u0434\u0430\u044e\u0449\u0438\u0435 \u0440\u0443\u0442\u0430.\u041d\u043e \u0438\u0441\u0441\u043b\u0435\u0434\u0443\u044f \u0434\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0435 \u0441\u0432\u043e\u0439\u0441\u0442\u0432\u0430 \u044d\u0442\u043e\u0433\u043e \u043f\u0440\u0438\u043c\u0438\u0442\u0438\u0432\u0430 \u044f \u043e\u0431\u043d\u0430\u0440\u0443\u0436\u0438\u043b \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u044d\u0444\u0444\u0435\u043a\u0442\u043e\u0432, \u043d\u0435 \u043e\u043f\u0438\u0441\u0430\u043d\u043d\u044b\u0445 \u0432 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b\u044c\u043d\u043e\u043c disclosure:Copy Fail \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u0435\u0442 \u043c\u043e\u0434\u0438\u0444\u0438\u0446\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u043a\u043e\u0434 \u0443\u0436\u0435 \u0437\u0430\u043f\u0443\u0449\u0435\u043d\u043d\u043e\u0433\u043e \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u0430 \u2014 \u0431\u0435\u0437 ptrace \u0438 \u0431\u0435\u0437 \u0432\u0437\u0430\u0438\u043c\u043e\u0434\u0435\u0439\u0441\u0442\u0432\u0438\u044f \u0441 \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u043e\u043c. \u0411\u0435\u0437 execve \u0434\u043b\u044f \u0437\u0430\u043f\u0443\u0441\u043a\u0430 \u043a\u043e\u0434\u0430. \u041c\u043e\u0434\u0438\u0444\u0438\u043a\u0430\u0446\u0438\u044f \u043d\u0435\u0432\u0438\u0434\u0438\u043c\u0430 \u0434\u043b\u044f inotify, \u043d\u0435 \u043e\u0431\u043d\u043e\u0432\u043b\u044f\u0435\u0442 mtime \u0444\u0430\u0439\u043b\u0430, \u043d\u0435\u0432\u0438\u0434\u0438\u043c\u0430 \u0434\u043b\u044f auditd \u0438 \u0434\u0440\u0443\u0433\u0438\u0445 \u0441\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u043d\u044b\u0445 \u0438\u043d\u0441\u0442\u0440\u0443\u043c\u0435\u043d\u0442\u043e\u0432 \u043e\u0442\u0441\u043b\u0435\u0436\u0438\u0432\u0430\u043d\u0438\u044f \u0438\u043d\u0436\u0435\u043a\u0442\u0430 \u0432 \u043f\u0440\u043e\u0446\u0435\u0441\u0441. \u041c\u043e\u0434\u0438\u0444\u0438\u0446\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u043c\u043e\u0436\u043d\u043e \u043d\u0435 \u0442\u043e\u043b\u044c\u043a\u043e 4 \u0431\u0430\u0439\u0442\u0430, \u0432 \u0446\u0438\u043a\u043b\u0435 \u043f\u0440\u0438\u043c\u0438\u0442\u0438\u0432\u0430\u043c\u0438 \u0431\u044b\u043b \u043c\u043e\u0434\u0438\u0444\u0438\u0446\u0438\u0440\u043e\u0432\u0430\u043d \u0444\u0430\u0439\u043b \u0432 100 \u041a\u0431 \u0434\u0430\u043d\u043d\u044b\u0445 \u0437\u0430 6.5 \u0441\u0435\u043a\u0443\u043d\u0434.Live Code Injection \u0432 \u0440\u0430\u0431\u043e\u0442\u0430\u044e\u0449\u0438\u0439 \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u0418\u0441\u043f\u043e\u043b\u043d\u044f\u0435\u043c\u044b\u0439 \u0444\u0430\u0439\u043b \u0437\u0430\u0433\u0440\u0443\u0436\u0430\u0435\u0442\u0441\u044f \u0447\u0435\u0440\u0435\u0437 mmap(file, MAP_PRIVATE, PROT_READ|PROT_EXEC). .text segment \u0434\u043e\u0441\u0442\u0443\u043f\u0435\u043d \u0442\u043e\u043b\u044c\u043a\u043e \u043d\u0430 \u0447\u0442\u0435\u043d\u0438\u0435 \u2014 \u043f\u0440\u043e\u0446\u0435\u0441\u0441 \u0432 \u043d\u0435\u0433\u043e \u043d\u0435 \u043f\u0438\u0448\u0435\u0442, COW \u043d\u0435 \u043f\u0440\u043e\u0438\u0441\u0445\u043e\u0434\u0438\u0442. PTE \u0443\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u0442 \u043d\u0430 page cache page \u0444\u0430\u0439\u043b\u0430.Copy Fail \u043c\u043e\u0434\u0438\u0444\u0438\u0446\u0438\u0440\u0443\u0435\u0442 \u044d\u0442\u0443 page cache page \u0447\u0435\u0440\u0435\u0437 crypto subsystem (AF_ALG + splice + authencesn scratch write). \u041f\u0440\u043e\u0446\u0435\u0441\u0441 \u0432\u0438\u0434\u0438\u0442 \u0438\u0437\u043c\u0435\u043d\u0451\u043d\u043d\u044b\u0439 \u043a\u043e\u0434 \u043f\u0440\u0438 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0435\u043c \u0438\u0441\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u0438 \u0438\u043d\u0441\u0442\u0440\u0443\u043a\u0446\u0438\u0438 \u0441 \u043c\u043e\u0434\u0438\u0444\u0438\u0446\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u043e\u0439 page.\u0410\u043d\u0430\u043b\u043e\u0433\u0438\u0447\u043d\u044b\u0439 \u043c\u0435\u0445\u0430\u043d\u0438\u0437\u043c \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043b Dirty Pipe (CVE-2022-0847) \u2014 \u0437\u0430\u043f\u0438\u0441\u044c \u0432 page cache \u0447\u0435\u0440\u0435\u0437 splice. \u0420\u0430\u0437\u043d\u0438\u0446\u0430: Dirty Pipe \u043c\u043e\u0434\u0438\u0444\u0438\u0446\u0438\u0440\u043e\u0432\u0430\u043b pipe buffer flags, Copy Fail \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442 scratch write \u0432 authencesn. \u041a\u043b\u0430\u0441\u0441 \u0430\u0442\u0430\u043a\u0438 \u043e\u0434\u0438\u043d \u2014 \u044d\u043a\u0441\u043f\u043b\u0443\u0430\u0442\u0430\u0446\u0438\u044f \u0440\u0430\u0437\u0434\u0435\u043b\u044f\u0435\u043c\u043e\u0441\u0442\u0438 page cache \u043c\u0435\u0436\u0434\u0443 \u0444\u0430\u0439\u043b\u043e\u0432\u044b\u043c \u043a\u044d\u0448\u0435\u043c \u0438 memory mappings \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u043e\u0432. Max Kellerman \u0435\u0449\u0451 \u0432 2022, \u0440\u0430\u0441\u043a\u0440\u044b\u0432\u0430\u044f Dirty Pipe, \u043e\u0442\u043c\u0435\u0442\u0438\u043b \u0447\u0442\u043e page cache write \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u0435\u0442 \u00abinject code into arbitrary processes\u00bb. \u041d\u0430 Copy.Fail \u044d\u0442\u043e \u0441\u0440\u0430\u0431\u043e\u0442\u0430\u043b\u043e \u043d\u0430 \u043f\u0440\u0430\u043a\u0442\u0438\u043a\u0435, \u0438 \u0437\u0430\u043e\u0434\u043d\u043e \u043e\u0431\u043d\u0430\u0440\u0443\u0436\u0438\u043b\u043e\u0441\u044c, \u0447\u0442\u043e \u0441\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u043d\u044b\u0439 Linux detection stack \u043d\u0435 \u043e\u0447\u0435\u043d\u044c \u0433\u043e\u0442\u043e\u0432 \u043a \u044d\u0442\u043e\u043c\u0443.PoChttps:\/\/github.com\/kvakirsanov\/CVE-2026-31431-live-process-code-injection\/blob\/main\/copy_fail_inject_poc.py\u0420\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442 \u043d\u0430 \u0440\u0430\u0431\u043e\u0442\u0430\u044e\u0449\u0435\u043c \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u0435:check() = 42 check() = 42 check() = 1337    \u2190 \u043a\u043e\u0434 \u0438\u0437\u043c\u0435\u043d\u0451\u043d \u0431\u0435\u0437 \u043e\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0438 \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u0430 check() = 1337\u041f\u0440\u043e\u0442\u0435\u0441\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u043e \u043d\u0430 Debian 6.1.0-25,x86_64 \u0438 aarch64\u041f\u0440\u043e\u0446\u0435\u0441\u0441 \u043d\u0435 \u043e\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u043b\u0441\u044f, ptrace \u043d\u0435 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043b\u0441\u044f, \/proc\/PID\/mem \u043d\u0435 \u043e\u0442\u043a\u0440\u044b\u0432\u0430\u043b\u0441\u044f.\u041d\u0430 \u0443\u044f\u0437\u0432\u0438\u043c\u044b\u0445 \u0441\u0438\u0441\u0442\u0435\u043c\u0430\u0445 \u044d\u0442\u043e \u0440\u0430\u0431\u043e\u0447\u0438\u0439 \u0441\u043f\u043e\u0441\u043e\u0431 \u0438\u043d\u0436\u0435\u043a\u0442\u0430 \u0432 \u043f\u0440\u043e\u0446\u0435\u0441\u0441 \u0432 Linux. Detection stack \u0434\u043b\u044f process injection \u043d\u0435 \u043f\u043e\u043a\u0440\u044b\u0432\u0430\u0435\u0442 \u044d\u0442\u043e\u0442 \u0441\u043b\u0443\u0447\u0430\u0439. \u0421\u0438\u043d\u0438\u0435 \u0434\u043e\u043b\u0436\u043d\u044b \u043c\u043e\u043d\u0438\u0442\u043e\u0440\u0438\u0442\u044c AF_ALG, \u043d\u0435 \u0442\u043e\u043b\u044c\u043a\u043e ptrace.\u041d\u0435\u0437\u0430\u043c\u0435\u0442\u043d\u044b\u0439 \u0438 \u043d\u0435\u043e\u0431\u043d\u0430\u0440\u0443\u0436\u0438\u0432\u0430\u0435\u043c\u044b\u0439, \u0447\u0442\u043e \u043d\u0435\u043c\u043d\u043e\u0433\u043e \u0443\u0441\u043b\u043e\u0436\u043d\u044f\u0435\u0442 \u0438 \u0431\u0435\u0437 \u0442\u043e\u0433\u043e \u044d\u043f\u0438\u0447\u043d\u044b\u0439 \u0431\u0430\u0433. \u041a\u0430\u043a\u0438\u0435 \u043c\u0435\u0445\u0430\u043d\u0438\u0437\u043c\u044b \u0437\u0430\u0449\u0438\u0442\u044b \u044d\u0442\u043e \u043e\u0431\u0445\u043e\u0434\u0438\u0442\u0412\u0441\u0435 \u0437\u0430\u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u0435 \u043f\u043e\u0434\u0445\u043e\u0434\u044b (MITRE DET0203, DET0508, Tracee TRC-1024, Akamai guide) \u043c\u043e\u043d\u0438\u0442\u043e\u0440\u044f\u0442 ptrace, \/proc\/PID\/mem, process_vm_writev. Page cache injection \u043d\u0435 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442 \u043d\u0438 \u043e\u0434\u0438\u043d \u0438\u0437 \u044d\u0442\u0438\u0445 \u043c\u0435\u0445\u0430\u043d\u0438\u0437\u043c\u043e\u0432 \u2014 \u0430\u0442\u0430\u043a\u0443\u044e\u0449\u0438\u0439 \u043f\u0440\u043e\u0446\u0435\u0441\u0441 \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u0442\u043e\u043b\u044c\u043a\u043e \u0441 \u0444\u0430\u0439\u043b\u043e\u043c (AF_ALG socket + splice).\u0422\u0435\u043f\u0435\u0440\u044c \u043b\u043e\u0432\u0438\u0442\u044c \u043d\u0443\u0436\u043d\u043e \u0438 AF_ALG \u0441\u043e\u043a\u0435\u0442.YAMA ptrace_scope \u2014 \u043e\u0433\u0440\u0430\u043d\u0438\u0447\u0438\u0432\u0430\u0435\u0442 ptrace. \u041d\u0435 \u043f\u0440\u0438\u043c\u0435\u043d\u0438\u043c\u043e, ptrace \u043d\u0435 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0441\u044f.Seccomp \u2014 \u0437\u0430\u0432\u0438\u0441\u0438\u0442 \u043e\u0442 \u043f\u0440\u043e\u0444\u0438\u043b\u044f. Docker default \u0438 Kubernetes PSS Restricted \u043d\u0435 \u0431\u043b\u043e\u043a\u0438\u0440\u0443\u044e\u0442 AF_ALG (\u043f\u043e\u0434\u0442\u0432\u0435\u0440\u0436\u0434\u0435\u043d\u043e Juliet Security). \u041f\u0440\u043e\u0444\u0438\u043b\u044c, \u044f\u0432\u043d\u043e \u0431\u043b\u043e\u043a\u0438\u0440\u0443\u044e\u0449\u0438\u0439 socket(AF_ALG, \u2026), \u043f\u0440\u0435\u0434\u043e\u0442\u0432\u0440\u0430\u0449\u0430\u0435\u0442 \u0430\u0442\u0430\u043a\u0443.auditd ptrace\/procfs rules \u2014 \u043d\u0435 \u0441\u0440\u0430\u0431\u0430\u0442\u044b\u0432\u0430\u044e\u0442 (ptrace \u0438 \/proc\/PID\/mem \u043d\u0435 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044e\u0442\u0441\u044f). \u041d\u0435\u0432\u0438\u0434\u0438\u043c\u043e\u0441\u0442\u044c \u0434\u043b\u044f \u0444\u0430\u0439\u043b\u043e\u0432\u043e\u0433\u043e \u043c\u043e\u043d\u0438\u0442\u043e\u0440\u0438\u043d\u0433\u0430Copy Fail \u043d\u0435 \u0432\u044b\u0437\u044b\u0432\u0430\u0435\u0442 write() \u043d\u0430 \u0446\u0435\u043b\u0435\u0432\u043e\u043c \u0444\u0430\u0439\u043b\u0435. \u041c\u043e\u0434\u0438\u0444\u0438\u043a\u0430\u0446\u0438\u044f page cache \u043f\u0440\u043e\u0438\u0441\u0445\u043e\u0434\u0438\u0442 \u0432\u043d\u0443\u0442\u0440\u0438 crypto subsystem \u0447\u0435\u0440\u0435\u0437 scatterwalk_map_and_copy(). inotify \u2014 \u043d\u0435 \u0432\u0438\u0434\u0438\u0442 \u043c\u043e\u0434\u0438\u0444\u0438\u043a\u0430\u0446\u0438\u044e$ inotifywait -m \/tmp\/copyfail_test.txt &amp; $ python3 copy_fail_write.py \/tmp\/copyfail_test.txt 0 &#8212;text &#171;PWND&#187;\/tmp\/copyfail_test.txt OPEN\/tmp\/copyfail_test.txt ACCESS\/tmp\/copyfail_test.txt CLOSE_NOWRITE,CLOSE\u0421\u043e\u0431\u044b\u0442\u0438\u0435 MODIFY \u043d\u0435 \u0433\u0435\u043d\u0435\u0440\u0438\u0440\u0443\u0435\u0442\u0441\u044f. \u0417\u0430\u0444\u0438\u043a\u0441\u0438\u0440\u043e\u0432\u0430\u043d\u044b \u0442\u043e\u043b\u044c\u043a\u043e OPEN, ACCESS, CLOSE_NOWRITE \u2014 \u043d\u043e\u0440\u043c\u0430\u043b\u044c\u043d\u044b\u0435 \u0441\u043e\u0431\u044b\u0442\u0438\u044f \u0447\u0442\u0435\u043d\u0438\u044f. \u0418\u043d\u0441\u0442\u0440\u0443\u043c\u0435\u043d\u0442\u044b, \u0437\u0430\u0432\u0438\u0441\u044f\u0449\u0438\u0435 \u043e\u0442 inotify (systemd path units, \u0447\u0430\u0441\u0442\u044c EDR), \u043d\u0435 \u043f\u043e\u043b\u0443\u0447\u0430\u044e\u0442 \u0443\u0432\u0435\u0434\u043e\u043c\u043b\u0435\u043d\u0438\u044f \u043e\u0431 \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u0438. mtime\/ctime \u2014 \u043d\u0435 \u043e\u0431\u043d\u043e\u0432\u043b\u044f\u044e\u0442\u0441\u044fModify: 2026-05-01 00:13:34    # \u0434\u043e Copy Fail Modify: 2026-05-01 00:13:34    # \u043f\u043e\u0441\u043b\u0435 \u2014 \u0431\u0435\u0437 \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u0439\u041e\u0431\u0440\u0430\u0442\u0438\u043c\u043e\u0441\u0442\u044c\u041c\u043e\u0434\u0438\u0444\u0438\u043a\u0430\u0446\u0438\u044f page cache \u043e\u0431\u0440\u0430\u0442\u0438\u043c\u0430 \u0447\u0435\u0440\u0435\u0437 posix_fadvise(fd, 0, 0, POSIX_FADV_DONTNEED) \u2014 \u044f\u0434\u0440\u043e \u0441\u0431\u0440\u0430\u0441\u044b\u0432\u0430\u0435\u0442 \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u044b \u0438\u0437 \u043a\u044d\u0448\u0430, \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0435\u0435 \u0447\u0442\u0435\u043d\u0438\u0435 \u0437\u0430\u0433\u0440\u0443\u0436\u0430\u0435\u0442 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b\u044c\u043d\u044b\u0435 \u0434\u0430\u043d\u043d\u044b\u0435 \u0441 \u0434\u0438\u0441\u043a\u0430. \u042d\u0442\u043e \u0434\u0435\u043b\u0430\u0435\u0442\u0441\u044f \u0431\u0435\u0437 \u043f\u0440\u0438\u0432\u0438\u043b\u0435\u0433\u0438\u0439. \u041f\u043e\u0441\u043b\u0435 \u0441\u0431\u0440\u043e\u0441\u0430: \u0441\u043e\u0434\u0435\u0440\u0436\u0438\u043c\u043e\u0435 \u0444\u0430\u0439\u043b\u0430 \u0432\u043e\u0441\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d\u043e, \u0445\u044d\u0448\u0438 \u0441\u043e\u0432\u043f\u0430\u0434\u0430\u044e\u0442 \u0441 baseline, mtime \u043d\u0435 \u043c\u0435\u043d\u044f\u043b\u0441\u044f, inotify \u043d\u0435 \u0441\u0440\u0430\u0431\u0430\u0442\u044b\u0432\u0430\u043b.\u041f\u043e\u043b\u043d\u044b\u0439 \u0446\u0438\u043a\u043b (inject \u2192 use \u2192 erase) \u043f\u043e\u0445\u043e\u0436\u0435 \u043d\u0435 \u043e\u0441\u043e\u0431\u043e \u0432\u0438\u0434\u0438\u043c \u0434\u043b\u044f \u0441\u0440\u0435\u0434\u0441\u0442\u0432 \u043c\u043e\u043d\u0438\u0442\u043e\u0440\u0438\u043d\u0433\u0430.https:\/\/github.com\/kvakirsanov\/CVE-2026-31431-live-process-code-injection\/blob\/main\/copy_fail_inject_poc.pyTelegram: @secinfosex\u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b \u0441\u0442\u0430\u0442\u044c\u0438 https:\/\/habr.com\/ru\/articles\/1030428\/<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-478231","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/478231","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=478231"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/478231\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=478231"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=478231"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=478231"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}