WEBVTT
Kind: captions
Language: en

00:00:00.000 --> 00:00:01.750 align:start position:0%
 
Google's<00:00:00.600><c> Project</c><00:00:00.960><c> Zero</c><00:00:01.240><c> team</c><00:00:01.520><c> just</c>

00:00:01.750 --> 00:00:01.760 align:start position:0%
Google's Project Zero team just
 

00:00:01.760 --> 00:00:03.310 align:start position:0%
Google's Project Zero team just
disclosed<00:00:02.320><c> a</c><00:00:02.400><c> very</c><00:00:02.720><c> powerful</c><00:00:03.080><c> kernel</c>

00:00:03.310 --> 00:00:03.320 align:start position:0%
disclosed a very powerful kernel
 

00:00:03.320 --> 00:00:05.070 align:start position:0%
disclosed a very powerful kernel
vulnerability<00:00:03.960><c> affecting</c><00:00:04.360><c> the</c><00:00:04.480><c> Google</c><00:00:04.760><c> Pixel</c>

00:00:05.070 --> 00:00:05.080 align:start position:0%
vulnerability affecting the Google Pixel
 

00:00:05.080 --> 00:00:06.830 align:start position:0%
vulnerability affecting the Google Pixel
10<00:00:05.440><c> that</c><00:00:05.560><c> can</c><00:00:05.680><c> be</c><00:00:05.760><c> exploited</c><00:00:06.400><c> to</c><00:00:06.520><c> fully</c>

00:00:06.830 --> 00:00:06.840 align:start position:0%
10 that can be exploited to fully
 

00:00:06.840 --> 00:00:08.910 align:start position:0%
10 that can be exploited to fully
compromise<00:00:07.360><c> the</c><00:00:07.480><c> phone.</c><00:00:08.080><c> The</c><00:00:08.160><c> bug</c><00:00:08.440><c> is</c><00:00:08.560><c> caused</c>

00:00:08.910 --> 00:00:08.920 align:start position:0%
compromise the phone. The bug is caused
 

00:00:08.920 --> 00:00:11.150 align:start position:0%
compromise the phone. The bug is caused
by<00:00:09.160><c> a</c><00:00:09.280><c> missing</c><00:00:09.720><c> sanity</c><00:00:10.120><c> check</c><00:00:10.440><c> in</c><00:00:10.640><c> part</c><00:00:10.880><c> of</c><00:00:10.960><c> the</c>

00:00:11.150 --> 00:00:11.160 align:start position:0%
by a missing sanity check in part of the
 

00:00:11.160 --> 00:00:13.270 align:start position:0%
by a missing sanity check in part of the
video<00:00:11.520><c> processing</c><00:00:12.040><c> kernel</c><00:00:12.320><c> driver.</c><00:00:12.920><c> However,</c>

00:00:13.270 --> 00:00:13.280 align:start position:0%
video processing kernel driver. However,
 

00:00:13.280 --> 00:00:15.030 align:start position:0%
video processing kernel driver. However,
is<00:00:13.400><c> the</c><00:00:13.560><c> context</c><00:00:14.080><c> surrounding</c><00:00:14.600><c> this</c><00:00:14.760><c> missing</c>

00:00:15.030 --> 00:00:15.040 align:start position:0%
is the context surrounding this missing
 

00:00:15.040 --> 00:00:17.030 align:start position:0%
is the context surrounding this missing
check<00:00:15.400><c> that</c><00:00:15.520><c> gives</c><00:00:15.760><c> attackers</c><00:00:16.360><c> a</c><00:00:16.440><c> uniquely</c>

00:00:17.030 --> 00:00:17.040 align:start position:0%
check that gives attackers a uniquely
 

00:00:17.040 --> 00:00:19.190 align:start position:0%
check that gives attackers a uniquely
powerful<00:00:17.520><c> exploit</c><00:00:17.880><c> primitive</c><00:00:18.600><c> when</c><00:00:18.760><c> compared</c>

00:00:19.190 --> 00:00:19.200 align:start position:0%
powerful exploit primitive when compared
 

00:00:19.200 --> 00:00:21.150 align:start position:0%
powerful exploit primitive when compared
to<00:00:19.320><c> the</c><00:00:19.480><c> average</c><00:00:19.800><c> kernel</c><00:00:20.040><c> vulnerability.</c><00:00:21.000><c> So</c>

00:00:21.150 --> 00:00:21.160 align:start position:0%
to the average kernel vulnerability. So
 

00:00:21.160 --> 00:00:22.750 align:start position:0%
to the average kernel vulnerability. So
today<00:00:21.400><c> in</c><00:00:21.480><c> this</c><00:00:21.600><c> video,</c><00:00:21.920><c> let's</c><00:00:22.200><c> analyze</c><00:00:22.640><c> the</c>

00:00:22.750 --> 00:00:22.760 align:start position:0%
today in this video, let's analyze the
 

00:00:22.760 --> 00:00:24.790 align:start position:0%
today in this video, let's analyze the
vulnerable<00:00:23.120><c> kernel</c><00:00:23.440><c> code</c><00:00:23.880><c> and</c><00:00:24.120><c> see</c><00:00:24.280><c> exactly</c>

00:00:24.790 --> 00:00:24.800 align:start position:0%
vulnerable kernel code and see exactly
 

00:00:24.800 --> 00:00:26.230 align:start position:0%
vulnerable kernel code and see exactly
how<00:00:24.960><c> hackers</c><00:00:25.320><c> can</c><00:00:25.480><c> leverage</c><00:00:25.880><c> this</c><00:00:26.120><c> to</c>

00:00:26.230 --> 00:00:26.240 align:start position:0%
how hackers can leverage this to
 

00:00:26.240 --> 00:00:28.710 align:start position:0%
how hackers can leverage this to
compromise<00:00:26.920><c> a</c><00:00:27.000><c> Pixel</c><00:00:27.400><c> 10</c><00:00:27.600><c> device.</c><00:00:28.280><c> The</c><00:00:28.440><c> Google</c>

00:00:28.710 --> 00:00:28.720 align:start position:0%
compromise a Pixel 10 device. The Google
 

00:00:28.720 --> 00:00:32.589 align:start position:0%
compromise a Pixel 10 device. The Google
Pixel<00:00:29.080><c> 10</c><00:00:29.360><c> exposes</c><00:00:30.200><c> a</c><00:00:30.320><c> driver</c><00:00:31.160><c> for</c><00:00:31.360><c> its</c><00:00:31.640><c> VPU</c><00:00:32.400><c> or</c>

00:00:32.589 --> 00:00:32.599 align:start position:0%
Pixel 10 exposes a driver for its VPU or
 

00:00:32.599 --> 00:00:34.830 align:start position:0%
Pixel 10 exposes a driver for its VPU or
video<00:00:32.920><c> processing</c><00:00:33.400><c> unit</c><00:00:34.040><c> through</c><00:00:34.280><c> the</c><00:00:34.440><c> dev</c>

00:00:34.830 --> 00:00:34.840 align:start position:0%
video processing unit through the dev
 

00:00:34.840 --> 00:00:37.350 align:start position:0%
video processing unit through the dev
VPU<00:00:35.440><c> character</c><00:00:35.760><c> device.</c><00:00:36.680><c> The</c><00:00:36.800><c> associated</c>

00:00:37.350 --> 00:00:37.360 align:start position:0%
VPU character device. The associated
 

00:00:37.360 --> 00:00:39.550 align:start position:0%
VPU character device. The associated
kernel<00:00:37.680><c> driver</c><00:00:38.200><c> implemented</c><00:00:38.800><c> here</c><00:00:39.160><c> under</c><00:00:39.400><c> the</c>

00:00:39.550 --> 00:00:39.560 align:start position:0%
kernel driver implemented here under the
 

00:00:39.560 --> 00:00:41.950 align:start position:0%
kernel driver implemented here under the
drivers<00:00:40.240><c> CNM</c><00:00:40.840><c> in</c><00:00:40.960><c> the</c><00:00:41.080><c> kernel</c><00:00:41.400><c> source</c>

00:00:41.950 --> 00:00:41.960 align:start position:0%
drivers CNM in the kernel source
 

00:00:41.960 --> 00:00:43.950 align:start position:0%
drivers CNM in the kernel source
provides<00:00:42.320><c> an</c><00:00:42.480><c> API</c><00:00:42.920><c> that</c><00:00:43.080><c> allows</c><00:00:43.440><c> user</c><00:00:43.680><c> space</c>

00:00:43.950 --> 00:00:43.960 align:start position:0%
provides an API that allows user space
 

00:00:43.960 --> 00:00:45.750 align:start position:0%
provides an API that allows user space
processes<00:00:44.480><c> to</c><00:00:44.640><c> interact</c><00:00:45.240><c> with</c><00:00:45.360><c> the</c><00:00:45.440><c> video</c>

00:00:45.750 --> 00:00:45.760 align:start position:0%
processes to interact with the video
 

00:00:45.760 --> 00:00:48.510 align:start position:0%
processes to interact with the video
decoding<00:00:46.320><c> hardware</c><00:00:47.000><c> by</c><00:00:47.200><c> mapping</c><00:00:47.720><c> its</c><00:00:48.000><c> MMIO</c>

00:00:48.510 --> 00:00:48.520 align:start position:0%
decoding hardware by mapping its MMIO
 

00:00:48.520 --> 00:00:50.910 align:start position:0%
decoding hardware by mapping its MMIO
space<00:00:49.240><c> directly</c><00:00:49.640><c> into</c><00:00:49.880><c> user</c><00:00:50.080><c> land</c><00:00:50.640><c> and</c><00:00:50.760><c> then</c>

00:00:50.910 --> 00:00:50.920 align:start position:0%
space directly into user land and then
 

00:00:50.920 --> 00:00:52.750 align:start position:0%
space directly into user land and then
having<00:00:51.160><c> that</c><00:00:51.360><c> user</c><00:00:51.600><c> land</c><00:00:51.800><c> process</c><00:00:52.280><c> control</c>

00:00:52.750 --> 00:00:52.760 align:start position:0%
having that user land process control
 

00:00:52.760 --> 00:00:55.150 align:start position:0%
having that user land process control
events<00:00:53.280><c> by</c><00:00:53.520><c> setting</c><00:00:53.960><c> values</c><00:00:54.440><c> in</c><00:00:54.560><c> this</c><00:00:54.720><c> memory</c>

00:00:55.150 --> 00:00:55.160 align:start position:0%
events by setting values in this memory
 

00:00:55.160 --> 00:00:57.230 align:start position:0%
events by setting values in this memory
and<00:00:55.480><c> waiting</c><00:00:55.720><c> for</c><00:00:55.840><c> interrupts,</c><00:00:56.320><c> etc.</c><00:00:57.000><c> To</c>

00:00:57.230 --> 00:00:57.240 align:start position:0%
and waiting for interrupts, etc. To
 

00:00:57.240 --> 00:00:59.390 align:start position:0%
and waiting for interrupts, etc. To
actually<00:00:57.560><c> implement</c><00:00:57.960><c> this,</c><00:00:58.280><c> the</c><00:00:58.400><c> VPU</c><00:00:58.920><c> driver</c>

00:00:59.390 --> 00:00:59.400 align:start position:0%
actually implement this, the VPU driver
 

00:00:59.400 --> 00:01:01.830 align:start position:0%
actually implement this, the VPU driver
implements<00:01:00.000><c> its</c><00:01:00.160><c> own</c><00:01:00.480><c> M</c><00:01:00.720><c> map</c><00:01:01.000><c> handler</c><00:01:01.520><c> such</c>

00:01:01.830 --> 00:01:01.840 align:start position:0%
implements its own M map handler such
 

00:01:01.840 --> 00:01:03.630 align:start position:0%
implements its own M map handler such
that<00:01:01.960><c> when</c><00:01:02.120><c> a</c><00:01:02.200><c> user</c><00:01:02.480><c> space</c><00:01:02.720><c> process</c><00:01:03.080><c> calls</c><00:01:03.480><c> M</c>

00:01:03.630 --> 00:01:03.640 align:start position:0%
that when a user space process calls M
 

00:01:03.640 --> 00:01:05.590 align:start position:0%
that when a user space process calls M
map<00:01:04.000><c> on</c><00:01:04.120><c> the</c><00:01:04.239><c> file</c><00:01:04.480><c> descriptor</c><00:01:04.960><c> associated</c>

00:01:05.590 --> 00:01:05.600 align:start position:0%
map on the file descriptor associated
 

00:01:05.600 --> 00:01:08.070 align:start position:0%
map on the file descriptor associated
with<00:01:05.720><c> the</c><00:01:05.840><c> dev</c><00:01:06.200><c> VPU</c><00:01:06.800><c> character</c><00:01:07.120><c> device,</c><00:01:07.920><c> we</c>

00:01:08.070 --> 00:01:08.080 align:start position:0%
with the dev VPU character device, we
 

00:01:08.080 --> 00:01:11.190 align:start position:0%
with the dev VPU character device, we
invoke<00:01:08.520><c> this</c><00:01:08.720><c> kernel</c><00:01:08.960><c> function</c><00:01:09.640><c> VPU</c><00:01:10.280><c> M</c><00:01:10.480><c> map</c><00:01:11.080><c> to</c>

00:01:11.190 --> 00:01:11.200 align:start position:0%
invoke this kernel function VPU M map to
 

00:01:11.200 --> 00:01:13.990 align:start position:0%
invoke this kernel function VPU M map to
perform<00:01:11.600><c> this</c><00:01:11.840><c> sharing</c><00:01:12.360><c> of</c><00:01:12.480><c> the</c><00:01:12.680><c> MMIO</c><00:01:13.200><c> memory.</c>

00:01:13.990 --> 00:01:14.000 align:start position:0%
perform this sharing of the MMIO memory.
 

00:01:14.000 --> 00:01:15.550 align:start position:0%
perform this sharing of the MMIO memory.
It<00:01:14.120><c> is</c><00:01:14.280><c> here</c><00:01:14.560><c> within</c><00:01:14.840><c> this</c><00:01:15.040><c> function</c><00:01:15.440><c> where</c>

00:01:15.550 --> 00:01:15.560 align:start position:0%
It is here within this function where
 

00:01:15.560 --> 00:01:17.430 align:start position:0%
It is here within this function where
the<00:01:15.760><c> authors</c><00:01:16.120><c> of</c><00:01:16.200><c> this</c><00:01:16.400><c> research</c><00:01:16.840><c> say</c><00:01:17.080><c> lies</c>

00:01:17.430 --> 00:01:17.440 align:start position:0%
the authors of this research say lies
 

00:01:17.440 --> 00:01:18.910 align:start position:0%
the authors of this research say lies
the<00:01:17.600><c> holy</c><00:01:18.000><c> grail</c><00:01:18.480><c> of</c><00:01:18.640><c> kernel</c>

00:01:18.910 --> 00:01:18.920 align:start position:0%
the holy grail of kernel
 

00:01:18.920 --> 00:01:20.710 align:start position:0%
the holy grail of kernel
vulnerabilities.<00:01:20.000><c> The</c><00:01:20.120><c> function</c><00:01:20.520><c> is</c>

00:01:20.710 --> 00:01:20.720 align:start position:0%
vulnerabilities. The function is
 

00:01:20.720 --> 00:01:22.670 align:start position:0%
vulnerabilities. The function is
incredibly<00:01:21.160><c> small</c><00:01:21.560><c> and</c><00:01:21.800><c> lacks</c><00:01:22.120><c> a</c><00:01:22.240><c> critical</c>

00:01:22.670 --> 00:01:22.680 align:start position:0%
incredibly small and lacks a critical
 

00:01:22.680 --> 00:01:24.910 align:start position:0%
incredibly small and lacks a critical
check.<00:01:23.480><c> You</c><00:01:23.680><c> can</c><00:01:23.800><c> see</c><00:01:24.000><c> here</c><00:01:24.200><c> it</c><00:01:24.360><c> first</c><00:01:24.680><c> gets</c>

00:01:24.910 --> 00:01:24.920 align:start position:0%
check. You can see here it first gets
 

00:01:24.920 --> 00:01:27.030 align:start position:0%
check. You can see here it first gets
the<00:01:25.080><c> physical</c><00:01:25.520><c> address</c><00:01:26.040><c> of</c><00:01:26.200><c> the</c><00:01:26.320><c> start</c><00:01:26.800><c> of</c><00:01:26.920><c> the</c>

00:01:27.030 --> 00:01:27.040 align:start position:0%
the physical address of the start of the
 

00:01:27.040 --> 00:01:29.910 align:start position:0%
the physical address of the start of the
VPU's<00:01:27.880><c> MMIO</c><00:01:28.400><c> register</c><00:01:28.840><c> region,</c><00:01:29.560><c> which</c><00:01:29.760><c> it</c>

00:01:29.910 --> 00:01:29.920 align:start position:0%
VPU's MMIO register region, which it
 

00:01:29.920 --> 00:01:31.790 align:start position:0%
VPU's MMIO register region, which it
pulls<00:01:30.240><c> from</c><00:01:30.480><c> this</c><00:01:30.640><c> structure</c><00:01:31.040><c> right</c><00:01:31.200><c> here.</c>

00:01:31.790 --> 00:01:31.800 align:start position:0%
pulls from this structure right here.
 

00:01:31.800 --> 00:01:33.510 align:start position:0%
pulls from this structure right here.
And<00:01:31.920><c> then</c><00:01:32.000><c> it</c><00:01:32.120><c> shifts</c><00:01:32.440><c> that</c><00:01:32.640><c> down</c><00:01:32.960><c> by</c><00:01:33.080><c> the</c><00:01:33.200><c> page</c>

00:01:33.510 --> 00:01:33.520 align:start position:0%
And then it shifts that down by the page
 

00:01:33.520 --> 00:01:35.510 align:start position:0%
And then it shifts that down by the page
shift<00:01:33.800><c> amount</c><00:01:34.320><c> to</c><00:01:34.400><c> get</c><00:01:34.600><c> the</c><00:01:34.760><c> page</c><00:01:35.160><c> frame</c>

00:01:35.510 --> 00:01:35.520 align:start position:0%
shift amount to get the page frame
 

00:01:35.520 --> 00:01:38.630 align:start position:0%
shift amount to get the page frame
number<00:01:36.080><c> or</c><00:01:36.240><c> PFN</c><00:01:37.160><c> for</c><00:01:37.320><c> this</c><00:01:37.480><c> physical</c><00:01:37.840><c> page.</c>

00:01:38.630 --> 00:01:38.640 align:start position:0%
number or PFN for this physical page.
 

00:01:38.640 --> 00:01:40.430 align:start position:0%
number or PFN for this physical page.
This<00:01:38.880><c> is</c><00:01:39.000><c> the</c><00:01:39.080><c> physical</c><00:01:39.520><c> page</c><00:01:39.800><c> number</c><00:01:40.160><c> of</c><00:01:40.320><c> the</c>

00:01:40.430 --> 00:01:40.440 align:start position:0%
This is the physical page number of the
 

00:01:40.440 --> 00:01:42.550 align:start position:0%
This is the physical page number of the
dedicated<00:01:41.040><c> memory</c><00:01:41.360><c> area</c><00:01:41.800><c> that</c><00:01:41.920><c> the</c><00:01:42.000><c> VPU</c>

00:01:42.550 --> 00:01:42.560 align:start position:0%
dedicated memory area that the VPU
 

00:01:42.560 --> 00:01:44.870 align:start position:0%
dedicated memory area that the VPU
hardware<00:01:43.080><c> is</c><00:01:43.240><c> using</c><00:01:43.880><c> for</c><00:01:44.120><c> its</c><00:01:44.280><c> MMIO</c>

00:01:44.870 --> 00:01:44.880 align:start position:0%
hardware is using for its MMIO
 

00:01:44.880 --> 00:01:47.430 align:start position:0%
hardware is using for its MMIO
registers.<00:01:45.880><c> The</c><00:01:46.080><c> idea</c><00:01:46.520><c> is</c><00:01:46.680><c> to</c><00:01:46.840><c> share</c><00:01:47.200><c> this</c>

00:01:47.430 --> 00:01:47.440 align:start position:0%
registers. The idea is to share this
 

00:01:47.440 --> 00:01:49.190 align:start position:0%
registers. The idea is to share this
memory<00:01:47.880><c> with</c><00:01:48.120><c> the</c><00:01:48.240><c> calling</c><00:01:48.720><c> user</c><00:01:48.920><c> space</c>

00:01:49.190 --> 00:01:49.200 align:start position:0%
memory with the calling user space
 

00:01:49.200 --> 00:01:51.310 align:start position:0%
memory with the calling user space
process<00:01:50.120><c> so</c><00:01:50.280><c> that</c><00:01:50.400><c> it</c><00:01:50.480><c> will</c><00:01:50.520><c> be</c><00:01:50.680><c> able</c><00:01:50.920><c> to</c><00:01:51.080><c> read</c>

00:01:51.310 --> 00:01:51.320 align:start position:0%
process so that it will be able to read
 

00:01:51.320 --> 00:01:53.830 align:start position:0%
process so that it will be able to read
and<00:01:51.480><c> write</c><00:01:51.720><c> values</c><00:01:52.160><c> into</c><00:01:52.440><c> this</c><00:01:52.600><c> memory</c><00:01:52.880><c> area.</c>

00:01:53.830 --> 00:01:53.840 align:start position:0%
and write values into this memory area.
 

00:01:53.840 --> 00:01:55.830 align:start position:0%
and write values into this memory area.
The<00:01:54.000><c> VPU</c><00:01:54.440><c> hardware</c><00:01:54.800><c> directly</c><00:01:55.320><c> uses</c><00:01:55.680><c> this</c>

00:01:55.830 --> 00:01:55.840 align:start position:0%
The VPU hardware directly uses this
 

00:01:55.840 --> 00:01:58.150 align:start position:0%
The VPU hardware directly uses this
memory<00:01:56.320><c> as</c><00:01:56.520><c> its</c><00:01:56.720><c> MMIO</c><00:01:57.240><c> registers,</c><00:01:57.800><c> and</c><00:01:57.960><c> so</c>

00:01:58.150 --> 00:01:58.160 align:start position:0%
memory as its MMIO registers, and so
 

00:01:58.160 --> 00:01:59.750 align:start position:0%
memory as its MMIO registers, and so
video<00:01:58.440><c> decoding</c><00:01:58.880><c> operations</c><00:01:59.480><c> can</c><00:01:59.640><c> be</c>

00:01:59.750 --> 00:01:59.760 align:start position:0%
video decoding operations can be
 

00:01:59.760 --> 00:02:01.870 align:start position:0%
video decoding operations can be
triggered<00:02:00.200><c> via</c><00:02:00.440><c> this</c><00:02:00.600><c> interface.</c>

00:02:01.870 --> 00:02:01.880 align:start position:0%
triggered via this interface.
 

00:02:01.880 --> 00:02:03.910 align:start position:0%
triggered via this interface.
And<00:02:02.000><c> this</c><00:02:02.120><c> is</c><00:02:02.280><c> how</c><00:02:02.520><c> the</c><00:02:02.680><c> user</c><00:02:03.160><c> to</c><00:02:03.400><c> VPU</c>

00:02:03.910 --> 00:02:03.920 align:start position:0%
And this is how the user to VPU
 

00:02:03.920 --> 00:02:06.430 align:start position:0%
And this is how the user to VPU
interaction<00:02:04.640><c> is</c><00:02:04.880><c> intended</c><00:02:05.400><c> to</c><00:02:05.479><c> be</c><00:02:05.560><c> done.</c>

00:02:06.430 --> 00:02:06.440 align:start position:0%
interaction is intended to be done.
 

00:02:06.440 --> 00:02:07.790 align:start position:0%
interaction is intended to be done.
For<00:02:06.560><c> anyone</c><00:02:06.880><c> who's</c><00:02:07.120><c> unfamiliar</c><00:02:07.640><c> with</c><00:02:07.760><c> the</c>

00:02:07.790 --> 00:02:07.800 align:start position:0%
For anyone who's unfamiliar with the
 

00:02:07.800 --> 00:02:09.469 align:start position:0%
For anyone who's unfamiliar with the
concepts<00:02:08.280><c> of</c><00:02:08.399><c> virtual</c><00:02:08.759><c> memory,</c><00:02:09.280><c> let</c><00:02:09.399><c> me</c>

00:02:09.469 --> 00:02:09.479 align:start position:0%
concepts of virtual memory, let me
 

00:02:09.479 --> 00:02:10.950 align:start position:0%
concepts of virtual memory, let me
quickly<00:02:09.759><c> add</c><00:02:09.880><c> some</c><00:02:10.039><c> context</c><00:02:10.600><c> which</c><00:02:10.759><c> will</c><00:02:10.840><c> be</c>

00:02:10.950 --> 00:02:10.960 align:start position:0%
quickly add some context which will be
 

00:02:10.960 --> 00:02:12.350 align:start position:0%
quickly add some context which will be
required<00:02:11.440><c> in</c><00:02:11.560><c> order</c><00:02:11.760><c> to</c><00:02:11.920><c> understand</c><00:02:12.320><c> the</c>

00:02:12.350 --> 00:02:12.360 align:start position:0%
required in order to understand the
 

00:02:12.360 --> 00:02:14.230 align:start position:0%
required in order to understand the
vulnerability.<00:02:13.480><c> Everything</c><00:02:13.880><c> running</c><00:02:14.120><c> on</c>

00:02:14.230 --> 00:02:14.240 align:start position:0%
vulnerability. Everything running on
 

00:02:14.240 --> 00:02:16.430 align:start position:0%
vulnerability. Everything running on
your<00:02:14.360><c> computer</c><00:02:14.880><c> or</c><00:02:15.080><c> phone</c><00:02:15.640><c> lives</c><00:02:15.959><c> somewhere</c>

00:02:16.430 --> 00:02:16.440 align:start position:0%
your computer or phone lives somewhere
 

00:02:16.440 --> 00:02:18.190 align:start position:0%
your computer or phone lives somewhere
in<00:02:16.680><c> physical</c><00:02:17.040><c> memory.</c><00:02:17.720><c> But</c><00:02:17.840><c> almost</c>

00:02:18.190 --> 00:02:18.200 align:start position:0%
in physical memory. But almost
 

00:02:18.200 --> 00:02:19.750 align:start position:0%
in physical memory. But almost
everything<00:02:18.600><c> that</c><00:02:18.680><c> we</c><00:02:18.800><c> actually</c><00:02:19.200><c> interact</c>

00:02:19.750 --> 00:02:19.760 align:start position:0%
everything that we actually interact
 

00:02:19.760 --> 00:02:22.150 align:start position:0%
everything that we actually interact
with<00:02:19.959><c> as</c><00:02:20.160><c> programmers</c><00:02:20.800><c> or</c><00:02:21.040><c> general</c><00:02:21.440><c> users</c>

00:02:22.150 --> 00:02:22.160 align:start position:0%
with as programmers or general users
 

00:02:22.160 --> 00:02:24.270 align:start position:0%
with as programmers or general users
live<00:02:22.440><c> in</c><00:02:22.560><c> a</c><00:02:22.600><c> kind</c><00:02:22.880><c> of</c><00:02:23.000><c> fabricated</c><00:02:23.600><c> world</c><00:02:24.040><c> known</c>

00:02:24.270 --> 00:02:24.280 align:start position:0%
live in a kind of fabricated world known
 

00:02:24.280 --> 00:02:26.630 align:start position:0%
live in a kind of fabricated world known
as<00:02:24.560><c> virtual</c><00:02:25.000><c> memory.</c><00:02:25.800><c> The</c><00:02:25.880><c> kernel,</c><00:02:26.440><c> through</c>

00:02:26.630 --> 00:02:26.640 align:start position:0%
as virtual memory. The kernel, through
 

00:02:26.640 --> 00:02:28.750 align:start position:0%
as virtual memory. The kernel, through
its<00:02:26.840><c> clever</c><00:02:27.120><c> usage</c><00:02:27.560><c> of</c><00:02:27.680><c> its</c><00:02:27.880><c> own</c><00:02:28.160><c> bookkeeping</c>

00:02:28.750 --> 00:02:28.760 align:start position:0%
its clever usage of its own bookkeeping
 

00:02:28.760 --> 00:02:30.910 align:start position:0%
its clever usage of its own bookkeeping
logic<00:02:29.480><c> combined</c><00:02:29.920><c> with</c><00:02:30.040><c> the</c><00:02:30.160><c> hardware</c><00:02:30.560><c> magic</c>

00:02:30.910 --> 00:02:30.920 align:start position:0%
logic combined with the hardware magic
 

00:02:30.920 --> 00:02:33.430 align:start position:0%
logic combined with the hardware magic
of<00:02:31.000><c> the</c><00:02:31.160><c> MMU,</c><00:02:32.040><c> facilitates</c><00:02:32.720><c> this</c><00:02:32.880><c> illusion</c>

00:02:33.430 --> 00:02:33.440 align:start position:0%
of the MMU, facilitates this illusion
 

00:02:33.440 --> 00:02:35.310 align:start position:0%
of the MMU, facilitates this illusion
and<00:02:33.680><c> allows</c><00:02:34.120><c> processes</c><00:02:34.680><c> to</c><00:02:34.800><c> believe</c><00:02:35.200><c> they</c>

00:02:35.310 --> 00:02:35.320 align:start position:0%
and allows processes to believe they
 

00:02:35.320 --> 00:02:37.230 align:start position:0%
and allows processes to believe they
have<00:02:35.520><c> huge</c><00:02:35.840><c> amounts</c><00:02:36.120><c> of</c><00:02:36.200><c> memory</c><00:02:36.400><c> to</c><00:02:36.520><c> work</c><00:02:36.760><c> with</c>

00:02:37.230 --> 00:02:37.240 align:start position:0%
have huge amounts of memory to work with
 

00:02:37.240 --> 00:02:38.550 align:start position:0%
have huge amounts of memory to work with
and<00:02:37.400><c> that</c><00:02:37.520><c> they're</c><00:02:37.680><c> running</c><00:02:37.959><c> in</c><00:02:38.080><c> their</c><00:02:38.280><c> own</c>

00:02:38.550 --> 00:02:38.560 align:start position:0%
and that they're running in their own
 

00:02:38.560 --> 00:02:40.750 align:start position:0%
and that they're running in their own
isolated<00:02:39.080><c> address</c><00:02:39.360><c> spaces.</c><00:02:40.440><c> Behind</c><00:02:40.680><c> the</c>

00:02:40.750 --> 00:02:40.760 align:start position:0%
isolated address spaces. Behind the
 

00:02:40.760 --> 00:02:42.550 align:start position:0%
isolated address spaces. Behind the
scenes,<00:02:41.160><c> this</c><00:02:41.320><c> is</c><00:02:41.440><c> implemented</c><00:02:42.000><c> by</c><00:02:42.200><c> using</c>

00:02:42.550 --> 00:02:42.560 align:start position:0%
scenes, this is implemented by using
 

00:02:42.560 --> 00:02:44.550 align:start position:0%
scenes, this is implemented by using
structures<00:02:43.160><c> to</c><00:02:43.400><c> represent</c><00:02:43.920><c> virtual</c><00:02:44.280><c> address</c>

00:02:44.550 --> 00:02:44.560 align:start position:0%
structures to represent virtual address
 

00:02:44.560 --> 00:02:46.750 align:start position:0%
structures to represent virtual address
spaces<00:02:45.440><c> and</c><00:02:45.600><c> then</c><00:02:45.760><c> connecting</c><00:02:46.240><c> things</c><00:02:46.520><c> up</c><00:02:46.640><c> to</c>

00:02:46.750 --> 00:02:46.760 align:start position:0%
spaces and then connecting things up to
 

00:02:46.760 --> 00:02:49.190 align:start position:0%
spaces and then connecting things up to
the<00:02:46.840><c> physical</c><00:02:47.160><c> memory</c><00:02:47.400><c> pages</c><00:02:47.840><c> when</c><00:02:48.000><c> required.</c>

00:02:49.190 --> 00:02:49.200 align:start position:0%
the physical memory pages when required.
 

00:02:49.200 --> 00:02:51.390 align:start position:0%
the physical memory pages when required.
For<00:02:49.280><c> example,</c><00:02:49.760><c> on</c><00:02:49.959><c> Linux,</c><00:02:50.520><c> a</c><00:02:50.600><c> task's</c><00:02:51.120><c> memory</c>

00:02:51.390 --> 00:02:51.400 align:start position:0%
For example, on Linux, a task's memory
 

00:02:51.400 --> 00:02:53.710 align:start position:0%
For example, on Linux, a task's memory
map<00:02:51.640><c> consists</c><00:02:52.160><c> of</c><00:02:52.240><c> a</c><00:02:52.320><c> bunch</c><00:02:52.680><c> of</c><00:02:52.880><c> VM</c><00:02:53.360><c> area</c>

00:02:53.710 --> 00:02:53.720 align:start position:0%
map consists of a bunch of VM area
 

00:02:53.720 --> 00:02:55.910 align:start position:0%
map consists of a bunch of VM area
structures<00:02:54.600><c> which</c><00:02:54.920><c> represent</c><00:02:55.400><c> ranges</c><00:02:55.840><c> of</c>

00:02:55.910 --> 00:02:55.920 align:start position:0%
structures which represent ranges of
 

00:02:55.920 --> 00:02:57.470 align:start position:0%
structures which represent ranges of
virtual<00:02:56.240><c> memory</c><00:02:56.440><c> space.</c>

00:02:57.470 --> 00:02:57.480 align:start position:0%
virtual memory space.
 

00:02:57.480 --> 00:02:59.110 align:start position:0%
virtual memory space.
These<00:02:57.680><c> structures</c><00:02:58.160><c> don't</c><00:02:58.360><c> necessarily</c><00:02:58.959><c> have</c>

00:02:59.110 --> 00:02:59.120 align:start position:0%
These structures don't necessarily have
 

00:02:59.120 --> 00:03:01.110 align:start position:0%
These structures don't necessarily have
any<00:02:59.280><c> real</c><00:02:59.519><c> physical</c><00:02:59.920><c> pages</c><00:03:00.320><c> backing</c><00:03:00.680><c> them.</c>

00:03:01.110 --> 00:03:01.120 align:start position:0%
any real physical pages backing them.
 

00:03:01.120 --> 00:03:02.590 align:start position:0%
any real physical pages backing them.
They're<00:03:01.239><c> just</c><00:03:01.480><c> describing</c><00:03:02.120><c> a</c><00:03:02.200><c> virtual</c>

00:03:02.590 --> 00:03:02.600 align:start position:0%
They're just describing a virtual
 

00:03:02.600 --> 00:03:04.990 align:start position:0%
They're just describing a virtual
address<00:03:02.880><c> space</c><00:03:03.320><c> that</c><00:03:03.400><c> the</c><00:03:03.480><c> process</c><00:03:03.880><c> can</c><00:03:04.080><c> use.</c>

00:03:04.990 --> 00:03:05.000 align:start position:0%
address space that the process can use.
 

00:03:05.000 --> 00:03:06.270 align:start position:0%
address space that the process can use.
It's<00:03:05.160><c> only</c><00:03:05.440><c> when</c><00:03:05.600><c> the</c><00:03:05.680><c> process</c><00:03:06.040><c> actually</c>

00:03:06.270 --> 00:03:06.280 align:start position:0%
It's only when the process actually
 

00:03:06.280 --> 00:03:08.190 align:start position:0%
It's only when the process actually
tries<00:03:06.560><c> to</c><00:03:06.760><c> read</c><00:03:07.080><c> or</c><00:03:07.280><c> write</c><00:03:07.600><c> to</c><00:03:07.760><c> a</c><00:03:07.800><c> virtual</c>

00:03:08.190 --> 00:03:08.200 align:start position:0%
tries to read or write to a virtual
 

00:03:08.200 --> 00:03:10.190 align:start position:0%
tries to read or write to a virtual
address<00:03:08.600><c> within</c><00:03:08.880><c> a</c><00:03:08.959><c> given</c><00:03:09.200><c> range</c><00:03:09.880><c> that</c><00:03:10.080><c> the</c>

00:03:10.190 --> 00:03:10.200 align:start position:0%
address within a given range that the
 

00:03:10.200 --> 00:03:11.870 align:start position:0%
address within a given range that the
kernel<00:03:10.519><c> fault</c><00:03:10.800><c> handler</c><00:03:11.160><c> will</c><00:03:11.320><c> carry</c><00:03:11.640><c> out</c><00:03:11.760><c> the</c>

00:03:11.870 --> 00:03:11.880 align:start position:0%
kernel fault handler will carry out the
 

00:03:11.880 --> 00:03:13.750 align:start position:0%
kernel fault handler will carry out the
logic<00:03:12.280><c> to</c><00:03:12.480><c> locate</c><00:03:12.880><c> the</c><00:03:13.000><c> appropriate</c><00:03:13.440><c> physical</c>

00:03:13.750 --> 00:03:13.760 align:start position:0%
logic to locate the appropriate physical
 

00:03:13.760 --> 00:03:16.270 align:start position:0%
logic to locate the appropriate physical
page,<00:03:14.519><c> modify</c><00:03:14.920><c> page</c><00:03:15.200><c> table</c><00:03:15.440><c> entries,</c><00:03:16.000><c> and</c>

00:03:16.270 --> 00:03:16.280 align:start position:0%
page, modify page table entries, and
 

00:03:16.280 --> 00:03:17.630 align:start position:0%
page, modify page table entries, and
ultimately<00:03:16.760><c> allow</c><00:03:17.000><c> the</c><00:03:17.080><c> memory</c><00:03:17.400><c> to</c><00:03:17.519><c> be</c>

00:03:17.630 --> 00:03:17.640 align:start position:0%
ultimately allow the memory to be
 

00:03:17.640 --> 00:03:18.870 align:start position:0%
ultimately allow the memory to be
accessed.

00:03:18.870 --> 00:03:18.880 align:start position:0%
accessed.
 

00:03:18.880 --> 00:03:20.310 align:start position:0%
accessed.
One<00:03:19.000><c> important</c><00:03:19.360><c> feature</c><00:03:19.640><c> that</c><00:03:19.760><c> we</c><00:03:19.880><c> get</c><00:03:20.120><c> from</c>

00:03:20.310 --> 00:03:20.320 align:start position:0%
One important feature that we get from
 

00:03:20.320 --> 00:03:22.229 align:start position:0%
One important feature that we get from
having<00:03:20.600><c> a</c><00:03:20.680><c> virtual</c><00:03:21.040><c> memory</c><00:03:21.280><c> subsystem</c><00:03:21.959><c> is</c><00:03:22.120><c> the</c>

00:03:22.229 --> 00:03:22.239 align:start position:0%
having a virtual memory subsystem is the
 

00:03:22.239 --> 00:03:24.030 align:start position:0%
having a virtual memory subsystem is the
ability<00:03:22.720><c> to</c><00:03:22.840><c> do</c><00:03:23.040><c> all</c><00:03:23.200><c> kinds</c><00:03:23.519><c> of</c><00:03:23.720><c> memory</c>

00:03:24.030 --> 00:03:24.040 align:start position:0%
ability to do all kinds of memory
 

00:03:24.040 --> 00:03:26.310 align:start position:0%
ability to do all kinds of memory
sharing<00:03:24.519><c> tricks</c><00:03:25.160><c> by</c><00:03:25.320><c> manipulating</c><00:03:26.080><c> these</c>

00:03:26.310 --> 00:03:26.320 align:start position:0%
sharing tricks by manipulating these
 

00:03:26.320 --> 00:03:28.590 align:start position:0%
sharing tricks by manipulating these
higher-level<00:03:26.800><c> structures.</c><00:03:27.800><c> For</c><00:03:27.880><c> example,</c><00:03:28.360><c> we</c>

00:03:28.590 --> 00:03:28.600 align:start position:0%
higher-level structures. For example, we
 

00:03:28.600 --> 00:03:30.710 align:start position:0%
higher-level structures. For example, we
can<00:03:28.880><c> copy</c><00:03:29.160><c> huge</c><00:03:29.519><c> amounts</c><00:03:29.800><c> of</c><00:03:29.880><c> data</c><00:03:30.320><c> in</c><00:03:30.440><c> almost</c>

00:03:30.710 --> 00:03:30.720 align:start position:0%
can copy huge amounts of data in almost
 

00:03:30.720 --> 00:03:32.750 align:start position:0%
can copy huge amounts of data in almost
no<00:03:30.920><c> time</c><00:03:31.160><c> at</c><00:03:31.320><c> all</c><00:03:31.600><c> by</c><00:03:31.720><c> just</c><00:03:31.959><c> changing</c><00:03:32.519><c> which</c>

00:03:32.750 --> 00:03:32.760 align:start position:0%
no time at all by just changing which
 

00:03:32.760 --> 00:03:34.390 align:start position:0%
no time at all by just changing which
virtual<00:03:33.160><c> addresses</c><00:03:33.720><c> point</c><00:03:34.040><c> to</c><00:03:34.160><c> which</c>

00:03:34.390 --> 00:03:34.400 align:start position:0%
virtual addresses point to which
 

00:03:34.400 --> 00:03:35.750 align:start position:0%
virtual addresses point to which
physical<00:03:34.720><c> addresses,</c>

00:03:35.750 --> 00:03:35.760 align:start position:0%
physical addresses,
 

00:03:35.760 --> 00:03:37.470 align:start position:0%
physical addresses,
and<00:03:36.000><c> similarly,</c><00:03:36.440><c> we</c><00:03:36.560><c> can</c><00:03:36.720><c> create</c><00:03:37.080><c> shared</c>

00:03:37.470 --> 00:03:37.480 align:start position:0%
and similarly, we can create shared
 

00:03:37.480 --> 00:03:39.150 align:start position:0%
and similarly, we can create shared
memory<00:03:37.720><c> setups</c><00:03:38.320><c> by</c><00:03:38.480><c> having</c><00:03:38.760><c> different</c>

00:03:39.150 --> 00:03:39.160 align:start position:0%
memory setups by having different
 

