ecryptfs_decrypt_page: Error attempting to read lower page; rc = [-4]

Bug #1585434 reported by cooloutac
76
This bug affects 17 people
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Confirmed
Medium
Unassigned

Bug Description

ecryptfs_decrypt_page: Error attempting to read lower page; rc = [-4]

ecryptfs_readpage: Error decrypting page; rc = [-4]

I dont' have this issue showing in dmesg when using 3.19 kernel, only with later kernels. Is it related to selecting encrypted home on install or something?

 I don't notice any issues with performance because of it or have any other error messages. I am using default ubuntu xenial 16.04 with unity.

ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: linux-image-4.4.0-22-generic 4.4.0-22.40
ProcVersionSignature: Ubuntu 4.4.0-22.40-generic 4.4.8
Uname: Linux 4.4.0-22-generic x86_64
NonfreeKernelModules: nvidia_uvm nvidia
ApportVersion: 2.20.1-0ubuntu2
Architecture: amd64
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC1: cooloutac 2054 F.... pulseaudio
 /dev/snd/pcmC0D0p: cooloutac 2054 F...m pulseaudio
 /dev/snd/controlC0: cooloutac 2054 F.... pulseaudio
CurrentDesktop: Unity
Date: Tue May 24 22:38:44 2016
EcryptfsInUse: Yes
HibernationDevice: RESUME=UUID=0118ec29-2bd5-4cbc-9800-9c04bbe083d1
InstallationDate: Installed on 2016-05-20 (5 days ago)
InstallationMedia: Ubuntu 16.04 LTS "Xenial Xerus" - Release amd64 (20160420.1)
IwConfig:
 enp2s0 no wireless extensions.

 lo no wireless extensions.
MachineType: Dell Inc. Studio XPS 7100
ProcFB:

ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-4.4.0-22-generic root=UUID=fcd92967-7d59-44bf-bb88-06efa6fac5f7 ro ipv6.disable=1 quiet splash
RelatedPackageVersions:
 linux-restricted-modules-4.4.0-22-generic N/A
 linux-backports-modules-4.4.0-22-generic N/A
 linux-firmware 1.157
RfKill:

SourcePackage: linux
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 09/10/2010
dmi.bios.vendor: Dell Inc.
dmi.bios.version: A06
dmi.board.name: 0NWWY0
dmi.board.vendor: Dell Inc.
dmi.board.version: A00
dmi.chassis.type: 3
dmi.chassis.vendor: Dell Inc.
dmi.modalias: dmi:bvnDellInc.:bvrA06:bd09/10/2010:svnDellInc.:pnStudioXPS7100:pvr:rvnDellInc.:rn0NWWY0:rvrA00:cvnDellInc.:ct3:cvr:
dmi.product.name: Studio XPS 7100
dmi.sys.vendor: Dell Inc.

Revision history for this message
cooloutac (cooloutac) wrote :
Revision history for this message
Brad Figg (brad-figg) wrote : Status changed to Confirmed

This change was made by a bot.

Changed in linux (Ubuntu):
status: New → Confirmed
Revision history for this message
cooloutac (cooloutac) wrote :

I think it is possibly caused by steam. I can recreate the issue, cause the lines to show in dmesg. By opening up Steam, load a game, then quit the game, and then quit steam. Then the new error lines will be there. As I said though it doesn't happen on 3.19 kernel.

Revision history for this message
cooloutac (cooloutac) wrote :
Download full text (7.7 KiB)

hmm I can't recreate the issue now. maybe it doesn't have to do with steam.

