Description (CNA)
In the Linux kernel, the following vulnerability has been resolved: iio: gyro: adis16136: fix unprotected debugfs reads The serial_number file operations are open coded and never call debugfs_file_get(), which debugfs_create_file_unsafe() requires. debugfs_remove_recursive() therefore does not wait for a read in progress, and unbind frees the iio_dev underneath it. Use debugfs_create_file() instead.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| Linux / Linux | affected 9aaea09b4cbdbe1a80ab3fa1a5d32c3ec61fa6e2 before b62c3944c006cff85dad881ba2948b2f3ef5a626; affected 9aaea09b4cbdbe1a80ab3fa1a5d32c3ec61fa6e2 before d5b0b62e26d7d30e0e16e2d695f2161f7e92a5a5; affected 9aaea09b4cbdbe1a80ab3fa1a5d32c3ec61fa6e2 before b53dc6e15aead039bc6a5e08060c96786240c81d; affected 9aaea09b4cbdbe1a80ab3fa1a5d32c3ec61fa6e2 before b05e768420352d9051f86c1a1f20f44fa046ba45; affected 9aaea09b4cbdbe1a80ab3fa1a5d32c3ec61fa6e2 before 2b498df75d6c29aa3e760127ae0f0003df598b53 |
| Linux / Linux | affected 4.16; unaffected 0 before 4.16; unaffected 6.6.160 through 6.6.*; unaffected 6.12.113 through 6.12.*; unaffected 6.18.56 through 6.18.*; unaffected 7.2.10 through 7.2.*; unaffected 7.3 through * |
CWE
No CWE identifiers supplied.
References
- https://git.kernel.org/stable/c/b62c3944c006cff85dad881ba2948b2f3ef5a626
- https://git.kernel.org/stable/c/d5b0b62e26d7d30e0e16e2d695f2161f7e92a5a5
- https://git.kernel.org/stable/c/b53dc6e15aead039bc6a5e08060c96786240c81d
- https://git.kernel.org/stable/c/b05e768420352d9051f86c1a1f20f44fa046ba45
- https://git.kernel.org/stable/c/2b498df75d6c29aa3e760127ae0f0003df598b53