Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Backport] CVE-2024-1938: Type Confusion in V8
Manual backport of patch originally reviewed on https://chromium-review.googlesource.com/c/v8/v8/+/5300311: Merged: [wasm] Use correct signature index for tier-up of wasm-to-js wrapper The wasm-to-js wrapper tierup used the canonicalized signature id lookup for module-independent signatures to look up the canonicalized signature id of module-specific signatures. With this CL the signature id is looked up with the function index of imported functions and from the dispatch table for indirect function calls instead. R=jkummerow@chromium.org Bug: 324596281 (cherry picked from commit 2109613ad4622028778a38fb418956fab8b478b6) Change-Id: I3fb7e4f02596f62e13ffe60015f96bac5efbc598 Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/5300311 Reviewed-by: Jakob Kummerow <jkummerow@chromium.org> Commit-Queue: Andreas Haas <ahaas@chromium.org> Cr-Commit-Position: refs/branch-heads/12.2@{#32} Cr-Branched-From: 6eb5a9616aa6f8c705217aeb7c7ab8c037a2f676-refs/heads/12.2.281@{#1} Cr-Branched-From: 44cf56d850167c6988522f8981730462abc04bcc-refs/heads/main@{#91934} Reviewed-on: https://codereview.qt-project.org/c/qt/qtwebengine-chromium/+/546082 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io> Reviewed-by: Michal Klocek <michal.klocek@qt.io>
- Loading branch information