News for hackers. Stuff that matters.
Re:size_t-to-int vulnerability in Linux’s filesystem layer by hermitdev on Tuesday July 20, 2021 @06:00PM (#27899930)
I'm not familiar with ARM ISA, but from the godbolt disassembly, it doesn't look like anything special going on here - just the ASM being generated. What's happening here is it just does the add, jumps on overflow flag set to an invalid opcode...
Re:size_t-to-int vulnerability in Linux’s filesystem layer by saagarjha on Tuesday July 20, 2021 @06:06PM (#27899967)
The suggestion was a custom instruction or architectural extension to have this happen in hardware, rather than needing to write out extra code for this.