run_afpackettests in ubuntu_kernel_selftests failed with "./in_netns.sh: Permission denied"

Bug #1861973 reported by Po-Hsu Lin
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ubuntu-kernel-tests
Undecided
Po-Hsu Lin
linux (Ubuntu)
Undecided
Unassigned
Xenial
Undecided
Po-Hsu Lin
linux-signed (Ubuntu)
Undecided
Unassigned
Xenial
Undecided
Po-Hsu Lin

Bug Description

This issue begins with my fix in bug 1853375,
the newly created in_netns.sh script got file permission with:
    new file mode 100755

However, it lost the executable property when downloaded by the test case:
-rw-r--r-- 1 root root 298 Feb 5 07:41 in_netns.sh

If you do a manual chmod this test will pass without any issue.

This commit can be found here in Xenial tree: https://kernel.ubuntu.com/git/ubuntu/ubuntu-xenial.git/commit/?h=master-next&id=df9283329019ce48157c84fcd06c61204139abb7

ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: linux-image-4.4.0-174-generic 4.4.0-174.204
ProcVersionSignature: User Name 4.4.0-174.204-generic 4.4.211
Uname: Linux 4.4.0-174-generic x86_64
ApportVersion: 2.20.1-0ubuntu2.21
Architecture: amd64
Date: Wed Feb 5 07:27:33 2020
SourcePackage: linux-signed
UpgradeStatus: No upgrade log present (probably fresh install)

CVE References

Revision history for this message
Po-Hsu Lin (cypressyew) wrote :
Po-Hsu Lin (cypressyew)
Changed in linux-signed (Ubuntu Xenial):
status: New → Confirmed
Changed in linux-signed (Ubuntu):
status: New → Invalid
tags: added: ubuntu-kernel-selftests
Revision history for this message
Po-Hsu Lin (cypressyew) wrote :

This is pretty weird, the script got its executable bit in the master-next tree.

https://kernel.ubuntu.com/git/ubuntu/ubuntu-xenial.git/tree/tools/testing/selftests/net?h=master-next

Po-Hsu Lin (cypressyew)
tags: added: sru-20200127
Revision history for this message
Po-Hsu Lin (cypressyew) wrote :

The test will run this command to get the source package:
  apt-get source --download-only linux-modules-extra-4.4.0-174-generic

And:
  dpkg-source -x linux*dsc linux

Revision history for this message
Po-Hsu Lin (cypressyew) wrote :
Revision history for this message
Po-Hsu Lin (cypressyew) wrote :
Changed in linux-signed (Ubuntu Xenial):
status: Confirmed → In Progress
assignee: nobody → Po-Hsu Lin (cypressyew)
Changed in ubuntu-kernel-tests:
assignee: nobody → Po-Hsu Lin (cypressyew)
status: New → In Progress
Changed in linux (Ubuntu):
status: New → Invalid
Changed in linux (Ubuntu Xenial):
status: New → In Progress
assignee: nobody → Po-Hsu Lin (cypressyew)
Changed in linux-signed (Ubuntu Xenial):
status: In Progress → Invalid
Changed in linux (Ubuntu Xenial):
status: In Progress → Fix Committed
Revision history for this message
Ubuntu Kernel Bot (ubuntu-kernel-bot) wrote :

This bug is awaiting verification that the kernel in -proposed solves the problem. Please test the kernel and update this bug with the results. If the problem is solved, change the tag 'verification-needed-xenial' to 'verification-done-xenial'. If the problem still exists, change the tag 'verification-needed-xenial' to 'verification-failed-xenial'.

If verification is not done by 5 working days from today, this fix will be dropped from the source code, and this bug will be closed.

See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Thank you!

tags: added: verification-needed-xenial
Revision history for this message
Po-Hsu Lin (cypressyew) wrote :

Passed with node amd64 node rizzo with 4.4.0-175.205

Changed in ubuntu-kernel-tests:
status: In Progress → Fix Released
tags: added: verification-done-xenial
removed: verification-needed-xenial
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package linux - 4.4.0-176.206

---------------
linux (4.4.0-176.206) xenial; urgency=medium

  * xenial/linux: 4.4.0-176.206 -proposed tracker (LP: #1865106)

  * CVE-2020-2732
    - x86/vdso: Use RDPID in preference to LSL when available
    - KVM: x86: emulate RDPID
    - KVM: nVMX: Don't emulate instructions in guest mode
    - KVM: nVMX: Refactor IO bitmap checks into helper function
    - KVM: nVMX: Check IO instruction VM-exit conditions

linux (4.4.0-175.205) xenial; urgency=medium

  * xenial/linux: 4.4.0-175.205 -proposed tracker (LP: #1863338)

  * run_afpackettests in ubuntu_kernel_selftests failed with "./in_netns.sh:
    Permission denied" (LP: #1861973)
    - [Debian] autoreconstruct - add resoration of execute permissions

  * pty03 from pty in ubuntu_ltp failed on Eoan (LP: #1862114)
    - can, slip: Protect tty->disc_data in write_wakeup and close with RCU

 -- Khalid Elmously <email address hidden> Thu, 27 Feb 2020 23:41:44 -0500

Changed in linux (Ubuntu Xenial):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers