Settings

Theme

ARM Instruction LDRB Fault Identified in Samsung Devices via Firefox Bug

bugzilla.mozilla.org

7 points by lauriewired 3 years ago · 2 comments

Reader

lauriewiredOP 3 years ago

A new Mozilla bug report suspects an issue with the load-after-write operation on certain Samsung phones. The problem is due to the ARM instruction LDRB causing a sign extension in w12, leading to reading a value from an incorrect memory page. Check out from the report:

“Since we just stored 0xba, that's what x12 should contain. However, that's not what we're seeing. Looking at a dump, I see x12 = 0x00000000ffffffba. That's not zero-extended.”

This means that the upper bits are not getting cleared. Likely a bug in the Mongoose M5 core used in Non-US Samsung devices.

  • snvzz 3 years ago

    This is unsurprising, as ARM lacks the verification ecosystem RISC-V has.

    In one or two generations, Samsung will have moved to RISC-V, alongside the rest of the industry

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection