From nobody Tue Sep 24 14:30:02 2024 X-Original-To: bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4XCj1l41t4z5Xrff for ; Tue, 24 Sep 2024 14:30:03 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4XCj1k6Yr1z47ML for ; Tue, 24 Sep 2024 14:30:02 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1727188202; a=rsa-sha256; cv=none; b=QckXmY13MT3Gs+goe35JRoxqC33cPMH2z+Oh7fr+KPdFSNcNKWfkoC01NAvBuWLUYMNIqK siMx06NclpdygOQNgyrbSHFVSNTkJlZ8QEAfkHt1qLptjcdH3E41Gv0OaCRG2yisBRnfKa rGQPXRVJjr9xCyy/WgtwhwgAJp+pvT8JC5d0QRCQ7FvIa0XOa19av3fjz6TT8Y22VMM+gU CYp8E4ESA2ZGDUFZoawYcM30+zmr3PWzZT6JwgM0d1P7YcsysedLA8nSvLlW/KmifQJLN6 KxgnGK+Ao24OaCkA3oMAL5r4dInuv/HhhLlGDSFlDEbbDdvdRw4TMf4HkE/Xjg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1727188202; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=/+mJzxnimh0BVX2Hu6c3aCWdFnNFMAoGrzB2gh1/v0I=; b=QHjmdbELojl7YPcATdt2XzpqBdODOFe48Q/TYD1+tkjAlc8RfnRx7imYXRpb/RRgniJvMk 75EPG3lZZM6HNDdS+3NGGUEE0sB9vNtkTBOPBprS9Cwzns4DJ+CMXkmR+Y58Y80ja4myKQ R8cWzdeS4KJCTW4rzJAzFg5dY7NjDUVhdfujeDTINhaMTPVkqJZE58ZB9RK1pB2MGORqdz 5E2aYQ9FuQJD0mC362GLMiQ2bKa/2DbUoM2EagZiEsxPtfJLPdCBBQUc6sSfBcO90gAkGT idfL9Ezyj5pVVl9mtdffcIZb5UIwjUQItUbwOZc9pYvDBLG2OnY5dHPIICbZmw== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4XCj1k63HFzXcc for ; Tue, 24 Sep 2024 14:30:02 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 48OEU2KE019444 for ; Tue, 24 Sep 2024 14:30:02 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 48OEU2wA019443 for bugs@FreeBSD.org; Tue, 24 Sep 2024 14:30:02 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 281685] ASAN intercepting SHA256 and MD5 causes issues with OpenSSL's EVP Date: Tue, 24 Sep 2024 14:30:02 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: misc X-Bugzilla-Version: 15.0-CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: tb@openbsd.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D281685 Bug ID: 281685 Summary: ASAN intercepting SHA256 and MD5 causes issues with OpenSSL's EVP Product: Base System Version: 15.0-CURRENT Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: misc Assignee: bugs@FreeBSD.org Reporter: tb@openbsd.org libmd has a few Init/Update/Final implementations of the same name as OpenS= SL but with incompatible signature. For FreeBSD this is at least SHA2 and MD5. This causes issues when using ASAN, in particular in combination with EVP. See https://github.com/libressl/portable/issues/1098 and https://github.com/openssl/openssl/issues/25456 for an example. I suspect defining `SANITIZER_INTERCEPT_*` for these needs to be reconsider= ed. --=20 You are receiving this mail because: You are the assignee for the bug.=