Closed
Bug 1833580
Opened 3 years ago
Closed 3 years ago
Crash when using dev tools eyedropper with RFP randomization [@ memcpy | SHA256_Update_Generic]
Categories
(Core :: Privacy: Anti-Tracking, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 1833213
| Tracking | Status | |
|---|---|---|
| firefox-esr102 | --- | unaffected |
| firefox113 | --- | unaffected |
| firefox114 | --- | unaffected |
| firefox115 | --- | fixed |
People
(Reporter: ke5trel, Assigned: timhuang)
References
(Regression)
Details
(Keywords: crash, regression)
Crash Data
STR:
- Start with the following settings on Ubuntu 23.04:
privacy.resistFingerprinting = true
privacy.resistFingerprinting.randomization.enabled = true - Visit https://www.mozilla.org.
- Open the developer tools (Ctrl+Shift+I).
- Select the eyedropper tool and move it around the page for some time or click to sample a color.
Crash report: https://crash-stats.mozilla.org/report/index/e0f49a0b-ab65-4980-bad7-664fe0230517
Reason: SIGSEGV / SEGV_MAPERR
Top 10 frames of crashing thread:
0 libfreeblpriv3.so memcpy /builds/worker/fetches/sysroot-x86_64-linux-gnu/usr/include/x86_64-linux-gnu/bits/string3.h:51
0 libfreeblpriv3.so SHA256_Update_Generic security/nss/lib/freebl/sha512.c:547
1 libsoftokn3.so sftk_MAC_Update security/nss/lib/softoken/sftkhmac.c:373
2 libsoftokn3.so sftk_MACUpdate security/nss/lib/softoken/pkcs11c.c:3194
3 libnss3.so PK11_DigestOp security/nss/lib/pk11wrap/pk11cxt.c
4 libxul.so mozilla::DigestBase::Update security/manager/ssl/ScopedNSSTypes.h:118
5 libxul.so mozilla::nsRFPService::GenerateCanvasKeyFromImageData toolkit/components/resistfingerprinting/nsRFPService.cpp:1361
6 libxul.so mozilla::nsRFPService::RandomizePixels toolkit/components/resistfingerprinting/nsRFPService.cpp:1385
7 libxul.so mozilla::dom::CanvasRenderingContext2D::GetImageDataArray dom/canvas/CanvasRenderingContext2D.cpp:5875
8 libxul.so mozilla::dom::CanvasRenderingContext2D::GetImageData dom/canvas/CanvasRenderingContext2D.cpp:5764
Updated•3 years ago
|
Flags: needinfo?(tihuang)
| Assignee | ||
Updated•3 years ago
|
Assignee: nobody → tihuang
Status: NEW → ASSIGNED
Flags: needinfo?(tihuang)
| Assignee | ||
Comment 1•3 years ago
|
||
I can confirm that the crash no longer happens after Bug 1833213 lands. In Bug 1833213, we have fixed how we access the image buffer when calling CanvasRenderingContext2D::GetImageDataArray(), which is the root cause of this crash.
Updated•3 years ago
|
You need to log in
before you can comment on or make changes to this bug.
Description
•