Skip to content
Commit aca0fa34 authored by Dave Kleikamp's avatar Dave Kleikamp Committed by Linus Torvalds
Browse files

jfs: don't allow os2 xattr namespace overlap with others



It's currently possible to bypass xattr namespace access rules by
prefixing valid xattr names with "os2.", since the os2 namespace stores
extended attributes in a legacy format with no prefix.

This patch adds checking to deny access to any valid namespace prefix
following "os2.".

Signed-off-by: default avatarDave Kleikamp <shaggy@linux.vnet.ibm.com>
Reported-by: default avatarSergey Vlasov <vsu@altlinux.ru>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 2f9e825d
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment