Details
-
Bug
-
Resolution: Fixed
-
P2
-
17, 18
-
b18
-
Verified
Backports
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8322401 | 17.0.11 | Aleksey Shipilev | P2 | Resolved | Fixed | b01 |
Description
PretouchTask unconditionally (atomically) adds _chunk_size to _cur_addr to claim the next chunk. That addition can overflow. There is followup code that attempts to detect and handle overflow, but since pointer arithmetic overflow is UB, that isn't reliable.
Attachments
Issue Links
- backported by
-
JDK-8322401 Possible pointer overflow in PretouchTask chunk claiming
- Resolved