Kernel memory disclosure via wrong copy source
Published Oct 20, 2021 · Updated Aug 3, 2024
Information disclosure in Qualcomm Snapdragon NPU drivers allows local users to read kernel memory through an execution-completion event. The npu_process_kevent function passes the address of reserved[0], rather than the network statistics buffer pointer stored in that field, to copy_to_user, copying the event object and adjacent kernel data into user space. An untrusted Android app can trigger the affected ioctl without elevated privileges and recover kernel heap addresses, but the flaw alone does not write memory or execute code.
Summary
What happened
Information disclosure in Qualcomm Snapdragon NPU drivers allows local users to read kernel memory through an execution-completion event. The npu_process_kevent function passes the address of reserved[0], rather than the network statistics buffer pointer stored in that field, to copy_to_user, copying the event object and adjacent kernel data into user space. An untrusted Android app can trigger the affected ioctl without elevated privileges and recover kernel heap addresses, but the flaw alone does not write memory or execute code.
The record
- CVE
- CVE-2021-1968
- Published
- Oct 20, 2021
- Updated
- Aug 3, 2024
- Vendor
- Qualcomm
- Product
- Snapdragon
- Classifications
- CWE-20, CWE-200
- Attack vector
- local
- Privileges
- unauthenticated
Timeline
How it unfolded
- Oct 20, 2021CVE publishedPublication date reported by the CVE source.
- Aug 3, 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=AQT1000, AR8031, AR8035, CSRA6620, CSRA6640, FSM10055, FSM10056, MDM9150, QCA6391, QCA6420, QCA6430, QCA6574, QCA6574A, QCA6574AU, QCA6584AU, QCA6595, QCA6595AU, QCA6696, QCA8337, QCM6125, QCS405, QCS410, QCS610, QCS6125, SA6145P, SA6150P, SA6155, SA6155P, SA8145P, SA8150P, SA8155, SA8155P, SA8195P, SD 675, SD 8C, SD 8CX, SD665, SD675, SD678, SD720G, SD855, SDA429W, SDX55, SDX55M, SM6250, WCD9335, WCD9340, WCD9341, WCD9370, WCD9375, WCD9380, WCN3610, WCN3620, WCN3660B, WCN3950, WCN3980, WCN3988, WCN3991, WCN3998, WCN3999, WSA8810, WSA8815
What conditions does exploitation require?
What is affected?
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
- GitHub Security Lab Qualcomm NPU exploit chainfunctional · 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