Is Linux hiding security-relevant kernel patches?

Summary

In 2009 Felix von Leitner criticised the Linux developers for no longer marking which kernel patches close security holes. Linux 2.6.29.1 served as an example, with a change in the CIFS code that looked like a buffer overflow that might be exploitable remotely. Without a notice, neither normal users nor specialist media noticed how urgent the update was.

The debate

The kernel developers took the position that a bug is a bug: many bugs can be security-relevant without this being obvious at first glance, and marking them would also tell attackers where to look. Von Leitner countered that attackers examine every patch anyway. Secrecy only harms those who have to decide whether to update immediately.

The example was well chosen: the change enlarged a buffer in the CIFS file system that receives text from the server. Anyone using CIFS and talking to a malicious server could be affected.

What became of it

The dispute accompanied Linux for many years. Since February 2024 the kernel project has assigned identifiers itself as its own CVE Numbering Authority and now gives almost every fixed bug a CVE. This means that everything is marked, but prioritising by urgency is still left to distributions and operators.

Ideas

  • Marking security fixes helps users prioritise updates.
  • Attackers analyse patches regardless of whether they are marked.
  • An enlarged buffer in a patch is often a sign of a fixed overflow.

Insights

  • Secrecy about security fixes protects attackers more than users.
  • With very many bugs, the security relevance of individual fixes can hardly be assessed reliably.

Facts

  • The occasion was Linux 2.6.29.1 from April 2009.
  • The change affected the CIFSTCon function in the CIFS file system.
  • Since February 2024 the kernel project has been a CVE Numbering Authority of its own.

References

Critique

  • The post itself admits not having examined the patch closely; classifying it as a remote vulnerability is a reasoned assumption, not proof.

Remarks

  • The second part of the original is general frustration with Bluetooth on Linux and a debate about bind() with IPv6.

Recommendations

  • Install stable kernel updates regularly instead of waiting for security notices.
  • Disable file system and network modules you do not use.

Read the original article

Search the Web Archive

Found a mistake or have something to add? Get in touch.