aboutsummaryrefslogtreecommitdiffstats
path: root/net/tipc/node.c
diff options
context:
space:
mode:
authorJann Horn <[email protected]>2015-09-11 19:39:33 +0000
committerLinus Torvalds <[email protected]>2016-07-15 21:30:06 +0000
commit3e0a396546450536679ae4d3bd70290ce0b0c79c (patch)
tree1de0a003e5f230a2f5dfd63dfa837488ef8a728a /net/tipc/node.c
parentmedia: fix airspy usb probe error path (diff)
downloadkernel-3e0a396546450536679ae4d3bd70290ce0b0c79c.tar.gz
kernel-3e0a396546450536679ae4d3bd70290ce0b0c79c.zip
xfs: fix type confusion in xfs_ioc_swapext
Without this check, the following XFS_I invocations would return bad pointers when used on non-XFS inodes (perhaps pointers into preceding allocator chunks). This could be used by an attacker to trick xfs_swap_extents into performing locking operations on attacker-chosen structures in kernel memory, potentially leading to code execution in the kernel. (I have not investigated how likely this is to be usable for an attack in practice.) Signed-off-by: Jann Horn <[email protected]> Cc: Andy Lutomirski <[email protected]> Cc: Dave Chinner <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'net/tipc/node.c')
0 files changed, 0 insertions, 0 deletions