lists.openwall.net | lists / announce owl-users owl-dev john-users john-dev passwdqc-users yescrypt popa3d-users / oss-security kernel-hardening musl sabotage tlsify passwords / crypt-dev xvendor / Bugtraq Full-Disclosure linux-kernel linux-netdev linux-ext4 linux-hardening linux-cve-announce PHC | |
Open Source and information security mailing list archives
| ||
|
Message-ID: <2025031215-CVE-2025-21856-8865@gregkh> Date: Wed, 12 Mar 2025 10:42:22 +0100 From: Greg Kroah-Hartman <gregkh@...uxfoundation.org> To: linux-cve-announce@...r.kernel.org Cc: Greg Kroah-Hartman <gregkh@...uxfoundation.org> Subject: CVE-2025-21856: s390/ism: add release function for struct device Description =========== In the Linux kernel, the following vulnerability has been resolved: s390/ism: add release function for struct device According to device_release() in /drivers/base/core.c, a device without a release function is a broken device and must be fixed. The current code directly frees the device after calling device_add() without waiting for other kernel parts to release their references. Thus, a reference could still be held to a struct device, e.g., by sysfs, leading to potential use-after-free issues if a proper release function is not set. The Linux kernel CVE team has assigned CVE-2025-21856 to this issue. Affected and fixed versions =========================== Issue introduced in 6.3 with commit 8c81ba20349daf9f7e58bb05a0c12f4b71813a30 and fixed in 6.6.80 with commit 940d15254d2216b585558bcf36312da50074e711 Issue introduced in 6.3 with commit 8c81ba20349daf9f7e58bb05a0c12f4b71813a30 and fixed in 6.12.17 with commit 0505ff2936f166405d81d0d454a81d9c14124344 Issue introduced in 6.3 with commit 8c81ba20349daf9f7e58bb05a0c12f4b71813a30 and fixed in 6.13.5 with commit e26e8ac27351f457091459a0a355bacd06d5bb2b Issue introduced in 6.3 with commit 8c81ba20349daf9f7e58bb05a0c12f4b71813a30 and fixed in 6.14-rc4 with commit 915e34d5ad35a6a9e56113f852ade4a730fb88f0 Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community. Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at https://cve.org/CVERecord/?id=CVE-2025-21856 will be updated if fixes are backported, please check that for the most up to date information about this issue. Affected files ============== The file(s) affected by this issue are: drivers/s390/net/ism_drv.c Mitigation ========== The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits: https://git.kernel.org/stable/c/940d15254d2216b585558bcf36312da50074e711 https://git.kernel.org/stable/c/0505ff2936f166405d81d0d454a81d9c14124344 https://git.kernel.org/stable/c/e26e8ac27351f457091459a0a355bacd06d5bb2b https://git.kernel.org/stable/c/915e34d5ad35a6a9e56113f852ade4a730fb88f0
Powered by blists - more mailing lists