In the Linux kernel, the following vulnerability has been resolved:
afs: Fix merge preference rule failure condition
syzbot reported a lock held when returning to userspace[1]. This is
because if argc is less than 0 and the function returns directly, the held
inode lock is not released.
Fix this by store the error in ret and jump to done to clean up instead of
returning directly.
[dh: Modified Lizhi Xu's original patch to make it honour the error code
from afs_split_string()]
[1]
WARNING: lock held when returning to user space!
6.13.0-rc3-syzkaller-00209-g499551201b5f #0 Not tainted
------------------------------------------------
syz-executor133/5823 is leaving the kernel with locks still held!
1 lock held by syz-executor133/5823:
#0: ffff888071cffc00 (&sb->s_type->i_mutex_key#9){++++}-{4:4}, at: inode_lock include/linux/fs.h:818 [inline]
#0: ffff888071cffc00 (&sb->s_type->i_mutex_key#9){++++}-{4:4}, at: afs_proc_addr_prefs_write+0x2bb/0x14e0 fs/afs/addr_prefs.c:388
Security readout for executives and security teams
Plain-English summary
This Linux kernel flaw can leave a filesystem inode lock held after an error in AFS address preference handling. The main business risk is local availability disruption, not data theft or remote compromise. The source bundle does not show active exploitation.
Executive priority
Treat as a normal-priority kernel availability fix unless affected systems provide shell access to untrusted users. It should enter routine patching, with faster handling for multi-user servers or environments where local users are less trusted.
Technical view
In fs/afs/addr_prefs.c, afs_proc_addr_prefs_write can return directly after afs_split_string reports a negative argc, bypassing inode unlock cleanup. The fix stores the error and jumps to common cleanup. This is CWE-667 with CVSS 5.5: local, low-privilege, availability-only impact.
Likely exposure
Exposure is most relevant to Linux systems running affected kernel builds with AFS support. The bundle lists Linux kernel versions including 6.8, 6.12.11, and 6.13, plus stable fix commits. Distribution backports may change practical exposure.
Exploitation context
The evidence is a syzbot-reported kernel warning about a lock held when returning to userspace. The source bundle marks KEV false and provides no cited evidence of public exploitation, weaponized exploit code, or remote attack paths.
Researcher notes
The bundle supports a lock-cleanup bug in the AFS proc write path, fixed by routing the error path through common cleanup. Evidence is incomplete for exploitability beyond local availability impact; do not infer confidentiality or integrity risk from the provided sources.
Mitigation direction
Update to a vendor kernel containing the referenced stable fixes.
Confirm distribution advisories because kernel fixes may be backported.
Prioritize internet-facing shared hosts only if local user access exists.
Schedule reboot or live patching according to normal kernel update practice.
If no package is available, monitor vendor guidance before deploying custom kernels.
Validation and detection
Inventory Linux kernel versions across servers and endpoints.
Check vendor changelogs for the referenced stable commit IDs.
Identify systems with AFS support enabled or available.
Review logs for kernel lock warnings related to AFS.
Confirm patched systems boot the expected fixed kernel.
Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.
Potential ATT&CK relevance
Conservative CVE-to-ATT&CK context
These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.
ATT&CK lookup starting points
Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.
cwe · low confidence lookup
CWE-667: Exact CWE lookup
Use the exact CWE identifier as the starting point before reviewing related ATT&CK behavior. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.
These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.
We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.
CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.
CWE-667 · source CWE mapping
Improper Locking
Improper Locking represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.