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.
[
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@0505ff2936f166405d81d0d454a81d9c14124344",
"signature_version": "v1",
"deprecated": false,
"target": {
"function": "ism_probe",
"file": "drivers/s390/net/ism_drv.c"
},
"id": "CVE-2025-21856-121af67e",
"signature_type": "Function",
"digest": {
"length": 1000.0,
"function_hash": "138845390101495969736963240939568477569"
}
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@940d15254d2216b585558bcf36312da50074e711",
"signature_version": "v1",
"deprecated": false,
"target": {
"function": "ism_probe",
"file": "drivers/s390/net/ism_drv.c"
},
"id": "CVE-2025-21856-17e821a3",
"signature_type": "Function",
"digest": {
"length": 1000.0,
"function_hash": "138845390101495969736963240939568477569"
}
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@940d15254d2216b585558bcf36312da50074e711",
"signature_version": "v1",
"deprecated": false,
"target": {
"file": "drivers/s390/net/ism_drv.c"
},
"id": "CVE-2025-21856-1dc1d125",
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"149084942651257576144652536580975912711",
"243845112551115070483410986343301455575",
"320524599836977767927338175801974764261",
"14444516484545848785002111750939779240",
"242059716655612838532128724958216835647",
"226224469404494817334039111260720740535",
"202504458409603125730259378417113326186",
"159172092419190238791838583105061726844",
"336896427461437396865925777194938832884",
"156916290511475406243342907037023953776",
"206102514664803842996228641900368204925",
"151671708415684505717864677094410270140",
"182680111464042467707706379179288315321",
"224554507972561940572270866660817282021",
"7312265383943574775641170229852139174"
]
}
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@e26e8ac27351f457091459a0a355bacd06d5bb2b",
"signature_version": "v1",
"deprecated": false,
"target": {
"file": "drivers/s390/net/ism_drv.c"
},
"id": "CVE-2025-21856-338f9af9",
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"149084942651257576144652536580975912711",
"243845112551115070483410986343301455575",
"320524599836977767927338175801974764261",
"14444516484545848785002111750939779240",
"242059716655612838532128724958216835647",
"226224469404494817334039111260720740535",
"202504458409603125730259378417113326186",
"159172092419190238791838583105061726844",
"336896427461437396865925777194938832884",
"156916290511475406243342907037023953776",
"206102514664803842996228641900368204925",
"151671708415684505717864677094410270140",
"182680111464042467707706379179288315321",
"224554507972561940572270866660817282021",
"7312265383943574775641170229852139174"
]
}
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@940d15254d2216b585558bcf36312da50074e711",
"signature_version": "v1",
"deprecated": false,
"target": {
"function": "ism_remove",
"file": "drivers/s390/net/ism_drv.c"
},
"id": "CVE-2025-21856-4f1ed525",
"signature_type": "Function",
"digest": {
"length": 232.0,
"function_hash": "142414164391828605967592003729617778740"
}
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@e26e8ac27351f457091459a0a355bacd06d5bb2b",
"signature_version": "v1",
"deprecated": false,
"target": {
"function": "ism_remove",
"file": "drivers/s390/net/ism_drv.c"
},
"id": "CVE-2025-21856-616abeb9",
"signature_type": "Function",
"digest": {
"length": 232.0,
"function_hash": "142414164391828605967592003729617778740"
}
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@915e34d5ad35a6a9e56113f852ade4a730fb88f0",
"signature_version": "v1",
"deprecated": false,
"target": {
"function": "ism_probe",
"file": "drivers/s390/net/ism_drv.c"
},
"id": "CVE-2025-21856-71e3cf04",
"signature_type": "Function",
"digest": {
"length": 1000.0,
"function_hash": "138845390101495969736963240939568477569"
}
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@0505ff2936f166405d81d0d454a81d9c14124344",
"signature_version": "v1",
"deprecated": false,
"target": {
"function": "ism_remove",
"file": "drivers/s390/net/ism_drv.c"
},
"id": "CVE-2025-21856-9f9cf515",
"signature_type": "Function",
"digest": {
"length": 232.0,
"function_hash": "142414164391828605967592003729617778740"
}
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@e26e8ac27351f457091459a0a355bacd06d5bb2b",
"signature_version": "v1",
"deprecated": false,
"target": {
"function": "ism_probe",
"file": "drivers/s390/net/ism_drv.c"
},
"id": "CVE-2025-21856-ceb604f4",
"signature_type": "Function",
"digest": {
"length": 1000.0,
"function_hash": "138845390101495969736963240939568477569"
}
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@915e34d5ad35a6a9e56113f852ade4a730fb88f0",
"signature_version": "v1",
"deprecated": false,
"target": {
"file": "drivers/s390/net/ism_drv.c"
},
"id": "CVE-2025-21856-cf3d3756",
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"149084942651257576144652536580975912711",
"243845112551115070483410986343301455575",
"320524599836977767927338175801974764261",
"14444516484545848785002111750939779240",
"242059716655612838532128724958216835647",
"226224469404494817334039111260720740535",
"202504458409603125730259378417113326186",
"159172092419190238791838583105061726844",
"336896427461437396865925777194938832884",
"156916290511475406243342907037023953776",
"206102514664803842996228641900368204925",
"151671708415684505717864677094410270140",
"182680111464042467707706379179288315321",
"224554507972561940572270866660817282021",
"7312265383943574775641170229852139174"
]
}
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@915e34d5ad35a6a9e56113f852ade4a730fb88f0",
"signature_version": "v1",
"deprecated": false,
"target": {
"function": "ism_remove",
"file": "drivers/s390/net/ism_drv.c"
},
"id": "CVE-2025-21856-e08c2bd0",
"signature_type": "Function",
"digest": {
"length": 232.0,
"function_hash": "142414164391828605967592003729617778740"
}
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@0505ff2936f166405d81d0d454a81d9c14124344",
"signature_version": "v1",
"deprecated": false,
"target": {
"file": "drivers/s390/net/ism_drv.c"
},
"id": "CVE-2025-21856-e6729f41",
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"149084942651257576144652536580975912711",
"243845112551115070483410986343301455575",
"320524599836977767927338175801974764261",
"14444516484545848785002111750939779240",
"242059716655612838532128724958216835647",
"226224469404494817334039111260720740535",
"202504458409603125730259378417113326186",
"159172092419190238791838583105061726844",
"336896427461437396865925777194938832884",
"156916290511475406243342907037023953776",
"206102514664803842996228641900368204925",
"151671708415684505717864677094410270140",
"182680111464042467707706379179288315321",
"224554507972561940572270866660817282021",
"7312265383943574775641170229852139174"
]
}
}
]