Description (CNA)
In the Linux kernel, the following vulnerability has been resolved: media: vidtv: fix pass-by-value structs causing MSAN warnings vidtv_ts_null_write_into() and vidtv_ts_pcr_write_into() take their argument structs by value, causing MSAN to report uninit-value warnings. While only vidtv_ts_null_write_into() has triggered a report so far, both functions share the same issue. Fix by passing both structs by const pointer instead, avoiding the stack copy of the struct along with its MSAN shadow and origin metadata. The functions do not modify the structs, which is enforced by the const qualifier.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| Linux / Linux | affected f90cf6079bf67988f8b1ad1ade70fc89d0080905 before a876d72ceba7fe5444005239f363c105767e0ecf; affected f90cf6079bf67988f8b1ad1ade70fc89d0080905 before a73f84a30975e6c4ae06efd500d31c82564dba10; affected f90cf6079bf67988f8b1ad1ade70fc89d0080905 before c034d8094fee474eb94142c17643eee2919079b7; affected f90cf6079bf67988f8b1ad1ade70fc89d0080905 before e3957eb26a3d570aefc6bb184fa8b8a1e9a4e508; affected f90cf6079bf67988f8b1ad1ade70fc89d0080905 before be57e52e27c7cbfb400a8f255e475cbcff242baa; affected f90cf6079bf67988f8b1ad1ade70fc89d0080905 before 6d75a9ec5bdb8cf8382eaf8f8fe831ba7d58a9d4; affected f90cf6079bf67988f8b1ad1ade70fc89d0080905 before 57b01d945ed68cebe486d495dadc4901a96d3aaa; affected f90cf6079bf67988f8b1ad1ade70fc89d0080905 before 1b2820c8a9887981634020db19f1a2425558b88e; affected f90cf6079bf67988f8b1ad1ade70fc89d0080905 before 5f8e73bde67e931468bc2a1860d78d72f0c6ba41 |
| Linux / Linux | affected 5.10; unaffected 0 before 5.10; unaffected 5.10.258 through 5.10.*; unaffected 5.15.209 through 5.15.*; unaffected 6.1.175 through 6.1.*; unaffected 6.6.136 through 6.6.*; unaffected 6.12.83 through 6.12.*; unaffected 6.18.24 through 6.18.*; unaffected 6.19.14 through 6.19.*; unaffected 7.0.1 through 7.0.*; unaffected 7.1 through * |
CWE
No CWE identifiers supplied.
References
- https://git.kernel.org/stable/c/a876d72ceba7fe5444005239f363c105767e0ecf
- https://git.kernel.org/stable/c/a73f84a30975e6c4ae06efd500d31c82564dba10
- https://git.kernel.org/stable/c/c034d8094fee474eb94142c17643eee2919079b7
- https://git.kernel.org/stable/c/e3957eb26a3d570aefc6bb184fa8b8a1e9a4e508
- https://git.kernel.org/stable/c/be57e52e27c7cbfb400a8f255e475cbcff242baa
- https://git.kernel.org/stable/c/6d75a9ec5bdb8cf8382eaf8f8fe831ba7d58a9d4
- https://git.kernel.org/stable/c/57b01d945ed68cebe486d495dadc4901a96d3aaa
- https://git.kernel.org/stable/c/1b2820c8a9887981634020db19f1a2425558b88e
- https://git.kernel.org/stable/c/5f8e73bde67e931468bc2a1860d78d72f0c6ba41