soundwire: debugfs: replace writable string helper

State
Published
Severity
Not Scored
Published
Nov 30, 2026
Updated
Nov 30, 2026
Reserved
Nov 30, 2026

Read the record on cve.org

Description

In the Linux kernel, the following vulnerability has been resolved:

soundwire: debugfs: replace writable string helper

debugfs_create_str() is being made read-only because its generic write path is hard to make safe without adding more locking to the helper.

Convert the SoundWire firmware_file entry to a local write-only file operation before removing writable string support from debugfs_create_str().

Copy the firmware name before request_firmware() so later debugfs writes cannot replace the string while it is being used.

ProductVersions
Linux Linux1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before b81a30e52b648cc8cc4038eb03664054159a7a38 Affected1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before 11a90a27a13ffdf2115e970be56b2010c73cf2fb Affected1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before 98421ba5925fd95db714727f7ae82e87e571979b Affectedbefore 6.18.65 Affectedbefore 7.3.6 Affected
Linux Linux6.18.65 through 6.18.* Not Affected7.3.6 through 7.3.* Not Affected7.4-rc1 and later Not Affected

Weaknesses

The record names no weakness.

References

Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.

© 2026 NVIDIA, the NVIDIA logo, and NVIDIA Inception are trademarks and/or registered trademarks of NVIDIA Corporation in the U.S. and other countries.