Bug 2499750
| Summary: | CIFS driver: openat with O_TMPFILE returns -1 ENOENT for existing directories | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Mikhail <mikhail> | ||||||||
| Component: | kernel | Assignee: | Justin M. Forbes <jforbes> | ||||||||
| Status: | MODIFIED --- | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||||
| Severity: | high | Docs Contact: | |||||||||
| Priority: | unspecified | ||||||||||
| Version: | 44 | CC: | acaringi, adscvr, airlied, hans, hpa, jforbes, kernel-maint, linville, masami256, mchehab, nickolasjcarr, ptalbert, steved, suraj.ghimire7 | ||||||||
| Target Milestone: | --- | Keywords: | Desktop, Regression, Reopened | ||||||||
| Target Release: | --- | ||||||||||
| Hardware: | x86_64 | ||||||||||
| OS: | Linux | ||||||||||
| Whiteboard: | |||||||||||
| Fixed In Version: | kernel-7.1.8-200.fc44 kernel-7.1.8-100.fc43 | Doc Type: | --- | ||||||||
| Doc Text: | Story Points: | --- | |||||||||
| Clone Of: | Environment: | ||||||||||
| Last Closed: | 2026-08-11 01:01:56 UTC | Type: | --- | ||||||||
| Regression: | --- | Mount Type: | --- | ||||||||
| Documentation: | --- | CRM: | |||||||||
| Verified Versions: | Category: | --- | |||||||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||||||
| Embargoed: | |||||||||||
| Attachments: |
|
||||||||||
|
Description
Mikhail
2026-07-13 18:09:37 UTC
Created attachment 2148518 [details]
Kernel logs
Created attachment 2148519 [details]
Krita strace logs
Lines 6307-6449 show that the directory exists, however line 7153 shows an openat() fail on that directory with an ENOENT
Additional details on the mount $ cat /etc/fstab | grep cifs //vault/home /mnt/vault/home cifs credentials=/home/mstefan99/.vaultcredentials,uid=mstefan99,gid=mstefan99,noatime,_netdev,nofail,iocharset=utf8 0 0 $ mount | grep cifs //vault/home on /mnt/vault/home type cifs (rw,relatime,vers=3.1.1,cache=strict,upcall_target=app,username=MStefan99,uid=1000,forceuid,gid=1000,forcegid,addr=192.168.1.10,file_mode=0755,dir_mode=0755,iocharset=utf8,soft,nounix,serverino,mapposix,reparse=nfs,nativesocket,symlink=native,rsize=4194304,wsize=4194304,bsize=1048576,echo_interval=60,actimeo=1,closetimeo=1,_netdev) Server info: Model: Synology DS218 DSM version: DSM 7.3.2-86009 Update 4 Created attachment 2148680 [details]
SMB server options
Additional logs with verbose cifs logging enabled: [ 106.251673] CIFS: fs/smb/client/dir.c: VFS: in cifs_tmpfile as Xid: 2886 with uid: 1000 [ 106.252152] CIFS: Status code returned 0xc0000034 STATUS_OBJECT_NAME_NOT_FOUND [ 106.252154] CIFS: fs/smb/client/smb2maperror.c: Mapping SMB2 status code 0xc0000034 to POSIX err -2 [ 106.252157] CIFS: fs/smb/client/dir.c: cifs_create returned 0xfffffffe [ 106.252159] CIFS: fs/smb/client/dir.c: VFS: leaving cifs_tmpfile (xid = 2886) rc = -2 Observed with the following SMB servers: $ smbd --version Version 4.15.13 Synology Build 86304, Mar 4 2026 12:31:12 Windows 11 Pro Version 25H2 OS Build 26200.8655 FEDORA-2026-d232156d86 (kernel-7.1.8-200.fc44) has been submitted as an update to Fedora 44. https://bodhi.fedoraproject.org/updates/FEDORA-2026-d232156d86 FEDORA-2026-b54e45f108 (kernel-7.1.8-100.fc43) has been submitted as an update to Fedora 43. https://bodhi.fedoraproject.org/updates/FEDORA-2026-b54e45f108 FEDORA-2026-d232156d86 (kernel-7.1.8-200.fc44) has been pushed to the Fedora 44 stable repository. If problem still persists, please make note of it in this bug report. FEDORA-2026-b54e45f108 (kernel-7.1.8-100.fc43) has been pushed to the Fedora 43 stable repository. If problem still persists, please make note of it in this bug report. Please note that the issue has reappeared in 7.2.4-200.fc44.x86_64 |