CVE-2026-143001
Last modified
CVE-2026-143001 is a vulnerability of currently unknown severity. In the Linux kernel, the following vulnerability has been resolved: serial: 8250_exar: check priv->gpio properly priv->gpio is set by platform_device_register_full(), which returns error-encoded pointers on failure, not NULL. Sashiko reported: > Does __xr17v35x_register_gpio() return an ERR_PTR if > platform_device_register_full() fails? > > If it does, we might be storing an error pointer directly into > priv->gpio in xr17v35x_register_gpio() without validating it with > IS_ERR().
Description
In the Linux kernel, the following vulnerability has been resolved: serial: 8250_exar: check priv->gpio properly priv->gpio is set by platform_device_register_full(), which returns error-encoded pointers on failure, not NULL. Sashiko reported: > Does __xr17v35x_register_gpio() return an ERR_PTR if > platform_device_register_full() fails? > > If it does, we might be storing an error pointer directly into > priv->gpio in xr17v35x_register_gpio() without validating it with > IS_ERR(). Because the error is ignored, the device probe > successfully continues. Before commit 1145d1a0703f ("serial: 8250_exar: use platform_device_register_full()"), __xr17v35x_register_gpio() returned NULL on any failure (platform_device_alloc(), device_add_software_node() or platform_device_add() failing were all turned into a NULL return). The plain truthy check in xr17v35x_unregister_gpio() matched that convention. That commit switched registration to platform_device_register_full(), which reports failure as an ERR_PTR() instead of NULL, but the unregister check was never updated to match. As a result, a failed registration left an error pointer in priv->gpio, and unbind would tear it down as if it were a real platform_device, dereferencing the encoded error value in device_remove_software_node() and platform_device_unregister(). Use IS_ERR_OR_NULL() instead, so both the unset (non-EXAR vendor, priv->gpio never assigned) and failed-registration (ERR_PTR) cases are skipped.
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | >= 1145d1a0703f44687e599f8608c035cea95e6ae3, < 07de184d9bf160efeb183e219172c39b99678c16; >= 1145d1a0703f44687e599f8608c035cea95e6ae3, < 0353b51965883cf70dad162908e07395f242000f |
| Linux | Linux | 7.3 |
References
Timeline
- Published
- Last Modified
- Status
- Received
Frequently Asked Questions
What is CVE-2026-143001?
How severe is CVE-2026-143001?
How do I fix CVE-2026-143001?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-142997In the Linux kernel, the following vulnerability has been re…
- CVE-2026-142998In the Linux kernel, the following vulnerability has been re…
- CVE-2026-142999In the Linux kernel, the following vulnerability has been re…
- CVE-2026-1430The WP Lightbox 2 WordPress plugin before 3.0.7 does not san…4.8
- CVE-2026-14300The miniOrange Social Login and Register (Discord, Google, T…8.1
- CVE-2026-143000In the Linux kernel, the following vulnerability has been re…
- CVE-2026-143002In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2026-143003In the Linux kernel, the following vulnerability has been re…
- CVE-2026-143004In the Linux kernel, the following vulnerability has been re…7
- CVE-2026-143005In the Linux kernel, the following vulnerability has been re…
- CVE-2026-143006In the Linux kernel, the following vulnerability has been re…
- CVE-2026-143007In the Linux kernel, the following vulnerability has been re…
Are you affected by CVE-2026-143001?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
