Closed Bug 2063132 Opened 3 months ago Closed 3 months ago

Assertion failure: false (MOZ_ASSERT_UNREACHABLE: unhandled or invalid signature scheme), at checkouts\gecko\security\manager\ssl\nsNSSCallbacks.cpp:1134

Categories

(Core :: Security: PSM, defect, P1)

defect

Tracking

()

RESOLVED FIXED
156 Branch
Tracking Status
firefox-esr115 --- unaffected
firefox-esr140 --- unaffected
firefox-esr153 --- unaffected
firefox154 --- unaffected
firefox155 --- fixed
firefox156 --- fixed

People

(Reporter: tsmith, Assigned: keeler)

References

(Blocks 1 open bug, Regression, )

Details

(Keywords: assertion, pernosco, regression, Whiteboard: [psm-assigned])

Attachments

(2 external files)

Found with m-c 20260811-11b07d869739 (--enable-debug)

This was found by visiting a live website with a debug build.

STR:

  • Launch browser and visit site

This issue was triggered by visiting http://live.nowgoal26.com/. A Pernosco session is available here: https://pernos.co/debug/H6nYW5ZVceJjI7Gam6SnjQ/index.html

Assertion failure: false (MOZ_ASSERT_UNREACHABLE: unhandled or invalid signature scheme), at checkouts\gecko\security\manager\ssl\nsNSSCallbacks.cpp:1134

8|0|xul.dll|HandshakeCallback(PRFileDesc*, void*)|git:github.com/mozilla-firefox/firefox:security/manager/ssl/nsNSSCallbacks.cpp:85130ba192d9f4bdf63e57502cb23fb31f95f7ca|1200|0xc14
8|1|nss3.dll|ssl_FinishHandshake(sslSocketStr*)|git:github.com/mozilla-firefox/firefox:security/nss/lib/ssl/sslsecur.c:85130ba192d9f4bdf63e57502cb23fb31f95f7ca|92|0x14c
8|2|nss3.dll|ssl3_HandleHandshakeMessage(sslSocketStr*, unsigned char*, unsigned int, int)|git:github.com/mozilla-firefox/firefox:security/nss/lib/ssl/ssl3con.c:85130ba192d9f4bdf63e57502cb23fb31f95f7ca|12935|0x298d
8|3|nss3.dll|ssl3_HandleNonApplicationData(sslSocketStr*, <unnamed-tag>, unsigned short, unsigned long long, sslBufferStr*)|git:github.com/mozilla-firefox/firefox:security/nss/lib/ssl/ssl3con.c:85130ba192d9f4bdf63e57502cb23fb31f95f7ca|13647|0x41c
8|4|nss3.dll|ssl3_HandleRecord(sslSocketStr*, SSL3Ciphertext*)|git:github.com/mozilla-firefox/firefox:security/nss/lib/ssl/ssl3con.c:85130ba192d9f4bdf63e57502cb23fb31f95f7ca|14011|0xf23
8|5|nss3.dll|ssl3_GatherCompleteHandshake(sslSocketStr*, int)|git:github.com/mozilla-firefox/firefox:security/nss/lib/ssl/ssl3gthr.c:85130ba192d9f4bdf63e57502cb23fb31f95f7ca|560|0x84f
8|6|nss3.dll|SSL_ForceHandshake(PRFileDesc*)|git:github.com/mozilla-firefox/firefox:security/nss/lib/ssl/sslsecur.c:85130ba192d9f4bdf63e57502cb23fb31f95f7ca|419|0x56
8|7|xul.dll|NSSSocketControl::DriveHandshake()|git:github.com/mozilla-firefox/firefox:security/manager/ssl/NSSSocketControl.cpp:85130ba192d9f4bdf63e57502cb23fb31f95f7ca|245|0x94
8|8|xul.dll|mozilla::net::TlsHandshaker::EnsureNPNComplete()|git:github.com/mozilla-firefox/firefox:netwerk/protocol/http/TlsHandshaker.cpp:85130ba192d9f4bdf63e57502cb23fb31f95f7ca|226|0x1a2
8|9|xul.dll|mozilla::net::nsHttpConnection::OnSocketWritable()|git:github.com/mozilla-firefox/firefox:netwerk/protocol/http/nsHttpConnection.cpp:85130ba192d9f4bdf63e57502cb23fb31f95f7ca|1807|0x1f0
8|10|xul.dll|mozilla::net::nsHttpConnection::OnOutputStreamReady(nsIAsyncOutputStream*)|git:github.com/mozilla-firefox/firefox:netwerk/protocol/http/nsHttpConnection.cpp:85130ba192d9f4bdf63e57502cb23fb31f95f7ca|2340|0x34
8|11|xul.dll|mozilla::net::nsSocketOutputStream::OnSocketReady(nsresult)|git:github.com/mozilla-firefox/firefox:netwerk/base/nsSocketTransport2.cpp:85130ba192d9f4bdf63e57502cb23fb31f95f7ca|544|0xf7
8|12|xul.dll|mozilla::net::nsSocketTransport::OnSocketReady(PRFileDesc*, short)|git:github.com/mozilla-firefox/firefox:netwerk/base/nsSocketTransport2.cpp:85130ba192d9f4bdf63e57502cb23fb31f95f7ca|2206|0x8a
8|13|xul.dll|mozilla::net::nsSocketTransportService::DoPollIteration()|git:github.com/mozilla-firefox/firefox:netwerk/base/nsSocketTransportService2.cpp:85130ba192d9f4bdf63e57502cb23fb31f95f7ca|1442|0x645
8|14|xul.dll|mozilla::net::nsSocketTransportService::Run()|git:github.com/mozilla-firefox/firefox:netwerk/base/nsSocketTransportService2.cpp:85130ba192d9f4bdf63e57502cb23fb31f95f7ca|1208|0x4d5
8|15|xul.dll|nsThread::ProcessNextEvent(bool, bool*)|git:github.com/mozilla-firefox/firefox:xpcom/threads/nsThread.cpp:85130ba192d9f4bdf63e57502cb23fb31f95f7ca|1171|0x8af
8|16|xul.dll|NS_ProcessNextEvent(nsIThread*, bool)|git:github.com/mozilla-firefox/firefox:xpcom/threads/nsThreadUtils.cpp:85130ba192d9f4bdf63e57502cb23fb31f95f7ca|471|0x70
8|17|xul.dll|mozilla::ipc::MessagePumpForNonMainThreads::Run(base::MessagePump::Delegate*)|git:github.com/mozilla-firefox/firefox:ipc/glue/MessagePump.cpp:85130ba192d9f4bdf63e57502cb23fb31f95f7ca|297|0xc5
8|18|xul.dll|MessageLoop::RunHandler()|git:github.com/mozilla-firefox/firefox:ipc/chromium/src/base/message_loop.cc:85130ba192d9f4bdf63e57502cb23fb31f95f7ca|364|0x3e
8|19|xul.dll|MessageLoop::Run()|git:github.com/mozilla-firefox/firefox:ipc/chromium/src/base/message_loop.cc:85130ba192d9f4bdf63e57502cb23fb31f95f7ca|346|0x6e
8|20|xul.dll|nsThread::ThreadFunc(void*)|git:github.com/mozilla-firefox/firefox:xpcom/threads/nsThread.cpp:85130ba192d9f4bdf63e57502cb23fb31f95f7ca|375|0x147
8|21|nss3.dll|_PR_NativeRunThread(void*)|git:github.com/mozilla-firefox/firefox:nsprpub/pr/src/threads/combined/pruthr.c:85130ba192d9f4bdf63e57502cb23fb31f95f7ca|403|0x120
8|22|nss3.dll|pr_root(void*)|git:github.com/mozilla-firefox/firefox:nsprpub/pr/src/md/windows/w95thred.c:85130ba192d9f4bdf63e57502cb23fb31f95f7ca|137|0x10

