Invalid Win32k use in content process [xul!mozilla::image::IOThreadIniter::Run]
Categories
(Core :: Security: Process Sandboxing, defect, P2)
Tracking
()
Tracking | Status | |
---|---|---|
firefox90 | --- | fixed |
People
(Reporter: cmartin, Assigned: bobowen)
References
Details
Attachments
(2 files)
COM is initialized here
Call stack:
win32u!NtUserGetThreadState
USER32!LoadIcoCur+0x1db
USER32!RegisterIMEClass+0x9f
USER32!VerNtUserCreateWindowEx+0x26f
USER32!CreateWindowInternal+0x1a4
USER32!CreateWindowExW+0x82
combase!InitMainThreadWnd+0x57 [onecore\com\combase\objact\mainthrd.cxx @ 148]
combase!ThreadFirstInitialize+0x213 [onecore\com\combase\class\compobj.cxx @ 3460]
combase!_CoInitializeEx+0x1d0 [onecore\com\combase\class\compobj.cxx @ 3745]
combase!CoInitializeEx+0x58 [onecore\com\combase\class\compobj.cxx @ 3835]
xul!mozilla::image::IOThreadIniter::Run+0xc [c:\moz\mozilla-central\image\DecodePool.cpp @ 82]
xul!nsThread::ProcessNextEvent+0x964 [c:\moz\mozilla-central\xpcom\threads\nsThread.cpp @ 1149]
xul!NS_ProcessNextEvent+0x65 [c:\moz\mozilla-central\xpcom\threads\nsThreadUtils.cpp @ 548]
xul!mozilla::ipc::MessagePumpForNonMainThreads::Run+0xb6 [c:\moz\mozilla-central\ipc\glue\MessagePump.cpp @ 303]
xul!MessageLoop::RunInternal+0x16 [c:\moz\mozilla-central\ipc\chromium\src\base\message_loop.cc @ 335]
xul!MessageLoop::RunHandler+0x50 [c:\moz\mozilla-central\ipc\chromium\src\base\message_loop.cc @ 329]
xul!MessageLoop::Run+0x58 [c:\moz\mozilla-central\ipc\chromium\src\base\message_loop.cc @ 311]
xul!nsThread::ThreadFunc+0xed [c:\moz\mozilla-central\xpcom\threads\nsThread.cpp @ 393]
nss3!_PR_NativeRunThread+0x147 [c:\moz\mozilla-central\nsprpub\pr\src\threads\combined\pruthr.c @ 421]
nss3!pr_root+0x11 [c:\moz\mozilla-central\nsprpub\pr\src\md\windows\w95thred.c @ 140]
ucrtbase!thread_start<unsigned int (__cdecl*)(void *),1>+0x42
KERNEL32!BaseThreadInitThunk+0x14
ntdll!RtlUserThreadStart+0x21
Reporter | ||
Updated•5 years ago
|
Updated•5 years ago
|
Assignee | ||
Updated•4 years ago
|
Assignee | ||
Comment 1•4 years ago
|
||
Assignee | ||
Comment 2•4 years ago
|
||
Win32k is required for moz-icon in the file content process and we don't want to
block enabling for web content processes on this and other uses that may only be
in the file content process.
Assignee | ||
Comment 3•4 years ago
|
||
COM is required for calls to SHGetFileInfo for moz-icon, but we only currently
require that for the file content process. We may want to use it in the future
for the privileged about content process, in which case we will have to forgo
win32k lockdown there unless moz-icon is remoted.
Depends on D112960
Comment 5•4 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/f62e0e4073bd
https://hg.mozilla.org/mozilla-central/rev/fb5037e7bf9b
Description
•