[ 1251.616611] ecryptfs_decrypt_page: Error attempting to read lower page; rc = [-4]
[ 1251.616617] ecryptfs_readpage: Error decrypting page; rc = [-4]
[ 1538.783265] audit: type=1400 audit(1464116426.163:70): apparmor="DENIED" operation="mknod" profile="/usr/lib/firefox/firefox{,*[^s][^h]}" name="/dev/shm/UIaQHa" pid=6040 comm="firefox" requested_mask="c" denied_mask="c" fsuid=1000 ouid=1000
[ 1568.092683] csgo_linux[5922]: segfault at 18 ip 00000000f7454b07 sp 00000000d0bbc220 error 4 in libGL.so.340.96[f740a000+b6000]
[ 1569.428923] ecryptfs_decrypt_page: Error attempting to read lower page; rc = [-4]
[ 1569.428930] ecryptfs_readpage: Error decrypting page; rc = [-4]
[ 1640.892711] ecryptfs_decrypt_page: Error attempting to read lower page; rc = [-4]
[ 1640.892723] ecryptfs_readpage: Error decrypting page; rc = [-4]
[ 4124.250393] ecryptfs_decrypt_page: Error attempting to read lower page; rc = [-4]
[ 4124.250398] ecryptfs_readpage: Error decrypting page; rc = [-4]
[ 5915.012016] ecryptfs_decrypt_page: Error attempting to read lower page; rc = [-4]
[ 5915.012023] ecryptfs_readpage: Error decrypting page; rc = [-4]
[ 8108.952281] ecryptfs_decrypt_page: Error attempting to read lower page; rc = [-4]
[ 8108.952288] ecryptfs_readpage: Error decrypting page; rc = [-4]
[ 9707.657787] ecryptfs_decrypt_page: Error attempting to read lower page; rc = [-4]
[ 9707.657794] ecryptfs_readpage: Error decrypting page; rc = [-4]
[ 9881.697323] ecryptfs_decrypt_page: Error attempting to read lower page; rc = [-4]
[ 9881.697329] ecryptfs_readpage: Error decrypting page; rc = [-4]
[ 9881.697390] ecryptfs_decrypt_page: Error attempting to read lower page; rc = [-4]
[ 9881.697392] ecryptfs_readpage: Error decrypting page; rc = [-4]
[11543.724208] ecryptfs_decrypt_page: Error attempting to read lower page; rc = [-4]
[11543.724215] ecryptfs_readpage: Error decrypting page; rc = [-4]
[11543.724260] ecryptfs_decrypt_page: Error attempting to read lower page; rc = [-4]
[11543.724262] ecryptfs_readpage: Error decrypting page; rc = [-4]
[11568.143245] device enp2s0 left promiscuous mode
[17325.475556] audit: type=1400 audit(1464132212.890:71): apparmor="DENIED" operation="mknod" profile="/usr/lib/firefox/firefox{,*[^s][^h]}" name="/dev/shm/qyew6g" pid=8394 comm="firefox" requested_mask="c" denied_mask="c" fsuid=1000 ouid=1000
[17416.319524] audit: type=1400 audit(1464132303.738:72): apparmor="DENIED" operation="open" profile="/usr/lib/firefox/firefox{,*[^s][^h]}" name="/sys/devices/system/node/node0/meminfo" pid=8394 comm="firefox" requested_mask="r" denied_mask="r" fsuid=1000 ouid=0
[22292.050865] ecryptfs_decrypt_page: Error attempting to read lower page; rc = [-4]
[22292.050878] ecryptfs_readpage: Error decrypting page; rc = [-4]
[23325.017089] csgo_linux[8580]: segfault at 18 ip 00000000f7449b07 sp 00000000f4b6e220 error 4 in libGL.so.340.96[f73ff000+b6000]
[23328.975790] ecryptfs_decrypt_page: Error attempting to read lower page; rc = [-4]
[23328.975802] ecryptfs_readpage: Error decrypting page; rc = [-4]
[23328.976185] ecryptfs_decrypt_page: Error attempting to read lower page; rc = [...

Read more...

Revision history for this message
cooloutac (cooloutac) wrote :

that cs:go crash was when i tabbed to the desktop I think I was low on ram, probably unrelated. don't know about those libgl errors. I know that is needed for steam. Could it be caused by the nvidia driver?

I had the same issue on linuxmint when upgrading to the 4.4 kernel so I just stuck with the 3.19 kernel there as well where i didn't have the messages. I also tried manually make a cryptswap with password prompt on boot for hibernation but that didnt' help either. I'm gonna test with diff video drivers maybe I dunno.

Changed in linux (Ubuntu):
importance: Undecided → High
importance: High → Medium
Revision history for this message
penalvch (penalvch) wrote :

cooloutac, thank you for reporting this and helping make Ubuntu better.

In order to allow additional upstream developers to examine the issue, at your earliest convenience, could you please test the latest upstream kernel available from http://kernel.ubuntu.com/~kernel-ppa/mainline/?C=N;O=D ? Please keep in mind the following:
1) The one to test is at the very top line at the top of the page (not the daily folder).
2) The release names are irrelevant.
3) The folder time stamps aren't indicative of when the kernel actually was released upstream.
4) Install instructions are available at https://wiki.ubuntu.com/Kernel/MainlineBuilds .

If testing on your main install would be inconvenient, one may:
1) Install Ubuntu to a different partition and then test this there.
2) Backup, or clone the primary install.

If the latest kernel did not allow you to test to the issue (ex. you couldn't boot into the OS) please make a comment in your report about this, and continue to test the next most recent kernel version until you can test to the issue. Once you've tested the upstream kernel, please comment on which kernel version specifically you tested. If this issue is fixed in the mainline kernel, please add the following tags by clicking on the yellow circle with a black pencil icon, next to the word Tags, located at the bottom of the report description:
kernel-fixed-upstream
kernel-fixed-upstream-X.Y-rcZ

Where X, and Y are the first two numbers of the kernel version, and Z is the release candidate number if it exists.

If the mainline kernel does not fix the issue, please add the following tags:
kernel-bug-exists-upstream
kernel-bug-exists-upstream-X.Y-rcZ

Please note, an error to install the kernel does not fit the criteria of kernel-bug-exists-upstream.

Also, you don't need to apport-collect further unless specifically requested to do so.

Once testing of the latest upstream kernel is complete, please mark this report Status Confirmed. Please let us know your results.

Thank you for your understanding.

tags: added: latest-bios-a06
Changed in linux (Ubuntu):
status: Confirmed → Incomplete
tags: added: regression-release
Revision history for this message
cooloutac (cooloutac) wrote :

I get missing firmware for noveau. don't know what i'm supposed to do sorry.

Revision history for this message
cooloutac (cooloutac) wrote :

after reading those instructions guess i'm supposed to uninstall noveau module? I uninstalled nvidia when it complained about nvidia moduel. I have no idea how to do boot with no modules. would I even be able to boot into a gui? lmao....this is nuts. could I even test steam and the nvidia driver with these kernels? I'm way too noob to be testing this for you it seems, sorry.

I wanted to use ubuntu since it comes with its own apparmor profiles and is officially supported by steam. But I really don't like seeing messages like that in dmesg. I'm gonna go back to arch where they don't use bugged kernels...

Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for linux (Ubuntu) because there has been no activity for 60 days.]

Changed in linux (Ubuntu):
status: Incomplete → Expired
Revision history for this message
s.illes79 (s-illes79-gmail) wrote :

Reopening because I have the same problem on 17.04 - kernel 4.10.0-20

Apr 26 10:11:19 XPS13 kernel: [42216.325260] ecryptfs_encrypt_page: Error attempting to write lower page; rc = [-4]
Apr 26 10:11:19 XPS13 kernel: [42216.325265] ecryptfs_writepage: Error encrypting page (upper index [0x0000000000000000])
Apr 26 12:33:12 XPS13 gdm-password]: pam_ecryptfs: pam_sm_authenticate: /home/silles is already mounted
Apr 26 14:06:05 XPS13 kernel: [56302.708663] ecryptfs_decrypt_page: Error attempting to read lower page; rc = [-4]
Apr 26 14:06:05 XPS13 kernel: [56302.708667] ecryptfs_readpage: Error decrypting page; rc = [-4]

Changed in linux (Ubuntu):
status: Expired → New
Revision history for this message
Brad Figg (brad-figg) wrote :

This change was made by a bot.

Changed in linux (Ubuntu):
status: New → Confirmed
Revision history for this message
s.illes79 (s-illes79-gmail) wrote :

haven't seen this with 4.8.0-46-generic, regression?

Revision history for this message
Thomas Bores (thomas-bores) wrote :

Same issue when powering off my computer:

Linux acer-veriton 4.10.0-28-generic #32-Ubuntu SMP Fri Jun 30 05:32:18 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux

Aug 2 11:30:23 acer-veriton systemd[1]: Stopping LSB: VirtualBox Linux kernel module...
Aug 2 11:30:23 acer-veriton kernel: [10362.177603] ecryptfs_decrypt_page: Error attempting to read lower page; rc = [-4]
Aug 2 11:30:23 acer-veriton kernel: [10362.177606] ecryptfs_readpage: Error decrypting page; rc = [-4]
Aug 2 11:30:23 acer-veriton kernel: [10362.178488] ecryptfs_encrypt_page: Error attempting to write lower page; rc = [-4]
Aug 2 11:30:23 acer-veriton kernel: [10362.178491] ecryptfs_write_end: Error encrypting page (upper index [0x0000000000000012])
Aug 2 11:30:23 acer-veriton systemd[1]: Stopping crash report submission daemon...
Aug 2 11:30:23 acer-veriton kernel: [10362.212362] ecryptfs_decrypt_page: Error attempting to read lower page; rc = [-4]
Aug 2 11:30:23 acer-veriton kernel: [10362.212365] ecryptfs_write_begin: Error decrypting page at index [0]; rc = [-4]
Aug 2 11:30:23 acer-veriton rsyslogd: [origin software="rsyslogd" swVersion="8.16.0" x-pid="1063" x-info="http://www.rsyslog.com"] exiting on signal 15.

Revision history for this message
peT (pe44) wrote :

Archlinux user here, I get the same error message under 4.12.4-1-ARCH, so this bug is not Ubuntu-specific.
Saw the message after a crashed session, but unfortunately I am not sure whether there was a relation.

Revision history for this message
Stefan Wagner (wagner-stefan) wrote :

I see the same bug on 16.04.3 LTS (xUbuntu):

DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=16.04
DISTRIB_CODENAME=xenial
DISTRIB_DESCRIPTION="Ubuntu 16.04.3 LTS"

without a crash in my logfile.

For /var/log/syslog.5.gz 385 times in one minute, for most of the other logfiles no entry, today 3 entries (all from the same minute).

Revision history for this message
Denisa Rucaj (denisarucaj) wrote :

I am experiencing the same error after upgrading from Ubuntu 17.10 to ubuntu 18.4.1 TLS

ecryptfs_decrypt_page: Error attempting to read lower page; rc = [-4]

ecryptfs_readpage: Error decrypting page; rc = [-4]

Revision history for this message
cooloutac (cooloutac) wrote : Re: [Bug 1585434] Re: ecryptfs_decrypt_page: Error attempting to read lower page; rc = [-4]

 yes i think it is when selecting encrypted home.
    On Monday, August 20, 2018, 7:55:31 PM EDT, Denisa Rucaj <email address hidden> wrote:

 I am experiencing the same error after upgrading from Ubuntu 17.10 to
ubuntu 18.4.1 TLS

ecryptfs_decrypt_page: Error attempting to read lower page; rc = [-4]

ecryptfs_readpage: Error decrypting page; rc = [-4]

--
You received this bug notification because you are subscribed to the bug
report.
https://bugs.launchpad.net/bugs/1585434

Title:
  ecryptfs_decrypt_page: Error attempting to read lower page; rc = [-4]

Status in linux package in Ubuntu:
  Confirmed

Bug description:
  ecryptfs_decrypt_page: Error attempting to read lower page; rc = [-4]

  ecryptfs_readpage: Error decrypting page; rc = [-4]

  I dont' have this issue showing in dmesg when using 3.19 kernel,  only
  with later kernels.  Is it related to selecting encrypted home on
  install or something?

  I don't notice any issues with performance because of it or have any
  other error messages.  I am using default ubuntu xenial 16.04 with
  unity.

  ProblemType: Bug
  DistroRelease: Ubuntu 16.04
  Package: linux-image-4.4.0-22-generic 4.4.0-22.40
  ProcVersionSignature: Ubuntu 4.4.0-22.40-generic 4.4.8
  Uname: Linux 4.4.0-22-generic x86_64
  NonfreeKernelModules: nvidia_uvm nvidia
  ApportVersion: 2.20.1-0ubuntu2
  Architecture: amd64
  AudioDevicesInUse:
  USER        PID ACCESS COMMAND
  /dev/snd/controlC1:  cooloutac  2054 F.... pulseaudio
  /dev/snd/pcmC0D0p:  cooloutac  2054 F...m pulseaudio
  /dev/snd/controlC0:  cooloutac  2054 F.... pulseaudio
  CurrentDesktop: Unity
  Date: Tue May 24 22:38:44 2016
  EcryptfsInUse: Yes
  HibernationDevice: RESUME=UUID=0118ec29-2bd5-4cbc-9800-9c04bbe083d1
  InstallationDate: Installed on 2016-05-20 (5 days ago)
  InstallationMedia: Ubuntu 16.04 LTS "Xenial Xerus" - Release amd64 (20160420.1)
  IwConfig:
  enp2s0    no wireless extensions.

  lo        no wireless extensions.
  MachineType: Dell Inc. Studio XPS 7100
  ProcFB:

  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-4.4.0-22-generic root=UUID=fcd92967-7d59-44bf-bb88-06efa6fac5f7 ro ipv6.disable=1 quiet splash
  RelatedPackageVersions:
  linux-restricted-modules-4.4.0-22-generic N/A
  linux-backports-modules-4.4.0-22-generic  N/A
  linux-firmware                            1.157
  RfKill:

  SourcePackage: linux
  UpgradeStatus: No upgrade log present (probably fresh install)
  dmi.bios.date: 09/10/2010
  dmi.bios.vendor: Dell Inc.
  dmi.bios.version: A06
  dmi.board.name: 0NWWY0
  dmi.board.vendor: Dell Inc.
  dmi.board.version: A00
  dmi.chassis.type: 3
  dmi.chassis.vendor: Dell Inc.
  dmi.modalias: dmi:bvnDellInc.:bvrA06:bd09/10/2010:svnDellInc.:pnStudioXPS7100:pvr:rvnDellInc.:rn0NWWY0:rvrA00:cvnDellInc.:ct3:cvr:
  dmi.product.name: Studio XPS 7100
  dmi.sys.vendor: Dell Inc.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1585434/+subscriptions

Revision history for this message
dman777 (coolio) wrote :

I am having this bug also and it crashes my system. I have rc = [-5] in my error output.

Can this be moved to high importance?

one@localhost:~$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 16.04.5 LTS
Release: 16.04
Codename: xenial
one@localhost:~$

Revision history for this message
Jason Jones (jjones884) wrote :
Download full text (5.1 KiB)

I have been having this problem for a VERY LONG TIME!
I have had this problem with kernel 4.17.*, 4.18.*, 4.19.* possibly 4.16.*
This has been an issue with 18.04 and 18.10 probably 17.10 also

lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 18.10
Release: 18.10
Codename: cosmic

