What’s Vulnerable › Vulnerabilities
CVE-2019-16921
- Severity: high (CVSS 7.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 1.9% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2019-09-27 · updated 2026-06-17
- Weakness: CWE-665
Description
In the Linux kernel before 4.17, hns_roce_alloc_ucontext in drivers/infiniband/hw/hns/hns_roce_main.c does not initialize the resp data structure, which might allow attackers to obtain sensitive information from kernel stack memory, aka CID-df7e40425813.
Affected products
- Linux kernel: before 4.17 — fixed in 4.17
How to fix
Upgrade to a fixed version: Linux kernel 4.17. Check the vendor advisory for mitigations.
References
- https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=df7e40425813c50cd252e6f5e348a81ef1acae56
- https://github.com/torvalds/linux/commit/df7e40425813c50cd252e6f5e348a81ef1acae56
- https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=df7e40425813c50cd252e6f5e348a81ef1acae56
- https://github.com/torvalds/linux/commit/df7e40425813c50cd252e6f5e348a81ef1acae56
Get alerted when CVE-2019-16921 or the next vulnerability affects your stack