search for: iov_iter_copy_from_user_atomic

Displaying 8 results from an estimated 8 matches for "iov_iter_copy_from_user_atomic".

2011 Feb 11
1
null pointer dereference in iov_iter_copy_from_user_atomic while updating rpm packages
...4.496006] 00001010 00000002 00001000 f1d57eb8 0000113c 00000000 f1d57edc f8218129 Feb 10 10:59:45 testbox kernel: [ 524.496006] Call Trace: Feb 10 10:59:45 testbox kernel: [ 524.496006] [<c04268aa>] __kmap_atomic+0x13/0x15 Feb 10 10:59:45 testbox kernel: [ 524.496006] [<c04ab3cd>] iov_iter_copy_from_user_atomic+0x28/0x6c Feb 10 10:59:45 testbox kernel: [ 524.496006] [<f8217b41>] btrfs_copy_from_user.isra.6+0x5c/0x96 [btrfs] Feb 10 10:59:45 testbox kernel: [ 524.496006] [<f8218129>] btrfs_file_aio_write+0x480/0x79b [btrfs] Feb 10 10:59:45 testbox kernel: [ 524.496006] [<c04dd8e4>] ?...
2010 Dec 07
9
[PATCH] Btrfs: pwrite blocked when writing from the mmaped buffer of the same page
...PAGE_CACHE_SIZE - offset, write_bytes); struct page *page = prepared_pages[pg]; again: - /* - * Copy data from userspace to the current page - * - * Disable pagefault to avoid recursive lock since the pages - * are already locked - */ - pagefault_disable(); - copied = iov_iter_copy_from_user_atomic(page, i, offset, count); - pagefault_enable(); + if (unlikely(iov_iter_fault_in_readable(i, count))) + return -EFAULT; + + /* Copy data from userspace to the current page */ + copied = iov_iter_copy_from_user(page, i, offset, count); /* Flush processor''s dcache for this page */...
2017 Nov 07
3
Stability issues since moving to 4.6 - Kernel paging request bug + VM left in null state
...ffffffff814381c5 ffffc900460e3b68 ffffc900460e3d08 0000000000001000 [89920.853633] ffffc900460e3d88 0000000000000000 0000000000001000 ffffea0000000000 [89920.854445] Call Trace: [89920.854741] [<ffffffff814375ca>] ? memcpy_from_page+0x3a/0x70 [89920.855043] [<ffffffff814381c5>] iov_iter_copy_from_user_atomic+0x265/0x290 [89920.855354] [<ffffffff811cf633>] generic_perform_write+0xf3/0x1d0 [89920.855673] [<ffffffff8101e39a>] ? xen_load_tls+0xaa/0x160 [89920.855992] [<ffffffffc025cf2b>] nfs_file_write+0xdb/0x200 [nfs] [89920.856297] [<ffffffff81269062>] vfs_iter_write+0xa2/...
2011 Jan 06
3
Re: [Bug 26242] New: BUG: unable to handle kernel NULL pointer dereference at (null)
...0000 00000002 > 00002000 00001608 f3a83ed0 f828e1ff 00001608 > Jan 6 20:06:23 eser kernel: [19365.563014] Call Trace: > Jan 6 20:06:23 eser kernel: [19365.563014] [<c022998e>] ? > __kmap_atomic+0xe/0x10 > Jan 6 20:06:23 eser kernel: [19365.563014] [<c0299c0c>] ? > iov_iter_copy_from_user_atomic+0x3c/0x90 > Jan 6 20:06:23 eser kernel: [19365.563014] [<f828d6da>] ? > btrfs_copy_from_user+0x5a/0xb0 [btrfs] > Jan 6 20:06:23 eser kernel: [19365.563014] [<f828e1ff>] ? > btrfs_file_aio_write+0x52f/0x9c0 [btrfs] > Jan 6 20:06:23 eser kernel: [19365.563014] [<c0...
2017 Jun 05
0
BUG: KASAN: use-after-free in free_old_xmit_skbs
...] __tcp_push_pending_frames+0x8d/0x2a0 > > [ 310.112159] tcp_push+0x47c/0xbd0 > > [ 310.112912] ? copy_from_iter_full+0x21e/0xc70 > > [ 310.113747] ? sock_warn_obsolete_bsdism+0x70/0x70 > > [ 310.114604] ? tcp_splice_data_recv+0x1c0/0x1c0 > > [ 310.115436] ? iov_iter_copy_from_user_atomic+0xeb0/0xeb0 > > [ 310.116324] tcp_sendmsg+0xd6d/0x43f0 > > [ 310.117106] ? tcp_sendpage+0x2170/0x2170 > > [ 310.117911] ? set_fd_set.part.1+0x50/0x50 > > [ 310.118718] ? remove_wait_queue+0x196/0x3b0 > > [ 310.119535] ? set_fd_set.part.1+0x50/0x50 > > [...
2017 Jun 05
0
BUG: KASAN: use-after-free in free_old_xmit_skbs
...] __tcp_push_pending_frames+0x8d/0x2a0 > > [ 310.112159] tcp_push+0x47c/0xbd0 > > [ 310.112912] ? copy_from_iter_full+0x21e/0xc70 > > [ 310.113747] ? sock_warn_obsolete_bsdism+0x70/0x70 > > [ 310.114604] ? tcp_splice_data_recv+0x1c0/0x1c0 > > [ 310.115436] ? iov_iter_copy_from_user_atomic+0xeb0/0xeb0 > > [ 310.116324] tcp_sendmsg+0xd6d/0x43f0 > > [ 310.117106] ? tcp_sendpage+0x2170/0x2170 > > [ 310.117911] ? set_fd_set.part.1+0x50/0x50 > > [ 310.118718] ? remove_wait_queue+0x196/0x3b0 > > [ 310.119535] ? set_fd_set.part.1+0x50/0x50 > > [...
2018 Sep 14
1
Re: NUMA issues on virtualized hosts
...x70 [<ffffffffc06ec960>] ext4_block_write_begin+0x2e0/0x520 [ext4] [<ffffffffc06ebeb0>] ext4_inode_attach_jinode.part.72+0xa0/0xa0 [ext4] [<ffffffffc041f9f9>] jbd2__journal_start+0xd9/0x1e0 [jbd2] [<ffffffffba80511a>] __check_object_size+0xfa/0x1d8 [<ffffffffba946b85>] iov_iter_copy_from_user_atomic+0xa5/0x330 [<ffffffffba780dcb>] generic_perform_write+0xfb/0x1d0 [<ffffffffba7831ca>] __generic_file_write_iter+0x16a/0x1b0 [<ffffffffc06e7220>] ext4_file_write_iter+0x90/0x370 [ext4] [<ffffffffc06e7190>] ext4_dax_fault+0x140/0x140 [ext4] [<ffffffffba6aef01>] update_cu...
2018 Sep 14
3
NUMA issues on virtualized hosts
Hello, I have cluster with AMD EPYC 7351 cpu. Two CPUs per node. I have performance 8-NUMA configuration: This is from hypervizor: [root@hde10 ~]# lscpu Architecture: x86_64 CPU op-mode(s): 32-bit, 64-bit Byte Order: Little Endian CPU(s): 64 On-line CPU(s) list: 0-63 Thread(s) per core: 2 Core(s) per socket: 16 Socket(s): 2 NUMA