uname -r, see a version string that looks current, and move on. Patched. Done. Except it probably isn't done, because on every major Linux distribution, the version string reported by uname -r almost never changes when a security backport is applied. That mental shortcut — "latest-looking kernel version equals patched" — is one of the most common false assurances in server administration.
Why uname -r Lies to You (By Design)
5.15.0 for an Ubuntu LTS or 5.14.0 for a RHEL 9 series — and then they backport individual fixes from newer upstream kernels into that frozen base. The ABI (Application Binary Interface) stays stable so third-party modules and drivers keep working.
When a backported security patch lands, the package version increments (the part after the dash, like 5.15.0-100 becoming 5.15.0-101), but uname -r still says 5.15.0-101-generic or similar. It does not jump to 6.x just because the fix originated from a 6.x upstream commit. If you only glance at the major version and think "this is 5.15, the CVE advisory says it's fixed in 5.16, so I'm vulnerable," you might be wrong — the fix could already be backported into your 5.15.0-101 build. And the reverse is equally dangerous: if you see 5.15.0-100 and assume it includes everything up to that point, you might be missing a patch that only landed in -101.
The version string from uname -r tells you which kernel build is running. It does not tell you which CVE fixes are compiled into that build. Those are two different questions.
The Right Way: Read the Package Changelog
Debian and Ubuntu (dpkg)
BASH
# Show changelog entries mentioning a specific CVE
dpkg-query -W -f '${Package}\
' 'linux-image-*' | head -5
apt changelog linux-image-$(uname -r) 2>/dev/null | grep -i 'CVE-2024'apt changelog command pulls the changelog from the repository. Pipe it through grep with the CVE ID you need to verify. If the CVE appears in an entry whose version is less than or equal to the installed package version, the fix is in your installed package. If the entry version is higher than what you have installed, you still need to update.
You can also check the installed package version directly:
BASH
dpkg -l linux-image-$(uname -r) | tail -1RHEL, CentOS, AlmaLinux, Rocky (rpm)
BASH
rpm -q --changelog kernel-$(uname -r) | grep -i 'CVE-2024'rpm -q kernel against that errata.
/proc/version_signature: A Ubuntu-Specific Shortcut
/proc/version_signature contains the upstream kernel version that the running kernel is based on, plus the Ubuntu-specific build number. This can help you quickly determine the exact build without parsing package metadata. On other distributions, this file typically does not exist, so do not rely on it as a universal check.
The standard /proc/version file (no _signature suffix) exists on all Linux systems and includes the GCC version used to compile the kernel and the build timestamp. The timestamp alone can hint at whether a recent rebuild happened, but it is not proof of any specific CVE fix.
The Reboot Gap
uname -r reports the running kernel, not the installed one. If you updated the package but have not rebooted (or if you are using a VPS where reboots require coordination), the old, vulnerable kernel is still loaded in memory.
Check whether a reboot is pending:
- Debian/Ubuntu: if the file
/var/run/reboot-requiredexists, a reboot is needed. You can also compareuname -ragainst the newest installed kernel package. - RHEL-family: compare
uname -ragainstrpm -q kernel --last | head -1. If they differ, the newer kernel is installed but not running.
uname output depends on the implementation and the specific patch. On SUSE, for instance, community discussions note that verifying a running live patch requires checking the live patching tooling itself, not uname. The general rule: if you use live patching, check the live patch status tool (canonical-livepatch status, kpatch list, etc.) rather than uname.
What This Means for Hosting and Support
uname -r and give a quick answer is understandable but insufficient. The correct workflow is:
- Identify the CVE and find the distribution's security advisory listing the fixed package version.
- Check the installed kernel package version (
dpkg -lorrpm -q). - Check the changelog for explicit mention of the CVE.
- Confirm the patched kernel is actually running (not just installed), or confirm live patching status.
The Takeaway
uname -r as proof of kernel patching. It shows the running kernel's build identifier, nothing more. For CVE verification, read the package changelog, match it against the distribution's security advisory, and confirm the patched kernel is actually booted. Takes an extra minute. Beats finding out during an incident that the kernel you trusted was never actually fixed.