News for hackers. Stuff that matters.
Re:Copy Fail – CVE-2026-31431 by buckle8017 on Wednesday April 29, 2026 @09:54PM (#47957158)
You should take note that this is written by the person that wrote the bad patch.

So grain of salt.

Re:Copy Fail – CVE-2026-31431 by asveikau on Wednesday April 29, 2026 @11:50PM (#47957870)
I feel like it should be possible to fulfill these advantages with a minimal, not very complex API. I.e. the grandparent's comment about IPsec implementation details doesn't make the cut, but a hardware accelerated cipher implementation does.
Re:Copy Fail – CVE-2026-31431 by amluto on Friday May 01, 2026 @11:08AM (#47975696)
A hardware accelerated DMA-capable cipher implementation is an odd thing, and it’s generally not useful on its own. You might want to set up a whole chain of operations (encrypt, checksum, send to network, for example), but I’ve never encountered a case where you actually want to ask an accelerator to asynchronously encrypt application data and return the encrypted data to the application.
Re:Copy Fail – CVE-2026-31431 by hansvm on Monday May 04, 2026 @08:58PM (#48016805)
Unless you're pushing a ton of extra work into a network-capable accelerator, that sounds exactly like what you'd want for, e.g., an encrypted S3 implementation. You have encryption, RS encoding, striped checksumming, sending fragments to multiple hosts, some sort of potentially interesting partial failure handling, etc.

You could push that all down to the accelerator, but if there are even a few such use cases you might want a dedicated DMA-capable implementation instead.

Re:Copy Fail – CVE-2026-31431 by still_grokking on Wednesday April 29, 2026 @10:01PM (#47957210)
I've said I'm not sure about the validity of that reasoning.

I've liked it nevertheless for context, as augmentation to parent's post.

Re:Copy Fail – CVE-2026-31431 by mihaaly on Thursday April 30, 2026 @04:52AM (#47959886)
But is it true or not? Whoever wrote it. (for objective truth the subjects are unimportant)
Re:Copy Fail – CVE-2026-31431 by skywhopper on Thursday April 30, 2026 @05:24AM (#47960077)
When you can’t know the objective truth or when there isn’t one (as is the case in making decisions about security tradeoffs in software design), knowing the source of the argument is vital to interpreting its validity.
Re:Copy Fail – CVE-2026-31431 by bawolff on Thursday April 30, 2026 @08:47AM (#47961608)
I disagree 100%. Software security tradeoffs are definitely the sort of thing where you can evaluate arguments on their merits.
Re:Copy Fail – CVE-2026-31431 by buckle8017 on Thursday April 30, 2026 @08:22AM (#47961359)
It might have been true in 2002 but it hasn't been true since at least about 2010.

You've almost certainly never had a system that supported any hardware accelerated crypto that also required a kernel module.

It's much easier to expose as cpu extensions.