{"id":181784,"date":"2026-05-28T14:48:41","date_gmt":"2026-05-28T12:48:41","guid":{"rendered":"https:\/\/prohoster.info\/blog\/novosti-interneta\/greg-kroa-hartman-rasskazal-o-tom-kak-rust-mozhet-pomoch-v-borbe-s-oshibkami-v-yadre-linux"},"modified":"2026-05-28T14:48:41","modified_gmt":"2026-05-28T12:48:41","slug":"greg-kroa-hartman-rasskazal-o-tom-kak-rust-mozhet-pomoch-v-borbe-s-oshibkami-v-yadre-linux","status":"publish","type":"post","link":"https:\/\/prohoster.info\/en\/blog\/news\/greg-kroa-hartman-rasskazal-o-tom-kak-rust-mozhet-pomoch-v-borbe-s-oshibkami-v-yadre-linux","title":{"rendered":"Greg Kroah-Hartman discussed how Rust can aid in combating errors in the Linux kernel","gt_translate_keys":[{"key":"rendered","format":"text"}]},"content":{"rendered":"<p>Greg Kroah-Hartman, who is responsible for maintaining the stable and 'staging' branches of the Linux kernel and serves as the maintainer for 16 subsystems, delivered a talk at the Rust Week 2026 conference, discussing how the Rust language can help prevent vulnerabilities in the kernel arising from typical developer errors in C related to memory management, locks, error handling, and working with untrusted data. The main advantage of Rust is its ability to identify such errors at the assembly stage rather than through human code reviews. However, Rust is not seen as a panacea that can solve all issues, and there are no plans to rewrite the kernel in Rust; gradual adoption of Rust is expected through its use in new drivers and subsystems.<\/p>\n<p>As an example of kernel errors that could have been avoided with Rust, a Bluetooth subsystem issue that went unnoticed for 15 years and a problem in the Xen hypervisor were mentioned. In the first case, the developer dereferenced a pointer without checking it, while in the second case, a lock was forgotten in the error handling code.<br \/>\nAccording to Greg, most kernel errors are caused by such small oversights that accumulate over time and emerge as vulnerabilities. In Rust, many of these issues are prevented by the compiler; for instance, Rust abstractions for locks in the kernel allow access to internal structure pointers only after acquiring the corresponding lock, which is released automatically. Without acquiring the lock, accessing structure pointers in Rust is impossible. <\/p>\n<p>Greg believes that such features of Rust could have prevented 60% of the errors identified in the kernel, and the checks performed by the compiler would save maintainers time discussing the correctness of error handling and the justification for placing locks properly. Moreover, the introduction of Rust support has already positively impacted the C code in the kernel by tidying up C code and interfaces, as well as adopting some development practices (for example, scoped locking has been implemented).<\/p>\n<p>Thanks to the type system that ensures adherence to specified rules and the implementation of continuous integration systems that check code at the build stage, reviewers of changes in Rust can focus on evaluating the logic of operations rather than tracking manipulations with resources. The use of Rust also allows for a more careful approach to data coming from hardware or external systems. This is achieved through a clear distinction between trustworthy and untrustworthy data at the type system level: a developer only needs to perform an analysis when transitioning from an untrusted to a trusted state.<\/p>\n<p>Recently, the team responsible for kernel security has been publishing about 13 vulnerability reports every day, which, compared to the previous dynamics of vulnerability detection, feels like some kind of madness (for example, 277 vulnerability reports in the kernel were published just yesterday). According to Greg, using Rust is one of the real ways to reduce the number of errors in the kernel caused by traditional mistakes in error handling and resource management. Support for Rust in the kernel has already gone beyond experimentation and was recognized as a standard feature of the kernel at the end of last year. <\/p>\n<p><center><div class=\"youtube-placeholder\" data-id=\"0vhGWclF7LU\" onclick=\"loadVideo(this)\">\r\n        <img decoding=\"async\" src=\"https:\/\/img.youtube.com\/vi\/0vhGWclF7LU\/hqdefault.jpg\" alt=\"Play video\" loading=\"lazy\" width=\"480\" height=\"360\" style=\"width:100%;height:auto;\">\r\n        <div class=\"play-button\"><\/div>\r\n    <\/div><\/center><br \/>\n<br \/>Source: <a content=\"nofollow\" rel=\"nofollow\" href=\"https:\/\/www.opennet.ru\/opennews\/art.shtml?num=65549\">opennet.ru<\/a> <\/p>","protected":false,"gt_translate_keys":[{"key":"rendered","format":"html"}]},"excerpt":{"rendered":"<p>\u0413\u0440\u0435\u0433 \u041a\u0440\u043e\u0430-\u0425\u0430\u0440\u0442\u043c\u0430\u043d (Greg Kroah-Hartman), \u043e\u0442\u0432\u0435\u0447\u0430\u044e\u0449\u0438\u0439 \u0437\u0430 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u043a\u0443 \u0441\u0442\u0430\u0431\u0438\u043b\u044c\u043d\u043e\u0439 \u0438 &#171;staging&#187; \u0432\u0435\u0442\u043e\u043a \u044f\u0434\u0440\u0430 Linux \u0438 \u0437\u0430\u043d\u0438\u043c\u0430\u044e\u0449\u0438\u0439 \u043f\u043e\u0441\u0442 \u043c\u044d\u0439\u043d\u0442\u0435\u0439\u043d\u0435\u0440\u0430 \u0432 16 \u043f\u043e\u0434\u0441\u0438\u0441\u0442\u0435\u043c\u0430\u0445 \u044f\u0434\u0440\u0430, \u0432\u044b\u0441\u0442\u0443\u043f\u0438\u043b \u0441 \u0434\u043e\u043a\u043b\u0430\u0434\u043e\u043c \u043d\u0430 \u043a\u043e\u043d\u0444\u0435\u0440\u0435\u043d\u0446\u0438\u0438 Rust Week 2026, \u0432 \u043a\u043e\u0442\u043e\u0440\u043e\u043c \u0440\u0430\u0441\u0441\u043a\u0430\u0437\u0430\u043b, \u043a\u0430\u043a \u044f\u0437\u044b\u043a Rust \u043c\u043e\u0436\u0435\u0442 \u043f\u043e\u043c\u043e\u0447\u044c \u0432 \u043f\u0440\u0435\u0434\u043e\u0442\u0432\u0440\u0430\u0449\u0435\u043d\u0438\u0438 \u043f\u043e\u044f\u0432\u043b\u0435\u043d\u0438\u044f \u0432 \u044f\u0434\u0440\u0435 \u0443\u044f\u0437\u0432\u0438\u043c\u043e\u0441\u0442\u0435\u0439, \u0432\u043e\u0437\u043d\u0438\u043a\u0430\u044e\u0449\u0438\u0445 \u0438\u0437-\u0437\u0430 \u0442\u0438\u043f\u0438\u0447\u043d\u044b\u0445 \u043e\u0448\u0438\u0431\u043e\u043a \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u043e\u0432 \u043d\u0430 \u044f\u0437\u044b\u043a\u0435 \u0421\u0438 \u043f\u0440\u0438 \u0440\u0430\u0431\u043e\u0442\u0435 \u0441 \u043f\u0430\u043c\u044f\u0442\u044c\u044e, [&hellip;]<\/p>\n","protected":false,"gt_translate_keys":[{"key":"rendered","format":"html"}]},"author":8,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[702],"tags":[],"class_list":["post-181784","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=\"description\" content=\"\u0413\u0440\u0435\u0433 \u041a\u0440\u043e\u0430-\u0425\u0430\u0440\u0442\u043c\u0430\u043d (Greg Kroah-Hartman), \u043e\u0442\u0432\u0435\u0447\u0430\u044e\u0449\u0438\u0439 \u0437\u0430 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u043a\u0443 \u0441\u0442\u0430\u0431\u0438\u043b\u044c\u043d\u043e\u0439 \u0438 &quot;staging&quot; \u0432\u0435\u0442\u043e\u043a \u044f\u0434\u0440\u0430 Linux \u0438 \u0437\u0430\u043d\u0438\u043c\u0430\u044e\u0449\u0438\u0439 \u043f\u043e\u0441\u0442 \u043c\u044d\u0439\u043d\u0442\u0435\u0439\u043d\u0435\u0440\u0430 \u0432 16 \u043f\u043e\u0434\u0441\u0438\u0441\u0442\u0435\u043c\u0430\u0445 \u044f\u0434\u0440\u0430, \u0432\u044b\u0441\u0442\u0443\u043f\u0438\u043b \u0441 \u0434\u043e\u043a\u043b\u0430\u0434\u043e\u043c \u043d\u0430 \u043a\u043e\u043d\u0444\u0435\u0440\u0435\u043d\u0446\u0438\u0438 Rust Week 2026, \u0432.\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"Erik Peterson\"\/>\n\t<link rel=\"canonical\" href=\"https:\/\/prohoster.info\/en\/blog\/news\/greg-kroa-hartman-rasskazal-o-tom-kak-rust-mozhet-pomoch-v-borbe-s-oshibkami-v-yadre-linux\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 5.0.1.1\" \/>\n\t\t<meta property=\"og:locale\" content=\"en_US\" \/>\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\udd47\u0413\u0440\u0435\u0433 \u041a\u0440\u043e\u0430-\u0425\u0430\u0440\u0442\u043c\u0430\u043d \u0440\u0430\u0441\u0441\u043a\u0430\u0437\u0430\u043b \u043e \u0442\u043e\u043c, \u043a\u0430\u043a Rust \u043c\u043e\u0436\u0435\u0442 \u043f\u043e\u043c\u043e\u0447\u044c \u0432 \u0431\u043e\u0440\u044c\u0431\u0435 \u0441 \u043e\u0448\u0438\u0431\u043a\u0430\u043c\u0438 \u0432 \u044f\u0434\u0440\u0435 Linux | ProHoster\" \/>\n\t\t<meta property=\"og:description\" content=\"\u0413\u0440\u0435\u0433 \u041a\u0440\u043e\u0430-\u0425\u0430\u0440\u0442\u043c\u0430\u043d (Greg Kroah-Hartman), \u043e\u0442\u0432\u0435\u0447\u0430\u044e\u0449\u0438\u0439 \u0437\u0430 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u043a\u0443 \u0441\u0442\u0430\u0431\u0438\u043b\u044c\u043d\u043e\u0439 \u0438 &quot;staging&quot; \u0432\u0435\u0442\u043e\u043a \u044f\u0434\u0440\u0430 Linux \u0438 \u0437\u0430\u043d\u0438\u043c\u0430\u044e\u0449\u0438\u0439 \u043f\u043e\u0441\u0442 \u043c\u044d\u0439\u043d\u0442\u0435\u0439\u043d\u0435\u0440\u0430 \u0432 16 \u043f\u043e\u0434\u0441\u0438\u0441\u0442\u0435\u043c\u0430\u0445 \u044f\u0434\u0440\u0430, \u0432\u044b\u0441\u0442\u0443\u043f\u0438\u043b \u0441 \u0434\u043e\u043a\u043b\u0430\u0434\u043e\u043c \u043d\u0430 \u043a\u043e\u043d\u0444\u0435\u0440\u0435\u043d\u0446\u0438\u0438 Rust Week 2026, \u0432.\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/prohoster.info\/en\/blog\/news\/greg-kroa-hartman-rasskazal-o-tom-kak-rust-mozhet-pomoch-v-borbe-s-oshibkami-v-yadre-linux\" \/>\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-05-28T12:48:41+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2026-05-28T12:48:41+00:00\" \/>\n\t\t<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/prohoster\" \/>\n\t\t<meta property=\"article:author\" content=\"https:\/\/www.facebook.com\/prohoster\" \/>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"\ud83e\udd47Greg Kroah-Hartman spoke about how Rust can help combat errors in the Linux kernel | ProHoster","description":"Greg Kroah-Hartman, who is responsible for maintaining the stable and 'staging' branches of the Linux kernel and serves as a maintainer in 16 kernel subsystems, gave a talk at the Rust Week 2026 conference.","canonical_url":"https:\/\/prohoster.info\/en\/blog\/news\/greg-kroa-hartman-rasskazal-o-tom-kak-rust-mozhet-pomoch-v-borbe-s-oshibkami-v-yadre-linux","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":null,"og:locale":"en_US","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\udd47\u0413\u0440\u0435\u0433 \u041a\u0440\u043e\u0430-\u0425\u0430\u0440\u0442\u043c\u0430\u043d \u0440\u0430\u0441\u0441\u043a\u0430\u0437\u0430\u043b \u043e \u0442\u043e\u043c, \u043a\u0430\u043a Rust \u043c\u043e\u0436\u0435\u0442 \u043f\u043e\u043c\u043e\u0447\u044c \u0432 \u0431\u043e\u0440\u044c\u0431\u0435 \u0441 \u043e\u0448\u0438\u0431\u043a\u0430\u043c\u0438 \u0432 \u044f\u0434\u0440\u0435 Linux | ProHoster","og:description":"\u0413\u0440\u0435\u0433 \u041a\u0440\u043e\u0430-\u0425\u0430\u0440\u0442\u043c\u0430\u043d (Greg Kroah-Hartman), \u043e\u0442\u0432\u0435\u0447\u0430\u044e\u0449\u0438\u0439 \u0437\u0430 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u043a\u0443 \u0441\u0442\u0430\u0431\u0438\u043b\u044c\u043d\u043e\u0439 \u0438 &quot;staging&quot; \u0432\u0435\u0442\u043e\u043a \u044f\u0434\u0440\u0430 Linux \u0438 \u0437\u0430\u043d\u0438\u043c\u0430\u044e\u0449\u0438\u0439 \u043f\u043e\u0441\u0442 \u043c\u044d\u0439\u043d\u0442\u0435\u0439\u043d\u0435\u0440\u0430 \u0432 16 \u043f\u043e\u0434\u0441\u0438\u0441\u0442\u0435\u043c\u0430\u0445 \u044f\u0434\u0440\u0430, \u0432\u044b\u0441\u0442\u0443\u043f\u0438\u043b \u0441 \u0434\u043e\u043a\u043b\u0430\u0434\u043e\u043c \u043d\u0430 \u043a\u043e\u043d\u0444\u0435\u0440\u0435\u043d\u0446\u0438\u0438 Rust Week 2026, \u0432.","og:url":"https:\/\/prohoster.info\/en\/blog\/news\/greg-kroa-hartman-rasskazal-o-tom-kak-rust-mozhet-pomoch-v-borbe-s-oshibkami-v-yadre-linux","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-05-28T12:48:41+00:00","article:modified_time":"2026-05-28T12:48:41+00:00","article:publisher":"https:\/\/www.facebook.com\/prohoster","article:author":"https:\/\/www.facebook.com\/prohoster"},"aioseo_meta_data":[],"gt_translate_keys":[{"key":"link","format":"url"}],"_links":{"self":[{"href":"https:\/\/prohoster.info\/en\/wp-json\/wp\/v2\/posts\/181784","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/prohoster.info\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/prohoster.info\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/prohoster.info\/en\/wp-json\/wp\/v2\/users\/8"}],"replies":[{"embeddable":true,"href":"https:\/\/prohoster.info\/en\/wp-json\/wp\/v2\/comments?post=181784"}],"version-history":[{"count":0,"href":"https:\/\/prohoster.info\/en\/wp-json\/wp\/v2\/posts\/181784\/revisions"}],"wp:attachment":[{"href":"https:\/\/prohoster.info\/en\/wp-json\/wp\/v2\/media?parent=181784"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/prohoster.info\/en\/wp-json\/wp\/v2\/categories?post=181784"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/prohoster.info\/en\/wp-json\/wp\/v2\/tags?post=181784"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}