Red Hat Bugzilla – Bug 1272132
kernel: Heap corruption in debug_read_tlb
Last modified: 2016-05-09 09:03:58 EDT
A vulnerability in debug_read_tlb() function was found leading to possible buffer overflow. The debug_read_tlb() uses the sprintf() functions directly on the buffer allocated by buf = kmalloc(count), without taking into account the size of the buffer, with the consequence corrupting the heap, depending on the count requested by the user.
Created kernel tracking bugs for this issue:
Affects: fedora-all [bug 1272141]
As far as I'm aware, this is only present in the omap-iommu-debug.c file. That limits it to:
1) 32-bit ARM
2) The omap2plus machine type for 32-bit ARM
3) Only built if the OMAP_IOMMU_DEBUG option is enabled.
This issue does not affect the Linux kernel packages as shipped with Red Hat Enterprise Linux 5, 6, 7 and MRG-2 as the code introduced the flaw is not present in these products.