Security Vulnerability Report
中文
CVE-2026-43282 CVSS 5.5 MEDIUM

CVE-2026-43282

Published: 2026-05-06 12:16:50
Last Modified: 2026-05-08 19:09:01
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67

Description

In the Linux kernel, the following vulnerability has been resolved: RDMA/ionic: Fix potential NULL pointer dereference in ionic_query_port The function ionic_query_port() calls ib_device_get_netdev() without checking the return value which could lead to NULL pointer dereference, Fix it by checking the return value and return -ENODEV if the 'ndev' is NULL.

CVSS Details

CVSS Score
5.5
Severity
MEDIUM
CVSS Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Configurations (Affected Products)

cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* - VULNERABLE
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* - VULNERABLE
cpe:2.3:o:linux:linux_kernel:7.0:rc1:*:*:*:*:*:* - VULNERABLE
Linux Kernel < Commit 2b96156c927cd83c109e2e3946e6111dce73231f
Linux Kernel < Commit 81932a46dfd0db10a03f46f0b1c7ef946ac4552f
Linux Kernel < Commit fd80bd7105f88189f47d465ca8cb7d115570de30

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
/** * PoC Simulation for CVE-2026-43282 * This snippet demonstrates the vulnerable logic in ionic_query_port. * Compile as a kernel module to test (requires specific environment). */ #include <linux/module.h> #include <linux/netdevice.h> // Mocking the vulnerable function structure struct ib_device; struct net_device *ib_device_get_netdev(struct ib_device *device, u8 port) { // Simulate a condition where netdev is not found return NULL; } int vulnerable_ionic_query_port(struct ib_device *ibdev, u8 port) { struct net_device *ndev; ndev = ib_device_get_netdev(ibdev, port); // VULNERABILITY: Missing check for NULL pointer // if (!ndev) // return -ENODEV; // This line will cause a Kernel Oops (NULL pointer dereference) printk(KERN_INFO "Netdev name: %s\n", ndev->name); return 0; } // Fixed version for reference int fixed_ionic_query_port(struct ib_device *ibdev, u8 port) { struct net_device *ndev; ndev = ib_device_get_netdev(ibdev, port); if (!ndev) return -ENODEV; printk(KERN_INFO "Netdev name: %s\n", ndev->name); return 0; }

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2026-43282", "sourceIdentifier": "416baaa9-dc9f-4396-8d5f-8c081fb06d67", "published": "2026-05-06T12:16:49.703", "lastModified": "2026-05-08T19:09:00.997", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nRDMA/ionic: Fix potential NULL pointer dereference in ionic_query_port\n\nThe function ionic_query_port() calls ib_device_get_netdev() without\nchecking the return value which could lead to NULL pointer dereference,\nFix it by checking the return value and return -ENODEV if the 'ndev' is\nNULL."}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "type": "Primary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H", "baseScore": 5.5, "baseSeverity": "MEDIUM", "attackVector": "LOCAL", "attackComplexity": "LOW", "privilegesRequired": "LOW", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "NONE", "integrityImpact": "NONE", "availabilityImpact": "HIGH"}, "exploitabilityScore": 1.8, "impactScore": 3.6}]}, "weaknesses": [{"source": "[email protected]", "type": "Primary", "description": [{"lang": "en", "value": "CWE-476"}]}], "configurations": [{"nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*", "versionStartIncluding": "6.18", "versionEndExcluding": "6.18.16", "matchCriteriaId": "E0D300DB-AA68-4962-981D-EF9F5E97AACF"}, {"vulnerable": true, "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*", "versionStartIncluding": "6.19", "versionEndExcluding": "6.19.6", "matchCriteriaId": "373EEEDA-FAA1-4FB4-B6ED-DB4DD99DBE67"}, {"vulnerable": true, "criteria": "cpe:2.3:o:linux:linux_kernel:7.0:rc1:*:*:*:*:*:*", "matchCriteriaId": "F253B622-8837-4245-BCE5-A7BF8FC76A16"}]}]}], "references": [{"url": "https://git.kernel.org/stable/c/2b96156c927cd83c109e2e3946e6111dce73231f", "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67", "tags": ["Patch"]}, {"url": "https://git.kernel.org/stable/c/81932a46dfd0db10a03f46f0b1c7ef946ac4552f", "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67", "tags": ["Patch"]}, {"url": "https://git.kernel.org/stable/c/fd80bd7105f88189f47d465ca8cb7d115570de30", "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67", "tags": ["Patch"]}]}}