Commit 2b19226
[463][Backport] CVE-2025-7656: Integer overflow in V8
Cherry-pick of patch originally reviewed on
https://chromium-review.googlesource.com/c/v8/v8/+/6683635:
Ensure InstructionAccurateScope is called with correct count
The scope prevents veneer pool generation. We need to pass the
correct count of instructions to CheckVeneerPool inside the scope
constructor, otherwise we might overflow the veneer distance
margin in the next check (after the scope has ended).
Fixed: 425583995
Change-Id: Iebb81898c4f7999137fc784ce6704773614c2bb5
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/6683635
Auto-Submit: Victor Gomes <victorgomes@chromium.org>
Commit-Queue: Victor Gomes <victorgomes@chromium.org>
Commit-Queue: Igor Sheludko <ishell@chromium.org>
Reviewed-by: Igor Sheludko <ishell@chromium.org>
Cr-Commit-Position: refs/heads/main@{#101089}
Reviewed-on: https://codereview.qt-project.org/c/qt/qtwebengine-chromium/+/665064
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>1 parent d92fc14 commit 2b19226
File tree
2 files changed
+20
-11
lines changed- chromium/v8/src/codegen/arm64
2 files changed
+20
-11
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1276 | 1276 | | |
1277 | 1277 | | |
1278 | 1278 | | |
1279 | | - | |
| 1279 | + | |
1280 | 1280 | | |
1281 | 1281 | | |
1282 | 1282 | | |
| |||
1313 | 1313 | | |
1314 | 1314 | | |
1315 | 1315 | | |
1316 | | - | |
| 1316 | + | |
1317 | 1317 | | |
1318 | 1318 | | |
1319 | 1319 | | |
| |||
1363 | 1363 | | |
1364 | 1364 | | |
1365 | 1365 | | |
| 1366 | + | |
| 1367 | + | |
| 1368 | + | |
| 1369 | + | |
| 1370 | + | |
| 1371 | + | |
1366 | 1372 | | |
1367 | | - | |
| 1373 | + | |
1368 | 1374 | | |
1369 | 1375 | | |
1370 | 1376 | | |
| |||
1397 | 1403 | | |
1398 | 1404 | | |
1399 | 1405 | | |
| 1406 | + | |
| 1407 | + | |
| 1408 | + | |
| 1409 | + | |
| 1410 | + | |
| 1411 | + | |
1400 | 1412 | | |
1401 | | - | |
| 1413 | + | |
1402 | 1414 | | |
1403 | 1415 | | |
1404 | 1416 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2458 | 2458 | | |
2459 | 2459 | | |
2460 | 2460 | | |
2461 | | - | |
| 2461 | + | |
2462 | 2462 | | |
2463 | 2463 | | |
2464 | 2464 | | |
2465 | 2465 | | |
2466 | 2466 | | |
2467 | 2467 | | |
2468 | 2468 | | |
| 2469 | + | |
2469 | 2470 | | |
2470 | 2471 | | |
2471 | 2472 | | |
2472 | | - | |
2473 | | - | |
2474 | | - | |
| 2473 | + | |
2475 | 2474 | | |
2476 | 2475 | | |
2477 | 2476 | | |
| |||
2480 | 2479 | | |
2481 | 2480 | | |
2482 | 2481 | | |
2483 | | - | |
2484 | | - | |
2485 | | - | |
| 2482 | + | |
2486 | 2483 | | |
2487 | 2484 | | |
2488 | 2485 | | |
| |||
0 commit comments