s390/cio: Fix NULL pointer dereference in ccw_device_get_util_str()
- 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.271, 5.15.222, 6.1.189, 6.6.158, 6.12.112, and 2 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: 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.
Timeline
- CVE published
- Record last updated
Affected versions
- Linux Linux
From 199652309a4d6635fca19d7528d73ab9e219bd9a · fixed in 9d8b21820caed9128945fffcedf03e2a4c21eee2; From 199652309a4d6635fca19d7528d73ab9e219bd9a · fixed in 5fc54e04dad90b15d0430118b3f288a1d64e66c9; From 199652309a4d6635fca19d7528d73ab9e219bd9a · fixed in 27e396a89f76f742abdbe9f8c4a58a6e806fdf59; From 199652309a4d6635fca19d7528d73ab9e219bd9a · fixed in dbf30e661ceb9a52c94c85719716391dcc29142a; From 199652309a4d6635fca19d7528d73ab9e219bd9a · fixed in 5e006ac90a4d331db1dd712b91fec849b45ffc01; From 199652309a4d6635fca19d7528d73ab9e219bd9a · fixed in c3bbcb32deecc06ebb1762398399b566d5ff2fc9; From 199652309a4d6635fca19d7528d73ab9e219bd9a · fixed in 44b16b02608058fc72198ac0205969f0f43065df; From 199652309a4d6635fca19d7528d73ab9e219bd9a · fixed in 5b76268dac968612f7283d59b539036de955b7d9
- Linux Linux
4.18
- KernelLinux
From 4.18.0 · fixed in 5.10.271; From 5.11.0 · fixed in 5.15.222; From 5.16.0 · fixed in 6.1.189; From 6.2.0 · fixed in 6.6.158; From 6.7.0 · fixed in 6.12.112; From 6.13.0 · fixed in 6.18.55; From 6.19.0 · fixed in 7.2.9
References 8
git.kernel.org
- stable/c/9d8b21820caed9128945fffcedf03e2a4c21eee2
- stable/c/5fc54e04dad90b15d0430118b3f288a1d64e66c9
- stable/c/27e396a89f76f742abdbe9f8c4a58a6e806fdf59
- stable/c/dbf30e661ceb9a52c94c85719716391dcc29142a
- stable/c/5e006ac90a4d331db1dd712b91fec849b45ffc01
- stable/c/c3bbcb32deecc06ebb1762398399b566d5ff2fc9
- stable/c/44b16b02608058fc72198ac0205969f0f43065df
- stable/c/5b76268dac968612f7283d59b539036de955b7d9