diff options
| author | Jeremy Cline <[email protected]> | 2018-07-27 22:43:02 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2018-07-28 22:43:30 -0700 |
| commit | e978de7a6d382ec378830ca2cf38e902df0b6d84 (patch) | |
| tree | 2d9f35288b60c467f18e5e81891c0a198a8adad3 /scripts/gdb/linux/config.py | |
| parent | c8e8cd579bb4265651df8223730105341e61a2d1 (diff) | |
net: socket: Fix potential spectre v1 gadget in sock_is_registered
'family' can be a user-controlled value, so sanitize it after the bounds
check to avoid speculative out-of-bounds access.
Cc: Josh Poimboeuf <[email protected]>
Cc: [email protected]
Signed-off-by: Jeremy Cline <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/config.py')
0 files changed, 0 insertions, 0 deletions