Cannot rename/move files on DFS through libsmbclient
Bug #1981414 reported by
Dimitri Papadopoulos
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
samba |
Unknown
|
Unknown
|
|||
samba (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Bionic |
Won't Fix
|
Undecided
|
Unassigned | ||
Focal |
Fix Released
|
Undecided
|
Unassigned | ||
Impish |
Won't Fix
|
Undecided
|
Unassigned | ||
Jammy |
Fix Released
|
Undecided
|
Unassigned | ||
Kinetic |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
The bug had been filed upstream in 2019, against Samba >= 4.1:
https:/
The fix was merged upstream in Samba versions 4.14, 4.14 and 4.16, on 2022-02-09, and formally released in:
4.15.6 (2022-03-15)
4.16.0 (2022-03-21)
4.14.13 (2022-04-04)
I would suggest upgrading or patching the Ubuntu packages:
Ubuntu 22.04 LTS jammy upgrade 4.15.5 → 4.15.6
Ubuntu 20.04 LTS focal patch 4.13.17?
Ubuntu 18.04 LTS bionic patch 4.7.6?
CVE References
summary: |
- Cannot rename/move files through libsmbclient + Cannot rename/move files on DFS through libsmbclient |
To post a comment you must log in.
Hello, Dimitri.
Thanks for filing this bug.
As per the upstream reports, it seems this issue is already fixed in kinetic, which ships 4.16.2 ATM.
While there is enough evidence in the upstream reports and comments showing that bionic/focal/jammy are affected, it would be nice to have a minimal, automated reproducer for them. Would you happen to have a simple one?
Moreover, I went ahead and changed the title of the bug to make it clear that the issue affects DFS shares.
Finally, this is the patch set that was originally used to fix the issue https:/ /attachments. samba.org/ attachment. cgi?id= 17149