Skip to content
Better HN
Top
New
Best
Ask
Show
Jobs
Search
⌘K
Copy Fail 2: Electric Boogaloo | Better HN
Copy Fail 2: Electric Boogaloo
(opens in new tab)
(github.com)
11 points
larusso
17d ago
2 comments
Share
2 comments
default
newest
oldest
Mindless2112
17d ago
How much pain must there be until people realize we actually do need memory safety?
delamon
17d ago
How would've memory safety helped here?
Mindless2112
17d ago
In CHERI, for example, pointers have permissions. The pointer to the COW memory would not have the "write" permission.
I could be misunderstanding the bug, of course.
delamon
17d ago
If you "forget" to mark COW memory pointer as no-write, the net effect would be same, would it not? If I'm reading the diff correctly, the problem was that code missed to mark some pages as shared (aka no-write).
1 more reply
tatersolid
17d ago
Because “Page-cache write into any readable file” is a memory safety bug? All of these recent Linux LPEs are memory safety issues.
j
/
k
navigate · click thread line to collapse