aboutsummaryrefslogtreecommitdiff
path: root/lib/memory-notifier-error-inject.c
diff options
context:
space:
mode:
authorIoana Radulescu <[email protected]>2019-05-24 18:15:15 +0300
committerDavid S. Miller <[email protected]>2019-05-26 13:41:33 -0700
commit5a20a093d965560f632b2ec325f8876918f78165 (patch)
treece16c6cf0d67fee47b55a09796769a442f92117e /lib/memory-notifier-error-inject.c
parent334031219a84b9994594015aab85ed7754c80176 (diff)
dpaa2-eth: Fix potential spectre issue
Smatch reports a potential spectre vulnerability in the dpaa2-eth driver, where the value of rxnfc->fs.location (which is provided from user-space) is used as index in an array. Add a call to array_index_nospec() to sanitize the access. Signed-off-by: Ioana Radulescu <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions