uprobes/x86: Use proper mm_struct in __in_uprobe_trampoline
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
6.18.407.1.57.2In the Linux kernel, the following vulnerability has been resolved:
uprobes/x86: Use proper mm_struct in __in_uprobe_trampoline
In the unregister path we use __in_uprobe_trampoline check with current->mm for the VMA lookup, which is wrong, because we are in the tracer context, not the traced process.
Add mm_struct pointer argument to __in_uprobe_trampoline and changing related callers to pass proper mm_struct pointer.
From the CVE record · Linux
The Linux kernel’s x86 uprobes unregister path uses the tracer’s memory context instead of the traced process’s for a VMA lookup. The input does not specify what an attacker could achieve or whether exploitation requires network access, local access, authentication, or user interaction.
Engineers running the Linux kernel should check their deployments; affected versions were not provided.