[PATCH 0/2] [focal:linux, focal:linux-azure] linux-azure CIFS DFS oops

Tim Gardner tim.gardner at canonical.com
Mon Jul 12 12:18:52 UTC 2021


BugLink: https://bugs.launchpad.net/bugs/1935833

Patch 1 is scaffolding that enables a clean cherry-pick of patch 2.

Even though this oops has only been reported against linux-azure, the mainline
kernel also has the CIFS DFS patches pending and should get these fixes. If applied
to mainline in time, then linux-azure will simply inherit.

[Impact]

A Microsoft customer is reporting a kernel oops when attempting a DFS connection.

[Fix]

a52930353eaf443489a350a135c5525a4acbbf56 cifs: handle empty list of targets in cifs_reconnect()
baf3f08ef4083b76ca67b143e135213a7f941879 cifs: get rid of unused parameter in reconn_setup_dfs_targets()

The addition of these 2 patches has been confirmed to prevent the oops.

[Test Case]

Mount a Windows DFS share

[Where problems could occur]

Mounts could continue to fail even though the kernel no longer crashes.

[Other Info]

SF: #00313885




More information about the kernel-team mailing list