Files
mirror_zfs/module/zfs
Jorgen Lundman 4458157bee zfs_ioctl: saved_poolname can be truncated
As it uses kmem_strdup() and kmem_strfree() which both rely on
strlen() being the same, but saved_poolname can be truncated causing:

SPL: kernel memory allocator:
buffer freed to wrong cache
SPL: buffer was allocated from kmem_alloc_16,
SPL: caller attempting free to kmem_alloc_8.
SPL: buffer=0xffffff90acc66a38  bufctl=0x0  cache: kmem_alloc_8

Reviewed-by: Matthew Ahrens <mahrens@delphix.com>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Jorgen Lundman <lundman@lundman.net>
Closes #10469
2020-06-17 14:30:03 -07:00
..
2020-06-09 21:24:09 -07:00
2019-07-26 10:54:14 -07:00
2019-06-19 09:48:12 -07:00
2019-06-19 09:48:12 -07:00
2020-06-09 21:24:09 -07:00
2020-03-27 09:11:22 -07:00
2019-12-03 09:51:44 -08:00
2020-06-09 21:24:09 -07:00
2019-09-02 17:56:41 -07:00
2017-10-11 16:54:48 -04:00
2019-10-01 13:17:32 -07:00
2015-01-16 14:41:26 -08:00
2020-06-10 09:24:15 -07:00
2020-06-09 21:24:09 -07:00
2019-06-19 09:48:12 -07:00
2019-10-11 10:13:21 -07:00
2010-08-31 13:41:58 -07:00
2019-09-02 17:56:41 -07:00
2020-06-09 10:15:08 -07:00
2019-10-09 10:36:03 -07:00
2019-06-20 18:29:02 -07:00
2020-05-20 18:06:09 -07:00
2020-06-09 21:24:09 -07:00
2020-01-23 11:01:24 -08:00
2020-06-09 21:24:09 -07:00
2020-06-09 10:15:08 -07:00
2020-06-09 10:15:08 -07:00
2020-06-09 10:15:08 -07:00
2019-09-02 17:56:41 -07:00
2019-09-02 17:56:41 -07:00
2019-12-05 13:10:29 -08:00
2018-02-09 10:08:05 -08:00
2019-07-26 10:54:14 -07:00
2020-06-09 21:24:09 -07:00