Kernel-address disclosure via uninitialized nftables registers
Published Aug 29, 2022 · Updated Aug 2, 2024
Information disclosure in Linux Kernel 3.13-rc1 through 5.17 allows local users to read kernel stack data through nf_tables. The nft_do_chain routine leaves struct nft_regs uninitialized, so nftables expressions can expose residual kernel pointers and other stack contents. Exploitation requires local code execution and access to nf_tables, commonly obtained through enabled unprivileged user and network namespaces; the direct consequence is kernel-memory disclosure.
Summary
What happened
Information disclosure in Linux Kernel 3.13-rc1 through 5.17 allows local users to read kernel stack data through nf_tables. The nft_do_chain routine leaves struct nft_regs uninitialized, so nftables expressions can expose residual kernel pointers and other stack contents. Exploitation requires local code execution and access to nf_tables, commonly obtained through enabled unprivileged user and network namespaces; the direct consequence is kernel-memory disclosure.
The record
- CVE
- CVE-2022-1016
- Published
- Aug 29, 2022
- Updated
- Aug 2, 2024
- Vendor
- The Linux Kernel Organization
- Product
- Linux Kernel
- Classifications
- CWE-824, CWE-909
- Attack vector
- local
- Privileges
- authenticated
Timeline
How it unfolded
- Aug 29, 2022CVE publishedPublication date reported by the CVE source.
- Aug 2, 2024Record 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=Affects v3.13-rc1 and later, Fixed in v5.18-rc1
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
- How The Tables Have Turned CVE-2022-1016 analysisproof of concept · unverified
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