Haven’t looked at the patch or the code beyond your snippet but the user_access_begin followed by unsafe_put_user in the loop using elements from the array copied using the copy_from_user looks unsafe? In this case you’d switch the buffers ptr from a concurrent thread post check.
-
-
-
I mean dst ptr in unsafe_put_user() is already checked in copy_from_user() in 2579. didn't check but assuming args ptr is local (heap or stack) so no race or double fetch
- Još 5 drugih odgovora
Novi razgovor -
Čini se da učitavanje traje već neko vrijeme.
Twitter je možda preopterećen ili ima kratkotrajnih poteškoća u radu. Pokušajte ponovno ili potražite dodatne informacije u odjeljku Status Twittera.