Not a security issue, but definitely something to fix.

Assignee: nobody → dkeeler
Severity: -- → S4
Keywords: regression
Priority: -- → P1
Regressed by: 2050189
Whiteboard: [psm-assigned]

This also takes the opportunity to avoid some unnecessary work when gathering
key exchange and auth curve telemetry.

Status: NEW → RESOLVED
Closed: 3 months ago
Resolution: --- → FIXED
Target Milestone: --- → 156 Branch

The patch landed in nightly and beta is affected.
:keeler, is this bug important enough to require an uplift?

For more information, please visit BugBot documentation.

Flags: needinfo?(dkeeler)

This also takes the opportunity to avoid some unnecessary work when gathering
key exchange and auth curve telemetry.

Original Revision: https://phabricator.services.mozilla.com/D318852

Attachment #9627975 - Flags: approval-mozilla-beta?

firefox-beta Uplift Approval Request

  • User impact if declined/Reason for urgency: Telemetry accuracy, assertion failures in debug builds.
  • Code covered by automated testing?: yes
  • Fix verified in Nightly?: yes
  • Needs manual QE testing?: no
  • Steps to reproduce for manual QE testing: n/a
  • Risk associated with taking this patch: low
  • Explanation of risk level: This essentially restores prior behavior, so it should be low risk.
  • String changes made/needed?: none
  • Is Android affected?: yes
Flags: needinfo?(dkeeler)
Attachment #9627975 - Flags: approval-mozilla-beta? → approval-mozilla-beta+
QA Whiteboard: [qa-triage-done-c156/b155]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: