lkml.org 
[lkml]   [2017]   [Sep]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [v1] iov_iter: fix page_copy_sane for compound pages
Date
On Tuesday, 29 August 2017 11:20:32 PDT Petar Penkov wrote:
> Issue is that if the data crosses a page boundary inside a compound
> page, this check will incorrectly trigger a WARN_ON.
>
> To fix this, compute the order using the head of the compound page and
> adjust the offset to be relative to that head.
>
> Fixes: 72e809ed81ed ("iov_iter: sanity checks for copy to/from page
> primitives")

Hello

Is this patch slated to end up in one of the 4.13.x updates? It landed on
v4.14-rc2 already but seems to have missed the 4.13.3 and 4.13.4 tagging.

Without this patch, I can't connect any USB Ethernet or the kernel will start
producing that WARN_ON message and returning -EFAULT for quite a few programs.

--
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
Software Architect - Intel Open Source Technology Center

\
 
 \ /
  Last update: 2017-09-30 22:18    [W:0.577 / U:0.020 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site