I think the main error here is the way Linux handles this particular
condition.
Since the kernel has encountered an error conditions which indicates
an error it cannot recover from it should panic.
It should not continue, as that makes matters worse (making a denial
of service attack into a data corruption/security problem)
You should always check for errors, but you must make sure you handle them
properly.
Casper