Activity log for bug #1786729

Date Who What changed Old value New value Message
2018-08-13 05:08:24 Po-Hsu Lin bug added bug
2018-08-13 06:38:26 Po-Hsu Lin bug task added ubuntu-kernel-tests
2018-08-13 06:39:03 Po-Hsu Lin bug task deleted ubuntu-kernel-tests
2018-08-13 06:39:10 Po-Hsu Lin nominated for series Ubuntu Xenial
2018-08-13 06:39:27 Po-Hsu Lin bug task added ubuntu-kernel-tests
2018-08-22 07:53:04 Po-Hsu Lin summary execveat03 in ubuntu_ltp_syscalls failed on Xenial AWS execveat03 in ubuntu_ltp_syscalls failed on Xenial
2018-08-22 07:53:52 Po-Hsu Lin bug task added linux (Ubuntu)
2018-08-22 07:56:16 Po-Hsu Lin summary execveat03 in ubuntu_ltp_syscalls failed on Xenial execveat03 in ubuntu_ltp_syscalls failed on X/B
2018-08-22 07:56:20 Po-Hsu Lin tags amd64 apport-bug ec2-images package-from-proposed xenial amd64 apport-bug bionic ec2-images package-from-proposed xenial
2018-08-22 08:00:06 Ubuntu Kernel Bot linux (Ubuntu): status New Incomplete
2018-08-22 08:18:58 Kleber Sacilotto de Souza bug task added linux (Ubuntu Xenial)
2018-08-22 08:18:58 Kleber Sacilotto de Souza bug task added linux-aws (Ubuntu Xenial)
2018-08-23 02:18:01 Po-Hsu Lin nominated for series Ubuntu Bionic
2018-08-23 09:50:49 Kleber Sacilotto de Souza bug task added linux (Ubuntu Bionic)
2018-08-23 09:50:49 Kleber Sacilotto de Souza bug task added linux-aws (Ubuntu Bionic)
2018-08-24 14:49:03 Seth Forshee linux (Ubuntu): status Incomplete Confirmed
2018-08-24 20:08:56 Seth Forshee linux (Ubuntu): status Confirmed Fix Committed
2018-09-10 09:08:38 Launchpad Janitor linux (Ubuntu): status Fix Committed Fix Released
2018-09-13 03:29:40 Po-Hsu Lin ubuntu-kernel-tests: status New Incomplete
2018-10-15 12:38:05 Launchpad Janitor linux-aws (Ubuntu): status New Fix Released
2018-10-15 12:38:05 Launchpad Janitor cve linked 2018-14633
2018-10-15 12:38:05 Launchpad Janitor cve linked 2018-5391
2018-10-22 08:19:35 Po-Hsu Lin ubuntu-kernel-tests: status Incomplete Confirmed
2018-10-23 09:37:13 Po-Hsu Lin description This is a POTENTIAL REGRESSION. PASSED with 4.4.0-1063-aws FAILED with 4.4.0-1064-aws in proposed This is a new test case added 4 days ago. From the commit message it looks like this is a test case for commit 8db6c34f1dbc: The regression is introduced from 8db6c34f1dbc ("Introduce v3 namespaced file capabilities"). Overlayfs and possibly other networking filesystems unhash the dentry on unlink, fail on this test with above change. However this commit has been applied in the Xenial AWS kernel (14985d791) with bug 1778286 This might have something to do with the way how we backport it (the EINVAL return value is the clue) <<<test_start>>> tag=execveat03 stime=1534135632 cmdline="execveat03" contacts="" analysis=exit <<<test_output>>> incrementing stop tst_test.c:1017: INFO: Timeout per run is 0h 05m 00s execveat03.c:70: FAIL: execveat() returned unexpected errno: EINVAL Summary: passed 0 failed 1 skipped 0 warnings 0 <<<execution_status>>> initiation_status="ok" duration=0 termination_type=exited termination_id=1 corefile=no cutime=0 cstime=0 <<<test_end>>> ProblemType: Bug DistroRelease: Ubuntu 16.04 Package: linux-image-4.4.0-1064-aws 4.4.0-1064.74 ProcVersionSignature: User Name 4.4.0-1064.74-aws 4.4.140 Uname: Linux 4.4.0-1064-aws x86_64 ApportVersion: 2.20.1-0ubuntu2.18 Architecture: amd64 Date: Mon Aug 13 04:51:09 2018 Ec2AMI: ami-529fb82a Ec2AMIManifest: (unknown) Ec2AvailabilityZone: us-west-2b Ec2InstanceType: x1e.xlarge Ec2Kernel: unavailable Ec2Ramdisk: unavailable SourcePackage: linux-aws UpgradeStatus: No upgrade log present (probably fresh install) This is a new test case added 4 days ago. From the commit message it looks like this is a test case for a buggy commit 8db6c34f1dbc:     The regression is introduced from 8db6c34f1dbc ("Introduce v3 namespaced     file capabilities"). Overlayfs and possibly other networking filesystems     unhash the dentry on unlink, fail on this test with above change. This commit has been applied in the Xenial AWS kernel (14985d791) with bug 1778286 This might have something to do with the way how we backport it (the EINVAL return value is the clue) <<<test_start>>> tag=execveat03 stime=1534135632 cmdline="execveat03" contacts="" analysis=exit <<<test_output>>> incrementing stop tst_test.c:1017: INFO: Timeout per run is 0h 05m 00s execveat03.c:70: FAIL: execveat() returned unexpected errno: EINVAL Summary: passed 0 failed 1 skipped 0 warnings 0 <<<execution_status>>> initiation_status="ok" duration=0 termination_type=exited termination_id=1 corefile=no cutime=0 cstime=0 <<<test_end>>> ProblemType: Bug DistroRelease: Ubuntu 16.04 Package: linux-image-4.4.0-1064-aws 4.4.0-1064.74 ProcVersionSignature: User Name 4.4.0-1064.74-aws 4.4.140 Uname: Linux 4.4.0-1064-aws x86_64 ApportVersion: 2.20.1-0ubuntu2.18 Architecture: amd64 Date: Mon Aug 13 04:51:09 2018 Ec2AMI: ami-529fb82a Ec2AMIManifest: (unknown) Ec2AvailabilityZone: us-west-2b Ec2InstanceType: x1e.xlarge Ec2Kernel: unavailable Ec2Ramdisk: unavailable SourcePackage: linux-aws UpgradeStatus: No upgrade log present (probably fresh install)
2018-10-23 10:52:59 Po-Hsu Lin ubuntu-kernel-tests: status Confirmed In Progress
2018-10-23 10:53:00 Po-Hsu Lin ubuntu-kernel-tests: assignee Po-Hsu Lin (cypressyew)
2018-10-23 10:53:06 Po-Hsu Lin linux (Ubuntu Xenial): status New In Progress
2018-10-23 10:53:07 Po-Hsu Lin linux (Ubuntu Bionic): status New In Progress
2018-10-23 10:53:09 Po-Hsu Lin linux (Ubuntu Xenial): assignee Po-Hsu Lin (cypressyew)
2018-10-23 10:53:11 Po-Hsu Lin linux (Ubuntu Bionic): assignee Po-Hsu Lin (cypressyew)
2018-10-24 06:39:23 Po-Hsu Lin description This is a new test case added 4 days ago. From the commit message it looks like this is a test case for a buggy commit 8db6c34f1dbc:     The regression is introduced from 8db6c34f1dbc ("Introduce v3 namespaced     file capabilities"). Overlayfs and possibly other networking filesystems     unhash the dentry on unlink, fail on this test with above change. This commit has been applied in the Xenial AWS kernel (14985d791) with bug 1778286 This might have something to do with the way how we backport it (the EINVAL return value is the clue) <<<test_start>>> tag=execveat03 stime=1534135632 cmdline="execveat03" contacts="" analysis=exit <<<test_output>>> incrementing stop tst_test.c:1017: INFO: Timeout per run is 0h 05m 00s execveat03.c:70: FAIL: execveat() returned unexpected errno: EINVAL Summary: passed 0 failed 1 skipped 0 warnings 0 <<<execution_status>>> initiation_status="ok" duration=0 termination_type=exited termination_id=1 corefile=no cutime=0 cstime=0 <<<test_end>>> ProblemType: Bug DistroRelease: Ubuntu 16.04 Package: linux-image-4.4.0-1064-aws 4.4.0-1064.74 ProcVersionSignature: User Name 4.4.0-1064.74-aws 4.4.140 Uname: Linux 4.4.0-1064-aws x86_64 ApportVersion: 2.20.1-0ubuntu2.18 Architecture: amd64 Date: Mon Aug 13 04:51:09 2018 Ec2AMI: ami-529fb82a Ec2AMIManifest: (unknown) Ec2AvailabilityZone: us-west-2b Ec2InstanceType: x1e.xlarge Ec2Kernel: unavailable Ec2Ramdisk: unavailable SourcePackage: linux-aws UpgradeStatus: No upgrade log present (probably fresh install) == Justification == The code in cap_inode_getsecurity(), introduced by commit 8db6c34f1dbc ("Introduce v3 namespaced file capabilities"), should use d_find_any_alias() instead of d_find_alias() do handle unhashed dentry correctly. This is needed, for example, if execveat() is called with an open but unlinked overlayfs file, because overlayfs unhashes dentry on unlink. This is a regression of real life application, first reported at https://www.spinics.net/lists/linux-unionfs/msg05363.html With the execveat03 test in the LTP test suite on an affected kernel, it will fail with: <<<test_start>>> tag=execveat03 stime=1534135632 cmdline="execveat03" contacts="" analysis=exit <<<test_output>>> incrementing stop tst_test.c:1017: INFO: Timeout per run is 0h 05m 00s execveat03.c:70: FAIL: execveat() returned unexpected errno: EINVAL Summary: passed 0 failed 1 skipped 0 warnings 0 == Fix == 355139a8 (cap_inode_getsecurity: use d_find_any_alias() instead of d_find_alias()) It can be cherry-picked for Bionic, but it needs to be backported to Xenial along with the logic when we backport 8db6c34f1dbc (bug 1778286). The test kernel for Xenial / Bionic could be found here: http://people.canonical.com/~phlin/kernel/lp-1786729-execveat03/ == Test Case == Run the reproducer in the commit message, or, run the execveat03 test in ubuntu_ltp_syscalls test suite. And it will pass with the patched kernel. ProblemType: Bug DistroRelease: Ubuntu 16.04 Package: linux-image-4.4.0-1064-aws 4.4.0-1064.74 ProcVersionSignature: User Name 4.4.0-1064.74-aws 4.4.140 Uname: Linux 4.4.0-1064-aws x86_64 ApportVersion: 2.20.1-0ubuntu2.18 Architecture: amd64 Date: Mon Aug 13 04:51:09 2018 Ec2AMI: ami-529fb82a Ec2AMIManifest: (unknown) Ec2AvailabilityZone: us-west-2b Ec2InstanceType: x1e.xlarge Ec2Kernel: unavailable Ec2Ramdisk: unavailable SourcePackage: linux-aws UpgradeStatus: No upgrade log present (probably fresh install)
2018-10-24 06:41:12 Po-Hsu Lin description == Justification == The code in cap_inode_getsecurity(), introduced by commit 8db6c34f1dbc ("Introduce v3 namespaced file capabilities"), should use d_find_any_alias() instead of d_find_alias() do handle unhashed dentry correctly. This is needed, for example, if execveat() is called with an open but unlinked overlayfs file, because overlayfs unhashes dentry on unlink. This is a regression of real life application, first reported at https://www.spinics.net/lists/linux-unionfs/msg05363.html With the execveat03 test in the LTP test suite on an affected kernel, it will fail with: <<<test_start>>> tag=execveat03 stime=1534135632 cmdline="execveat03" contacts="" analysis=exit <<<test_output>>> incrementing stop tst_test.c:1017: INFO: Timeout per run is 0h 05m 00s execveat03.c:70: FAIL: execveat() returned unexpected errno: EINVAL Summary: passed 0 failed 1 skipped 0 warnings 0 == Fix == 355139a8 (cap_inode_getsecurity: use d_find_any_alias() instead of d_find_alias()) It can be cherry-picked for Bionic, but it needs to be backported to Xenial along with the logic when we backport 8db6c34f1dbc (bug 1778286). The test kernel for Xenial / Bionic could be found here: http://people.canonical.com/~phlin/kernel/lp-1786729-execveat03/ == Test Case == Run the reproducer in the commit message, or, run the execveat03 test in ubuntu_ltp_syscalls test suite. And it will pass with the patched kernel. ProblemType: Bug DistroRelease: Ubuntu 16.04 Package: linux-image-4.4.0-1064-aws 4.4.0-1064.74 ProcVersionSignature: User Name 4.4.0-1064.74-aws 4.4.140 Uname: Linux 4.4.0-1064-aws x86_64 ApportVersion: 2.20.1-0ubuntu2.18 Architecture: amd64 Date: Mon Aug 13 04:51:09 2018 Ec2AMI: ami-529fb82a Ec2AMIManifest: (unknown) Ec2AvailabilityZone: us-west-2b Ec2InstanceType: x1e.xlarge Ec2Kernel: unavailable Ec2Ramdisk: unavailable SourcePackage: linux-aws UpgradeStatus: No upgrade log present (probably fresh install) == Justification == The code in cap_inode_getsecurity(), introduced by commit 8db6c34f1dbc ("Introduce v3 namespaced file capabilities"), should use d_find_any_alias() instead of d_find_alias() do handle unhashed dentry correctly. This is needed, for example, if execveat() is called with an open but unlinked overlayfs file, because overlayfs unhashes dentry on unlink. This is a regression of real life application, first reported at https://www.spinics.net/lists/linux-unionfs/msg05363.html With the execveat03 test in the LTP test suite on an affected kernel, it will fail with: <<<test_start>>> tag=execveat03 stime=1534135632 cmdline="execveat03" contacts="" analysis=exit <<<test_output>>> incrementing stop tst_test.c:1017: INFO: Timeout per run is 0h 05m 00s execveat03.c:70: FAIL: execveat() returned unexpected errno: EINVAL Summary: passed 0 failed 1 skipped 0 warnings 0 == Fix == 355139a8 (cap_inode_getsecurity: use d_find_any_alias() instead of  d_find_alias()) It can be cherry-picked for Bionic, but it needs to be backported to Xenial along with the logic when we backport 8db6c34f1dbc (bug 1778286). The test kernel for Xenial / Bionic could be found here: http://people.canonical.com/~phlin/kernel/lp-1786729-execveat03/ This patch has already been cherry-picked into Cosmic and Unstable. == Test Case == Run the reproducer in the commit message, or, run the execveat03 test in ubuntu_ltp_syscalls test suite. And it will pass with the patched kernel. ProblemType: Bug DistroRelease: Ubuntu 16.04 Package: linux-image-4.4.0-1064-aws 4.4.0-1064.74 ProcVersionSignature: User Name 4.4.0-1064.74-aws 4.4.140 Uname: Linux 4.4.0-1064-aws x86_64 ApportVersion: 2.20.1-0ubuntu2.18 Architecture: amd64 Date: Mon Aug 13 04:51:09 2018 Ec2AMI: ami-529fb82a Ec2AMIManifest: (unknown) Ec2AvailabilityZone: us-west-2b Ec2InstanceType: x1e.xlarge Ec2Kernel: unavailable Ec2Ramdisk: unavailable SourcePackage: linux-aws UpgradeStatus: No upgrade log present (probably fresh install)
2018-10-24 06:51:26 Po-Hsu Lin description == Justification == The code in cap_inode_getsecurity(), introduced by commit 8db6c34f1dbc ("Introduce v3 namespaced file capabilities"), should use d_find_any_alias() instead of d_find_alias() do handle unhashed dentry correctly. This is needed, for example, if execveat() is called with an open but unlinked overlayfs file, because overlayfs unhashes dentry on unlink. This is a regression of real life application, first reported at https://www.spinics.net/lists/linux-unionfs/msg05363.html With the execveat03 test in the LTP test suite on an affected kernel, it will fail with: <<<test_start>>> tag=execveat03 stime=1534135632 cmdline="execveat03" contacts="" analysis=exit <<<test_output>>> incrementing stop tst_test.c:1017: INFO: Timeout per run is 0h 05m 00s execveat03.c:70: FAIL: execveat() returned unexpected errno: EINVAL Summary: passed 0 failed 1 skipped 0 warnings 0 == Fix == 355139a8 (cap_inode_getsecurity: use d_find_any_alias() instead of  d_find_alias()) It can be cherry-picked for Bionic, but it needs to be backported to Xenial along with the logic when we backport 8db6c34f1dbc (bug 1778286). The test kernel for Xenial / Bionic could be found here: http://people.canonical.com/~phlin/kernel/lp-1786729-execveat03/ This patch has already been cherry-picked into Cosmic and Unstable. == Test Case == Run the reproducer in the commit message, or, run the execveat03 test in ubuntu_ltp_syscalls test suite. And it will pass with the patched kernel. ProblemType: Bug DistroRelease: Ubuntu 16.04 Package: linux-image-4.4.0-1064-aws 4.4.0-1064.74 ProcVersionSignature: User Name 4.4.0-1064.74-aws 4.4.140 Uname: Linux 4.4.0-1064-aws x86_64 ApportVersion: 2.20.1-0ubuntu2.18 Architecture: amd64 Date: Mon Aug 13 04:51:09 2018 Ec2AMI: ami-529fb82a Ec2AMIManifest: (unknown) Ec2AvailabilityZone: us-west-2b Ec2InstanceType: x1e.xlarge Ec2Kernel: unavailable Ec2Ramdisk: unavailable SourcePackage: linux-aws UpgradeStatus: No upgrade log present (probably fresh install) == Justification == The code in cap_inode_getsecurity(), introduced by commit 8db6c34f1dbc ("Introduce v3 namespaced file capabilities"), should use d_find_any_alias() instead of d_find_alias() do handle unhashed dentry correctly. This is needed, for example, if execveat() is called with an open but unlinked overlayfs file, because overlayfs unhashes dentry on unlink. This is a regression of real life application, first reported at https://www.spinics.net/lists/linux-unionfs/msg05363.html With the execveat03 test in the LTP test suite on an affected kernel, it will fail with: <<<test_start>>> tag=execveat03 stime=1534135632 cmdline="execveat03" contacts="" analysis=exit <<<test_output>>> incrementing stop tst_test.c:1017: INFO: Timeout per run is 0h 05m 00s execveat03.c:70: FAIL: execveat() returned unexpected errno: EINVAL Summary: passed 0 failed 1 skipped 0 warnings 0 == Fix == 355139a8 (cap_inode_getsecurity: use d_find_any_alias() instead of  d_find_alias()) It can be cherry-picked for Bionic, but it needs to be backported to Xenial along with the logic when we backport 8db6c34f1dbc (bug 1778286). The test kernel for Xenial / Bionic could be found here: http://people.canonical.com/~phlin/kernel/lp-1786729-execveat03/ This patch has already been cherry-picked into Cosmic and Unstable. == Regression Potential == Low, this patch just uses a correct function to handle unhashed dentry, and it's been applied in both upstream and our newer kernel. == Test Case == Run the reproducer in the commit message, or, run the execveat03 test in ubuntu_ltp_syscalls test suite. And it will pass with the patched kernel. ProblemType: Bug DistroRelease: Ubuntu 16.04 Package: linux-image-4.4.0-1064-aws 4.4.0-1064.74 ProcVersionSignature: User Name 4.4.0-1064.74-aws 4.4.140 Uname: Linux 4.4.0-1064-aws x86_64 ApportVersion: 2.20.1-0ubuntu2.18 Architecture: amd64 Date: Mon Aug 13 04:51:09 2018 Ec2AMI: ami-529fb82a Ec2AMIManifest: (unknown) Ec2AvailabilityZone: us-west-2b Ec2InstanceType: x1e.xlarge Ec2Kernel: unavailable Ec2Ramdisk: unavailable SourcePackage: linux-aws UpgradeStatus: No upgrade log present (probably fresh install)
2018-11-08 06:47:03 Khaled El Mously linux (Ubuntu Xenial): status In Progress Fix Committed
2018-11-08 06:47:07 Khaled El Mously linux (Ubuntu Bionic): status In Progress Fix Committed
2018-11-12 06:37:19 Po-Hsu Lin bug task deleted linux-aws (Ubuntu)
2018-11-12 06:37:30 Po-Hsu Lin bug task deleted linux-aws (Ubuntu Xenial)
2018-11-12 06:37:33 Po-Hsu Lin bug task deleted linux-aws (Ubuntu Bionic)
2018-11-15 11:34:43 Brad Figg tags amd64 apport-bug bionic ec2-images package-from-proposed xenial amd64 apport-bug bionic ec2-images package-from-proposed verification-needed-bionic xenial
2018-11-16 07:45:46 Po-Hsu Lin tags amd64 apport-bug bionic ec2-images package-from-proposed verification-needed-bionic xenial amd64 apport-bug bionic ec2-images package-from-proposed verification-done-bionic xenial
2018-11-16 16:36:10 Brad Figg tags amd64 apport-bug bionic ec2-images package-from-proposed verification-done-bionic xenial amd64 apport-bug bionic ec2-images package-from-proposed verification-done-bionic verification-needed-xenial xenial
2018-11-20 03:37:35 Po-Hsu Lin tags amd64 apport-bug bionic ec2-images package-from-proposed verification-done-bionic verification-needed-xenial xenial amd64 apport-bug bionic ec2-images package-from-proposed verification-done-bionic verification-done-xenial xenial
2018-11-20 08:52:20 Po-Hsu Lin ubuntu-kernel-tests: status In Progress Fix Released
2018-12-03 14:01:15 Launchpad Janitor linux (Ubuntu Bionic): status Fix Committed Fix Released
2018-12-03 14:01:15 Launchpad Janitor cve linked 2018-18955
2018-12-03 14:59:47 Launchpad Janitor linux (Ubuntu Xenial): status Fix Committed Fix Released
2019-07-24 21:25:23 Brad Figg tags amd64 apport-bug bionic ec2-images package-from-proposed verification-done-bionic verification-done-xenial xenial amd64 apport-bug bionic cscc ec2-images package-from-proposed verification-done-bionic verification-done-xenial xenial