Description (CNA)
In the Linux kernel, the following vulnerability has been resolved: s390/cio: Fix NULL pointer dereference in ccw_device_get_util_str() The channel path registry entry associated with a CHPID may be removed while the subchannel's PMCW still references that CHPID. In this case, chpid_to_chp() can return NULL, leading to a NULL pointer dereference. Add the missing NULL check before dereferencing the returned pointer.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| Linux / Linux | affected 199652309a4d6635fca19d7528d73ab9e219bd9a before 9d8b21820caed9128945fffcedf03e2a4c21eee2; affected 199652309a4d6635fca19d7528d73ab9e219bd9a before 5fc54e04dad90b15d0430118b3f288a1d64e66c9; affected 199652309a4d6635fca19d7528d73ab9e219bd9a before 27e396a89f76f742abdbe9f8c4a58a6e806fdf59; affected 199652309a4d6635fca19d7528d73ab9e219bd9a before dbf30e661ceb9a52c94c85719716391dcc29142a; affected 199652309a4d6635fca19d7528d73ab9e219bd9a before 5e006ac90a4d331db1dd712b91fec849b45ffc01; affected 199652309a4d6635fca19d7528d73ab9e219bd9a before c3bbcb32deecc06ebb1762398399b566d5ff2fc9; affected 199652309a4d6635fca19d7528d73ab9e219bd9a before 44b16b02608058fc72198ac0205969f0f43065df; affected 199652309a4d6635fca19d7528d73ab9e219bd9a before 5b76268dac968612f7283d59b539036de955b7d9 |
| Linux / Linux | affected 4.18; unaffected 0 before 4.18; unaffected 5.10.271 through 5.10.*; unaffected 5.15.222 through 5.15.*; unaffected 6.1.189 through 6.1.*; unaffected 6.6.158 through 6.6.*; unaffected 6.12.112 through 6.12.*; unaffected 6.18.55 through 6.18.*; unaffected 7.2.9 through 7.2.*; unaffected 7.3 through * |
CWE
No CWE identifiers supplied.
References
- https://git.kernel.org/stable/c/9d8b21820caed9128945fffcedf03e2a4c21eee2
- https://git.kernel.org/stable/c/5fc54e04dad90b15d0430118b3f288a1d64e66c9
- https://git.kernel.org/stable/c/27e396a89f76f742abdbe9f8c4a58a6e806fdf59
- https://git.kernel.org/stable/c/dbf30e661ceb9a52c94c85719716391dcc29142a
- https://git.kernel.org/stable/c/5e006ac90a4d331db1dd712b91fec849b45ffc01
- https://git.kernel.org/stable/c/c3bbcb32deecc06ebb1762398399b566d5ff2fc9
- https://git.kernel.org/stable/c/44b16b02608058fc72198ac0205969f0f43065df
- https://git.kernel.org/stable/c/5b76268dac968612f7283d59b539036de955b7d9