00:03:39.160 --> 00:03:41.270 align:start position:0%
memory setups by having different
virtual<00:03:39.519><c> address</c><00:03:39.840><c> ranges</c><00:03:40.560><c> mapped</c><00:03:41.080><c> to</c><00:03:41.160><c> the</c>

00:03:41.270 --> 00:03:41.280 align:start position:0%
virtual address ranges mapped to the
 

00:03:41.280 --> 00:03:43.910 align:start position:0%
virtual address ranges mapped to the
same<00:03:41.720><c> underlying</c><00:03:42.280><c> physical</c><00:03:42.680><c> pages.</c>

00:03:43.910 --> 00:03:43.920 align:start position:0%
same underlying physical pages.
 

00:03:43.920 --> 00:03:45.270 align:start position:0%
same underlying physical pages.
I<00:03:44.000><c> have</c><00:03:44.120><c> a</c><00:03:44.160><c> separate</c><00:03:44.560><c> dedicated</c><00:03:45.000><c> video</c>

00:03:45.270 --> 00:03:45.280 align:start position:0%
I have a separate dedicated video
 

00:03:45.280 --> 00:03:46.870 align:start position:0%
I have a separate dedicated video
looking<00:03:45.519><c> more</c><00:03:45.680><c> closely</c><00:03:46.160><c> into</c><00:03:46.440><c> the</c><00:03:46.560><c> actual</c>

00:03:46.870 --> 00:03:46.880 align:start position:0%
looking more closely into the actual
 

00:03:46.880 --> 00:03:49.350 align:start position:0%
looking more closely into the actual
virtual<00:03:47.239><c> memory</c><00:03:47.480><c> implementation</c><00:03:48.600><c> in</c><00:03:48.800><c> the</c><00:03:49.000><c> iOS</c>

00:03:49.350 --> 00:03:49.360 align:start position:0%
virtual memory implementation in the iOS
 

00:03:49.360 --> 00:03:51.630 align:start position:0%
virtual memory implementation in the iOS
and<00:03:49.480><c> macOS</c><00:03:49.840><c> kernel</c><00:03:50.560><c> on</c><00:03:50.760><c> how</c><00:03:50.959><c> memory</c><00:03:51.280><c> copying</c>

00:03:51.630 --> 00:03:51.640 align:start position:0%
and macOS kernel on how memory copying
 

00:03:51.640 --> 00:03:54.550 align:start position:0%
and macOS kernel on how memory copying
works,<00:03:52.160><c> sharing,</c><00:03:52.880><c> and</c><00:03:53.240><c> copy-on-write.</c><00:03:54.360><c> So,</c>

00:03:54.550 --> 00:03:54.560 align:start position:0%
works, sharing, and copy-on-write. So,
 

00:03:54.560 --> 00:03:55.910 align:start position:0%
works, sharing, and copy-on-write. So,
take<00:03:54.720><c> a</c><00:03:54.760><c> look</c><00:03:54.920><c> at</c><00:03:55.000><c> that</c><00:03:55.200><c> if</c><00:03:55.360><c> you're</c><00:03:55.480><c> interested</c>

00:03:55.910 --> 00:03:55.920 align:start position:0%
take a look at that if you're interested
 

00:03:55.920 --> 00:03:57.830 align:start position:0%
take a look at that if you're interested
in<00:03:56.000><c> more</c><00:03:56.160><c> details.</c><00:03:57.000><c> So,</c><00:03:57.120><c> now</c><00:03:57.320><c> back</c><00:03:57.640><c> to</c><00:03:57.760><c> the</c>

00:03:57.830 --> 00:03:57.840 align:start position:0%
in more details. So, now back to the
 

00:03:57.840 --> 00:04:00.310 align:start position:0%
in more details. So, now back to the
Pixel<00:03:58.200><c> 10's</c><00:03:58.560><c> VPU</c><00:03:58.960><c> driver.</c><00:03:59.760><c> When</c><00:03:59.880><c> the</c><00:03:59.960><c> driver</c>

00:04:00.310 --> 00:04:00.320 align:start position:0%
Pixel 10's VPU driver. When the driver
 

00:04:00.320 --> 00:04:03.230 align:start position:0%
Pixel 10's VPU driver. When the driver
wants<00:04:00.520><c> to</c><00:04:00.720><c> share</c><00:04:01.200><c> or</c><00:04:01.360><c> map</c><00:04:01.840><c> the</c><00:04:01.960><c> VPU's</c><00:04:02.680><c> MMIO</c>

00:04:03.230 --> 00:04:03.240 align:start position:0%
wants to share or map the VPU's MMIO
 

00:04:03.240 --> 00:04:05.430 align:start position:0%
wants to share or map the VPU's MMIO
region<00:04:03.640><c> to</c><00:04:03.800><c> user</c><00:04:04.040><c> space,</c><00:04:04.920><c> what</c><00:04:05.080><c> it's</c><00:04:05.200><c> really</c>

00:04:05.430 --> 00:04:05.440 align:start position:0%
region to user space, what it's really
 

00:04:05.440 --> 00:04:07.230 align:start position:0%
region to user space, what it's really
intending<00:04:05.800><c> to</c><00:04:05.880><c> do</c><00:04:06.160><c> is</c><00:04:06.360><c> have</c><00:04:06.600><c> some</c><00:04:06.880><c> virtual</c>

00:04:07.230 --> 00:04:07.240 align:start position:0%
intending to do is have some virtual
 

00:04:07.240 --> 00:04:09.510 align:start position:0%
intending to do is have some virtual
pages<00:04:07.760><c> within</c><00:04:08.000><c> the</c><00:04:08.080><c> user</c><00:04:08.320><c> space</c><00:04:08.640><c> process</c>

00:04:09.510 --> 00:04:09.520 align:start position:0%
pages within the user space process
 

00:04:09.520 --> 00:04:11.190 align:start position:0%
pages within the user space process
point<00:04:09.880><c> to</c><00:04:10.000><c> the</c><00:04:10.080><c> physical</c><00:04:10.520><c> pages</c><00:04:10.920><c> that</c><00:04:11.080><c> are</c>

00:04:11.190 --> 00:04:11.200 align:start position:0%
point to the physical pages that are
 

00:04:11.200 --> 00:04:14.230 align:start position:0%
point to the physical pages that are
used<00:04:11.760><c> for</c><00:04:11.959><c> this</c><00:04:12.160><c> VPU</c><00:04:12.760><c> MMIO</c><00:04:13.280><c> region.</c><00:04:14.080><c> To</c>

00:04:14.230 --> 00:04:14.240 align:start position:0%
used for this VPU MMIO region. To
 

00:04:14.240 --> 00:04:16.110 align:start position:0%
used for this VPU MMIO region. To
actually<00:04:14.520><c> perform</c><00:04:14.880><c> this</c><00:04:15.040><c> mapping</c><00:04:15.400><c> operation,</c>

00:04:16.110 --> 00:04:16.120 align:start position:0%
actually perform this mapping operation,
 

00:04:16.120 --> 00:04:19.990 align:start position:0%
actually perform this mapping operation,
the<00:04:16.320><c> VPU</c><00:04:16.880><c> Mmap</c><00:04:17.239><c> function</c><00:04:17.760><c> calls</c><00:04:18.400><c> remap_pfn_</c>

00:04:19.990 --> 00:04:20.000 align:start position:0%
the VPU Mmap function calls remap_pfn_
 

00:04:20.000 --> 00:04:22.470 align:start position:0%
the VPU Mmap function calls remap_pfn_
range,<00:04:20.840><c> which</c><00:04:21.040><c> will</c><00:04:21.160><c> map</c><00:04:21.519><c> a</c><00:04:21.600><c> specified</c><00:04:22.200><c> number</c>

00:04:22.470 --> 00:04:22.480 align:start position:0%
range, which will map a specified number
 

00:04:22.480 --> 00:04:24.590 align:start position:0%
range, which will map a specified number
of<00:04:22.600><c> physical</c><00:04:23.000><c> pages</c><00:04:23.800><c> into</c><00:04:24.080><c> the</c><00:04:24.200><c> virtual</c>

00:04:24.590 --> 00:04:24.600 align:start position:0%
of physical pages into the virtual
 

00:04:24.600 --> 00:04:26.390 align:start position:0%
of physical pages into the virtual
region<00:04:24.919><c> that</c><00:04:25.040><c> was</c><00:04:25.200><c> passed</c><00:04:25.560><c> in</c><00:04:25.800><c> as</c><00:04:26.000><c> the</c><00:04:26.120><c> second</c>

00:04:26.390 --> 00:04:26.400 align:start position:0%
region that was passed in as the second
 

00:04:26.400 --> 00:04:28.790 align:start position:0%
region that was passed in as the second
argument.<00:04:27.160><c> This</c><00:04:27.360><c> second</c><00:04:27.600><c> argument</c><00:04:28.000><c> is</c><00:04:28.240><c> a</c><00:04:28.320><c> VM</c>

00:04:28.790 --> 00:04:28.800 align:start position:0%
argument. This second argument is a VM
 

00:04:28.800 --> 00:04:30.590 align:start position:0%
argument. This second argument is a VM
area<00:04:29.120><c> structure,</c><00:04:29.680><c> which</c><00:04:29.919><c> as</c><00:04:30.080><c> I</c><00:04:30.120><c> mentioned</c>

00:04:30.590 --> 00:04:30.600 align:start position:0%
area structure, which as I mentioned
 

00:04:30.600 --> 00:04:32.670 align:start position:0%
area structure, which as I mentioned
represents<00:04:31.080><c> some</c><00:04:31.320><c> slice</c><00:04:31.760><c> of</c><00:04:31.919><c> virtual</c><00:04:32.280><c> memory</c>

00:04:32.670 --> 00:04:32.680 align:start position:0%
represents some slice of virtual memory
 

00:04:32.680 --> 00:04:34.670 align:start position:0%
represents some slice of virtual memory
in<00:04:32.840><c> the</c><00:04:32.960><c> calling</c><00:04:33.280><c> process.</c><00:04:34.120><c> In</c><00:04:34.240><c> this</c><00:04:34.360><c> case,</c>

00:04:34.670 --> 00:04:34.680 align:start position:0%
in the calling process. In this case,
 

00:04:34.680 --> 00:04:36.190 align:start position:0%
in the calling process. In this case,
it's<00:04:34.840><c> a</c><00:04:34.960><c> freshly</c><00:04:35.400><c> allocated</c><00:04:35.880><c> region</c><00:04:36.120><c> of</c>

00:04:36.190 --> 00:04:36.200 align:start position:0%
it's a freshly allocated region of
 

00:04:36.200 --> 00:04:38.110 align:start position:0%
it's a freshly allocated region of
virtual<00:04:36.520><c> memory</c><00:04:36.840><c> provided</c><00:04:37.400><c> by</c><00:04:37.520><c> the</c><00:04:37.680><c> kernel's</c>

00:04:38.110 --> 00:04:38.120 align:start position:0%
virtual memory provided by the kernel's
 

00:04:38.120 --> 00:04:40.350 align:start position:0%
virtual memory provided by the kernel's
main<00:04:38.520><c> Mmap</c><00:04:38.919><c> handler</c><00:04:39.640><c> higher</c><00:04:39.919><c> up</c><00:04:40.040><c> in</c><00:04:40.080><c> the</c><00:04:40.160><c> call</c>

00:04:40.350 --> 00:04:40.360 align:start position:0%
main Mmap handler higher up in the call
 

00:04:40.360 --> 00:04:41.950 align:start position:0%
main Mmap handler higher up in the call
stack.<00:04:41.120><c> Now,</c><00:04:41.280><c> here's</c><00:04:41.560><c> the</c><00:04:41.680><c> actual</c>

00:04:41.950 --> 00:04:41.960 align:start position:0%
stack. Now, here's the actual
 

00:04:41.960 --> 00:04:43.630 align:start position:0%
stack. Now, here's the actual
vulnerability.<00:04:42.960><c> In</c><00:04:43.080><c> the</c><00:04:43.200><c> call</c><00:04:43.480><c> to</c>

00:04:43.630 --> 00:04:43.640 align:start position:0%
vulnerability. In the call to
 

00:04:43.640 --> 00:04:45.190 align:start position:0%
vulnerability. In the call to
remap_pfn_range,

00:04:45.190 --> 00:04:45.200 align:start position:0%
remap_pfn_range,
 

00:04:45.200 --> 00:04:47.310 align:start position:0%
remap_pfn_range,
the<00:04:45.320><c> driver</c><00:04:45.760><c> happily</c><00:04:46.120><c> passes</c><00:04:46.520><c> in</c><00:04:46.640><c> the</c><00:04:46.760><c> exact</c>

00:04:47.310 --> 00:04:47.320 align:start position:0%
the driver happily passes in the exact
 

00:04:47.320 --> 00:04:49.030 align:start position:0%
the driver happily passes in the exact
size<00:04:47.720><c> that</c><00:04:47.840><c> the</c><00:04:47.919><c> user</c><00:04:48.240><c> specified</c><00:04:48.840><c> for</c><00:04:48.960><c> the</c>

00:04:49.030 --> 00:04:49.040 align:start position:0%
size that the user specified for the
 

00:04:49.040 --> 00:04:51.390 align:start position:0%
size that the user specified for the
mapping<00:04:49.760><c> as</c><00:04:50.000><c> the</c><00:04:50.040><c> fourth</c><00:04:50.360><c> argument</c><00:04:51.080><c> without</c>

00:04:51.390 --> 00:04:51.400 align:start position:0%
mapping as the fourth argument without
 

00:04:51.400 --> 00:04:53.550 align:start position:0%
mapping as the fourth argument without
performing<00:04:51.919><c> a</c><00:04:52.000><c> single</c><00:04:52.480><c> sanity</c><00:04:52.840><c> check</c><00:04:53.080><c> on</c><00:04:53.240><c> it.</c>

00:04:53.550 --> 00:04:53.560 align:start position:0%
performing a single sanity check on it.
 

00:04:53.560 --> 00:04:55.750 align:start position:0%
performing a single sanity check on it.
This<00:04:53.800><c> fourth</c><00:04:54.120><c> argument</c><00:04:54.600><c> determines</c><00:04:55.120><c> the</c><00:04:55.240><c> size</c>

