CVE-2026-31559: LoongArch: Fix missing NULL checks for kstrdup()

Published Apr 24, 2026
·
Updated

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

LoongArch: Fix missing NULL checks for kstrdup()

1. Replace "offindnodebypath("/")" with "ofroot" to avoid multiple calls to "ofnodeput()".

2. Fix a potential kernel oops during early boot when memory allocation fails while parsing CPU model from device tree.

Affected Software

14 affected components
Linux Linux kernel (LoongArch)
Linux Linux kernel>=6.12.43<6.12.80
Linux Linux kernel>=6.15.11<6.16
Linux Linux kernel>=6.16.2<6.17
Linux Linux kernel>=6.17.1<6.18.21
Linux Linux kernel>=6.19<6.19.11
Linux Linux kernel=6.17
Linux Linux kernel=7.0-rc1
Linux Linux kernel=7.0-rc2
Linux Linux kernel=7.0-rc3
Linux Linux kernel=7.0-rc4
Linux Linux kernel=7.0-rc5
Linux Linux kernel=7.0-rc6
Linux Linux kernel=7.0-rc7

Event History

Apr 24, 2026
CVE Published
via MITRE·02:35 PM
Data Sourced
via MITRE·02:35 PM
Description
Data Sourced
via NVD·03:16 PM
RemedyDescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2026-31559?

The severity of CVE-2026-31559 is medium with a CVSS score of 5.5.

2

How do I fix CVE-2026-31559?

CVE-2026-31559 can be fixed by applying the available patch from the Linux kernel.

3

What type of vulnerability is CVE-2026-31559?

CVE-2026-31559 is classified as a Null Pointer Dereference vulnerability.

4

Which software is affected by CVE-2026-31559?

CVE-2026-31559 affects the Linux kernel, specifically the LoongArch architecture.

5

What is the description of CVE-2026-31559?

CVE-2026-31559 addresses a missing NULL check for kstrdup() in the Linux kernel that could lead to a kernel oops during early boot.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203