{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2025-21856","id":"CVE-2025-21856","title":"s390/ism: add release function for struct device","description":"In the Linux kernel, the following vulnerability has been resolved:\n\ns390/ism: add release function for struct device\n\nAccording to device_release() in /drivers/base/core.c,\na device without a release function is a broken device\nand must be fixed.\n\nThe current code directly frees the device after calling device_add()\nwithout waiting for other kernel parts to release their references.\nThus, a refer","descriptionLong":"In the Linux kernel, the following vulnerability has been resolved:\n\ns390/ism: add release function for struct device\n\nAccording to device_release() in /drivers/base/core.c,\na device without a release function is a broken device\nand must be fixed.\n\nThe current code directly frees the device after calling device_add()\nwithout waiting for other kernel parts to release their references.\nThus, a reference could still be held to a struct device,\ne.g., by sysfs, leading to potential use-after-free\nissues if a proper release function is not set.","published":"2025-03-12T09:42:09.929Z","updated":"2026-10-28T02:30:37.450296245Z","reserved":"2024-12-29T08:45:45.780Z","status":"Modified","rejected":false,"assigner":"Linux","metric":{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"NVD"},"metrics":[{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"NVD"},{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"CISA-ADP"},{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"OSV"}],"rating":"high","products":["Linux"],"affectedProducts":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"8c81ba20349daf9f7e58bb05a0c12f4b71813a30","lessThan":"940d15254d2216b585558bcf36312da50074e711","status":"affected","versionType":"git"},{"version":"8c81ba20349daf9f7e58bb05a0c12f4b71813a30","lessThan":"0505ff2936f166405d81d0d454a81d9c14124344","status":"affected","versionType":"git"},{"version":"8c81ba20349daf9f7e58bb05a0c12f4b71813a30","lessThan":"e26e8ac27351f457091459a0a355bacd06d5bb2b","status":"affected","versionType":"git"},{"version":"8c81ba20349daf9f7e58bb05a0c12f4b71813a30","lessThan":"915e34d5ad35a6a9e56113f852ade4a730fb88f0","status":"affected","versionType":"git"}],"platforms":[]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.3","status":"affected"},{"version":"0","lessThan":"6.3","status":"unaffected","versionType":"semver"},{"version":"6.6.80","lessThanOrEqual":"6.6.*","status":"unaffected","versionType":"semver"},{"version":"6.12.17","lessThanOrEqual":"6.12.*","status":"unaffected","versionType":"semver"},{"version":"6.13.5","lessThanOrEqual":"6.13.*","status":"unaffected","versionType":"semver"},{"version":"6.14","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}],"platforms":[]}],"packages":[],"cwes":["CWE-416"],"aliases":[],"references":[{"url":"https://git.kernel.org/stable/c/940d15254d2216b585558bcf36312da50074e711","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/0505ff2936f166405d81d0d454a81d9c14124344","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/e26e8ac27351f457091459a0a355bacd06d5bb2b","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/915e34d5ad35a6a9e56113f852ade4a730fb88f0","tags":["Patch","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/21xxx/CVE-2025-21856.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-21856","tags":["advisory"]},{"url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total"},"epss":0.00224,"epssPercentile":0.13136,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2025-21856","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-21856","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2025-21856","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2025-21856","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}