00:04:55.750 --> 00:04:55.760 align:start position:0%
This fourth argument determines the size
 

00:04:55.760 --> 00:04:57.990 align:start position:0%
This fourth argument determines the size
of<00:04:55.880><c> the</c><00:04:56.000><c> region</c><00:04:56.520><c> to</c><00:04:56.680><c> remap,</c><00:04:57.520><c> or</c><00:04:57.760><c> in</c><00:04:57.840><c> other</c>

00:04:57.990 --> 00:04:58.000 align:start position:0%
of the region to remap, or in other
 

00:04:58.000 --> 00:05:00.590 align:start position:0%
of the region to remap, or in other
words,<00:04:58.520><c> how</c><00:04:58.720><c> many</c><00:04:59.000><c> physical</c><00:04:59.360><c> pages</c><00:05:00.000><c> starting</c>

00:05:00.590 --> 00:05:00.600 align:start position:0%
words, how many physical pages starting
 

00:05:00.600 --> 00:05:03.590 align:start position:0%
words, how many physical pages starting
from<00:05:00.840><c> the</c><00:05:00.919><c> VPU's</c><00:05:01.560><c> MMIO</c><00:05:02.080><c> first</c><00:05:02.520><c> physical</c><00:05:02.840><c> page</c>

00:05:03.590 --> 00:05:03.600 align:start position:0%
from the VPU's MMIO first physical page
 

00:05:03.600 --> 00:05:05.430 align:start position:0%
from the VPU's MMIO first physical page
should<00:05:03.840><c> be</c><00:05:04.000><c> mapped</c><00:05:04.480><c> into</c><00:05:04.760><c> the</c><00:05:04.880><c> user</c><00:05:05.160><c> space</c>

00:05:05.430 --> 00:05:05.440 align:start position:0%
should be mapped into the user space
 

00:05:05.440 --> 00:05:07.590 align:start position:0%
should be mapped into the user space
process<00:05:05.800><c> address</c><00:05:06.040><c> space.</c><00:05:06.840><c> By</c><00:05:07.000><c> specifying</c><00:05:07.560><c> a</c>

00:05:07.590 --> 00:05:07.600 align:start position:0%
process address space. By specifying a
 

00:05:07.600 --> 00:05:09.870 align:start position:0%
process address space. By specifying a
size<00:05:08.040><c> larger</c><00:05:08.520><c> than</c><00:05:08.680><c> the</c><00:05:08.800><c> register</c><00:05:09.200><c> region</c><00:05:09.760><c> in</c>

00:05:09.870 --> 00:05:09.880 align:start position:0%
size larger than the register region in
 

00:05:09.880 --> 00:05:12.350 align:start position:0%
size larger than the register region in
an<00:05:10.000><c> Mmap</c><00:05:10.360><c> syscall,</c><00:05:11.160><c> the</c><00:05:11.280><c> caller</c><00:05:11.680><c> can</c><00:05:11.880><c> map</c><00:05:12.200><c> as</c>

00:05:12.350 --> 00:05:12.360 align:start position:0%
an Mmap syscall, the caller can map as
 

00:05:12.360 --> 00:05:14.350 align:start position:0%
an Mmap syscall, the caller can map as
much<00:05:12.720><c> physical</c><00:05:13.080><c> memory</c><00:05:13.360><c> as</c><00:05:13.480><c> they</c><00:05:13.600><c> want</c><00:05:14.040><c> into</c>

00:05:14.350 --> 00:05:14.360 align:start position:0%
much physical memory as they want into
 

00:05:14.360 --> 00:05:16.470 align:start position:0%
much physical memory as they want into
user<00:05:14.560><c> space</c><00:05:15.240><c> starting</c><00:05:15.800><c> at</c><00:05:15.960><c> that</c><00:05:16.120><c> physical</c>

00:05:16.470 --> 00:05:16.480 align:start position:0%
user space starting at that physical
 

00:05:16.480 --> 00:05:19.030 align:start position:0%
user space starting at that physical
address<00:05:16.960><c> of</c><00:05:17.160><c> the</c><00:05:17.320><c> VPU</c><00:05:17.800><c> register</c><00:05:18.120><c> region.</c><00:05:18.960><c> So,</c>

00:05:19.030 --> 00:05:19.040 align:start position:0%
address of the VPU register region. So,
 

00:05:19.040 --> 00:05:21.470 align:start position:0%
address of the VPU register region. So,
for<00:05:19.160><c> example,</c><00:05:19.680><c> if</c><00:05:19.840><c> the</c><00:05:19.960><c> VPU's</c><00:05:20.640><c> MMIO</c><00:05:21.200><c> region</c>

00:05:21.470 --> 00:05:21.480 align:start position:0%
for example, if the VPU's MMIO region
 

00:05:21.480 --> 00:05:23.909 align:start position:0%
for example, if the VPU's MMIO region
consists<00:05:22.040><c> of</c><00:05:22.160><c> just</c><00:05:22.400><c> one</c><00:05:22.640><c> physical</c><00:05:23.040><c> page,</c><00:05:23.760><c> but</c>

00:05:23.909 --> 00:05:23.919 align:start position:0%
consists of just one physical page, but
 

00:05:23.919 --> 00:05:26.590 align:start position:0%
consists of just one physical page, but
we<00:05:24.040><c> pass</c><00:05:24.400><c> in</c><00:05:24.600><c> a</c><00:05:24.680><c> size</c><00:05:25.200><c> of</c><00:05:25.400><c> four</c><00:05:25.600><c> pages,</c><00:05:26.520><c> the</c>

00:05:26.590 --> 00:05:26.600 align:start position:0%
we pass in a size of four pages, the
 

00:05:26.600 --> 00:05:28.790 align:start position:0%
we pass in a size of four pages, the
driver<00:05:27.040><c> happily</c><00:05:27.440><c> extends</c><00:05:28.000><c> past</c><00:05:28.320><c> this</c><00:05:28.600><c> and</c>

00:05:28.790 --> 00:05:28.800 align:start position:0%
driver happily extends past this and
 

00:05:28.800 --> 00:05:31.070 align:start position:0%
driver happily extends past this and
maps<00:05:29.200><c> all</c><00:05:29.400><c> four</c><00:05:29.680><c> of</c><00:05:29.760><c> those</c><00:05:29.960><c> physical</c><00:05:30.280><c> pages</c>

00:05:31.070 --> 00:05:31.080 align:start position:0%
maps all four of those physical pages
 

00:05:31.080 --> 00:05:32.750 align:start position:0%
maps all four of those physical pages
into<00:05:31.400><c> our</c><00:05:31.520><c> user</c><00:05:31.800><c> space</c><00:05:32.080><c> virtual</c><00:05:32.440><c> address</c>

00:05:32.750 --> 00:05:32.760 align:start position:0%
into our user space virtual address
 

00:05:32.760 --> 00:05:34.710 align:start position:0%
into our user space virtual address
range.<00:05:33.440><c> Any</c><00:05:33.680><c> data</c><00:05:34.040><c> that</c><00:05:34.200><c> happens</c><00:05:34.520><c> to</c><00:05:34.600><c> be</c>

00:05:34.710 --> 00:05:34.720 align:start position:0%
range. Any data that happens to be
 

00:05:34.720 --> 00:05:37.150 align:start position:0%
range. Any data that happens to be
sitting<00:05:35.200><c> on</c><00:05:35.320><c> these</c><00:05:35.520><c> adjacent</c><00:05:36.120><c> physical</c><00:05:36.480><c> pages</c>

00:05:37.150 --> 00:05:37.160 align:start position:0%
sitting on these adjacent physical pages
 

00:05:37.160 --> 00:05:39.230 align:start position:0%
sitting on these adjacent physical pages
becomes<00:05:37.560><c> directly</c><00:05:38.080><c> accessible</c><00:05:38.720><c> to</c><00:05:38.880><c> our</c><00:05:39.000><c> user</c>

00:05:39.230 --> 00:05:39.240 align:start position:0%
becomes directly accessible to our user
 

00:05:39.240 --> 00:05:41.430 align:start position:0%
becomes directly accessible to our user
space<00:05:39.480><c> process.</c><00:05:40.400><c> And</c><00:05:40.640><c> as</c><00:05:40.760><c> it</c><00:05:40.880><c> turns</c><00:05:41.160><c> out,</c><00:05:41.320><c> the</c>

00:05:41.430 --> 00:05:41.440 align:start position:0%
space process. And as it turns out, the
 

00:05:41.440 --> 00:05:43.550 align:start position:0%
space process. And as it turns out, the
entire<00:05:41.919><c> kernel</c><00:05:42.240><c> image</c><00:05:42.560><c> is</c><00:05:42.720><c> located</c><00:05:43.360><c> at</c><00:05:43.480><c> a</c>

00:05:43.550 --> 00:05:43.560 align:start position:0%
entire kernel image is located at a
 

00:05:43.560 --> 00:05:45.630 align:start position:0%
entire kernel image is located at a
physical<00:05:43.919><c> address</c><00:05:44.560><c> somewhere</c><00:05:45.080><c> after</c><00:05:45.440><c> this</c>

00:05:45.630 --> 00:05:45.640 align:start position:0%
physical address somewhere after this
 

00:05:45.640 --> 00:05:48.950 align:start position:0%
physical address somewhere after this
VPU<00:05:46.280><c> MMIO</c><00:05:46.800><c> region.</c><00:05:47.600><c> So,</c><00:05:47.960><c> if</c><00:05:48.120><c> we</c><00:05:48.240><c> can</c><00:05:48.440><c> M</c><00:05:48.600><c> map</c><00:05:48.880><c> a</c>

00:05:48.950 --> 00:05:48.960 align:start position:0%
VPU MMIO region. So, if we can M map a
 

00:05:48.960 --> 00:05:50.950 align:start position:0%
VPU MMIO region. So, if we can M map a
large<00:05:49.320><c> enough</c><00:05:49.560><c> size</c><00:05:49.880><c> here,</c><00:05:50.280><c> we'll</c><00:05:50.480><c> end</c><00:05:50.720><c> up</c>

00:05:50.950 --> 00:05:50.960 align:start position:0%
large enough size here, we'll end up
 

00:05:50.960 --> 00:05:52.710 align:start position:0%
large enough size here, we'll end up
with<00:05:51.080><c> a</c><00:05:51.160><c> large</c><00:05:51.520><c> virtual</c><00:05:51.920><c> address</c><00:05:52.240><c> range</c><00:05:52.560><c> in</c>

00:05:52.710 --> 00:05:52.720 align:start position:0%
with a large virtual address range in
 

00:05:52.720 --> 00:05:54.990 align:start position:0%
with a large virtual address range in
our<00:05:52.840><c> user</c><00:05:53.120><c> space</c><00:05:53.360><c> process</c><00:05:54.120><c> that</c><00:05:54.280><c> contains</c><00:05:54.880><c> the</c>

00:05:54.990 --> 00:05:55.000 align:start position:0%
our user space process that contains the
 

00:05:55.000 --> 00:05:57.230 align:start position:0%
our user space process that contains the
entire<00:05:55.520><c> kernel's</c><00:05:55.920><c> memory</c><00:05:56.160><c> space.</c>

00:05:57.230 --> 00:05:57.240 align:start position:0%
entire kernel's memory space.
 

00:05:57.240 --> 00:05:59.030 align:start position:0%
entire kernel's memory space.
Making<00:05:57.560><c> this</c><00:05:57.760><c> basically</c><00:05:58.240><c> the</c><00:05:58.320><c> most</c><00:05:58.520><c> powerful</c>

00:05:59.030 --> 00:05:59.040 align:start position:0%
Making this basically the most powerful
 

00:05:59.040 --> 00:06:01.350 align:start position:0%
Making this basically the most powerful
out-of-bounds<00:05:59.560><c> primitive</c><00:06:00.000><c> you</c><00:06:00.120><c> can</c><00:06:00.240><c> imagine.</c>

00:06:01.350 --> 00:06:01.360 align:start position:0%
out-of-bounds primitive you can imagine.
 

00:06:01.360 --> 00:06:03.270 align:start position:0%
out-of-bounds primitive you can imagine.
And<00:06:01.520><c> again,</c><00:06:01.840><c> just</c><00:06:02.040><c> to</c><00:06:02.120><c> clarify,</c><00:06:02.720><c> this</c><00:06:02.920><c> is</c><00:06:03.040><c> not</c>

00:06:03.270 --> 00:06:03.280 align:start position:0%
And again, just to clarify, this is not
 

00:06:03.280 --> 00:06:05.670 align:start position:0%
And again, just to clarify, this is not
some<00:06:03.480><c> kind</c><00:06:03.800><c> of</c><00:06:04.040><c> copy</c><00:06:04.400><c> in</c><00:06:04.520><c> operation,</c><00:06:05.320><c> which</c><00:06:05.560><c> in</c>

00:06:05.670 --> 00:06:05.680 align:start position:0%
some kind of copy in operation, which in
 

00:06:05.680 --> 00:06:07.430 align:start position:0%
some kind of copy in operation, which in
itself<00:06:06.120><c> would</c><00:06:06.240><c> still</c><00:06:06.480><c> be</c><00:06:06.560><c> a</c><00:06:06.600><c> nice</c><00:06:06.840><c> bug</c><00:06:07.200><c> giving</c>

00:06:07.430 --> 00:06:07.440 align:start position:0%
itself would still be a nice bug giving
 

00:06:07.440 --> 00:06:08.910 align:start position:0%
itself would still be a nice bug giving
us<00:06:07.560><c> plenty</c><00:06:07.920><c> of</c><00:06:08.000><c> information</c><00:06:08.520><c> leaks</c><00:06:08.760><c> in</c><00:06:08.840><c> the</c>

00:06:08.910 --> 00:06:08.920 align:start position:0%
us plenty of information leaks in the
 

00:06:08.920 --> 00:06:11.110 align:start position:0%
us plenty of information leaks in the
kernel.<00:06:09.840><c> But</c><00:06:09.960><c> this</c><00:06:10.120><c> is</c><00:06:10.200><c> actually</c><00:06:10.560><c> a</c><00:06:10.640><c> true</c>

00:06:11.110 --> 00:06:11.120 align:start position:0%
kernel. But this is actually a true
 

00:06:11.120 --> 00:06:13.430 align:start position:0%
kernel. But this is actually a true
shared<00:06:11.520><c> memory</c><00:06:11.840><c> situation.</c><00:06:12.960><c> The</c><00:06:13.040><c> physical</c>

00:06:13.430 --> 00:06:13.440 align:start position:0%
shared memory situation. The physical
 

00:06:13.440 --> 00:06:15.630 align:start position:0%
shared memory situation. The physical
pages<00:06:13.840><c> that</c><00:06:13.960><c> the</c><00:06:14.040><c> kernel</c><00:06:14.400><c> actually</c><00:06:14.680><c> lives</c><00:06:15.000><c> in</c>

00:06:15.630 --> 00:06:15.640 align:start position:0%
pages that the kernel actually lives in
 

00:06:15.640 --> 00:06:17.270 align:start position:0%
pages that the kernel actually lives in
are<00:06:15.760><c> still</c><00:06:16.040><c> mapped</c><00:06:16.400><c> into</c><00:06:16.560><c> the</c><00:06:16.680><c> kernel's</c><00:06:17.080><c> own</c>

00:06:17.270 --> 00:06:17.280 align:start position:0%
are still mapped into the kernel's own
 

00:06:17.280 --> 00:06:19.110 align:start position:0%
are still mapped into the kernel's own
virtual<00:06:17.600><c> address</c><00:06:17.840><c> space,</c><00:06:18.480><c> but</c><00:06:18.640><c> they're</c><00:06:18.800><c> now</c>

00:06:19.110 --> 00:06:19.120 align:start position:0%
virtual address space, but they're now
 

00:06:19.120 --> 00:06:21.270 align:start position:0%
virtual address space, but they're now
also<00:06:19.480><c> mapped</c><00:06:19.840><c> into</c><00:06:20.080><c> our</c><00:06:20.320><c> own</c><00:06:20.640><c> app's</c><00:06:21.000><c> virtual</c>

00:06:21.270 --> 00:06:21.280 align:start position:0%
also mapped into our own app's virtual
 

00:06:21.280 --> 00:06:22.470 align:start position:0%
also mapped into our own app's virtual
address<00:06:21.520><c> space.</c>

00:06:22.470 --> 00:06:22.480 align:start position:0%
address space.
 

00:06:22.480 --> 00:06:24.030 align:start position:0%
address space.
This<00:06:22.640><c> means</c><00:06:22.880><c> that</c><00:06:23.000><c> we</c><00:06:23.080><c> can</c><00:06:23.280><c> read</c><00:06:23.480><c> and</c><00:06:23.640><c> write</c><00:06:23.880><c> to</c>

00:06:24.030 --> 00:06:24.040 align:start position:0%
This means that we can read and write to
 

00:06:24.040 --> 00:06:26.350 align:start position:0%
This means that we can read and write to
any<00:06:24.280><c> page</c><00:06:24.760><c> in</c><00:06:24.880><c> the</c><00:06:24.960><c> kernel's</c><00:06:25.400><c> live</c><00:06:25.720><c> memory</c>

00:06:26.350 --> 00:06:26.360 align:start position:0%
any page in the kernel's live memory
 

00:06:26.360 --> 00:06:28.390 align:start position:0%
any page in the kernel's live memory
just<00:06:26.600><c> by</c><00:06:26.720><c> dereferencing</c><00:06:27.480><c> some</c><00:06:27.680><c> address</c><00:06:28.160><c> in</c>

00:06:28.390 --> 00:06:28.400 align:start position:0%
just by dereferencing some address in
 

00:06:28.400 --> 00:06:29.630 align:start position:0%
just by dereferencing some address in
our<00:06:28.560><c> process.</c>

00:06:29.630 --> 00:06:29.640 align:start position:0%
our process.
 

00:06:29.640 --> 00:06:31.310 align:start position:0%
our process.
Both<00:06:29.840><c> the</c><00:06:29.919><c> kernel</c><00:06:30.360><c> and</c><00:06:30.520><c> our</c><00:06:30.680><c> process</c><00:06:31.160><c> are</c>

00:06:31.310 --> 00:06:31.320 align:start position:0%
Both the kernel and our process are
 

00:06:31.320 --> 00:06:33.190 align:start position:0%
Both the kernel and our process are
sharing<00:06:31.800><c> those</c><00:06:32.000><c> same</c><00:06:32.360><c> underlying</c><00:06:32.840><c> physical</c>

00:06:33.190 --> 00:06:33.200 align:start position:0%
sharing those same underlying physical
 

00:06:33.200 --> 00:06:35.430 align:start position:0%
sharing those same underlying physical
pages,<00:06:34.040><c> and</c><00:06:34.200><c> so</c><00:06:34.360><c> changes</c><00:06:34.800><c> that</c><00:06:34.960><c> we</c><00:06:35.120><c> make</c><00:06:35.360><c> to</c>

00:06:35.430 --> 00:06:35.440 align:start position:0%
pages, and so changes that we make to
 

00:06:35.440 --> 00:06:37.750 align:start position:0%
pages, and so changes that we make to
those<00:06:35.640><c> pages</c><00:06:36.120><c> are</c><00:06:36.240><c> seen</c><00:06:36.560><c> by</c><00:06:36.680><c> the</c><00:06:36.760><c> kernel,</c><00:06:37.080><c> too.</c>

00:06:37.750 --> 00:06:37.760 align:start position:0%
those pages are seen by the kernel, too.
 

00:06:37.760 --> 00:06:39.150 align:start position:0%
those pages are seen by the kernel, too.
We've<00:06:37.919><c> basically</c><00:06:38.360><c> skipped</c><00:06:38.800><c> through</c><00:06:39.040><c> the</c>

00:06:39.150 --> 00:06:39.160 align:start position:0%
We've basically skipped through the
 

00:06:39.160 --> 00:06:40.590 align:start position:0%
We've basically skipped through the
enormous<00:06:39.600><c> complexity</c><00:06:40.160><c> that's</c><00:06:40.360><c> often</c>

00:06:40.590 --> 00:06:40.600 align:start position:0%
enormous complexity that's often
 

00:06:40.600 --> 00:06:41.950 align:start position:0%
enormous complexity that's often
involved<00:06:41.080><c> when</c><00:06:41.200><c> exploiting</c><00:06:41.720><c> kernel</c>

00:06:41.950 --> 00:06:41.960 align:start position:0%
involved when exploiting kernel
 

00:06:41.960 --> 00:06:43.870 align:start position:0%
involved when exploiting kernel
vulnerabilities<00:06:42.960><c> and</c><00:06:43.240><c> fast-tracked</c>

00:06:43.870 --> 00:06:43.880 align:start position:0%
vulnerabilities and fast-tracked
 

00:06:43.880 --> 00:06:45.870 align:start position:0%
vulnerabilities and fast-tracked
straight<00:06:44.200><c> to</c><00:06:44.280><c> a</c><00:06:44.360><c> full</c><00:06:44.800><c> unrestricted</c><00:06:45.560><c> kernel</c>

00:06:45.870 --> 00:06:45.880 align:start position:0%
straight to a full unrestricted kernel
 

00:06:45.880 --> 00:06:47.830 align:start position:0%
straight to a full unrestricted kernel
read<00:06:46.040><c> and</c><00:06:46.200><c> write</c><00:06:46.840><c> in</c><00:06:47.000><c> like</c><00:06:47.200><c> five</c><00:06:47.480><c> lines</c><00:06:47.720><c> of</c>

00:06:47.830 --> 00:06:47.840 align:start position:0%
read and write in like five lines of
 

00:06:47.840 --> 00:06:50.030 align:start position:0%
read and write in like five lines of
code<00:06:48.080><c> or</c><00:06:48.160><c> less.</c><00:06:48.960><c> The</c><00:06:49.040><c> Project</c><00:06:49.320><c> Zero</c><00:06:49.600><c> blog</c><00:06:49.919><c> then</c>

00:06:50.030 --> 00:06:50.040 align:start position:0%
code or less. The Project Zero blog then
 

00:06:50.040 --> 00:06:51.870 align:start position:0%
code or less. The Project Zero blog then
goes<00:06:50.280><c> on</c><00:06:50.400><c> to</c><00:06:50.520><c> state,</c><00:06:51.120><c> "At</c><00:06:51.240><c> this</c><00:06:51.440><c> point,</c><00:06:51.720><c> one</c>

00:06:51.870 --> 00:06:51.880 align:start position:0%
goes on to state, "At this point, one
 

00:06:51.880 --> 00:06:53.950 align:start position:0%
goes on to state, "At this point, one
can<00:06:52.000><c> simply</c><00:06:52.440><c> overwrite</c><00:06:52.919><c> any</c><00:06:53.160><c> kernel</c><00:06:53.520><c> function</c>

00:06:53.950 --> 00:06:53.960 align:start position:0%
can simply overwrite any kernel function
 

00:06:53.960 --> 00:06:56.350 align:start position:0%
can simply overwrite any kernel function
to<00:06:54.080><c> gain</c><00:06:54.360><c> kernel</c><00:06:54.600><c> code</c><00:06:54.800><c> execution</c><00:06:55.840><c> or</c><00:06:56.000><c> indeed</c>

00:06:56.350 --> 00:06:56.360 align:start position:0%
to gain kernel code execution or indeed
 

00:06:56.360 --> 00:06:58.430 align:start position:0%
to gain kernel code execution or indeed
any<00:06:56.560><c> primitive</c><00:06:57.040><c> one</c><00:06:57.200><c> might</c><00:06:57.360><c> desire."</c><00:06:58.320><c> And</c>

00:06:58.430 --> 00:06:58.440 align:start position:0%
any primitive one might desire." And
 

00:06:58.440 --> 00:06:59.870 align:start position:0%
any primitive one might desire." And
then<00:06:58.560><c> they</c><00:06:58.720><c> also</c><00:06:59.000><c> go</c><00:06:59.120><c> on</c><00:06:59.240><c> to</c><00:06:59.360><c> note</c><00:06:59.640><c> that</c><00:06:59.760><c> this</c>

00:06:59.870 --> 00:06:59.880 align:start position:0%
then they also go on to note that this
 

00:06:59.880 --> 00:07:01.909 align:start position:0%
then they also go on to note that this
is<00:07:00.040><c> rendered</c><00:07:00.480><c> even</c><00:07:00.880><c> easier</c><00:07:01.280><c> by</c><00:07:01.400><c> the</c><00:07:01.520><c> fact</c><00:07:01.840><c> that</c>

00:07:01.909 --> 00:07:01.919 align:start position:0%
is rendered even easier by the fact that
 

00:07:01.919 --> 00:07:03.670 align:start position:0%
is rendered even easier by the fact that
the<00:07:02.040><c> kernel</c><00:07:02.480><c> is</c><00:07:02.720><c> always</c><00:07:03.080><c> at</c><00:07:03.160><c> the</c><00:07:03.280><c> same</c>

00:07:03.670 --> 00:07:03.680 align:start position:0%
the kernel is always at the same
 

00:07:03.680 --> 00:07:05.909 align:start position:0%
the kernel is always at the same
physical<00:07:04.040><c> address</c><00:07:04.400><c> on</c><00:07:04.520><c> Pixel</c><00:07:04.840><c> devices,</c><00:07:05.800><c> and</c>

00:07:05.909 --> 00:07:05.919 align:start position:0%
physical address on Pixel devices, and
 

00:07:05.919 --> 00:07:07.830 align:start position:0%
physical address on Pixel devices, and
so<00:07:06.040><c> the</c><00:07:06.200><c> offset</c><00:07:06.600><c> between</c><00:07:06.960><c> the</c><00:07:07.040><c> VPU</c><00:07:07.520><c> memory</c>

00:07:07.830 --> 00:07:07.840 align:start position:0%
so the offset between the VPU memory
 

00:07:07.840 --> 00:07:10.230 align:start position:0%
so the offset between the VPU memory
region<00:07:08.440><c> and</c><00:07:08.560><c> the</c><00:07:08.640><c> kernel</c><00:07:09.280><c> is</c><00:07:09.480><c> always</c><00:07:09.840><c> a</c><00:07:09.919><c> known</c>

00:07:10.230 --> 00:07:10.240 align:start position:0%
region and the kernel is always a known
 

00:07:10.240 --> 00:07:12.270 align:start position:0%
region and the kernel is always a known
value.<00:07:11.200><c> So,</c><00:07:11.320><c> basically,</c><00:07:11.840><c> if</c><00:07:11.960><c> it</c><00:07:12.080><c> wasn't</c>

00:07:12.270 --> 00:07:12.280 align:start position:0%
value. So, basically, if it wasn't
 

00:07:12.280 --> 00:07:14.070 align:start position:0%
value. So, basically, if it wasn't
already<00:07:12.560><c> easy</c><00:07:12.800><c> enough,</c><00:07:13.320><c> we</c><00:07:13.400><c> don't</c><00:07:13.640><c> even</c><00:07:13.880><c> need</c>

00:07:14.070 --> 00:07:14.080 align:start position:0%
already easy enough, we don't even need
 

00:07:14.080 --> 00:07:16.030 align:start position:0%
already easy enough, we don't even need
to<00:07:14.160><c> perform</c><00:07:14.520><c> any</c><00:07:14.760><c> kind</c><00:07:15.040><c> of</c><00:07:15.120><c> dynamic</c><00:07:15.600><c> scanning</c>

00:07:16.030 --> 00:07:16.040 align:start position:0%
to perform any kind of dynamic scanning
 

00:07:16.040 --> 00:07:18.070 align:start position:0%
to perform any kind of dynamic scanning
operations<00:07:16.640><c> to</c><00:07:16.840><c> locate</c><00:07:17.280><c> interesting</c><00:07:17.800><c> kernel</c>

00:07:18.070 --> 00:07:18.080 align:start position:0%
operations to locate interesting kernel
 

00:07:18.080 --> 00:07:19.990 align:start position:0%
operations to locate interesting kernel
structures.<00:07:18.880><c> The</c><00:07:18.960><c> physical</c><00:07:19.320><c> memory</c><00:07:19.600><c> range</c><00:07:19.880><c> is</c>

