CVE-2026-139555: soundwire: debugfs: replace writable string helper
In the Linux kernel, the following vulnerability has been resolved:
soundwire: debugfs: replace writable string helper
debugfscreatestr() 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 firmwarefile entry to a local write-only file operation before removing writable string support from debugfscreatestr().
Copy the firmware name before requestfirmware() so later debugfs writes cannot replace the string while it is being used.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Compensating control
Replace the SoundWire firmware_file debugfs entry with a local write-only file, and copy the firmware name before calling request_firmware() so later debugfs writes can use it safely.
Event History
Frequently Asked Questions
What access would be needed to trigger this issue?
An attacker would need the ability to write to the SoundWire debugfs firmware_file entry and to race that write against firmware loading through request_firmware(). The issue involves replacement of the firmware-name string while it is in use.
Which component is affected by the fix?
The change applies to the SoundWire firmware_file debugfs entry in the Linux kernel. It replaces use of the generic writable debugfs string helper with a local write-only file operation and copies the firmware name before requesting firmware.
How can systems determine whether they have the remediation?
The provided references identify stable kernel commits containing the fix. The available data does not specify affected or fixed kernel version numbers.