Linus Torvalds
6ba0d2e4fc
Merge tag 'kallsyms_show_value-fix-v5.9-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/kees/linux
...
Pull sysfs module section fix from Kees Cook:
"Fix sysfs module section output overflow.
About a month after my kallsyms_show_value() refactoring landed, 0day
noticed that there was a path through the kernfs binattr read handlers
that did not have PAGE_SIZEd buffers, and the module "sections" read
handler made a bad assumption about this, resulting in it stomping on
memory when reached through small-sized splice() calls.
I've added a set of tests to find these kinds of regressions more
quickly in the future as well"
Sefltests-acked-by: Shuah Khan <skhan@linuxfoundation.org >
* tag 'kallsyms_show_value-fix-v5.9-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/kees/linux:
selftests: splice: Check behavior of full and short splices
module: Correctly truncate sysfs sections output
2020-08-07 13:24:58 -07:00
..
2020-08-03 18:27:40 -07:00
2020-08-03 11:57:03 -07:00
2020-04-07 10:43:42 -07:00
2020-08-04 13:49:43 -07:00
2020-08-04 22:47:54 -07:00
2020-07-26 15:42:20 +02:00
2020-08-05 20:13:21 -07:00
2020-06-14 01:57:21 +09:00
2020-08-06 11:55:43 -07:00
2020-08-01 09:26:27 +02:00
2020-05-11 00:31:38 +02:00
2020-08-06 12:59:31 -07:00
2020-08-07 11:33:24 -07:00
2020-08-04 22:22:25 -07:00
2020-08-07 11:33:28 -07:00
2020-08-06 11:55:43 -07:00
2020-08-04 18:17:37 -07:00
2020-08-06 19:29:51 -07:00
2020-03-25 11:50:48 +01:00
2020-06-09 09:39:14 -07:00
2020-07-16 12:35:15 -07:00
2020-07-27 23:25:50 +02:00
2020-08-06 19:29:51 -07:00
2020-07-27 23:25:50 +02:00
2020-08-04 14:20:26 -07:00
2020-07-29 10:00:36 -04:00
2020-04-22 15:23:10 -04:00
2020-08-04 14:20:26 -07:00
2020-07-30 11:15:58 -07:00
2020-05-01 12:35:21 +10:00
2020-02-04 03:05:26 +00:00
2020-06-11 15:14:36 +02:00
2020-05-15 11:44:34 -07:00
2020-06-03 13:06:42 -07:00
2020-07-02 17:56:11 +01:00
2020-04-15 11:21:54 +02:00
2020-05-20 14:44:21 -05:00
2020-08-04 14:27:25 -07:00
2020-04-07 10:43:42 -07:00
2020-08-07 11:33:28 -07:00
2020-08-04 13:49:43 -07:00
2020-06-06 23:42:01 +09:00
2020-06-02 10:59:11 -07:00
2020-06-08 11:05:56 -07:00
2020-05-28 10:54:15 +02:00
2020-07-28 13:18:01 +02:00
2020-03-25 10:04:01 -05:00
2019-12-08 14:37:36 +01:00
2019-11-12 11:35:32 +01:00
2020-06-10 19:14:17 -07:00
2020-01-08 16:32:55 +00:00
2020-08-07 10:33:50 -07:00
2020-01-08 16:32:55 +00:00
2020-01-08 16:32:55 +00:00
2020-04-10 15:36:22 -07:00
2020-07-28 13:19:05 +02:00
2020-08-07 11:33:21 -07:00
2020-04-27 02:07:40 -04:00
2020-08-07 09:29:25 -07:00
2020-08-07 13:24:58 -07:00
2020-06-02 10:59:12 -07:00
2020-07-08 11:14:22 +02:00
2020-07-23 17:34:18 +10:00
2020-06-11 15:14:36 +02:00
2020-07-19 20:14:42 +02:00
2020-08-04 15:02:07 -07:00
2020-02-04 03:05:26 +00:00
2020-01-18 13:51:39 +01:00
2020-07-01 12:09:13 +03:00
2020-07-27 14:31:12 -04:00
2020-06-09 09:39:14 -07:00
2020-05-27 11:10:05 +02:00
2019-12-25 10:41:20 +01:00
2020-08-07 11:33:25 -07:00
2020-07-14 16:29:42 -07:00
2020-07-26 23:57:52 +02:00
2020-07-22 10:22:04 +02:00
2020-08-04 13:40:35 -07:00
2020-06-24 07:48:28 -07:00
2019-11-11 10:30:59 +01:00
2020-01-17 10:19:21 +01:00
2019-11-15 14:38:30 +01:00
2020-07-19 20:14:42 +02:00
2019-11-26 13:03:56 -06:00
2020-01-09 16:42:29 -07:00
2020-08-07 11:33:26 -07:00
2020-06-30 12:18:08 -06:00
2019-12-04 15:18:39 +01:00
2020-06-29 12:01:45 -07:00
2019-12-18 18:07:31 +01:00
2020-04-07 21:51:27 +02:00
2020-07-21 08:24:52 -05:00
2020-02-07 15:34:12 +01:00
2020-05-09 13:57:12 +02:00
2020-06-04 19:06:24 -07:00
2020-07-07 11:58:59 -05:00
2020-04-27 02:07:40 -04:00
2020-05-09 13:57:12 +02:00
2020-06-13 09:56:21 -07:00
2020-06-08 11:05:56 -07:00
2020-06-17 10:57:41 -07:00