Actions
Bug #67833
closedIrregularities seen with handling of symlinks
Status:
Resolved
Priority:
Normal
Assignee:
Category:
Correctness/Safety
Target version:
% Done:
100%
Source:
Development
Backport:
quincy,reef,squid
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Component(FS):
Client
Labels (FS):
crash
Pull request ID:
Tags (freeform):
backport_processed
Merge Commit:
Fixed In:
v19.3.0-5556-g68e73b3c9d
Released In:
v20.2.0~1792
Upkeep Timestamp:
2025-11-01T01:27:43+00:00
Description
There are two issues observed:
1. An attempt to open an existing symlink with ceph_open() and O_PATH|O_NOFOLLOW returns ELOOP.
- expected to return successfully with a path reference file descriptor.
2. An attempt to resolve symlink with empty pathname using ceph_readlinkat() crashes with SIGABRT.
- expected to successfully resolve the dirfd in case it is a symlink.
Please find the attachment for a sample program which demonstrates the expected behaviour for the above mentioned scenarios either on a local file system or kernel client mount.
Files
Updated by Venky Shankar over 1 year ago
- Status changed from New to Fix Under Review
- Assignee set to Anoop C S
- Target version set to v20.0.0
- Source set to Development
- Backport set to quincy,reef,squid
Updated by Venky Shankar over 1 year ago
- Status changed from Fix Under Review to Pending Backport
Updated by Upkeep Bot over 1 year ago
- Copied to Backport #68573: squid: Irregularities seen with handling of symlinks added
Updated by Upkeep Bot over 1 year ago
- Copied to Backport #68574: reef: Irregularities seen with handling of symlinks added
Updated by Upkeep Bot over 1 year ago
- Copied to Backport #68575: quincy: Irregularities seen with handling of symlinks added
Updated by Konstantin Shalygin about 1 year ago
- Status changed from Pending Backport to Resolved
- % Done changed from 0 to 100
Updated by Patrick Donnelly 9 months ago
- Merge Commit set to 68e73b3c9d10fb6ffead99c0e4b8db4d01782015
- Fixed In set to v19.3.0-5556-g68e73b3c9d10
Updated by Upkeep Bot 9 months ago
- Fixed In changed from v19.3.0-5556-g68e73b3c9d10 to v19.3.0-5556-g68e73b3c9d1
- Upkeep Timestamp set to 2025-07-08T18:29:40+00:00
Updated by Upkeep Bot 8 months ago
- Fixed In changed from v19.3.0-5556-g68e73b3c9d1 to v19.3.0-5556-g68e73b3c9d
- Upkeep Timestamp changed from 2025-07-08T18:29:40+00:00 to 2025-07-14T17:10:21+00:00
Updated by Upkeep Bot 5 months ago
- Released In set to v20.2.0~1792
- Upkeep Timestamp changed from 2025-07-14T17:10:21+00:00 to 2025-11-01T01:27:43+00:00
Actions