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-04-03 13:12:26 -07:00
2020-06-24 14:25:59 +01:00
2020-08-03 18:27:40 -07:00
2020-07-06 15:47:48 -06:00
2020-03-25 11:50:48 +01:00
2020-08-07 11:33:25 -07:00
2020-08-05 10:28:25 -07:00
2020-06-17 00:07:38 +02:00
2019-01-25 14:57:45 -07:00
2018-05-30 15:21:52 -06:00
2020-05-08 09:40:58 -06:00
2020-08-03 18:06:46 -07:00
2020-03-25 11:50:48 +01:00
2020-06-09 10:03:12 -07:00
2020-07-06 15:59:16 -06:00
2020-07-25 12:05:20 +02:00
2020-06-29 10:02:23 +02:00
2020-06-16 10:42:47 -06:00
2020-03-25 11:50:48 +01:00
2020-04-23 17:23:20 -06:00
2020-03-25 11:50:48 +01:00
2020-04-23 17:23:20 -06:00
2020-04-14 10:24:28 -06:00
2020-03-25 11:50:48 +01:00
2020-03-25 11:50:48 +01:00
2019-08-29 12:45:30 -04:00
2020-07-17 13:36:51 -06:00
2020-08-05 11:52:17 -07:00
2020-07-27 09:04:50 -04:00
2020-06-04 19:06:25 -07:00
2020-07-15 08:54:35 +02:00
2020-06-29 18:41:39 +02:00
2018-05-30 15:29:06 -06:00
2020-03-25 11:50:48 +01:00
2020-03-25 11:50:48 +01:00
2020-04-23 17:23:20 -06:00
2018-09-05 10:58:31 -06:00
2020-08-07 11:33:27 -07:00
2020-03-25 11:50:48 +01:00
2020-03-25 11:50:48 +01:00
2020-08-05 12:25:35 -07:00
2020-08-03 12:02:22 +02:00
2020-05-08 09:42:14 -06:00
2020-06-05 20:02:09 -04:00
2020-03-25 11:50:48 +01:00
2020-07-06 15:59:07 -06:00
2020-08-05 10:28:25 -07:00
2020-08-05 10:14:03 +10:00
2020-03-25 11:50:48 +01:00
2020-04-22 10:51:22 -05:00
2020-05-30 10:34:02 -07:00
2020-07-20 18:04:59 -07:00
2020-04-03 13:12:26 -07:00
2020-06-29 12:03:15 -07:00
2020-03-13 13:29:22 -06:00
2020-03-25 11:50:48 +01:00
2020-03-25 11:50:48 +01:00
2020-03-25 11:50:48 +01:00
2020-08-06 10:15:28 -07:00
2020-07-06 15:57:15 -06:00
2020-03-25 11:50:48 +01:00
2020-03-25 11:50:48 +01:00
2020-08-07 10:50:11 -07:00
2019-05-21 10:50:46 +02:00
2020-07-06 15:57:28 -06:00
2020-06-09 10:03:12 -07:00
2020-07-20 18:29:37 -07:00
2020-05-22 13:29:55 -06:00
2020-03-25 11:50:48 +01:00
2020-03-25 11:50:48 +01:00
2020-07-06 14:20:35 -06:00
2020-07-06 15:59:07 -06:00
2019-05-21 10:50:46 +02:00
2020-05-22 11:05:07 -06:00
2020-08-05 13:28:50 -07:00
2020-03-25 11:50:48 +01:00
2020-06-23 14:50:34 -07:00
2020-08-04 21:16:22 -07:00
2019-07-15 11:03:01 -03:00
2020-04-03 13:12:26 -07:00
2020-05-19 16:11:46 -06:00
2020-04-23 17:23:20 -06:00
2020-07-17 13:56:35 -06:00
2019-11-07 14:43:27 -07:00
2019-04-08 16:44:20 -06:00
2020-08-05 10:28:25 -07:00
2020-07-07 14:11:31 -06:00
2020-08-07 11:33:27 -07:00