logoalt Hacker News

Claude Code Found a Linux Vulnerability Hidden for 23 Years

52 pointsby eichinyesterday at 11:46 PM21 commentsview on HN

Comments

userbinatortoday at 9:46 AM

Not "hidden", but probably more like "no one bothered to look".

declares a 1024-byte owner ID, which is an unusually long but legal value for the owner ID.

When I'm designing protocols or writing code with variable-length elements, "what is the valid range of lengths?" is always at the front of my mind.

it uses a memory buffer that’s only 112 bytes. The denial message includes the owner ID, which can be up to 1024 bytes, bringing the total size of the message to 1056 bytes. The kernel writes 1056 bytes into a 112-byte buffer

This is something a lot of static analysers can easily find. Of course asking an LLM to "inspect all fixed-size buffers" may give you a bunch of hallucinations too, but could be a good starting point for further inspection.

show 1 reply
dist-epochtoday at 9:57 AM

> "given enough eyeballs, all bugs are shallow"

Time to update that:

"given 1 million tokens context window, all bugs are shallow"

show 1 reply
eichinyesterday at 11:46 PM

An explanation of the Claude Opus 4.6 linux kernel security findings as presented by Nicholas Carlini at unpromptedcon.

show 1 reply
jazz9ktoday at 12:25 AM

This does sound great, but the cost of tokens will prevent most companies from using agents to secure their code.

show 1 reply
up2isomorphismtoday at 2:42 AM

But on the other hand, Claude might introduce more vulnerability than it discovered.

show 1 reply