SUMMARY: ThreadSanitizer: data race /builds/worker/checkouts/gecko/dom/media/platforms/ffmpeg/ffvpx/FFVPXRuntimeLinker.cpp:128:21 in mozilla::FFVPXRuntimeLinker::GetRDFTFuncs(FFmpegRDFTFuncs*)
Categories
(Core :: Audio/Video, defect, P5)
Tracking
()
People
(Reporter: intermittent-bug-filer, Assigned: padenot)
References
(Regression)
Details
(Keywords: csectype-race, regression, sec-high, Whiteboard: [post-critsmash-triage][adv-main81+r])
Attachments
(1 file)
(deleted),
text/x-phabricator-request
|
tjr
:
sec-approval+
|
Details |
Filed by: bcampen [at] mozilla.com
Parsed log: https://treeherder.mozilla.org/logviewer.html#?job_id=311427409&repo=try
Full log: https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/AezTkbN5S8mu2EMeZZ6WUg/runs/0/artifacts/public/logs/live_backing.log
Updated•4 years ago
|
Updated•4 years ago
|
Comment 1•4 years ago
|
||
vs
at
Comment 2•4 years ago
|
||
Are we running init code multiple times here?
Updated•4 years ago
|
Comment 3•4 years ago
|
||
Starting here:
Init has a check to see whether it has already run:
Whereas GetRDFTFuncs does not:
It seems like the intent here is to run this just once, though.
Assignee | ||
Updated•4 years ago
|
Assignee | ||
Comment 5•4 years ago
|
||
Updated•4 years ago
|
Comment 6•4 years ago
|
||
Undefined behavior due to reading from memory that may be concurrently re-written with its existing value, but we'd be very unlucky if the compiler was doing something that would make this exploitable.
Updated•4 years ago
|
Assignee | ||
Comment 7•4 years ago
|
||
Comment on attachment 9167008 [details]
Bug 1656063 - Only load function pointer in FFTBlock once. r?karlt
Security Approval Request
- How easily could an exploit be constructed based on the patch?: https://bugzilla.mozilla.org/show_bug.cgi?id=1656063#c6 explains what is happening. It's reasonably easy to understand what's going on from the patch only, but it's a concurrent write of a pointer by the same value, from different threads, it's not horrible.
- Do comments in the patch, the check-in comment, or tests included in the patch paint a bulls-eye on the security problem?: Yes
- Which older supported branches are affected by this flaw?: all
- If not all supported branches, which bug introduced the flaw?: None
- Do you have backports for the affected branches?: Yes
- If not, how different, hard to create, and risky will they be?: This backports cleanly.
- How likely is this patch to cause regressions; how much testing does it need?: I don't expect any regression.
Comment 8•4 years ago
|
||
Comment on attachment 9167008 [details]
Bug 1656063 - Only load function pointer in FFTBlock once. r?karlt
Approved to land. If uplift is warranted (it seems from c6 this isn't likely exploitable?) feel free to request.
Comment 9•4 years ago
|
||
https://hg.mozilla.org/integration/autoland/rev/af3620fc2747c1b4dbb72504fd731e9e4e3779d3
https://hg.mozilla.org/mozilla-central/rev/af3620fc2747
Updated•4 years ago
|
Updated•4 years ago
|
Updated•3 years ago
|
Description
•