{"id":182539,"date":"2026-07-08T10:54:16","date_gmt":"2026-07-08T08:54:16","guid":{"rendered":"https:\/\/prohoster.info\/blog\/novosti-interneta\/bad-epoll-v-linux-i-android-nashli-uyazvimost-dlya-polucheniya-root-dostupa"},"modified":"2026-07-08T10:54:16","modified_gmt":"2026-07-08T08:54:16","slug":"bad-epoll-v-linux-i-android-nashli-uyazvimost-dlya-polucheniya-root-dostupa","status":"publish","type":"post","link":"https:\/\/prohoster.info\/pl\/blog\/news\/bad-epoll-v-linux-i-android-nashli-uyazvimost-dlya-polucheniya-root-dostupa","title":{"rendered":"Bad Epoll: w systemach Linux i Android odkryto luk\u0119, kt\u00f3ra umo\u017cliwia uzyskanie dost\u0119pu roota.","gt_translate_keys":[{"key":"rendered","format":"text"}]},"content":{"rendered":"<p><img decoding=\"async\" src=\"\/wp-content\/uploads\/2026\/07\/55dd8eda44f5f48052b033a5c9bcab2d.jpg\" style=\"display:block;margin: 0 auto;\" \/>                                  <noindex>          <a rel=\"nofollow\" id=\"memories_button\" href=\"#\" title=\"\u015aledzi\u0107\"><i class=\"icon-bell\"><\/i><\/a><br \/>1                            <noindex><\/p>\n<p>W j\u0105drze Linux odkryto podatno\u015b\u0107 <strong>Z\u0142y Epoll<\/strong>, zarejestrowana jako <a rel=\"nofollow\" href=\"https:\/\/nvd.nist.gov\/vuln\/detail\/CVE-2026-46242\">CVE-2026-46242<\/a>. Umo\u017cliwia to zwyk\u0142emu lokalnemu u\u017cytkownikowi bez specjalnych uprawnie\u0144 podniesienie przywilej\u00f3w do roota. Wed\u0142ug bada\u0144 autora, Jaeona Chona, problem dotyczy nie tylko desktop\u00f3w i serwer\u00f3w Linux, ale tak\u017ce cz\u0119\u015bci urz\u0105dze\u0144 z Androidem na nowych wersjach j\u0105dra \u2014 to jest szczeg\u00f3lnie podkre\u015blone w <a rel=\"nofollow\" href=\"https:\/\/github.com\/J-jaeyoung\/bad-epoll\">opisie Z\u0142ego Epoll<\/a>.<\/p>\n<p><\/noindex> <noindex><\/p>\n<p>B\u0142\u0105d znajduje si\u0119 w podsystemie <strong>epoll<\/strong> \u2014 standardowym mechanizmie Linux do monitorowania wielu deskryptor\u00f3w plik\u00f3w, po\u0142\u0105cze\u0144 sieciowych i zdarze\u0144 wej\u015bcia-wyj\u015bcia. Tego rodzaju mechanizmy s\u0105 aktywnie wykorzystywane przez serwery, przegl\u0105darki i us\u0142ugi sieciowe, wi\u0119c po prostu wy\u0142\u0105czenie epoll nie jest mo\u017cliwe. W <a rel=\"nofollow\" href=\"https:\/\/github.com\/J-jaeyoung\/security-research\/blob\/submit-cve-2026-46242\/pocs\/linux\/kernelctf\/CVE-2026-46242_lts_cos\/docs\/vulnerability.md\">analizie technicznej<\/a> wra\u017cliwo\u015b\u0107 zosta\u0142a opisana jako wy\u015bcig, prowadz\u0105cy do <strong>use-after-free<\/strong>: przy r\u00f3wnoczesnym zamykaniu powi\u0105zanych obiekt\u00f3w epoll, jeden w\u0105tek zwalnia wewn\u0119trzne struktury, a drugi nadal si\u0119 do nich odnosi.<\/p>\n<p><\/noindex> <\/p>\n<p>M\u00f3wi\u0105c dok\u0142adniej, problem objawia si\u0119 w sytuacji, gdy jeden deskryptor epoll monitoruje inny, a oba deskryptory s\u0105 zamykane r\u00f3wnocze\u015bnie. Po wywo\u0142aniu __ep_remove() pole file-&gt;f_ep tymczasowo jest zerowane, a konkurencyjny __fput() mo\u017ce zdecydowa\u0107, \u017ce dodatkowe czyszczenie ju\u017c nie jest potrzebne. W rezultacie obiekt struct eventpoll lub powi\u0105zany z nim struct file jest zwalniany zbyt wcze\u015bnie, ale kod nadal pracuje z wska\u017anikami na ju\u017c zwolnion\u0105 pami\u0119\u0107. To w\u0142a\u015bnie daje atakuj\u0105cemu mo\u017cliwo\u015b\u0107 uszkodzenia pami\u0119ci j\u0105dra.<\/p>\n<p> <noindex><\/p>\n<p>Do przeprowadzenia ataku nie s\u0105 wymagane dodatkowe uprawnienia ani namespace'y u\u017cytkownik\u00f3w \u2014 wystarczy posiadanie CONFIG_EPOLL, co czyni problem szczeg\u00f3lnie dotkliwym dla zwyk\u0142ych system\u00f3w Linux. Zgodnie z <a rel=\"nofollow\" href=\"https:\/\/github.com\/J-jaeyoung\/security-research\/blob\/submit-cve-2026-46242\/pocs\/linux\/kernelctf\/CVE-2026-46242_lts_cos\/docs\/vulnerability.md\">pierwotnym raportem badacza<\/a>, b\u0142\u0105d zosta\u0142 wprowadzony do j\u0105dra committem <a rel=\"nofollow\" href=\"https:\/\/git.kernel.org\/pub\/scm\/linux\/kernel\/git\/torvalds\/linux.git\/commit\/?id=58c9b016e128\">58c9b016e128<\/a> w 2023 roku, a naprawiony committem <a rel=\"nofollow\" href=\"https:\/\/git.kernel.org\/pub\/scm\/linux\/kernel\/git\/torvalds\/linux.git\/commit\/?id=a6dc643c693\">a6dc643c693<\/a>.<\/p>\n<p><\/noindex> <noindex><\/p>\n<p>Pomimo bardzo w\u0105skiego okna wy\u015bcigu, badacz przygotowa\u0142 dzia\u0142aj\u0105cy exploit dla Google kernelCTF. W <a rel=\"nofollow\" href=\"https:\/\/github.com\/J-jaeyoung\/security-research\/blob\/submit-cve-2026-46242\/pocs\/linux\/kernelctf\/CVE-2026-46242_lts_cos\/docs\/exploit.md\">opisie eksploatacji<\/a> pokazano, jak b\u0142\u0105d przekszta\u0142ca si\u0119 w 8-bajtowy zapis w zwolnionej strukturze, a nast\u0119pnie w wyciek pami\u0119ci j\u0105dra przez \/proc\/self\/fdinfo, przechwycenie file-&gt;f_op-&gt;poll oraz \u0142a\u0144cucha ROP w celu uzyskania dost\u0119pu do roota. Dla celu lts-6.12.67 zadeklarowano niezawodno\u015b\u0107 na poziomie oko\u0142o 99%, dla COS \u2014 oko\u0142o 98%; exploit na Androida, wed\u0142ug autora, jest wci\u0105\u017c w opracowaniu.<\/p>\n<p><\/noindex> <noindex><\/p>\n<p>Na celowniku znajduj\u0105 si\u0119 j\u0105dra oparte na ga\u0142\u0119zi <strong>6.4 i nowszych<\/strong>, je\u015bli nie zosta\u0142o w nich wdro\u017cone poprawki. Stare urz\u0105dzenia z Androidem na j\u0105drach 6.1, w tym Pixel 8 i podobne modele, autor <a rel=\"nofollow\" href=\"https:\/\/github.com\/J-jaeyoung\/bad-epoll\">uwa\u017ca za odporne<\/a>. U\u017cytkownicy i administratorzy maj\u0105 tylko jedn\u0105 normaln\u0105 opcj\u0119 zabezpieczenia \u2014 zainstalowa\u0107 aktualizacj\u0119 j\u0105dra od swojego dystrybucji lub dostawcy urz\u0105dzenia.<\/p>\n<p><\/noindex><\/p>\n<p>\u0179r\u00f3d\u0142o: <a \ncontent=\"nofollow\" rel=\"nofollow\" href=\"https:\/\/www.linux.org.ru\/news\/security\/18335032\">linux.org.ru<\/a><\/p>","protected":false,"gt_translate_keys":[{"key":"rendered","format":"html"}]},"excerpt":{"rendered":"<p>1 \u0412 \u044f\u0434\u0440\u0435 Linux \u0440\u0430\u0441\u043a\u0440\u044b\u0442\u0430 \u0443\u044f\u0437\u0432\u0438\u043c\u043e\u0441\u0442\u044c Bad Epoll, \u0437\u0430\u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u0430\u044f \u043a\u0430\u043a CVE-2026-46242. \u041e\u043d\u0430 \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u0435\u0442 \u043e\u0431\u044b\u0447\u043d\u043e\u043c\u0443 \u043b\u043e\u043a\u0430\u043b\u044c\u043d\u043e\u043c\u0443 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044e \u0431\u0435\u0437 \u0441\u043f\u0435\u0446\u0438\u0430\u043b\u044c\u043d\u044b\u0445 \u043f\u0440\u0430\u0432 \u043f\u043e\u0432\u044b\u0441\u0438\u0442\u044c \u043f\u0440\u0438\u0432\u0438\u043b\u0435\u0433\u0438\u0438 \u0434\u043e root. \u041f\u043e \u0434\u0430\u043d\u043d\u044b\u043c \u0430\u0432\u0442\u043e\u0440\u0430 \u0438\u0441\u0441\u043b\u0435\u0434\u043e\u0432\u0430\u043d\u0438\u044f \u0414\u0436\u044d\u0451\u043d\u0430 \u0427\u043e\u043d\u0430, \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u0430 \u0437\u0430\u0442\u0440\u0430\u0433\u0438\u0432\u0430\u0435\u0442 \u043d\u0435 \u0442\u043e\u043b\u044c\u043a\u043e Linux-\u0434\u0435\u0441\u043a\u0442\u043e\u043f\u044b \u0438 \u0441\u0435\u0440\u0432\u0435\u0440\u044b, \u043d\u043e \u0438 \u0447\u0430\u0441\u0442\u044c Android-\u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432 \u043d\u0430 \u043d\u043e\u0432\u044b\u0445 \u0432\u0435\u0440\u0441\u0438\u044f\u0445 \u044f\u0434\u0440\u0430 \u2014 \u044d\u0442\u043e \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u043e \u043f\u043e\u0434\u0447\u0451\u0440\u043a\u0438\u0432\u0430\u0435\u0442\u0441\u044f \u0432 \u043e\u043f\u0438\u0441\u0430\u043d\u0438\u0438 Bad Epoll. \u041e\u0448\u0438\u0431\u043a\u0430 \u043d\u0430\u0445\u043e\u0434\u0438\u0442\u0441\u044f \u0432 [&hellip;]<\/p>\n","protected":false,"gt_translate_keys":[{"key":"rendered","format":"html"}]},"author":9,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[702],"tags":[],"class_list":["post-182539","post","type-post","status-publish","format-standard","hentry","category-news"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 5.0.1.1 - aioseo.com -->\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"Emin Berklin\"\/>\n\t<link rel=\"canonical\" href=\"https:\/\/prohoster.info\/pl\/blog\/news\/bad-epoll-v-linux-i-android-nashli-uyazvimost-dlya-polucheniya-root-dostupa\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 5.0.1.1\" \/>\n\t\t<meta property=\"og:locale\" content=\"pl_PL\" \/>\n\t\t<meta property=\"og:site_name\" content=\"ProHoster | \u041a\u0443\u043f\u0438\u0442\u044c \u043d\u0430\u0434\u0435\u0436\u043d\u044b\u0439 \u0445\u043e\u0441\u0442\u0438\u043d\u0433 \u0434\u043b\u044f \u0441\u0430\u0439\u0442\u043e\u0432 \u0441 \u0437\u0430\u0449\u0438\u0442\u043e\u0439 \u043e\u0442 DDoS, VPS VDS \u0441\u0435\u0440\u0432\u0435\u0440\u044b\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"\ud83e\udd47Bad Epoll: \u0432 Linux \u0438 Android \u043d\u0430\u0448\u043b\u0438 \u0443\u044f\u0437\u0432\u0438\u043c\u043e\u0441\u0442\u044c \u0434\u043b\u044f \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u0438\u044f root-\u0434\u043e\u0441\u0442\u0443\u043f\u0430 | ProHoster\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/prohoster.info\/pl\/blog\/news\/bad-epoll-v-linux-i-android-nashli-uyazvimost-dlya-polucheniya-root-dostupa\" \/>\n\t\t<meta property=\"og:image\" content=\"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg\" \/>\n\t\t<meta property=\"og:image:secure_url\" content=\"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg\" \/>\n\t\t<meta property=\"og:image:width\" content=\"350\" \/>\n\t\t<meta property=\"og:image:height\" content=\"350\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2026-07-08T08:54:16+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2026-07-08T08:54:16+00:00\" \/>\n\t\t<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/prohoster\" \/>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"\ud83e\udd47Bad Epoll: w Linuxie i Androidzie znaleziono luk\u0119 umo\u017cliwiaj\u0105c\u0105 uzyskanie dost\u0119pu do roota | ProHoster","description":"","canonical_url":"https:\/\/prohoster.info\/pl\/blog\/news\/bad-epoll-v-linux-i-android-nashli-uyazvimost-dlya-polucheniya-root-dostupa","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":null,"og:locale":"pl_PL","og:site_name":"ProHoster | \u041a\u0443\u043f\u0438\u0442\u044c \u043d\u0430\u0434\u0435\u0436\u043d\u044b\u0439 \u0445\u043e\u0441\u0442\u0438\u043d\u0433 \u0434\u043b\u044f \u0441\u0430\u0439\u0442\u043e\u0432 \u0441 \u0437\u0430\u0449\u0438\u0442\u043e\u0439 \u043e\u0442 DDoS, VPS VDS \u0441\u0435\u0440\u0432\u0435\u0440\u044b","og:type":"article","og:title":"\ud83e\udd47Bad Epoll: \u0432 Linux \u0438 Android \u043d\u0430\u0448\u043b\u0438 \u0443\u044f\u0437\u0432\u0438\u043c\u043e\u0441\u0442\u044c \u0434\u043b\u044f \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u0438\u044f root-\u0434\u043e\u0441\u0442\u0443\u043f\u0430 | ProHoster","og:url":"https:\/\/prohoster.info\/pl\/blog\/news\/bad-epoll-v-linux-i-android-nashli-uyazvimost-dlya-polucheniya-root-dostupa","og:image":"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg","og:image:secure_url":"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg","og:image:width":350,"og:image:height":350,"article:published_time":"2026-07-08T08:54:16+00:00","article:modified_time":"2026-07-08T08:54:16+00:00","article:publisher":"https:\/\/www.facebook.com\/prohoster"},"aioseo_meta_data":{"post_id":"182539","title":null,"description":null,"keywords":null,"keyphrases":{"focus":[],"additional":[]},"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":null,"og_custom_url":null,"og_article_section":null,"og_article_tags":null,"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"","isEnabled":true},"graphs":[]},"schema_type":"default","schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":null,"robots_max_videopreview":null,"robots_max_imagepreview":"large","priority":null,"frequency":null,"local_seo":null,"seo_analyzer_scan_date":null,"breadcrumb_settings":null,"limit_modified_date":false,"reviewed_by":null,"ai":null,"created":"2026-08-05 12:22:07","updated":"2026-08-05 12:22:07","focus_keyword":null,"additional_keywords":null,"truseo_locale":null},"gt_translate_keys":[{"key":"link","format":"url"}],"_links":{"self":[{"href":"https:\/\/prohoster.info\/pl\/wp-json\/wp\/v2\/posts\/182539","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/prohoster.info\/pl\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/prohoster.info\/pl\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/prohoster.info\/pl\/wp-json\/wp\/v2\/users\/9"}],"replies":[{"embeddable":true,"href":"https:\/\/prohoster.info\/pl\/wp-json\/wp\/v2\/comments?post=182539"}],"version-history":[{"count":0,"href":"https:\/\/prohoster.info\/pl\/wp-json\/wp\/v2\/posts\/182539\/revisions"}],"wp:attachment":[{"href":"https:\/\/prohoster.info\/pl\/wp-json\/wp\/v2\/media?parent=182539"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/prohoster.info\/pl\/wp-json\/wp\/v2\/categories?post=182539"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/prohoster.info\/pl\/wp-json\/wp\/v2\/tags?post=182539"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}