00:07:19.990 --> 00:07:20.000 align:start position:0%
structures. The physical memory range is
 

00:07:20.000 --> 00:07:22.270 align:start position:0%
structures. The physical memory range is
not<00:07:20.240><c> randomized</c><00:07:20.800><c> at</c><00:07:21.000><c> all,</c><00:07:21.560><c> so</c><00:07:21.800><c> we</c><00:07:21.919><c> know</c><00:07:22.040><c> ahead</c>

00:07:22.270 --> 00:07:22.280 align:start position:0%
not randomized at all, so we know ahead
 

00:07:22.280 --> 00:07:23.830 align:start position:0%
not randomized at all, so we know ahead
of<00:07:22.360><c> time</c><00:07:22.600><c> the</c><00:07:22.680><c> exact</c><00:07:23.120><c> location</c><00:07:23.680><c> of</c>

00:07:23.830 --> 00:07:23.840 align:start position:0%
of time the exact location of
 

00:07:23.840 --> 00:07:25.030 align:start position:0%
of time the exact location of
everything.

00:07:25.030 --> 00:07:25.040 align:start position:0%
everything.
 

00:07:25.040 --> 00:07:26.590 align:start position:0%
everything.
In<00:07:25.200><c> their</c><00:07:25.320><c> proof</c><00:07:25.520><c> of</c><00:07:25.640><c> concept</c><00:07:26.040><c> code,</c><00:07:26.360><c> they</c>

00:07:26.590 --> 00:07:26.600 align:start position:0%
In their proof of concept code, they
 

00:07:26.600 --> 00:07:28.550 align:start position:0%
In their proof of concept code, they
overwrite<00:07:27.000><c> a</c><00:07:27.080><c> kernel</c><00:07:27.440><c> function</c><00:07:27.800><c> pointer</c><00:07:28.240><c> with</c>

00:07:28.550 --> 00:07:28.560 align:start position:0%
overwrite a kernel function pointer with
 

00:07:28.560 --> 00:07:31.110 align:start position:0%
overwrite a kernel function pointer with
0x414141,<00:07:29.960><c> and</c><00:07:30.120><c> then</c><00:07:30.280><c> they</c><00:07:30.440><c> invoke</c><00:07:30.919><c> that</c>

00:07:31.110 --> 00:07:31.120 align:start position:0%
0x414141, and then they invoke that
 

00:07:31.120 --> 00:07:32.510 align:start position:0%
0x414141, and then they invoke that
kernel<00:07:31.400><c> function.</c>

00:07:32.510 --> 00:07:32.520 align:start position:0%
kernel function.
 

00:07:32.520 --> 00:07:34.070 align:start position:0%
kernel function.
This,<00:07:32.720><c> of</c><00:07:32.880><c> course,</c><00:07:33.240><c> results</c><00:07:33.640><c> in</c><00:07:33.760><c> a</c><00:07:33.800><c> kernel</c>

00:07:34.070 --> 00:07:34.080 align:start position:0%
This, of course, results in a kernel
 

00:07:34.080 --> 00:07:36.430 align:start position:0%
This, of course, results in a kernel
panic<00:07:34.480><c> with</c><00:07:34.720><c> an</c><00:07:34.880><c> invalid</c><00:07:35.480><c> access</c><00:07:35.840><c> violation</c>

00:07:36.430 --> 00:07:36.440 align:start position:0%
panic with an invalid access violation
 

00:07:36.440 --> 00:07:39.030 align:start position:0%
panic with an invalid access violation
on<00:07:36.680><c> address</c><00:07:37.080><c> 414141,</c><00:07:38.400><c> demonstrating</c><00:07:38.919><c> that</c>

00:07:39.030 --> 00:07:39.040 align:start position:0%
on address 414141, demonstrating that
 

00:07:39.040 --> 00:07:40.590 align:start position:0%
on address 414141, demonstrating that
they<00:07:39.160><c> can</c><00:07:39.360><c> redirect</c><00:07:39.840><c> code</c><00:07:40.040><c> execution</c>

00:07:40.590 --> 00:07:40.600 align:start position:0%
they can redirect code execution
 

00:07:40.600 --> 00:07:42.190 align:start position:0%
they can redirect code execution
anywhere<00:07:40.960><c> they</c><00:07:41.080><c> desire.</c>

00:07:42.190 --> 00:07:42.200 align:start position:0%
anywhere they desire.
 

00:07:42.200 --> 00:07:43.270 align:start position:0%
anywhere they desire.
Check<00:07:42.400><c> out</c><00:07:42.480><c> my</c><00:07:42.640><c> other</c><00:07:42.800><c> video</c><00:07:43.040><c> about</c>

00:07:43.270 --> 00:07:43.280 align:start position:0%
Check out my other video about
 

00:07:43.280 --> 00:07:45.350 align:start position:0%
Check out my other video about
exploiting<00:07:43.880><c> buffer</c><00:07:44.120><c> overflows</c><00:07:44.600><c> to</c><00:07:44.840><c> redirect</c>

00:07:45.350 --> 00:07:45.360 align:start position:0%
exploiting buffer overflows to redirect
 

00:07:45.360 --> 00:07:46.830 align:start position:0%
exploiting buffer overflows to redirect
program<00:07:45.680><c> execution</c><00:07:46.240><c> flow</c><00:07:46.520><c> if</c><00:07:46.680><c> you're</c>

00:07:46.830 --> 00:07:46.840 align:start position:0%
program execution flow if you're
 

00:07:46.840 --> 00:07:48.390 align:start position:0%
program execution flow if you're
unfamiliar<00:07:47.280><c> with</c><00:07:47.400><c> this.</c><00:07:47.800><c> They</c><00:07:47.960><c> round</c><00:07:48.240><c> off</c><00:07:48.320><c> the</c>

00:07:48.390 --> 00:07:48.400 align:start position:0%
unfamiliar with this. They round off the
 

00:07:48.400 --> 00:07:50.310 align:start position:0%
unfamiliar with this. They round off the
blog<00:07:48.760><c> confirming</c><00:07:49.360><c> achieving</c><00:07:49.840><c> arbitrary</c><00:07:50.200><c> read</c>

00:07:50.310 --> 00:07:50.320 align:start position:0%
blog confirming achieving arbitrary read
 

00:07:50.320 --> 00:07:51.470 align:start position:0%
blog confirming achieving arbitrary read
and<00:07:50.440><c> write</c><00:07:50.640><c> on</c><00:07:50.720><c> the</c><00:07:50.800><c> kernel</c><00:07:51.120><c> with</c><00:07:51.280><c> this</c>

00:07:51.470 --> 00:07:51.480 align:start position:0%
and write on the kernel with this
 

00:07:51.480 --> 00:07:53.390 align:start position:0%
and write on the kernel with this
vulnerability<00:07:52.120><c> requires</c><00:07:52.680><c> five</c><00:07:53.040><c> lines</c><00:07:53.280><c> of</c>

00:07:53.390 --> 00:07:53.400 align:start position:0%
vulnerability requires five lines of
 

00:07:53.400 --> 00:07:55.430 align:start position:0%
vulnerability requires five lines of
code<00:07:54.000><c> and</c><00:07:54.240><c> writing</c><00:07:54.480><c> a</c><00:07:54.520><c> full</c><00:07:54.720><c> exploit</c><00:07:55.080><c> for</c><00:07:55.320><c> it</c>

00:07:55.430 --> 00:07:55.440 align:start position:0%
code and writing a full exploit for it
 

00:07:55.440 --> 00:07:57.430 align:start position:0%
code and writing a full exploit for it
required<00:07:55.880><c> less</c><00:07:56.080><c> than</c><00:07:56.200><c> a</c><00:07:56.280><c> day</c><00:07:56.520><c> of</c><00:07:56.640><c> effort.</c><00:07:57.360><c> The</c>

00:07:57.430 --> 00:07:57.440 align:start position:0%
required less than a day of effort. The
 

00:07:57.440 --> 00:07:59.070 align:start position:0%
required less than a day of effort. The
vulnerability<00:07:57.920><c> has</c><00:07:58.080><c> since</c><00:07:58.360><c> been</c><00:07:58.600><c> patched</c><00:07:58.960><c> by</c>

00:07:59.070 --> 00:07:59.080 align:start position:0%
vulnerability has since been patched by
 

00:07:59.080 --> 00:08:01.070 align:start position:0%
vulnerability has since been patched by
the<00:07:59.200><c> vendor</c><00:07:59.880><c> and</c><00:08:00.080><c> if</c><00:08:00.200><c> we</c><00:08:00.280><c> look</c><00:08:00.520><c> at</c><00:08:00.640><c> the</c><00:08:00.720><c> patched</c>

00:08:01.070 --> 00:08:01.080 align:start position:0%
the vendor and if we look at the patched
 

00:08:01.080 --> 00:08:02.710 align:start position:0%
the vendor and if we look at the patched
code,<00:08:01.480><c> we</c><00:08:01.560><c> can</c><00:08:01.720><c> see</c><00:08:01.920><c> that</c><00:08:02.080><c> the</c><00:08:02.160><c> driver</c><00:08:02.560><c> will</c>

00:08:02.710 --> 00:08:02.720 align:start position:0%
code, we can see that the driver will
 

00:08:02.720 --> 00:08:04.950 align:start position:0%
code, we can see that the driver will
now<00:08:02.960><c> check</c><00:08:03.400><c> if</c><00:08:03.560><c> the</c><00:08:03.680><c> requested</c><00:08:04.200><c> mapping</c><00:08:04.520><c> size</c>

00:08:04.950 --> 00:08:04.960 align:start position:0%
now check if the requested mapping size
 

00:08:04.960 --> 00:08:07.550 align:start position:0%
now check if the requested mapping size
is<00:08:05.240><c> larger</c><00:08:05.680><c> than</c><00:08:05.840><c> the</c><00:08:05.920><c> VPUs</c><00:08:06.600><c> MMIO</c><00:08:07.200><c> region</c>

00:08:07.550 --> 00:08:07.560 align:start position:0%
is larger than the VPUs MMIO region
 

00:08:07.560 --> 00:08:09.750 align:start position:0%
is larger than the VPUs MMIO region
size.<00:08:08.320><c> And</c><00:08:08.400><c> if</c><00:08:08.520><c> it</c><00:08:08.640><c> is,</c><00:08:08.880><c> it</c><00:08:09.000><c> will</c><00:08:09.120><c> bail</c><00:08:09.440><c> out</c><00:08:09.640><c> and</c>

00:08:09.750 --> 00:08:09.760 align:start position:0%
size. And if it is, it will bail out and
 

00:08:09.760 --> 00:08:11.430 align:start position:0%
size. And if it is, it will bail out and
not<00:08:09.960><c> perform</c>

00:08:11.430 --> 00:08:11.440 align:start position:0%
not perform
 

00:08:11.440 --> 00:08:13.030 align:start position:0%
not perform
So<00:08:11.600><c> if</c><00:08:11.680><c> you</c><00:08:11.800><c> own</c><00:08:11.920><c> a</c><00:08:11.960><c> Pixel</c><00:08:12.280><c> 10</c><00:08:12.440><c> device</c><00:08:12.919><c> and</c>

00:08:13.030 --> 00:08:13.040 align:start position:0%
So if you own a Pixel 10 device and
 

00:08:13.040 --> 00:08:14.550 align:start position:0%
So if you own a Pixel 10 device and
you're<00:08:13.160><c> on</c><00:08:13.280><c> the</c><00:08:13.360><c> latest</c><00:08:13.640><c> patch</c><00:08:13.880><c> update,</c><00:08:14.280><c> then</c>

00:08:14.550 --> 00:08:14.560 align:start position:0%
you're on the latest patch update, then
 

00:08:14.560 --> 00:08:15.790 align:start position:0%
you're on the latest patch update, then
you<00:08:14.600><c> should</c><00:08:14.760><c> be</c><00:08:14.880><c> safe</c><00:08:15.120><c> from</c><00:08:15.280><c> this</c><00:08:15.400><c> specific</c>

00:08:15.790 --> 00:08:15.800 align:start position:0%
you should be safe from this specific
 

00:08:15.800 --> 00:08:17.550 align:start position:0%
you should be safe from this specific
vulnerability.<00:08:16.880><c> What</c><00:08:17.080><c> I</c><00:08:17.160><c> found</c><00:08:17.400><c> to</c><00:08:17.440><c> be</c>

00:08:17.550 --> 00:08:17.560 align:start position:0%
vulnerability. What I found to be
 

00:08:17.560 --> 00:08:18.990 align:start position:0%
vulnerability. What I found to be
particularly<00:08:17.919><c> interesting</c><00:08:18.320><c> about</c><00:08:18.560><c> this</c><00:08:18.720><c> bug</c>

00:08:18.990 --> 00:08:19.000 align:start position:0%
particularly interesting about this bug
 

00:08:19.000 --> 00:08:20.550 align:start position:0%
particularly interesting about this bug
is<00:08:19.120><c> that</c><00:08:19.240><c> it</c><00:08:19.320><c> goes</c><00:08:19.520><c> to</c><00:08:19.640><c> show</c><00:08:19.880><c> how</c><00:08:20.080><c> a</c><00:08:20.120><c> simple</c>

00:08:20.550 --> 00:08:20.560 align:start position:0%
is that it goes to show how a simple
 

00:08:20.560 --> 00:08:23.350 align:start position:0%
is that it goes to show how a simple
mistake<00:08:21.120><c> in</c><00:08:21.280><c> a</c><00:08:21.360><c> vendor</c><00:08:21.760><c> driver</c><00:08:22.560><c> can</c><00:08:22.840><c> undermine</c>

00:08:23.350 --> 00:08:23.360 align:start position:0%
mistake in a vendor driver can undermine
 

00:08:23.360 --> 00:08:25.550 align:start position:0%
mistake in a vendor driver can undermine
the<00:08:23.480><c> entire</c><00:08:23.919><c> security</c><00:08:24.360><c> model</c><00:08:24.640><c> of</c><00:08:24.720><c> the</c><00:08:24.800><c> phone.</c>

