Bug 1152516 - (CVE-2019-16921) VUL-0: CVE-2019-16921: kernel-source: missing initialization of resp data structure in hns_roce_alloc_ucontext in drivers/infiniband/hw/hns/hns_roce_main.c
(CVE-2019-16921)
VUL-0: CVE-2019-16921: kernel-source: missing initialization of resp data str...
Status: RESOLVED FIXED
Classification: Novell Products
Product: SUSE Security Incidents
Classification: Novell Products
Component: Incidents
unspecified
Other Other
: P5 - None : Major
: ---
Assigned To: E-mail List
Security Team bot
https://smash.suse.de/issue/243467/
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2019-09-30 12:47 UTC by Alexander Bergmann
Modified: 2020-06-25 08:03 UTC (History)
3 users (show)

See Also:
Found By: Security Response Team
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---
carnil: needinfo?


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Bergmann 2019-09-30 12:47:05 UTC
CVE-2019-16921

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.

Already fixed in SLE and openSUSE:
https://github.com/openSUSE/kernel/commit/72be029e947510dd6cbbbaf51879622af26e4200

The original SUSE bug is bsc#1104427.

References:
http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2019-16921
http://people.canonical.com/~ubuntu-security/cve/2019/CVE-2019-16921.html
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2019-16921
https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=df7e40425813c50cd252e6f5e348a81ef1acae56
https://github.com/torvalds/linux/commit/df7e40425813c50cd252e6f5e348a81ef1acae56
Comment 1 Alexander Bergmann 2019-09-30 12:47:27 UTC
Closing as fixed.
Comment 2 Salvatore Bonaccorso 2019-10-05 19:27:47 UTC
Hi,

Alexander, possible to open up the original issue? I'm trying to understand more the context on the CVE-2019-16921 assignment.

Unless I miss something, the fixing commit is df7e40425813c50cd252e6f5e348a81ef1acae56 upstream which is in v4.17-rc1. Though it fixes an issue introduced by e088a685eae9 ("RDMA/hns: Support rq record doorbell for the user space") which is as well just in 4.17-rc1.

Is the assignnement due to SUSE possibly having backported the later commit to SUSE provided kernels? Because e088a685eae9 as such did not land in any other stable versions.

Regards,
Salvatore