{"uuid": "db78e31c-ea9b-48a3-b3f9-1405de563dd1", "vulnerability_lookup_origin": "1a89b78e-f703-45f3-bb86-59eb712668bd", "author": "9f56dd64-161d-43a6-b9c3-555944290a09", "vulnerability": "CVE-2025-37947", "type": "seen", "source": "https://t.me/purp_sec/1191", "content": "\ud83d\ude0f \u0421\u0435\u0433\u043e\u0434\u043d\u044f \u044d\u043a\u0441\u043f\u043b\u0443\u0430\u0442\u0438\u0440\u0443\u0435\u043c \u0431\u0430\u0433 \u0432 \u043f\u043e\u0434\u0441\u0438\u0441\u0442\u0435\u043c\u0435 ksmbd \u044f\u0434\u0440\u0430 Linux \u0447\u0442\u043e\u0431\u044b \u043f\u043e\u0432\u044b\u0441\u0438\u0442\u044c \u043f\u0440\u0438\u0432\u0438\u043b\u0435\u0433\u0438\u0438 \u0434\u043e root\n\n\u0420\u0435\u0431\u044f\u0442\u0430 \u0438\u0437 Doyensec \u043e\u043f\u0443\u0431\u043b\u0438\u043a\u043e\u0432\u0430\u043b\u0438 PoC \u0434\u043b\u044f \u0443\u044f\u0437\u0432\u0438\u043c\u043e\u0441\u0442\u0438 CVE-2025-37947. \u0421\u0443\u0442\u044c \u0431\u0430\u0433\u0430 \u0432 \u0442\u043e\u043c, \u0444\u0443\u043d\u043a\u0446\u0438\u044f ksmbd_vfs_stream_write() \u043f\u0440\u043e\u0432\u0435\u0440\u044f\u0435\u0442 pos + count \u0438 \u043e\u0431\u0440\u0435\u0437\u0430\u0435\u0442 size \u0434\u043e 0x10000 (\u043c\u0430\u043a\u0441\u0438\u043c\u0443\u043c \u0434\u043b\u044f xattr). \u041d\u043e \u0434\u0430\u043b\u044c\u0448\u0435 \u043e\u043d\u0430 \u0432\u0441\u0435 \u0440\u0430\u0432\u043d\u043e \u0434\u0435\u043b\u0430\u0435\u0442 memcpy(&amp;stream_buf[pos], buf, count). \u0418 \u0435\u0441\u043b\u0438 pos &gt;= 0x10000, \u0441\u043c\u0435\u0449\u0435\u043d\u0438\u0435 \u0443\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u0442 \u0437\u0430 \u043f\u0440\u0435\u0434\u0435\u043b\u044b \u0431\u0443\u0444\u0435\u0440\u0430, \u0438 count \u043a\u043e\u043f\u0438\u0440\u0443\u0435\u0442\u0441\u044f \u043f\u043e\u0432\u0435\u0440\u0445 \u0441\u043e\u0441\u0435\u0434\u043d\u0438\u0445 \u043e\u0431\u044a\u0435\u043a\u0442\u043e\u0432 \u0432 \u043f\u0430\u043c\u044f\u0442\u0438 \u044f\u0434\u0440\u0430. \u0412 \u0438\u0442\u043e\u0433\u0435 \u043f\u043e\u043b\u0443\u0447\u0430\u0435\u043c \u0443\u043f\u0440\u0430\u0432\u043b\u044f\u0435\u043c\u0443\u044e \u0437\u0430\u043f\u0438\u0441\u044c \u0437\u0430 \u0433\u0440\u0430\u043d\u0438\u0446\u044b \u043c\u0430\u0441\u0441\u0438\u0432\u0430.\n\n\u042d\u043a\u0441\u043f\u043b\u0443\u0430\u0442\u0430\u0446\u0438\u044f \u0441\u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442, \u0435\u0441\u043b\u0438 \u0432 \u043a\u043e\u043d\u0444\u0438\u0433\u0435 \u0432\u043a\u043b\u044e\u0447\u0435\u043d streams_xattr \u0438 \u0448\u0430\u0440 \u0434\u043e\u0441\u0442\u0443\u043f\u0435\u043d \u043d\u0430 \u0437\u0430\u043f\u0438\u0441\u044c.\n\n\u0427\u0442\u043e \u0434\u0435\u043b\u0430\u0435\u043c:\n\n\u23fa \u0427\u0435\u0440\u0435\u0437 spray System V msg_msg \u0444\u043e\u0440\u0441\u0438\u0440\u0443\u0435\u043c \u0432\u044b\u0434\u0435\u043b\u0435\u043d\u0438\u0435 slab-\u043e\u0431\u044a\u0435\u043a\u0442\u043e\u0432 \u043d\u0443\u0436\u043d\u043e\u0433\u043e \u0440\u0430\u0437\u043c\u0435\u0440\u0430 \u0440\u044f\u0434\u043e\u043c \u0441 \u0443\u044f\u0437\u0432\u0438\u043c\u044b\u043c stream_buf \u0432 ksmbd. \n\u23fa \u041d\u0435\u043a\u043e\u0440\u0440\u0435\u043a\u0442\u043d\u0430\u044f \u043e\u0431\u0440\u0430\u0431\u043e\u0442\u043a\u0430 pos/count \u0432 ksmbd_vfs_stream_write() \u043f\u0440\u0438\u0432\u043e\u0434\u0438\u0442 \u043a OOB-\u0437\u0430\u043f\u0438\u0441\u0438, \u043a\u043e\u0442\u043e\u0440\u0430\u044f \u043f\u043e\u0432\u0440\u0435\u0436\u0434\u0430\u0435\u0442 \u043f\u043e\u043b\u044f \u0441\u043e\u0441\u0435\u0434\u043d\u0435\u0433\u043e msg_msg. \n\u23fa \u041f\u043e\u0441\u043b\u0435 \u043e\u0441\u0432\u043e\u0431\u043e\u0436\u0434\u0435\u043d\u0438\u044f \u044d\u0442\u043e\u0433\u043e \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u044f \u0437\u0430\u043f\u043e\u043b\u043d\u044f\u0435\u043c \u0441\u043b\u043e\u0442 \u0444\u0435\u0439\u043a\u043e\u0432\u043e\u0439 \u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u043e\u0439 \u0438 \u043f\u043e msgrcv(MSG_COPY) \u0447\u0438\u0442\u0430\u0435\u043c \u043f\u043e\u0434\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u043d\u044b\u0435 \u043f\u043e\u043b\u044f, \u043f\u043e\u043b\u0443\u0447\u0430\u044f infoleak \u0438 \u0441\u043d\u0438\u043c\u0430\u044f KASLR. \n\u23fa \u041f\u043e\u0434\u0434\u0435\u043b\u044b\u0432\u0430\u0435\u043c callback-\u0442\u0430\u0431\u043b\u0438\u0446\u044b (\u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, pipe_buf_operations), \u043f\u0440\u0438 \u0432\u044b\u0437\u043e\u0432\u0435 \u043a\u043e\u0442\u043e\u0440\u044b\u0445 \u0437\u0430\u043f\u0443\u0441\u043a\u0430\u0435\u0442\u0441\u044f ROP-\u0446\u0435\u043f\u043e\u0447\u043a\u0430, \u0434\u043e\u0441\u0442\u0438\u0433\u0430\u044e\u0449\u0430\u044f \u0438\u0441\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u044f \u0432 \u044f\u0434\u0440\u0435 \u0438 \u043b\u043e\u043a\u0430\u043b\u044c\u043d\u043e\u0433\u043e \u043f\u043e\u0432\u044b\u0448\u0435\u043d\u0438\u044f \u043f\u0440\u0438\u0432\u0438\u043b\u0435\u0433\u0438\u0439 \u0434\u043e root.\n\n\ud83d\udcac \u041f\u043e\u0434\u0440\u043e\u0431\u043d\u043e\u0441\u0442\u0438 \u043f\u043e \u0441\u0441\u044b\u043b\u043a\u0435.\n\n#red_team #Linux", "creation_timestamp": "2026-08-14T16:00:05.853766Z"}