Description
In the Linux kernel, the following vulnerability has been resolved:

IB/mlx4: Fix use-after-free on pkey sysfs registration failure

register_pkey_tree() ignores errors from register_one_pkey_tree() and
continues registering the remaining slaves. The per-slave error path has
already released the pkey parent kobjects, but their pointers remain
stored in the device. A later device cleanup therefore passes the stale
pointers to kobject_put(), causing a use-after-free.

Clear the parent pointers after releasing a failed slave tree and skip
unregistered trees during device cleanup. This preserves the existing
best-effort registration behavior while preventing a second cleanup of
the failed tree.
Published: 2026-10-06
Score: 7.0 High
EPSS: < 1% Very Low
KEV: No
Impact: Kernel memory corruption
Action: Apply Patch
AI Analysis

Impact

During device initialization, the register_pkey_tree() function ignores errors from register_one_pkey_tree() and continues to register the remaining slaves. The per‑slave error path releases the parent kobjects for the pkey, but those freed pointers remain stored in the device data structure. When the device later performs cleanup, the stale pointers are passed to kobject_put(), causing a use‑after‑free. In kernel space this can lead to memory corruption, system crashes, or, if an attacker can trigger the flaw, privilege escalation.

Affected Systems

The vulnerability affects all Linux kernel installations that include the IB/mlx4 driver and perform pkey sysfs registration. No specific kernel version was listed, so any system running an unpatched Linux kernel with this driver is potentially impacted.

Risk and Exploitability

The EPSS score is <1%, indicating a very low likelihood of exploitation, and the vulnerability is not listed in the CISA KEV catalog. Because the flaw is a kernel‑space use‑after‑free, a successful exploitation could lead to kernel memory corruption, system crash, or, potentially, privilege escalation if a local attacker can trigger the flaw. Based on the description, it is inferred that the attack vector would involve triggering a pkey sysfs registration failure during device cleanup, which is an internal kernel operation.

Generated by OpenCVE AI on October 10, 2026 at 02:14 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade the Linux kernel to a release that includes the fix for pkey sysfs registration failure
  • Reboot the system after applying the new kernel so the updated driver is active
  • If an upgrade is not immediately possible, consider disabling the IB/mlx4 driver or preventing pkey sysfs registration until a patch is available

Generated by OpenCVE AI on October 10, 2026 at 02:14 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Debian DLA Debian DLA DLA-4841-1 linux security update
Debian DLA Debian DLA DLA-4850-1 linux-6.12 security update
Debian DSA Debian DSA DSA-6568-1 linux security update
Ubuntu USN Ubuntu USN USN-8961-1 Linux kernel vulnerabilities
History

Sat, 10 Oct 2026 00:30:00 +0000

Type Values Removed Values Added
Weaknesses CWE-825
References
Metrics threat_severity

None

cvssV3_1

{'score': 7.0, 'vector': 'CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H'}

threat_severity

Moderate


Wed, 07 Oct 2026 07:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-416

Wed, 07 Oct 2026 05:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-416

Tue, 06 Oct 2026 12:30:00 +0000

Type Values Removed Values Added
Weaknesses CWE-416

Tue, 06 Oct 2026 09:00:00 +0000

Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: IB/mlx4: Fix use-after-free on pkey sysfs registration failure register_pkey_tree() ignores errors from register_one_pkey_tree() and continues registering the remaining slaves. The per-slave error path has already released the pkey parent kobjects, but their pointers remain stored in the device. A later device cleanup therefore passes the stale pointers to kobject_put(), causing a use-after-free. Clear the parent pointers after releasing a failed slave tree and skip unregistered trees during device cleanup. This preserves the existing best-effort registration behavior while preventing a second cleanup of the failed tree.
Title IB/mlx4: Fix use-after-free on pkey sysfs registration failure
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References

Subscriptions

Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-10-19T09:15:47.995Z

Reserved: 2026-09-25T10:25:14.326Z

Link: CVE-2026-98217

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-10-06T09:18:08.423

Modified: 2026-10-19T10:18:22.473

Link: CVE-2026-98217

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-10-06T00:00:00Z

Links: CVE-2026-98217 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-10-10T02:15:14Z

Weaknesses