intel_th: fix MSC output device reference leak
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Fix
- Fixed in 5.10.265, 5.15.216, 6.1.183, 6.6.148, 6.12.101, and 1 more
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
Summary
In the Linux kernel, the following vulnerability has been resolved: intel_th: fix MSC output device reference leak intel_th_output_open() looks up the output device with bus_find_device_by_devt(), which returns the device with a reference that must be dropped after use. commit 95fc36a234da ("intel_th: fix device leak on output open()") attempted to drop the reference from intel_th_output_release(). However, a successful open replaces file->f_op with the output driver file operations before returning, so close runs the output driver release callback instead. For MSC outputs, close runs intel_th_msc_release(), which only removes the per-file iterator and does not drop the device reference taken by intel_th_output_open(). Consequently, every successful MSC output open leaks one device reference. Drop the device reference from intel_th_msc_release(), which is the release path actually used for MSC output files. Remove the now-unused intel_th_output_release() callback from intel_th_output_fops.
Timeline
- CVE published
- Record last updated
Affected versions
- Linux Linux
From 5.10.249 · fixed in 5.10.265; From 5.15.199 · fixed in 5.15.216; From 6.1.162 · fixed in 6.1.183; From 6.6.122 · fixed in 6.6.148; From 6.12.68 · fixed in 6.12.101; From 6.18.8 · fixed in 6.18.42
- Linux Linux
6.19
References 8
git.kernel.org
- stable/c/12ad4fad748e6e563ff4480f03b89134a41b5c37
- stable/c/df55842fddbcdb80e6dd16680439c0f780ed592e
- stable/c/141641a70ed337e54487f766ede745fc2ce44c42
- stable/c/ddcf2064d7ec5a8c9afa7cb74442320e443502bc
- stable/c/26e27b8dcef1e4df6f30d8f25b3304a506d482b3
- stable/c/caba30eb8bd321c465ecfc7d850ee85f5b353496
- stable/c/c3a28f9cb82425fe0835048ed3677f321e780691
- stable/c/761b785a0cfbce43761227bc42a7f984f31f8921