Linux
tracing: Hold trace_types_lock when updating modules in persistent instances
In the Linux kernel, the following vulnerability has been resolved: tracing: Hold trace_types_lock when updating modules in persistent instances trace_module_record() walks ftrace_trace_arrays from the module notifier without trace_types_lock. A concurrent rmdir of an instance removes it from the list and frees it under that lock, so a module load or unload can walk into a freed trace_array.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 5f3719f697c3fdfae5cd6805f10ac7a04b0f4e43, < 57408eac99b0d8a005796346d317d31f0ca4e07a
- >= 5f3719f697c3fdfae5cd6805f10ac7a04b0f4e43, < dab2bd4d67ad5eaa95019a9511f8d379401b5021
- >= 5f3719f697c3fdfae5cd6805f10ac7a04b0f4e43, < 244c442f54601a24c86ad90572bf36fc3df41c5e
- >= 5f3719f697c3fdfae5cd6805f10ac7a04b0f4e43, < 66877a312ae3c2c3d849e82e882f642ffd4ec3e2
Fixed in 57408eac99b0d8a005796346d317d31f0ca4e07a, dab2bd4d67ad5eaa95019a9511f8d379401b5021, 244c442f54601a24c86ad90572bf36fc3df41c5e, 66877a312ae3c2c3d849e82e882f642ffd4ec3e2
- 6.15
Fixed in 0, 6.18.60, 7.2.14, 7.3.1, 7.4-rc1
Mitigation
Upgrade Linux to 57408eac99b0d8a005796346d317d31f0ca4e07a or dab2bd4d67ad5eaa95019a9511f8d379401b5021 or 244c442f54601a24c86ad90572bf36fc3df41c5e or 66877a312ae3c2c3d849e82e882f642ffd4ec3e2 or later.
Upgrade Linux to 0 or 6.18.60 or 7.2.14 or 7.3.1 or 7.4-rc1 or later.
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.