CONFIG_LEGACY_TIOCSTI support in stable branches
Sasha, Greg,
Can you please backport CONFIG_LEGACY_TIOCSTI support into stable kernels?
This, perhaps, would include there mainline commits:
83efeeeb3d04b22aaed1df99bc70a48fe9d22c4d tty: Allow TIOCSTI to be disabled 5c30f3e4a6e67c88c979ad30554bf4ef9b24fbd0 tty: Move TIOCSTI toggle variable before kerndoc b2ea273a477cd6e83daedbfa1981cd1a7468f73a tty: Fix typo in LEGACY_TIOCSTI Kconfig description 690c8b804ad2eafbd35da5d3c95ad325ca7d5061 TIOCSTI: always enable for CAP_SYS_ADMIN 3f29d9ee323ae5cda59d144d1f8b0b10ea065be0 TIOCSTI: Document CAP_SYS_ADMIN behaviour in Kconfig 8d1b43f6a6df7bcea20982ad376a000d90906b42 tty: Restrict access to TIOCLINUX' copy-and-paste subcommands
Thanks,
Greg Kroah-Hartman
maintainerQuoted 4 lines · Vitaly Chikunov
Sasha, Greg,
Can you please backport
CONFIG_LEGACY_TIOCSTIsupport into stable kernels?
That seems to be a new feature, not a bugfix, right? Is that applicable to older kernels?
Quoted 8 lines
This, perhaps, would include there mainline commits:
83efeeeb3d04b22aaed1df99bc70a48fe9d22c4dtty: Allow TIOCSTI to be disabled5c30f3e4a6e67c88c979ad30554bf4ef9b24fbd0tty: Move TIOCSTI toggle variable before kerndocb2ea273a477cd6e83daedbfa1981cd1a7468f73atty: Fix typo inLEGACY_TIOCSTIKconfigdescription690c8b804ad2eafbd35da5d3c95ad325ca7d5061TIOCSTI: always enable forCAP_SYS_ADMIN3f29d9ee323ae5cda59d144d1f8b0b10ea065be0TIOCSTI: DocumentCAP_SYS_ADMINbehaviour inKconfig8d1b43f6a6df7bcea20982ad376a000d90906b42tty: Restrict access to TIOCLINUX' copy-and-paste subcommands
Why not just use 6.6.y if you want this feature?
greg k-h
Greg,
Quoted 8 lines · Greg Kroah-Hartman
Quoted 4 lines · Vitaly Chikunov
Sasha, Greg,
Can you please backport
CONFIG_LEGACY_TIOCSTIsupport into stable kernels?That seems to be a new feature, not a bugfix, right? Is that applicable to older kernels?
This is related to CVE-2016-2568 (in polkit), but it's believed this is better fixed on the kernel side.
Quoted 11 lines
Quoted 9 lines
This, perhaps, would include there mainline commits:
83efeeeb3d04b22aaed1df99bc70a48fe9d22c4dtty: Allow TIOCSTI to be disabled5c30f3e4a6e67c88c979ad30554bf4ef9b24fbd0tty: Move TIOCSTI toggle variable before kerndocb2ea273a477cd6e83daedbfa1981cd1a7468f73atty: Fix typo inLEGACY_TIOCSTIKconfigdescription690c8b804ad2eafbd35da5d3c95ad325ca7d5061TIOCSTI: always enable forCAP_SYS_ADMIN3f29d9ee323ae5cda59d144d1f8b0b10ea065be0TIOCSTI: DocumentCAP_SYS_ADMINbehaviour inKconfig8d1b43f6a6df7bcea20982ad376a000d90906b42tty: Restrict access to TIOCLINUX' copy-and-paste subcommandsWhy not just use 6.6.y if you want this feature?
Since I maintain older kernels for ALT Linux I thought I'd first ask upstream if it's possible to backport the patches before cherry-picking them myself. It is also good to know they aren't backported intentionally and not by a slip.
Thanks,
Quoted 2 lines
greg k-h