CVE-2023-52779
published medium CVSS 3.1 · 5.5fs: Pass AT_GETATTR_NOSEC flag to getattr interface function
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linuxdb1d1e8b9867aae5c3e61ad7859abfcc4a6fd6c7 to < 3fb0fa08641903304b9d81d52a379ff031dc41d4 · db1d1e8b9867aae5c3e61ad7859abfcc4a6fd6c7 to < 8a924db2d7b5eb69ba08b1a0af46e9f1359a9bdf · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux6.5 (affected) · 0 to < 6.5 (unaffected · semver) · 6.6.4 through 6.6.* (unaffected · semver) · 6.7 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
Description
In the Linux kernel, the following vulnerability has been resolved: fs: Pass AT_GETATTR_NOSEC flag to getattr interface function When vfs_getattr_nosec() calls a filesystem's getattr interface function then the 'nosec' should propagate into this function so that vfs_getattr_nosec() can again be called from the filesystem's gettattr rather than vfs_getattr(). The latter would add unnecessary security checks that the initial vfs_getattr_nosec() call wanted to avoid. Therefore, introduce the getattr flag GETATTR_NOSEC and allow to pass with the new getattr_flags parameter to the getattr interface function. In overlayfs and ecryptfs use this flag to determine which one of the two functions to call. In a recent code change introduced to IMA vfs_getattr_nosec() ended up calling vfs_getattr() in overlayfs, which in turn called security_inode_getattr() on an exiting process that did not have current->fs set anymore, which then caused a kernel NULL pointer dereference. With this change the call to security_inode_getattr() can be avoided, thus avoiding the NULL pointer dereference.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 5.5 / 10
- Severity
- medium
- Provider
- CISA-ADP · adp
- Vector string
- CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | db1d1e8b9867aae5c3e61ad7859abfcc4a6fd6c7 to < 3fb0fa08641903304b9d81d52a379ff031dc41d4 (affected · git)db1d1e8b9867aae5c3e61ad7859abfcc4a6fd6c7 to < 8a924db2d7b5eb69ba08b1a0af46e9f1359a9bdf (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 6.5 (affected)0 to < 6.5 (unaffected · semver)6.6.4 through 6.6.* (unaffected · semver)6.7 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
1- CWE-noinfo Not enough information
References
2Provider assertions
3Linux · cna
fs: Pass AT_GETATTR_NOSEC flag to getattr interface function
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 10b5cd5c8ae8b95ffb6ba2af8fc528750c9ed2d90bf1af141549f00b6396ebdb
- Ingested
- 23 Sep 2026, 08:14:33 UTC
- Source record
- Official CVE record