Linus Torvalds
fa81511bb0
x86-64, modify_ldt: Make support for 16-bit segments a runtime option
...
Checkin:
b3b42ac2cb x86-64, modify_ldt: Ban 16-bit segments on 64-bit kernels
disabled 16-bit segments on 64-bit kernels due to an information
leak. However, it does seem that people are genuinely using Wine to
run old 16-bit Windows programs on Linux.
A proper fix for this ("espfix64") is coming in the upcoming merge
window, but as a temporary fix, create a sysctl to allow the
administrator to re-enable support for 16-bit segments.
It adds a "/proc/sys/abi/ldt16" sysctl that defaults to zero (off). If
you hit this issue and care about your old Windows program more than
you care about a kernel stack address information leak, you can do
echo 1 > /proc/sys/abi/ldt16
as root (add it to your startup scripts), and you should be ok.
The sysctl table is only added if you have COMPAT support enabled on
x86-64, but I assume anybody who runs old windows binaries very much
does that ;)
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com >
Link: http://lkml.kernel.org/r/CA%2B55aFw9BPoD10U1LfHbOMpHWZkvJTkMcfCs9s3urPr1YyWBxw@mail.gmail.com
Cc: <stable@vger.kernel.org >
2014-05-14 16:33:54 -07:00
..
2014-05-05 16:07:44 -07:00
2014-05-05 16:07:44 -07:00
2014-05-11 20:25:20 -07:00
2014-04-17 10:57:02 +02:00
2013-09-28 10:09:41 +02:00
2012-11-17 11:59:10 -08:00
2014-04-01 13:54:00 -07:00
2013-10-17 16:40:47 -07:00
2014-03-18 14:26:12 -06:00
2013-08-06 14:20:20 -07:00
2013-06-06 14:32:04 -07:00
2013-05-02 11:27:35 -07:00
2013-09-25 14:07:57 +02:00
2014-01-21 16:19:47 -08:00
2014-03-20 13:43:42 +01:00
2012-03-20 21:48:15 +08:00
2011-03-23 19:47:19 -07:00
2014-03-13 15:32:44 -07:00
2013-11-07 10:34:46 -06:00
2014-01-06 21:25:18 -08:00
2014-04-01 10:17:18 -07:00
2014-04-02 11:46:50 -07:00
2013-11-12 21:06:06 +01:00
2014-01-21 16:19:47 -08:00
2013-11-12 11:12:22 +09:00
2014-05-08 08:15:34 +02:00
2014-01-09 13:24:29 -08:00
2014-01-09 13:24:29 -08:00
2014-03-07 10:06:16 -05:00
2014-05-05 16:07:44 -07:00
2014-05-05 16:07:44 -07:00
2014-03-07 18:58:40 -08:00
2014-03-07 18:58:40 -08:00
2013-02-27 13:38:57 -08:00
2014-05-08 08:15:34 +02:00
2014-01-06 21:25:18 -08:00
2013-09-25 14:23:07 +02:00
2014-03-11 12:32:52 -07:00
2011-03-23 22:15:54 +01:00
2011-07-01 10:37:14 +02:00
2013-09-04 07:46:04 +02:00
2013-02-03 18:16:24 -05:00
2014-01-08 14:36:29 -08:00
2014-03-10 17:32:01 -07:00
2013-10-01 12:53:25 +02:00
2013-08-06 14:18:23 -07:00
2014-04-02 09:49:47 +02:00
2014-01-12 13:13:02 +01:00
2013-10-19 19:45:35 -04:00
2012-07-26 15:07:20 +02:00
2014-01-06 21:25:18 -08:00
2014-01-03 14:37:13 +00:00
2014-02-22 15:53:32 +01:00
2014-02-22 15:53:32 +01:00
2014-05-14 16:33:54 -07:00
2014-01-06 21:25:18 -08:00
2014-02-25 16:57:47 -08:00
2014-03-18 12:51:52 -07:00
2013-07-14 19:36:56 -04:00
2014-03-24 10:18:26 -07:00
2012-05-29 20:14:53 -07:00
2014-03-20 13:43:42 +01:00
2012-06-20 14:23:17 +02:00
2014-02-09 13:17:22 +01:00
2013-08-09 07:54:00 -07:00
2013-09-04 09:46:43 -07:00
2014-04-10 19:51:32 -07:00
2014-02-11 09:40:15 +01:00
2011-05-10 10:21:35 +02:00
2014-01-06 21:25:18 -08:00
2012-03-28 16:36:31 +02:00
2012-09-19 17:08:40 +02:00
2013-09-25 14:23:07 +02:00
2012-09-05 10:52:25 +02:00
2014-03-06 16:56:55 -08:00
2014-05-05 16:07:44 -07:00
2014-02-11 09:58:28 +01:00
2014-03-06 16:56:55 -08:00
2013-11-06 09:49:02 +02:00
2014-03-14 11:05:36 +01:00
2014-05-07 11:22:10 +02:00
2013-06-25 16:26:06 -07:00
2013-06-20 21:30:04 -07:00
2013-11-12 11:12:22 +09:00
2012-06-14 12:42:11 +02:00
2014-04-02 13:15:58 -07:00
2013-09-04 11:08:32 -07:00
2014-05-05 16:07:44 -07:00
2014-04-01 10:17:18 -07:00
2011-06-14 22:48:51 -04:00
2013-01-22 10:08:00 -08:00
2013-08-22 10:19:35 -07:00
2013-08-06 14:20:18 -07:00
2013-08-06 14:20:18 -07:00
2013-08-02 16:17:47 -07:00
2013-10-03 07:51:11 +02:00
2013-08-02 16:17:47 -07:00
2013-07-31 14:25:51 +02:00
2012-03-28 18:11:12 +01:00
2011-05-21 19:10:33 +02:00
2012-04-20 13:51:38 -07:00
2014-04-01 11:22:57 -07:00
2013-03-03 22:58:33 -05:00
2013-09-30 19:55:51 +02:00
2012-11-13 15:48:27 -05:00
2013-07-16 15:14:48 -07:00
2014-05-05 16:07:44 -07:00
2014-02-19 17:12:24 +01:00
2014-01-06 21:25:18 -08:00
2014-04-02 12:26:43 -07:00
2013-04-13 15:31:55 +02:00
2011-03-18 10:39:30 +01:00
2013-05-02 20:36:32 -04:00
2014-03-18 12:52:44 -07:00
2014-05-05 16:07:44 -07:00
2014-04-07 14:55:46 -07:00
2011-08-10 19:26:46 -05:00
2014-05-09 08:45:52 -07:00
2011-08-04 16:13:53 -07:00
2013-12-13 08:44:30 -07:00
2013-09-25 14:23:07 +02:00
2013-12-06 17:17:42 -08:00