The buffer obtained from kernel APIs such as...
High severity
Unreviewed
Published
Aug 8, 2023
to the GitHub Advisory Database
•
Updated Apr 4, 2024
Description
Published by the National Vulnerability Database
Aug 8, 2023
Published to the GitHub Advisory Database
Aug 8, 2023
Last updated
Apr 4, 2024
The buffer obtained from kernel APIs such as cam_mem_get_cpu_buf() may be readable/writable in userspace after kernel accesses it. In other words, user mode may race and modify the packet header (e.g. header.count), causing checks (e.g. size checks) in kernel code to be invalid. This may lead to out-of-bounds read/write issues.
References