Local privilege escalation via watch queue filter writes
Published Jul 16, 2024 · Updated Aug 5, 2026
Out-of-bounds writes in Linux kernel 5.8 and affected later releases allow local users to gain root through crafted watch queue filter types. In watch_queue_set_filter(), a type is checked against a bitmap size multiplied by BITS_PER_LONG, so __set_bit() indexes past type_filter and the loop writes more filters[] entries than were allocated. An unprivileged local account can reach the ioctl path without user interaction; heap corruption can disclose or modify kernel memory, grant root privileges, or crash, panic, or hang the host.
Summary
What happened
Out-of-bounds writes in Linux kernel 5.8 and affected later releases allow local users to gain root through crafted watch queue filter types. In watch_queue_set_filter(), a type is checked against a bitmap size multiplied by BITS_PER_LONG, so __set_bit() indexes past type_filter and the loop writes more filters[] entries than were allocated. An unprivileged local account can reach the ioctl path without user interaction; heap corruption can disclose or modify kernel memory, grant root privileges, or crash, panic, or hang the host.
The record
- CVE
- CVE-2022-48847
- Published
- Jul 16, 2024
- Updated
- Aug 5, 2026
- Vendor
- The Linux Kernel Organization
- Product
- Linux
- Classifications
- T1068
- Attack vector
- local
- Privileges
- authenticated
Timeline
How it unfolded
- Jul 16, 2024CVE publishedPublication date reported by the CVE source.
- Aug 5, 2026Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=5.8
- Affected versionversion=c73be61cede5882f9605a852414db559c0ebedfd <1b09f28f70a5046acd64138075ae3f095238b045
- Affected versionversion=c73be61cede5882f9605a852414db559c0ebedfd <648895da69ced90ca770fd941c3d9479a9d72c16
- Affected versionversion=c73be61cede5882f9605a852414db559c0ebedfd <b36588ebbcef74583824c08352e75838d6fb4ff2
- Affected versionversion=c73be61cede5882f9605a852414db559c0ebedfd <c993ee0f9f81caf5767a50d1faeba39a0dc82af2
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
- Linux watch_queue filter out-of-bounds write exploitfunctional · demonstrated
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo