diff options
author | Roman Kubiak <r.kubiak@samsung.com> | 2015-12-17 15:24:35 +0300 |
---|---|---|
committer | Casey Schaufler <casey@schaufler-ca.com> | 2015-12-17 21:21:56 +0300 |
commit | 81bd0d56298f93af6ac233d8a7e8b29aa4b094b7 (patch) | |
tree | 4fb0eb956481a9155e1cd9fffcd04083d3dfc601 /security/inode.c | |
parent | 79be093500791cc25cc31bcaec5a4db62e21497b (diff) | |
download | linux-81bd0d56298f93af6ac233d8a7e8b29aa4b094b7.tar.xz |
Smack: type confusion in smak sendmsg() handler
Smack security handler for sendmsg() syscall
is vulnerable to type confusion issue what
can allow to privilege escalation into root
or cause denial of service.
A malicious attacker can create socket of one
type for example AF_UNIX and pass is into
sendmsg() function ensuring that this is
AF_INET socket.
Remedy
Do not trust user supplied data.
Proposed fix below.
Signed-off-by: Roman Kubiak <r.kubiak@samsung.com>
Signed-off-by: Mateusz Fruba <m.fruba@samsung.com>
Acked-by: Casey Schaufler <casey@schaufler-ca.com>
Diffstat (limited to 'security/inode.c')
0 files changed, 0 insertions, 0 deletions