Opened 5 years ago

Last modified 5 years ago

#760 accepted defect

vreg's can be modified by an arbitrary thread running on another CPU

Reported by: Jakub Jermář Owned by: Jakub Jermář
Priority: major Milestone:
Component: helenos/kernel/amd64 Version: mainline
Keywords: Cc:
Blocker for: Depends on:
See also:


On amd64 and ia32, vreg_init() creates a user-writable page for each CPU with the intention to offer this page via the FS, resp. GS, register as an array of virtual registers that can be used by uspace to implement eg. TLS. Unfortunately, this page can be accessed and written to also from other CPUs without any limits.

Change History (2)

comment:1 by Jakub Jermář, 5 years ago

Owner: set to Jakub Jermář
Status: newaccepted

comment:2 by Jakub Jermář, 5 years ago

Milestone: 0.8.0
Note: See TracTickets for help on using tickets.