UAF Crash in [@ gdk_x11_app_launch_context_get_type]
Categories
(Core :: Graphics, defect, P3)
Tracking
()
People
(Reporter: release-mgmt-account-bot, Assigned: nical)
References
(Blocks 2 open bugs)
Details
(Keywords: crash, csectype-uaf, sec-high)
Crash Data
Crash report: https://crash-stats.mozilla.org/report/index/c2af800e-22ac-4055-8b85-3f1aa0250628
Reason: SIGSEGV / SI_KERNEL
Top 10 frames of crashing thread:
0 libgdk-3.so.0 gdk_x11_app_launch_context_get_type
1 libX11.so.6 handle_response /build/libx11-aL6a2q/libx11-1.8.7/src/xcb_io.c:397
2 libX11.so.6 _XReply /build/libx11-aL6a2q/libx11-1.8.7/src/xcb_io.c:747
3 libnvidia-glsi.so.570.133.07 _nv000glsi
4 libnvidia-glsi.so.570.133.07 _nv000glsi
5 libnvidia-eglcore.so.570.133.07 NvGlEglApiInit
6 libnvidia-eglcore.so.570.133.07 _glDeterministicTPCModeDistParams
7 libnvidia-eglcore.so.570.133.07 _glDeterministicTPCModeDistParams
8 libnvidia-eglcore.so.570.133.07 NvGlEglGetFunctions
9 libnvidia-eglcore.so.570.133.07 NvGlEglGetFunctions
By querying Nightly crashes reported within the last 2 months, here are some insights about the signature:
- First crash report: 2025-04-22
- Process type: Parent
- Is startup crash: No
- Has user comments: No
- Is null crash: No
- Is use after free crash: Yes - 3 out of 6 crashes happened on or near an allocator poison value
Updated•11 months ago
|
| Assignee | ||
Updated•11 months ago
|
Comment 1•11 months ago
|
||
I see two main types of crashes with this signature, and both have been around a while.
75% of crashes with this signature are like the one in comment 0
- crash on address 0xe5e5e5e5e5e5ef3d—always, which is a little unusual. many UAF-type signatures vary a bit in the offset. This could mean it's always the same kind of freed object being used to get at the same member, even though there's some variation in the webrendery parts of the stack above
- crash reason is SIGSEGV / SI_KERNEL
- always webrender in the stack
- always one or more libnvidia libraries in the stack
- URLs are mostly movies (youtube, twitch, porn, ...)
Let's focus on the clear UAF in this bug.
There's another set of crashes where the thread gets killed by the OS. Ignore those for this bug—it's something different
- crash reason is SIGABRT / SI_TKILL
- crash address is always 0x000003e800xxxxxx, but I don't see anything like this in the captured registers
- no webrender, appear to be processing events under
nsAppShell::ProcessNextNativeEvent(bool)
Updated•11 months ago
|
| Reporter | ||
Comment 2•11 months ago
|
||
The severity field for this bug is set to S3. However, the bug is flagged with the sec-high keyword.
:bhood, could you consider increasing the severity of this security bug?
For more information, please visit BugBot documentation.
Comment 3•11 months ago
|
||
I suspect this might be fixed by bug #1973975
Updated•10 months ago
|
Comment 4•10 months ago
|
||
Waiting to see if any crashes show up in 141.
Comment 5•10 months ago
|
||
The patch we think fixed it will actually be in 142, so we'll need to wait for that to see if this is resolved.
Updated•9 months ago
|
Comment 6•9 months ago
|
||
Waiting on Fx142 to ship.
Comment 7•9 months ago
|
||
I think the only crash we see on 142.0rc1 is a red herring https://crash-stats.mozilla.org/report/index/e66bb486-b73f-4a2e-a540-818470250816 - it may be the old NVEGL issue as that distribution version is pretty old (2023).
Comment 8•9 months ago
|
||
We will leave this open for another week, and evaluate closing it if the crash volume remains low/flat lined.
Comment 9•8 months ago
|
||
(In reply to Glenn Watson [:gw]|PTO until Sept 15 from comment #5)
The patch we think fixed it will actually be in 142, so we'll need to wait for that to see if this is resolved.
We believe this has been fixed. No crashes since August 16th, and 142 went to release on the 19th.
Updated•8 months ago
|
Comment 10•8 months ago
|
||
(In reply to Glenn Watson [:gw] from comment #5)
The patch we think fixed it will actually be in 142, so we'll need to wait for that to see if this is resolved.
In comment 3 you thought it was fixed by bug 1973975 which got uplifted to 141 and 140.1 a couple of weeks before you made comment %. Does that mean you think a different bug fixed this?
Comment 11•8 months ago
|
||
I wasn't aware that patch had been uplifted, so I don't have a good explanation for why it's dropped to ~zero.
Updated•5 months ago
|
Updated•2 months ago
|
Description
•