BPF: kernel pointer leak to unprivileged userspace
Bug #1815259 reported by
Tyler Hicks
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux (Ubuntu) |
Fix Released
|
Medium
|
Tyler Hicks | ||
Bionic |
Fix Released
|
Medium
|
Tyler Hicks |
Bug Description
[Impact]
Per Jann Horn, "Upstream commit dd066823db2ac4e
("bpf/verifier: disallow pointer subtraction") fixes a security bug
(kernel pointer leak to unprivileged userspace)."
https:/
[Test Case]
Run the "check subtraction on pointers for unpriv" test from tools/testing/
[Regression Potential]
The change could cause a regression in an unprivileged process that is using eBPF. I suspect that this is unlikely. The alternative is to leave a potential security hole open.
Changed in linux (Ubuntu): | |
status: | In Progress → Fix Released |
Changed in linux (Ubuntu Bionic): | |
status: | New → In Progress |
assignee: | nobody → Tyler Hicks (tyhicks) |
importance: | Undecided → Medium |
tags: | added: bjf-tracking |
Changed in linux (Ubuntu Bionic): | |
status: | In Progress → Fix Committed |
To post a comment you must log in.
This bug is awaiting verification that the kernel in -proposed solves the problem. Please test the kernel and update this bug with the results. If the problem is solved, change the tag 'verification- needed- bionic' to 'verification- done-bionic' . If the problem still exists, change the tag 'verification- needed- bionic' to 'verification- failed- bionic' .
If verification is not done by 5 working days from today, this fix will be dropped from the source code, and this bug will be closed.
See https:/ /wiki.ubuntu. com/Testing/ EnableProposed for documentation how to enable and use -proposed. Thank you!