xfrm interface: fix oops when deleting a x-netns interface

Bug #1881907 reported by Nicolas Dichtel
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Incomplete
Undecided
Unassigned

Bug Description

[Impact]

When a netns is removed, it may corrupt x-netns xfrm interfaces that have their link part in this netns. It will later trigger an oops when those interfaces are removed.

This problem has been fixed in the upstream commit c95c5f58b35e ("xfrm interface: fix oops when deleting a x-netns interface"): https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=c95c5f58b35e

[Test Case]

The steps to reproduce the oops is explained in the commit log of the upstream patch.

[Regression Potential]

The patch affects only the xfrm interface driver, more precisely, the deletion part. Thus, the potential regressions are limited to this area.

Revision history for this message
Ubuntu Kernel Bot (ubuntu-kernel-bot) wrote : Missing required logs.

This bug is missing log files that will aid in diagnosing the problem. While running an Ubuntu kernel (not a mainline or third-party kernel) please enter the following command in a terminal window:

apport-collect 1881907

and then change the status of the bug to 'Confirmed'.

If, due to the nature of the issue you have encountered, you are unable to run this command, please add a comment stating that fact and change the bug status to 'Confirmed'.

This change has been made by an automated script, maintained by the Ubuntu Kernel Team.

Changed in linux (Ubuntu):
status: New → Incomplete
tags: added: verification-done verification-done-focal
tags: removed: verification-done verification-done-focal
Revision history for this message
Po-Hsu Lin (cypressyew) wrote :
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.