CVE-2026-46118·Kernel vulnerability
In the Linux kernel, the following vulnerability has been resolved: pseries/papr-hvpipe: Fix null ptr deref in papr_hvpipe_dev_create_handle() commit 6d3789d347a7 ("papr-hvpipe: convert papr_hvpipe_dev_create_handle() to FD_PREPARE()"), changed the create handle to FD_PREPARE(), but it caused kernel null-ptr-deref because after call to retain_and_null_ptr(src_info), src_info is re-used for adding it to the global list. Getting the following kernel panic in papr_hvpipe_dev_create_handle() when trying to add src_info to the list. Kernel attempted to write user page (0) - exploit attempt? (uid: 0) BUG: Kernel NULL pointer dereference on write at 0x00000000 Faulting instruction address: 0xc0000000001b44a0 Oops: Kernel access of bad area, sig: 11 [#1] ... Call Trace: papr_hvpipe_dev_ioctl+0x1f4/0x48c (unreliable) sys_ioctl+0x528/0x1064 system_call_exception+0x128/0x360 system_call_vectored_common+0x15c/0x2ec Now, the error handling with FD_PREPARE's file cleanup and __free(kfree) auto cleanup is getting too convoluted. This is mainly because we need to ensure only 1 user get the srcID handle. To simplify this, we allocate prepare the src_info in the beginning and add it to the global list under a spinlock after checking that no duplicates exist. This simplify the error handling where if the FD_ADD fails, we can simply remove the src_info from the list and consume any pending msg in hvpipe to be cleared, after src_info became visible in the global list.
- Severity
- medium
- Software
- Kernel
- Fixed in
- 7.0.7
- Published
How likely is exploitation
FIRST's Exploit Prediction Scoring System puts the probability of this CVE being exploited in the next 30 days at 0.16% — higher than 5% of all published CVEs. EPSS is an independent forecast of exploitation, not a severity rating: it says nothing about how much damage a successful attack does, which is what a CVSS score measures.
Affected versions
From: 6.19
Until: 7.0.7
Fixed in: 7.0.7
How to fix this CVE
Update your Linux kernel to version 7.0.7 or later to address a null pointer dereference vulnerability in the papr-hvpipe driver. This flaw occurs during handle creation when the kernel attempts to reuse memory that has already been freed, potentially causing system crashes. Apply the patch immediately on systems running kernel versions 6.19 through 7.0.6.
sudo dnf update kernel kernel-develDefensia detects this vulnerability
How to check if you are affected
- Step 1: Check your kernel version with 'uname -r' and compare against the affected range 6.19-7.0.6
- Step 2: Verify papr-hvpipe driver is loaded with 'lsmod | grep papr_hvpipe' (relevant only on PowerPC pseries systems)
- Step 3: Search kernel logs for null pointer dereference signatures using 'journalctl -u kernel | grep -i 'null pointer\|papr_hvpipe\|0x00000000'
- Step 4: After patching, confirm kernel update with 'uname -r' and reboot verification with 'systemctl reboot', then run 'uname -r' again to confirm new version
FAQ
What is CVE-2026-46118?
A null pointer dereference vulnerability in the Linux kernel's papr-hvpipe driver that occurs when file descriptor preparation logic reuses freed memory during device handle creation, leading to kernel panics on affected PowerPC pseries systems.
Is CVE-2026-46118 being actively exploited?
No, this vulnerability is not listed in CISA's Known Exploited Vulnerabilities (KEV) catalog and no public exploits are currently available, though it can be triggered by privileged local users.
What versions of Kernel are affected by CVE-2026-46118?
Linux kernel versions 6.19 through 7.0.6 are affected; version 7.0.7 and later contain the fix.
How do I check if my server is vulnerable to CVE-2026-46118?
Run 'uname -r' and check if your version falls between 6.19 and 7.0.6; additionally, on PowerPC systems, confirm papr-hvpipe presence with 'lsmod | grep papr_hvpipe'.
Does Defensia detect CVE-2026-46118?
Yes — Defensia's CVE advisory scanner compares installed package versions against the NVD database. If Kernel is installed on a monitored server, CVE-2026-46118 will appear in your dashboard with remediation steps.
Related Kernel CVEs
References
Track CVEs across your fleet automatically
Defensia scans your Linux servers and tells you exactly which ones are running vulnerable versions — including CVE-2026-46118. Free for 1 server.
Get started free