In the Linux kernel, the following vulnerability has been resolved:
rapidio: fix an API misues when rioaddnet() fails
rioaddnet() calls deviceregister() and fails when deviceregister() fails. Thus, put_device() should be used rather than kfree(). Add "mport->net = NULL;" to avoid a use after free issue.
[
{
"signature_type": "Line",
"deprecated": false,
"digest": {
"line_hashes": [
"160072074276108128583234383168084169059",
"307985754573951331921356719307854363811",
"158245520960825005629002204562364048592",
"147862890566197530713048811829452029392"
],
"threshold": 0.9
},
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@22e4977141dfc6d109bf29b495bf2187b4250990",
"target": {
"file": "drivers/rapidio/devices/rio_mport_cdev.c"
},
"id": "CVE-2025-21934-01c000bb"
},
{
"signature_type": "Function",
"deprecated": false,
"digest": {
"length": 3173.0,
"function_hash": "53208283171454568933483959989880004017"
},
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@a5f5e520e8fbc6294020ff8afa36f684d92c6e6a",
"target": {
"file": "drivers/rapidio/devices/rio_mport_cdev.c",
"function": "rio_mport_add_riodev"
},
"id": "CVE-2025-21934-13084929"
},
{
"signature_type": "Function",
"deprecated": false,
"digest": {
"length": 3173.0,
"function_hash": "53208283171454568933483959989880004017"
},
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@f0aa4ee1cbbf7789907e5a3f6810de01c146c211",
"target": {
"file": "drivers/rapidio/devices/rio_mport_cdev.c",
"function": "rio_mport_add_riodev"
},
"id": "CVE-2025-21934-1fe36da1"
},
{
"signature_type": "Line",
"deprecated": false,
"digest": {
"line_hashes": [
"160072074276108128583234383168084169059",
"307985754573951331921356719307854363811",
"158245520960825005629002204562364048592",
"147862890566197530713048811829452029392"
],
"threshold": 0.9
},
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@cdd9f58f7fe41a55fae4305ea51fc234769fd466",
"target": {
"file": "drivers/rapidio/devices/rio_mport_cdev.c"
},
"id": "CVE-2025-21934-2872d8c6"
},
{
"signature_type": "Line",
"deprecated": false,
"digest": {
"line_hashes": [
"160072074276108128583234383168084169059",
"307985754573951331921356719307854363811",
"158245520960825005629002204562364048592",
"147862890566197530713048811829452029392"
],
"threshold": 0.9
},
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@88ddad53e4cfb6de861c6d4fb7b25427f46baed5",
"target": {
"file": "drivers/rapidio/devices/rio_mport_cdev.c"
},
"id": "CVE-2025-21934-35e579f0"
},
{
"signature_type": "Function",
"deprecated": false,
"digest": {
"length": 3173.0,
"function_hash": "53208283171454568933483959989880004017"
},
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@22e4977141dfc6d109bf29b495bf2187b4250990",
"target": {
"file": "drivers/rapidio/devices/rio_mport_cdev.c",
"function": "rio_mport_add_riodev"
},
"id": "CVE-2025-21934-98509a5b"
},
{
"signature_type": "Function",
"deprecated": false,
"digest": {
"length": 3173.0,
"function_hash": "53208283171454568933483959989880004017"
},
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@88ddad53e4cfb6de861c6d4fb7b25427f46baed5",
"target": {
"file": "drivers/rapidio/devices/rio_mport_cdev.c",
"function": "rio_mport_add_riodev"
},
"id": "CVE-2025-21934-9dc6a61d"
},
{
"signature_type": "Line",
"deprecated": false,
"digest": {
"line_hashes": [
"160072074276108128583234383168084169059",
"307985754573951331921356719307854363811",
"158245520960825005629002204562364048592",
"147862890566197530713048811829452029392"
],
"threshold": 0.9
},
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@2537f01d57f08c527e40bbb5862aa6ff43344898",
"target": {
"file": "drivers/rapidio/devices/rio_mport_cdev.c"
},
"id": "CVE-2025-21934-b821ba55"
},
{
"signature_type": "Function",
"deprecated": false,
"digest": {
"length": 3173.0,
"function_hash": "53208283171454568933483959989880004017"
},
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@cdd9f58f7fe41a55fae4305ea51fc234769fd466",
"target": {
"file": "drivers/rapidio/devices/rio_mport_cdev.c",
"function": "rio_mport_add_riodev"
},
"id": "CVE-2025-21934-bf2070a4"
},
{
"signature_type": "Function",
"deprecated": false,
"digest": {
"length": 3173.0,
"function_hash": "53208283171454568933483959989880004017"
},
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@2537f01d57f08c527e40bbb5862aa6ff43344898",
"target": {
"file": "drivers/rapidio/devices/rio_mport_cdev.c",
"function": "rio_mport_add_riodev"
},
"id": "CVE-2025-21934-cfbd035f"
},
{
"signature_type": "Line",
"deprecated": false,
"digest": {
"line_hashes": [
"160072074276108128583234383168084169059",
"307985754573951331921356719307854363811",
"158245520960825005629002204562364048592",
"147862890566197530713048811829452029392"
],
"threshold": 0.9
},
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@a5f5e520e8fbc6294020ff8afa36f684d92c6e6a",
"target": {
"file": "drivers/rapidio/devices/rio_mport_cdev.c"
},
"id": "CVE-2025-21934-e5499861"
},
{
"signature_type": "Line",
"deprecated": false,
"digest": {
"line_hashes": [
"160072074276108128583234383168084169059",
"307985754573951331921356719307854363811",
"158245520960825005629002204562364048592",
"147862890566197530713048811829452029392"
],
"threshold": 0.9
},
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@f0aa4ee1cbbf7789907e5a3f6810de01c146c211",
"target": {
"file": "drivers/rapidio/devices/rio_mport_cdev.c"
},
"id": "CVE-2025-21934-ea1fb238"
}
]