Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.kernel > #60413

Bug#887873: linux-image-4.9.0-5-marvell: frequent "usercopy: kernel memory overwrite attempt detected" on QNAP NAS (ARM)

From Andrew Lunn <andrew@lunn.ch>
Newsgroups linux.debian.bugs.dist, linux.debian.kernel
Subject Bug#887873: linux-image-4.9.0-5-marvell: frequent "usercopy: kernel memory overwrite attempt detected" on QNAP NAS (ARM)
Date 2018-03-05 15:40 +0100
Message-ID <vpZrr-3Ss-1@gated-at.bofh.it> (permalink)
References <vakTf-5nt-5@gated-at.bofh.it> <vpFVL-7Pk-3@gated-at.bofh.it> <vpIJX-1jS-9@gated-at.bofh.it> <vakTf-5nt-5@gated-at.bofh.it> <vpIJX-1jS-9@gated-at.bofh.it>
Organization linux.* mail to news gateway

Cross-posted to 2 groups.

Show all headers | View raw


On Sun, Mar 04, 2018 at 09:41:15PM +0100, Andrew Lunn wrote:
> On Sun, Mar 04, 2018 at 06:41:57PM +0100, Martin Michlmayr wrote:
> > A Debian user reported the following issue on QNAP TS-119P II with
> > 4.9.65:
> > 
> > * Menno Finlay-Smits <inbox@menno.io> [2018-01-21 23:08]:
> > > Rsyncing files between 2 HDDs on a QNAP 119p with a fresh, minimal install of
> > > stretch NAS (armel) causes the kernel to fail after ~20mins with a kernel
> > > memory overwrite attempt (full error below). 
> 
> Please can you give me the exact rsync command being used. Having a
> unix domain socket seems a bit odd for rsync'ing files on the same
> machine.

I played with this a bit. When you rsync with both source and target
on the same machine, it appears to fork two processes, and connect
them together via a unix domain socket.

I tried reproducing this with 4.9.86. I used the command

rsync -az /home /root/home

which copied 12G of data. No problems seen. But this is one disk. I
assume the machine giving the problem has one of the disks as USB,
since the QNAP TS-119P II is a single bay NAS. So it could be the USB
disk is slower than the internal disk, and there is a backlog building
up. First a backlog for writing out to the disk, then a backlog
forming on the Unix domain socket? So maybe that is why i cannot
reproduce it. Or the problem has been fixed between 4.9.65 and 4.9.86.

Would it be possible to try to reproduce this problem with 4.9.86 on
the hardware reporting the issue?

Thanks
	Andrew

Back to linux.debian.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Bug#887873: linux-image-4.9.0-5-marvell: frequent "usercopy: kernel memory overwrite attempt detected" on QNAP NAS (ARM) Andrew Lunn <andrew@lunn.ch> - 2018-03-04 21:50 +0100
  Bug#887873: linux-image-4.9.0-5-marvell: frequent "usercopy: kernel memory overwrite attempt detected" on QNAP NAS (ARM) Andrew Lunn <andrew@lunn.ch> - 2018-03-05 15:40 +0100
    Bug#887873: linux-image-4.9.0-5-marvell: frequent "usercopy: kernel memory overwrite attempt detected" on QNAP NAS (ARM) Yves-Alexis Perez <corsac@debian.org> - 2018-03-05 17:10 +0100
      Bug#887873: linux-image-4.9.0-5-marvell: frequent "usercopy: kernel memory overwrite attempt detected" on QNAP NAS (ARM) "Menno Finlay-Smits" <inbox@menno.io> - 2018-03-06 02:00 +0100
        Bug#887873: linux-image-4.9.0-5-marvell: frequent "usercopy: kernel memory overwrite attempt detected" on QNAP NAS (ARM) "Menno Finlay-Smits" <inbox@menno.io> - 2018-03-07 05:10 +0100
          Bug#887873: linux-image-4.9.0-5-marvell: frequent "usercopy: kernel memory overwrite attempt detected" on QNAP NAS (ARM) Andrew Lunn <andrew@lunn.ch> - 2018-03-07 14:10 +0100
          Bug#887873: linux-image-4.9.0-5-marvell: frequent "usercopy: kernel memory overwrite attempt detected" on QNAP NAS (ARM) Andrew Lunn <andrew@lunn.ch> - 2018-03-07 14:40 +0100
            Bug#887873: linux-image-4.9.0-5-marvell: frequent "usercopy: kernel memory overwrite attempt detected" on QNAP NAS (ARM) "Menno Finlay-Smits" <inbox@menno.io> - 2018-03-07 22:00 +0100
              Bug#887873: linux-image-4.9.0-5-marvell: frequent "usercopy: kernel memory overwrite attempt detected" on QNAP NAS (ARM) Andrew Lunn <andrew@lunn.ch> - 2018-03-07 23:40 +0100
                Bug#887873: linux-image-4.9.0-5-marvell: frequent "usercopy: kernel memory overwrite attempt detected" on QNAP NAS (ARM) "Menno Finlay-Smits" <inbox@menno.io> - 2018-03-09 11:00 +0100
                Bug#887873: linux-image-4.9.0-5-marvell: frequent "usercopy: kernel memory overwrite attempt detected" on QNAP NAS (ARM) Yves-Alexis Perez <corsac@debian.org> - 2018-03-09 11:10 +0100
                Bug#887873: linux-image-4.9.0-5-marvell: frequent "usercopy: kernel memory overwrite attempt detected" on QNAP NAS (ARM) Andrew Lunn <andrew@lunn.ch> - 2018-03-09 15:40 +0100
                Bug#887873: linux-image-4.9.0-5-marvell: frequent "usercopy: kernel memory overwrite attempt detected" on QNAP NAS (ARM) "Menno Finlay-Smits" <inbox@menno.io> - 2018-03-11 12:10 +0100
                Bug#887873: linux-image-4.9.0-5-marvell: frequent "usercopy: kernel memory overwrite attempt detected" on QNAP NAS (ARM) Yves-Alexis Perez <corsac@debian.org> - 2018-03-11 12:10 +0100
                Bug#887873: linux-image-4.9.0-5-marvell: frequent "usercopy: kernel memory overwrite attempt detected" on QNAP NAS (ARM) "Menno Finlay-Smits" <inbox@menno.io> - 2018-03-11 22:10 +0100
                Bug#887873: linux-image-4.9.0-5-marvell: frequent "usercopy: kernel memory overwrite attempt detected" on QNAP NAS (ARM) Martin Michlmayr <tbm@cyrius.com> - 2018-09-10 15:00 +0200
                Bug#887873: linux-image-4.9.0-5-marvell: frequent "usercopy: kernel memory overwrite attempt detected" on QNAP NAS (ARM) Martin Michlmayr <tbm@cyrius.com> - 2019-07-31 16:50 +0200
                Bug#887873: linux-image-4.9.0-5-marvell: frequent "usercopy: kernel memory overwrite attempt detected" on QNAP NAS (ARM) "Menno Finlay-Smits" <inbox@menno.io> - 2019-08-01 00:30 +0200

csiph-web