The __oom_reap_task_mm function in mm/oom_kill.c in the Linux kernel before 4.14.4 mishandles gather operations, which allows attackers to cause a denial of service (TLB entry leak or use-after-free) or possibly have unspecified other impact by triggering a copy_to_user call within a certain time window.
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://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=687cb0884a714ff484d038e9190edc874edcf146 | patch vendor advisory |
https://github.com/torvalds/linux/commit/687cb0884a714ff484d038e9190edc874edcf146 | third party advisory patch |
https://www.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.14.4 | vendor advisory |
http://www.securityfocus.com/bid/103161 | vdb entry third party advisory |
https://access.redhat.com/errata/RHSA-2018:2772 | third party advisory vendor advisory |