Wrong get_gate_vma call in i386 NX emulation code
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux (Ubuntu) |
Invalid
|
Undecided
|
Herton R. Krzesinski | ||
Oneiric |
Fix Released
|
Medium
|
Herton R. Krzesinski | ||
Precise |
Fix Released
|
Medium
|
Herton R. Krzesinski |
Bug Description
Since commit 31db58b3 ("mm: arch: make get_gate_vma take an mm_struct
instead of a task_struct"), that went in linux 2.6.39, get_gate_vma is
expected to take an struct mm_struct pointer as its parameter. But
get_gate_vma in i386 NX emulation code patch is still using the old way.
SRU Justification
Impact: seems we could have problems only if acessing something vdso related, not sure, anyway we should fix the issue.
Fix: pass the proper parameter to get_gate_vma
Test Case: without the fix, you get this build warning on i386:
ubuntu-
ubuntu-
ubuntu-
CVE References
description: | updated |
description: | updated |
Changed in linux (Ubuntu Oneiric): | |
status: | In Progress → Fix Committed |
Changed in linux (Ubuntu Precise): | |
status: | In Progress → Fix Committed |
Quantal doesn't have the NX emulation patches, set main linux task to invalid.