mirror of
https://github.com/torvalds/linux.git
synced 2026-11-27 08:52:27 +00:00
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: Dave Kleikamp <[email protected]> Reported-by: Sergey Vlasov <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>