| From | David Laight <> | Subject | RE: [RFCv2 06/10] x86/uaccess: Remove tags from the address before checking | Date | Thu, 12 May 2022 13:02:55 +0000 |
| |
From: Kirill A. Shutemov > Sent: 11 May 2022 03:28 > > The tags must not be included into check whether it's okay to access the > userspace address. > > Strip tags in access_ok().
Why? Just change the test to check the buffer doesn't cross 1u << 63.
David
- Registered Address Lakeside, Bramley Road, Mount Farm, Milton Keynes, MK1 1PT, UK Registration No: 1397386 (Wales)
|