{"id":24147,"date":"2025-06-11T10:03:52","date_gmt":"2025-06-11T03:03:52","guid":{"rendered":"https:\/\/vacif.com\/?p=23473"},"modified":"2025-06-11T10:03:52","modified_gmt":"2025-06-11T03:03:52","slug":"google-thuc-day-su-dung-rust-trong-firmware-cu-nham-khac-phuc-cac-loi-an-toan-bo-nho","status":"publish","type":"post","link":"https:\/\/vacif.com\/en\/google-thuc-day-su-dung-rust-trong-firmware-cu-nham-khac-phuc-cac-loi-an-toan-bo-nho\/","title":{"rendered":"Google th\u00fac \u0111\u1ea9y s\u1eed d\u1ee5ng Rust trong firmware c\u0169 nh\u1eb1m kh\u1eafc ph\u1ee5c c\u00e1c l\u1ed7i an to\u00e0n b\u1ed9 nh\u1edb"},"content":{"rendered":"\n<p>\u00d4ng l\u1edbn c\u00f4ng ngh\u1ec7 Google \u0111ang t\u00edch c\u1ef1c th\u00fac \u0111\u1ea9y vi\u1ec7c tri\u1ec3n khai ng\u00f4n ng\u1eef Rust trong c\u00e1c m\u00e3 ngu\u1ed3n firmware c\u1ea5p th\u1ea5p hi\u1ec7n c\u00f3, nh\u01b0 m\u1ed9t ph\u1ea7n trong chi\u1ebfn l\u01b0\u1ee3c l\u1edbn nh\u1eb1m ch\u1ed1ng l\u1ea1i c\u00e1c l\u1ed7 h\u1ed5ng b\u1ea3o m\u1eadt li\u00ean quan \u0111\u1ebfn b\u1ed9 nh\u1edb.<\/p>\n\n\n\n<p>Theo t\u00e0i li\u1ec7u m\u1edbi t\u1eeb c\u00e1c k\u1ef9 s\u01b0 ph\u1ea7n m\u1ec1m c\u1ee7a Google, Ivan Lozano v\u00e0 Dominik Maier, c\u00e1c m\u00e3 ngu\u1ed3n firmware c\u0169 vi\u1ebft b\u1eb1ng C v\u00e0 C++ c\u00f3 th\u1ec3 \u0111\u01b0\u1ee3c c\u1ea3i thi\u1ec7n nh\u1edd vi\u1ec7c \u201cthay th\u1ebf tr\u1ef1c ti\u1ebfp b\u1eb1ng Rust\u201d \u0111\u1ec3 \u0111\u1ea3m b\u1ea3o an to\u00e0n b\u1ed9 nh\u1edb \u1edf c\u00e1c l\u1edbp nh\u1ea1y c\u1ea3m d\u01b0\u1edbi h\u1ec7 \u0111i\u1ec1u h\u00e0nh.<\/p>\n\n\n\n<p>\u201cCh\u00fang t\u00f4i mu\u1ed1n ch\u1ee9ng minh r\u1eb1ng ph\u01b0\u01a1ng ph\u00e1p n\u00e0y kh\u1ea3 thi v\u1edbi firmware, mang \u0111\u1ebfn con \u0111\u01b0\u1eddng an to\u00e0n b\u1ed9 nh\u1edb m\u1ed9t c\u00e1ch hi\u1ec7u qu\u1ea3 v\u00e0 t\u1ed1i \u01b0u,\u201d nh\u00f3m Android cho bi\u1ebft trong m\u1ed9t ghi ch\u00fa, th\u1ec3 hi\u1ec7n r\u00f5 quy\u1ebft t\u00e2m c\u1ee7a Google trong vi\u1ec7c chuy\u1ec3n \u0111\u1ed5i sang c\u00e1c ng\u00f4n ng\u1eef l\u1eadp tr\u00ecnh an to\u00e0n b\u1ed9 nh\u1edb.<\/p>\n\n\n\n<p>\u201cFirmware l\u00e0 c\u1ea7u n\u1ed1i gi\u1eefa ph\u1ea7n c\u1ee9ng v\u00e0 ph\u1ea7n m\u1ec1m c\u1ea5p cao h\u01a1n. Do thi\u1ebfu c\u00e1c c\u01a1 ch\u1ebf b\u1ea3o m\u1eadt ph\u1ea7n m\u1ec1m ti\u00eau chu\u1ea9n nh\u01b0 \u1edf c\u00e1c ph\u1ea7n m\u1ec1m c\u1ea5p cao, c\u00e1c l\u1ed7 h\u1ed5ng trong m\u00e3 firmware c\u00f3 th\u1ec3 b\u1ecb c\u00e1c t\u00e1c nh\u00e2n \u0111\u1ed9c h\u1ea1i khai th\u00e1c m\u1ed9t c\u00e1ch nguy hi\u1ec3m,\u201d Google c\u1ea3nh b\u00e1o, \u0111\u1ed3ng th\u1eddi nh\u1ea5n m\u1ea1nh r\u1eb1ng ph\u1ea7n l\u1edbn firmware hi\u1ec7n t\u1ea1i v\u1eabn d\u1ef1a tr\u00ean c\u00e1c m\u00e3 ngu\u1ed3n c\u0169 \u0111\u01b0\u1ee3c vi\u1ebft b\u1eb1ng nh\u1eefng ng\u00f4n ng\u1eef kh\u00f4ng an to\u00e0n b\u1ed9 nh\u1edb nh\u01b0 C ho\u1eb7c C++.<\/p>\n\n\n\n<p>D\u1eabn ch\u1ee9ng c\u00e1c s\u1ed1 li\u1ec7u cho th\u1ea5y v\u1ea5n \u0111\u1ec1 an to\u00e0n b\u1ed9 nh\u1edb l\u00e0 nguy\u00ean nh\u00e2n ch\u00ednh g\u00e2y ra c\u00e1c l\u1ed7 h\u1ed5ng b\u1ea3o m\u1eadt trong m\u00e3 ngu\u1ed3n Android v\u00e0 Chrome, Google \u0111ang th\u00fac \u0111\u1ea9y Rust nh\u01b0 m\u1ed9t l\u1ef1a ch\u1ecdn thay th\u1ebf an to\u00e0n b\u1ed9 nh\u1edb, \u0111\u1ed3ng th\u1eddi gi\u1eef \u0111\u01b0\u1ee3c hi\u1ec7u n\u0103ng v\u00e0 k\u00edch th\u01b0\u1edbc m\u00e3 t\u01b0\u01a1ng \u0111\u01b0\u01a1ng.<\/p>\n\n\n\n<p>C\u00f4ng ty cho bi\u1ebft h\u1ecd \u0111ang \u00e1p d\u1ee5ng ph\u01b0\u01a1ng ph\u00e1p ti\u1ebfp c\u1eadn t\u1eebng b\u01b0\u1edbc, t\u1eadp trung thay th\u1ebf nh\u1eefng ph\u1ea7n m\u00e3 m\u1edbi v\u00e0 c\u00f3 r\u1ee7i ro cao nh\u1ea5t \u0111\u1ec3 \u201c\u0111\u1ea1t l\u1ee3i \u00edch an to\u00e0n t\u1ed1i \u0111a v\u1edbi \u00edt n\u1ed7 l\u1ef1c nh\u1ea5t.\u201d<\/p>\n\n\n\n<p>\u201cCh\u1ec9 c\u1ea7n vi\u1ebft m\u00e3 m\u1edbi b\u1eb1ng Rust c\u0169ng \u0111\u00e3 gi\u1ea3m s\u1ed1 l\u01b0\u1ee3ng l\u1ed7 h\u1ed5ng m\u1edbi v\u00e0 theo th\u1eddi gian c\u00f3 th\u1ec3 d\u1eabn \u0111\u1ebfn vi\u1ec7c gi\u1ea3m t\u1ed5ng s\u1ed1 l\u1ed7 h\u1ed5ng t\u1ed3n \u0111\u1ecdng,\u201d c\u00e1c k\u1ef9 s\u01b0 Android cho bi\u1ebft, \u0111\u1ed3ng th\u1eddi g\u1ee3i \u00fd c\u00e1c nh\u00e0 ph\u00e1t tri\u1ec3n n\u00ean thay th\u1ebf ch\u1ee9c n\u0103ng C hi\u1ec7n c\u00f3 b\u1eb1ng c\u00e1ch vi\u1ebft m\u1ed9t l\u1edbp giao ti\u1ebfp Rust m\u1ecfng \u0111\u1ec3 chuy\u1ec3n \u0111\u1ed5i gi\u1eefa API Rust m\u1edbi v\u00e0 API C hi\u1ec7n t\u1ea1i.<\/p>\n\n\n\n<p>\u201cL\u1edbp giao ti\u1ebfp n\u00e0y \u0111\u00f3ng vai tr\u00f2 nh\u01b0 m\u1ed9t l\u1edbp bao quanh API th\u01b0 vi\u1ec7n Rust, n\u1ed1i li\u1ec1n API C hi\u1ec7n c\u00f3 v\u1edbi API Rust. \u0110\u00e2y l\u00e0 c\u00e1ch ph\u1ed5 bi\u1ebfn khi vi\u1ebft l\u1ea1i ho\u1eb7c thay th\u1ebf c\u00e1c th\u01b0 vi\u1ec7n c\u0169 b\u1eb1ng gi\u1ea3i ph\u00e1p Rust.\u201d<\/p>\n\n\n\n<p>Google c\u0169ng b\u00e1o c\u00e1o s\u1ef1 gi\u1ea3m \u0111\u00e1ng k\u1ec3 s\u1ed1 l\u1ed7i an to\u00e0n b\u1ed9 nh\u1edb trong Android nh\u1edd qu\u00e1 tr\u00ecnh chuy\u1ec3n \u0111\u1ed5i d\u1ea7n sang c\u00e1c ng\u00f4n ng\u1eef l\u1eadp tr\u00ecnh an to\u00e0n b\u1ed9 nh\u1edb nh\u01b0 Rust. T\u1eeb n\u0103m 2019 \u0111\u1ebfn 2022, s\u1ed1 l\u1ed7i an to\u00e0n b\u1ed9 nh\u1edb b\u00e1o c\u00e1o h\u00e0ng n\u0103m trong Android \u0111\u00e3 gi\u1ea3m t\u1eeb 223 xu\u1ed1ng c\u00f2n 85, nh\u1edd t\u0103ng l\u01b0\u1ee3ng m\u00e3 an to\u00e0n b\u1ed9 nh\u1edb \u0111\u01b0\u1ee3c \u0111\u01b0a v\u00e0o n\u1ec1n t\u1ea3ng di \u0111\u1ed9ng n\u00e0y.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u00d4ng l\u1edbn c\u00f4ng ngh\u1ec7 Google \u0111ang t\u00edch c\u1ef1c th\u00fac \u0111\u1ea9y vi\u1ec7c tri\u1ec3n khai ng\u00f4n ng\u1eef Rust trong c\u00e1c m\u00e3 ngu\u1ed3n firmware c\u1ea5p th\u1ea5p hi\u1ec7n c\u00f3, nh\u01b0 m\u1ed9t ph\u1ea7n trong chi\u1ebfn l\u01b0\u1ee3c l\u1edbn nh\u1eb1m ch\u1ed1ng l\u1ea1i c\u00e1c l\u1ed7 h\u1ed5ng b\u1ea3o m\u1eadt li\u00ean quan \u0111\u1ebfn b\u1ed9 nh\u1edb. Theo t\u00e0i li\u1ec7u m\u1edbi t\u1eeb c\u00e1c k\u1ef9 s\u01b0 ph\u1ea7n m\u1ec1m [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":22737,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_eb_attr":"","ocean_post_layout":"","ocean_both_sidebars_style":"","ocean_both_sidebars_content_width":0,"ocean_both_sidebars_sidebars_width":0,"ocean_sidebar":"","ocean_second_sidebar":"","ocean_disable_margins":"enable","ocean_add_body_class":"","ocean_shortcode_before_top_bar":"","ocean_shortcode_after_top_bar":"","ocean_shortcode_before_header":"","ocean_shortcode_after_header":"","ocean_has_shortcode":"","ocean_shortcode_after_title":"","ocean_shortcode_before_footer_widgets":"","ocean_shortcode_after_footer_widgets":"","ocean_shortcode_before_footer_bottom":"","ocean_shortcode_after_footer_bottom":"","ocean_display_top_bar":"default","ocean_display_header":"default","ocean_header_style":"","ocean_center_header_left_menu":"","ocean_custom_header_template":"","ocean_custom_logo":0,"ocean_custom_retina_logo":0,"ocean_custom_logo_max_width":0,"ocean_custom_logo_tablet_max_width":0,"ocean_custom_logo_mobile_max_width":0,"ocean_custom_logo_max_height":0,"ocean_custom_logo_tablet_max_height":0,"ocean_custom_logo_mobile_max_height":0,"ocean_header_custom_menu":"","ocean_menu_typo_font_family":"","ocean_menu_typo_font_subset":"","ocean_menu_typo_font_size":0,"ocean_menu_typo_font_size_tablet":0,"ocean_menu_typo_font_size_mobile":0,"ocean_menu_typo_font_size_unit":"px","ocean_menu_typo_font_weight":"","ocean_menu_typo_font_weight_tablet":"","ocean_menu_typo_font_weight_mobile":"","ocean_menu_typo_transform":"","ocean_menu_typo_transform_tablet":"","ocean_menu_typo_transform_mobile":"","ocean_menu_typo_line_height":0,"ocean_menu_typo_line_height_tablet":0,"ocean_menu_typo_line_height_mobile":0,"ocean_menu_typo_line_height_unit":"","ocean_menu_typo_spacing":0,"ocean_menu_typo_spacing_tablet":0,"ocean_menu_typo_spacing_mobile":0,"ocean_menu_typo_spacing_unit":"","ocean_menu_link_color":"","ocean_menu_link_color_hover":"","ocean_menu_link_color_active":"","ocean_menu_link_background":"","ocean_menu_link_hover_background":"","ocean_menu_link_active_background":"","ocean_menu_social_links_bg":"","ocean_menu_social_hover_links_bg":"","ocean_menu_social_links_color":"","ocean_menu_social_hover_links_color":"","ocean_disable_title":"default","ocean_disable_heading":"default","ocean_post_title":"","ocean_post_subheading":"","ocean_post_title_style":"","ocean_post_title_background_color":"","ocean_post_title_background":0,"ocean_post_title_bg_image_position":"","ocean_post_title_bg_image_attachment":"","ocean_post_title_bg_image_repeat":"","ocean_post_title_bg_image_size":"","ocean_post_title_height":0,"ocean_post_title_bg_overlay":0.5,"ocean_post_title_bg_overlay_color":"","ocean_disable_breadcrumbs":"default","ocean_breadcrumbs_color":"","ocean_breadcrumbs_separator_color":"","ocean_breadcrumbs_links_color":"","ocean_breadcrumbs_links_hover_color":"","ocean_display_footer_widgets":"default","ocean_display_footer_bottom":"default","ocean_custom_footer_template":"","ocean_post_oembed":"","ocean_post_self_hosted_media":"","ocean_post_video_embed":"","ocean_link_format":"","ocean_link_format_target":"self","ocean_quote_format":"","ocean_quote_format_link":"post","ocean_gallery_link_images":"on","ocean_gallery_id":[],"footnotes":""},"categories":[10],"tags":[],"class_list":["post-24147","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-tin-tuc","entry","has-media"],"_links":{"self":[{"href":"https:\/\/vacif.com\/en\/wp-json\/wp\/v2\/posts\/24147","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/vacif.com\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/vacif.com\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/vacif.com\/en\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/vacif.com\/en\/wp-json\/wp\/v2\/comments?post=24147"}],"version-history":[{"count":0,"href":"https:\/\/vacif.com\/en\/wp-json\/wp\/v2\/posts\/24147\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/vacif.com\/en\/wp-json\/wp\/v2\/media\/22737"}],"wp:attachment":[{"href":"https:\/\/vacif.com\/en\/wp-json\/wp\/v2\/media?parent=24147"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/vacif.com\/en\/wp-json\/wp\/v2\/categories?post=24147"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/vacif.com\/en\/wp-json\/wp\/v2\/tags?post=24147"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}