Microsoft has confirmed a defect in the Windows 11 Capability Access Manager (camsvc) that causes a specific log file to expand indefinitely. The file, named CapabilityAccessManager.db-wal, acts as a write-ahead log for a database that tracks when applications request access to sensitive resources like cameras and microphones. While this file typically occupies only a few megabytes, the bug prevents it from being compacted, leading to storage consumption exceeding 500 GB on some systems.
Source