[74451.298932] ecryptfs_encrypt_page: Error attempting to write lower page; rc = [-28]
[74451.298942] ecryptfs_write: Error encrypting page; rc = [-28]
[74451.298946] ecryptfs_write_begin: Error on attempt to truncate to (higher) offset [3179048960]; rc = [-28]
[74454.709932] ecryptfs_write_metadata_to_contents: Error attempting to write header information to lower file; rc = [-28]
[74454.709941] ecryptfs_write_metadata: Error writing metadata out to lower file; rc = [-28]
[74455.186859] ecryptfs_write_metadata_to_contents: Error attempting to write header information to lower file; rc = [-28]
[74455.186866] ecryptfs_write_metadata: Error writing metadata out to lower file; rc = [-28]
[74455.187222] ecryptfs_write_metadata_to_contents: Error attempting to write header information to lower file; rc = [-28]
[74455.187225] ecryptfs_write_metadata: Error writing metadata out to lower file; rc = [-28]
[74455.187400] ecryptfs_encrypt_page: Error attempting to write lower page; rc = [-28]
[74455.187404] ecryptfs_write_end: Error encrypting page (upper index [0x0000000000000001])
[74455.187450] ecryptfs_encrypt_page: Error attempting to write lower page; rc = [-28]
[74455.187453] ecryptfs_write_end: Error encrypting page (upper index [0x0000000000000001])
[74455.189048] ecryptfs_write_metadata_to_contents: Error attempting to write header information to lower file; rc = [-28]
[74455.189056] ecryptfs_write_metadata: Error writing metadata out to lower file; rc = [-28]
[74455.213908] ecryptfs_write_metadata_to_contents: Error attempting to write header information to lower file; rc = [-28]
[74455.213917] ecryptfs_write_metadata: Error writing metadata out to lower file; rc = [-28]
[74455.214185] ecryptfs_encrypt_page: Error attempting to write lower page; rc = [-28]
[74455.214189] ecryptfs_write_end: Error encrypting page (upper index [0x0000000000000001])
[74455.214243] ecryptfs_encrypt_page: Error attempting to write lower page; rc = [-28]
[74455.214246] ecryptfs_write_end: Error encrypting page (upper index [0x0000000000000001])
[74455.214505] ecryptfs_write_metadata_to_contents: Error attempting to write header information to lower file; rc = [-28]
[74455.214509] ecryptfs_write_metadata: Error writing metadata out to lower file; rc = [-28]
[74455.215231] ecryptfs_write_metadata_to_contents: Error attempting to write header information to lower file; rc = [-28]
[74455.215239] ecryptfs_write_metadata: Error writing metadata out to lower file; rc = [-28]
[74455.218017] ecryptfs_write_metadata_to_contents: Error attempting to write header information to lower file; rc = [-28]
[74455.218025] ecryptfs_write_metadata: Error writing metadata out to lower file; rc = [-28]
[74455.291740] ecryptfs_write_metadata_to_contents: Error attempting to write header information to lower file; rc = [-28]
[74455.291748] ecryptfs_write_me...

Read more...

Brad Figg (brad-figg)
tags: added: cscc
Revision history for this message
daniel CURTIS (anoda) wrote :

Hello.

Today, I've noticed two entries about 'ecryptfs_decrypt_page' and 'ecryptfs_readpage' errors in `/var/log/syslog` file. I have no idea if there was/is more such entries. However, it looks this way:

,----[ ✖ Error ]
| kernel: [25312.360714] ecryptfs_decrypt_page: Error attempting to read lower page; rc = [-4]
| kernel: [25312.360724] ecryptfs_readpage: Error decrypting page; rc = [-4]
`----

There was not any system slowdowns, freezing etc. Anyway, `/home` partition was encrypted during installation with eCryptfs (vide `/home/.ecryptfs/t4/.Private`). Here are some technical informations about system:

,----[ ✖ lsb_release ]
| Distributor ID: Ubuntu
| Description: Ubuntu 16.04.6 LTS
| Release: 16.04
| Codename: xenial
| ---------------
| Linux: 4.4.0-173-generic
| Architecture: i686/x86_32
`----

It seems, that I'm not only one Xenial user who's seeing these errors (I mean another comments, for example #16 by Stefan Wagner etc).

Thanks, best regards.

Revision history for this message
Christian Stewart (paralin) wrote :

I am also seeing this issue against 5.9-rc2.

Revision history for this message
OR (olafr) wrote :

I am also seeing this in Ubuntu 22.04.1 LTS (5.15.0-56-generic)

Revision history for this message
elguaposghost (elguaposghost) wrote :

I am seeing this in Ubuntu 22.10 5.19.0-30-generic. I booted into 5.19.0-28-generic to see if I see the same with this kernel version.

Revision history for this message
elguaposghost (elguaposghost) wrote :

I had a crash with 5.19.0-28-generic as well

Revision history for this message
Javier Zepeda (javichz) wrote :

Still happening with 6.2.0-36-generic.
Steps to reproduce: Launch Age of Empires 2 using steam, start a game, within 5 min it crashes the whole system.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.