diff options
author | Terence Ho <terenceh@codeaurora.org> | 2017-05-11 11:52:58 -0400 |
---|---|---|
committer | Andy Sun <bins@codeaurora.org> | 2017-05-25 12:37:28 +0800 |
commit | 2cad8aa2f2378e7445ab916e346ec6108e9b437a (patch) | |
tree | b9f7884b180a6c2ea84931afda707d298a6f70bc /crypto/rmd320.c | |
parent | 96e3d4de6da5b613fbc32f1485b2d4ce491eb4cb (diff) |
msm: ais: Fix kernel overwrite GET_BUF_BY_IDX ioctl
Assign address of buf_info into ioctl_ptr.
Previously we were copying first 8 bytes of buf_info (content)
into ioctl_ptr. Which is dereferenced and written later causing
kernel overwrite vulnerability.
CRs-fixed: 2013631
Change-Id: Ia27dafe003c2c4d7a59dc2976bee2cfc15978403
Signed-off-by: Terence Ho <terenceh@codeaurora.org>
Signed-off-by: Andy Sun <bins@codeaurora.org>
Diffstat (limited to 'crypto/rmd320.c')
0 files changed, 0 insertions, 0 deletions