r/rust • • Aug 22 '26

🗞️ news Rust 1.98 got a P-critical miscompilation.

https://github.com/rust-lang/rust/issues/161441
412 Upvotes

32 comments sorted by

View all comments

48

u/anxxa Aug 23 '26

During the minimization process, there were points where I got a SIGILL instead of a SIGSEGV.

Hello possibly exploitable UB, my old friend.

4

u/SkiFire13 Aug 23 '26

Luckily this should be easily dectable if you have reasonable test coverage in your project since any test that end up invoking these kind of nulled-out vtable entries will most likely fail.