Use-after-free vulnerability in the ffs_user_copy_worker function in drivers/usb/gadget/function/f_fs.c in the Linux kernel before 4.5.3 allows local users to gain privileges by accessing an I/O data structure after a certain callback call.
The product reuses or references memory after it has been freed. At some point afterward, the memory may be allocated again and saved in another pointer, while the original pointer references a location somewhere within the new allocation. Any operations using the original pointer are no longer valid because the memory "belongs" to the code that operates on the new pointer.
Link | Tags |
---|---|
http://source.android.com/security/bulletin/2016-11-01.html | third party advisory |
http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=38740a5b87d53ceb89eb2c970150f6e94e00373a | issue tracking third party advisory patch |
http://www.securityfocus.com/bid/94197 | vdb entry third party advisory |
http://www.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.5.3 | release notes vendor advisory |
https://github.com/torvalds/linux/commit/38740a5b87d53ceb89eb2c970150f6e94e00373a | issue tracking third party advisory patch |