00:08:25.550 --> 00:08:25.560 align:start position:0%
the entire security model of the phone.
 

00:08:25.560 --> 00:08:27.310 align:start position:0%
the entire security model of the phone.
Kernel<00:08:25.880><c> drivers</c><00:08:26.280><c> live</c><00:08:26.480><c> in</c><00:08:26.560><c> the</c><00:08:26.680><c> same</c><00:08:27.000><c> address</c>

00:08:27.310 --> 00:08:27.320 align:start position:0%
Kernel drivers live in the same address
 

00:08:27.320 --> 00:08:28.990 align:start position:0%
Kernel drivers live in the same address
space<00:08:27.640><c> and</c><00:08:27.760><c> privilege</c><00:08:28.160><c> level</c><00:08:28.480><c> as</c><00:08:28.680><c> the</c><00:08:28.760><c> main</c>

00:08:28.990 --> 00:08:29.000 align:start position:0%
space and privilege level as the main
 

00:08:29.000 --> 00:08:30.990 align:start position:0%
space and privilege level as the main
kernel<00:08:29.320><c> itself.</c><00:08:30.240><c> They're</c><00:08:30.360><c> given</c><00:08:30.560><c> access</c><00:08:30.880><c> to</c>

00:08:30.990 --> 00:08:31.000 align:start position:0%
kernel itself. They're given access to
 

00:08:31.000 --> 00:08:33.510 align:start position:0%
kernel itself. They're given access to
the<00:08:31.080><c> same</c><00:08:31.400><c> kernel</c><00:08:31.680><c> APIs</c><00:08:32.240><c> and</c><00:08:32.400><c> functions</c><00:08:33.240><c> such</c>

00:08:33.510 --> 00:08:33.520 align:start position:0%
the same kernel APIs and functions such
 

00:08:33.520 --> 00:08:35.270 align:start position:0%
the same kernel APIs and functions such
as<00:08:33.680><c> the</c><00:08:33.800><c> ability</c><00:08:34.280><c> to</c><00:08:34.440><c> map</c><00:08:34.680><c> physical</c><00:08:35.039><c> memory</c>

00:08:35.270 --> 00:08:35.280 align:start position:0%
as the ability to map physical memory
 

00:08:35.280 --> 00:08:37.550 align:start position:0%
as the ability to map physical memory
pages<00:08:35.800><c> as</c><00:08:35.960><c> we've</c><00:08:36.080><c> seen</c><00:08:36.280><c> here.</c><00:08:36.840><c> So</c><00:08:37.039><c> even</c><00:08:37.360><c> with</c>

00:08:37.550 --> 00:08:37.560 align:start position:0%
pages as we've seen here. So even with
 

00:08:37.560 --> 00:08:39.469 align:start position:0%
pages as we've seen here. So even with
modern<00:08:37.840><c> exploit</c><00:08:38.159><c> mitigations</c><00:08:38.840><c> implemented</c>

00:08:39.469 --> 00:08:39.479 align:start position:0%
modern exploit mitigations implemented
 

00:08:39.479 --> 00:08:41.350 align:start position:0%
modern exploit mitigations implemented
in<00:08:39.599><c> Android</c><00:08:39.919><c> devices</c><00:08:40.440><c> such</c><00:08:40.719><c> as</c><00:08:41.039><c> pointer</c>

00:08:41.350 --> 00:08:41.360 align:start position:0%
in Android devices such as pointer
 

00:08:41.360 --> 00:08:42.950 align:start position:0%
in Android devices such as pointer
authentication,<00:08:42.440><c> memory</c><00:08:42.719><c> tagging</c>

00:08:42.950 --> 00:08:42.960 align:start position:0%
authentication, memory tagging
 

00:08:42.960 --> 00:08:45.230 align:start position:0%
authentication, memory tagging
extensions,<00:08:43.840><c> and</c><00:08:44.120><c> the</c><00:08:44.240><c> various</c><00:08:44.720><c> hardened</c>

00:08:45.230 --> 00:08:45.240 align:start position:0%
extensions, and the various hardened
 

00:08:45.240 --> 00:08:47.270 align:start position:0%
extensions, and the various hardened
kernel<00:08:45.520><c> heap</c><00:08:45.800><c> allocator</c><00:08:46.240><c> algorithms,</c><00:08:47.160><c> a</c>

00:08:47.270 --> 00:08:47.280 align:start position:0%
kernel heap allocator algorithms, a
 

00:08:47.280 --> 00:08:49.390 align:start position:0%
kernel heap allocator algorithms, a
simple<00:08:47.640><c> bug</c><00:08:47.920><c> in</c><00:08:48.080><c> a</c><00:08:48.160><c> vendor</c><00:08:48.520><c> driver</c><00:08:48.880><c> like</c><00:08:49.120><c> this</c>

00:08:49.390 --> 00:08:49.400 align:start position:0%
simple bug in a vendor driver like this
 

00:08:49.400 --> 00:08:51.070 align:start position:0%
simple bug in a vendor driver like this
that<00:08:49.560><c> deals</c><00:08:49.880><c> with</c><00:08:50.120><c> low-level</c><00:08:50.680><c> physical</c>

00:08:51.070 --> 00:08:51.080 align:start position:0%
that deals with low-level physical
 

00:08:51.080 --> 00:08:52.710 align:start position:0%
that deals with low-level physical
memory<00:08:51.320><c> mapping</c><00:08:52.000><c> is</c><00:08:52.160><c> capable</c><00:08:52.600><c> of</c>

00:08:52.710 --> 00:08:52.720 align:start position:0%
memory mapping is capable of
 

00:08:52.720 --> 00:08:54.670 align:start position:0%
memory mapping is capable of
side-stepping<00:08:53.560><c> all</c><00:08:53.760><c> of</c><00:08:53.839><c> these</c><00:08:54.000><c> protections</c>

00:08:54.670 --> 00:08:54.680 align:start position:0%
side-stepping all of these protections
 

00:08:54.680 --> 00:08:56.150 align:start position:0%
side-stepping all of these protections
and<00:08:54.880><c> leaving</c><00:08:55.120><c> the</c><00:08:55.200><c> phone</c><00:08:55.520><c> wide</c><00:08:55.800><c> open</c><00:08:56.080><c> to</c>

00:08:56.150 --> 00:08:56.160 align:start position:0%
and leaving the phone wide open to
 

00:08:56.160 --> 00:08:57.829 align:start position:0%
and leaving the phone wide open to
compromise.<00:08:56.920><c> The</c><00:08:57.000><c> Project</c><00:08:57.280><c> Zero</c><00:08:57.520><c> blog</c>

00:08:57.829 --> 00:08:57.839 align:start position:0%
compromise. The Project Zero blog
 

00:08:57.839 --> 00:08:59.270 align:start position:0%
compromise. The Project Zero blog
actually<00:08:58.120><c> discusses</c><00:08:58.680><c> how</c><00:08:58.800><c> this</c><00:08:59.040><c> kernel</c>

00:08:59.270 --> 00:08:59.280 align:start position:0%
actually discusses how this kernel
 

00:08:59.280 --> 00:09:01.470 align:start position:0%
actually discusses how this kernel
exploit<00:08:59.680><c> was</c><00:08:59.839><c> used</c><00:09:00.200><c> in</c><00:09:00.320><c> their</c><00:09:00.560><c> own</c><00:09:00.839><c> zero-click</c>

00:09:01.470 --> 00:09:01.480 align:start position:0%
exploit was used in their own zero-click
 

00:09:01.480 --> 00:09:03.710 align:start position:0%
exploit was used in their own zero-click
chain<00:09:01.839><c> against</c><00:09:02.200><c> the</c><00:09:02.280><c> Google</c><00:09:02.520><c> Pixel</c><00:09:03.320><c> as</c><00:09:03.560><c> the</c>

00:09:03.710 --> 00:09:03.720 align:start position:0%
chain against the Google Pixel as the
 

00:09:03.720 --> 00:09:05.870 align:start position:0%
chain against the Google Pixel as the
privilege<00:09:04.080><c> escalation</c><00:09:04.560><c> stage.</c><00:09:05.320><c> So</c><00:09:05.520><c> check</c><00:09:05.760><c> out</c>

00:09:05.870 --> 00:09:05.880 align:start position:0%
privilege escalation stage. So check out
 

00:09:05.880 --> 00:09:07.430 align:start position:0%
privilege escalation stage. So check out
their<00:09:06.040><c> previous</c><00:09:06.400><c> series</c><00:09:06.800><c> into</c><00:09:07.000><c> the</c><00:09:07.120><c> actual</c>

00:09:07.430 --> 00:09:07.440 align:start position:0%
their previous series into the actual
 

00:09:07.440 --> 00:09:09.670 align:start position:0%
their previous series into the actual
remote<00:09:07.800><c> code</c><00:09:08.000><c> execution</c><00:09:08.520><c> component.</c><00:09:09.560><c> The</c>

00:09:09.670 --> 00:09:09.680 align:start position:0%
remote code execution component. The
 

00:09:09.680 --> 00:09:11.310 align:start position:0%
remote code execution component. The
details<00:09:10.040><c> of</c><00:09:10.160><c> the</c><00:09:10.240><c> bug</c><00:09:10.520><c> and</c><00:09:10.640><c> exploit</c><00:09:11.000><c> for</c><00:09:11.120><c> that</c>

00:09:11.310 --> 00:09:11.320 align:start position:0%
details of the bug and exploit for that
 

00:09:11.320 --> 00:09:13.270 align:start position:0%
details of the bug and exploit for that
are<00:09:11.400><c> significantly</c><00:09:12.000><c> more</c><00:09:12.160><c> complicated</c><00:09:13.040><c> but</c>

00:09:13.270 --> 00:09:13.280 align:start position:0%
are significantly more complicated but
 

00:09:13.280 --> 00:09:14.750 align:start position:0%
are significantly more complicated but
highly<00:09:13.520><c> worth</c><00:09:13.720><c> the</c><00:09:13.800><c> read.</c><00:09:14.440><c> Hopefully</c><00:09:14.680><c> you</c>

00:09:14.750 --> 00:09:14.760 align:start position:0%
highly worth the read. Hopefully you
 

00:09:14.760 --> 00:09:16.390 align:start position:0%
highly worth the read. Hopefully you
guys<00:09:15.000><c> enjoyed</c><00:09:15.400><c> this</c><00:09:15.560><c> video</c><00:09:15.920><c> and</c><00:09:16.160><c> learned</c>

00:09:16.390 --> 00:09:16.400 align:start position:0%
guys enjoyed this video and learned
 

00:09:16.400 --> 00:09:17.590 align:start position:0%
guys enjoyed this video and learned
something<00:09:16.720><c> new.</c>

00:09:17.590 --> 00:09:17.600 align:start position:0%
something new.
 

00:09:17.600 --> 00:09:18.910 align:start position:0%
something new.
If<00:09:17.720><c> you</c><00:09:17.800><c> made</c><00:09:17.960><c> it</c><00:09:18.040><c> to</c><00:09:18.120><c> the</c><00:09:18.240><c> end</c><00:09:18.480><c> and</c><00:09:18.600><c> would</c><00:09:18.760><c> like</c>

00:09:18.910 --> 00:09:18.920 align:start position:0%
If you made it to the end and would like
 

00:09:18.920 --> 00:09:20.910 align:start position:0%
If you made it to the end and would like
to<00:09:19.080><c> support</c><00:09:19.440><c> the</c><00:09:19.480><c> continuation</c><00:09:20.280><c> of</c><00:09:20.520><c> detailed</c>

00:09:20.910 --> 00:09:20.920 align:start position:0%
to support the continuation of detailed
 

00:09:20.920 --> 00:09:22.630 align:start position:0%
to support the continuation of detailed
technical<00:09:21.280><c> content</c><00:09:21.640><c> like</c><00:09:21.800><c> this</c><00:09:22.120><c> including</c>

00:09:22.630 --> 00:09:22.640 align:start position:0%
technical content like this including
 

00:09:22.640 --> 00:09:24.270 align:start position:0%
technical content like this including
exploit<00:09:23.040><c> breakdowns,</c><00:09:23.800><c> vulnerability</c>

00:09:24.270 --> 00:09:24.280 align:start position:0%
exploit breakdowns, vulnerability
 

00:09:24.280 --> 00:09:26.550 align:start position:0%
exploit breakdowns, vulnerability
analysis,<00:09:24.839><c> and</c><00:09:25.040><c> more,</c><00:09:25.640><c> then</c><00:09:25.920><c> consider</c><00:09:26.320><c> adding</c>

00:09:26.550 --> 00:09:26.560 align:start position:0%
analysis, and more, then consider adding
 

00:09:26.560 --> 00:09:28.150 align:start position:0%
analysis, and more, then consider adding
your<00:09:26.680><c> support</c><00:09:27.040><c> by</c><00:09:27.200><c> becoming</c><00:09:27.720><c> a</c><00:09:27.839><c> channel</c>

00:09:28.150 --> 00:09:28.160 align:start position:0%
your support by becoming a channel
 

00:09:28.160 --> 00:09:29.870 align:start position:0%
your support by becoming a channel
member.<00:09:28.800><c> The</c><00:09:28.920><c> link</c><00:09:29.080><c> will</c><00:09:29.160><c> be</c><00:09:29.240><c> down</c><00:09:29.440><c> below</c><00:09:29.720><c> in</c>

00:09:29.870 --> 00:09:29.880 align:start position:0%
member. The link will be down below in
 

00:09:29.880 --> 00:09:31.750 align:start position:0%
member. The link will be down below in
the<00:09:29.960><c> description.</c><00:09:30.920><c> Thanks</c><00:09:31.160><c> for</c><00:09:31.240><c> watching</c><00:09:31.640><c> and</c>

00:09:31.750 --> 00:09:31.760 align:start position:0%
the description. Thanks for watching and
 

00:09:31.760 --> 00:09:34.920 align:start position:0%
the description. Thanks for watching and
I'll<00:09:31.880><c> see</c><00:09:32.080><c> you</c><00:09:32.240><c> in</c><00:09:32.360><c> the</c><00:09:32.440><c> next</c><00:09:32.640><c> one.</c>

