Wiz Agents & Workflows are here

CVE-2025-21672
Linux Kernel vulnerability analysis and mitigation

Overview

CVE-2025-21672 is a vulnerability discovered in the Linux kernel's AFS (Andrew File System) module, specifically in the afs_proc_addr_prefs_write function. The vulnerability was discovered and reported by syzbot on January 31, 2025. It affects Linux kernel versions prior to 6.12.11 and various release candidates of version 6.13 (rc1 through rc6) (NVD).

Technical details

The vulnerability stems from improper lock handling in the afs_proc_addr_prefs_write function within the AFS module. When processing address preferences, if the argc parameter becomes less than 0, the function returns directly without releasing an acquired inode lock. This results in a lock being held when returning to userspace. The vulnerability has been assigned a CVSS v3.1 base score of 5.5 (MEDIUM) with a vector string of CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H and is classified as CWE-667 (Improper Locking) (NVD, Kernel Patch).

Impact

The primary impact of this vulnerability is a potential denial-of-service condition. When the vulnerability is triggered, the inode lock remains held indefinitely, which can block other processes that require access to the same file or resource. This can lead to system hangs, unresponsive applications, and degraded system performance (SecMaster).

Mitigation and workarounds

The vulnerability has been fixed in Linux kernel version 6.12.11 and later. The fix involves modifying the afs_proc_addr_prefs_write function to store the error in a return variable and jump to a cleanup section instead of returning directly, ensuring proper release of the held lock. For systems that cannot immediately upgrade, a potential workaround is to disable the AFS module if it's not critical for system operation (Kernel Patch, SecMaster).

Additional resources


SourceThis report was generated using AI

Related Linux Kernel vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-23395CRITICAL9.1
  • Linux KernelLinux Kernel
  • kernel-rt-64k-debug-devel-matched
NoYesMar 25, 2026
CVE-2026-23399MEDIUM6.5
  • Linux KernelLinux Kernel
  • kernel-rt-64k-debug-devel-matched
NoYesMar 28, 2026
CVE-2026-23398MEDIUM6.5
  • Linux KernelLinux Kernel
  • kernel-abi-stablelists
NoYesMar 26, 2026
CVE-2026-23397MEDIUM4.4
  • Linux KernelLinux Kernel
  • kernel-devel
NoYesMar 26, 2026
CVE-2026-31788N/AN/A
  • Linux KernelLinux Kernel
  • kernel-rt-trace-kvm
NoYesMar 25, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management