Another 2022 kernel bug that’s resurfaced on CISA’s list. This one only touches newer (5.8+) kernels.

At a glance

  • CVE: CVE-2022-0995
  • Severity: 7.8 (High) on NVD, and Red Hat rates it Important. It’s local only: the attacker has to be running code on the box first.
  • Affected: Linux 5.8 up to (but not including) 5.10.106 and 5.15.29, plus early 5.17, according to NVD. Red Hat says none of the RHEL kernels it shipped were affected, and Debian 9 and 10 don’t have the vulnerable code. Debian 11 was affected.
  • Known exploited: Yes. CISA added it to its Known Exploited Vulnerabilities (KEV) catalog on 2026-08-26, more than four years after the fix, and gave US federal agencies until 2026-08-29 to act. That’s three days.

What’s going on

watch_queue is a fairly new kernel feature (it arrived in 5.8) that lets programs receive notifications about kernel events through a pipe. You can attach a filter to say which events you care about. The code that checked those filters got its limit check wrong, so a user could set up a filter that made the kernel write outside the memory it had set aside.

Overwriting kernel memory like that can crash the machine or, done carefully, hand the attacker root. Public exploit code has been around since 2022 (NVD links to two exploits on Packet Storm).

The fix came as a batch of watch_queue patches from David Howells, merged upstream on 2022-03-11.

For web servers, this is local privilege escalation. An attacker with a foothold as your web user on a 5.8 or newer kernel that’s missing the fix could become root. Older kernels don’t have this code at all.

Timeline

  • Fixed upstream: 2022-03-11 (merge 93ce93587d36)
  • Published to NVD: 2022-03-25
  • Added to CISA KEV: 2026-08-26

== UPDATE ==

The fix has been in stable kernels since March 2022.

  • Patch available: Yep.
  • Fixed in: upstream 5.10.106, 5.15.29, 5.17 and later. Debian 11 “bullseye” has it from 5.10.106-1. Ubuntu tracks this as a bundle of related fixes; its tracker lists Ubuntu 22.04 as fixed in 5.15.0-138.148 and still shows some older releases (such as 20.04) as vulnerable, so check your release there. RHEL isn’t affected, according to Red Hat.
  • How to apply: update the kernel and reboot: sudo apt update && sudo apt upgrade on Debian/Ubuntu or sudo dnf upgrade --refresh on Fedora and friends. Then check uname -r to make sure you’re on the new kernel.
  • If you can’t patch yet: Red Hat says there’s no mitigation that meets its bar, and the other sources don’t offer one either. Patch and reboot.

References