CVE-2026-31559

LoongArch: Fix missing NULL checks for kstrdup()

published April 24, 2026

CVSS
—
EPSS
0%
Percentile
5.0
In the wild
Unconfirmed
What it is

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

LoongArch: Fix missing NULL checks for kstrdup()

1. Replace "of_find_node_by_path("/")" with "of_root" to avoid multiple

calls to "of_node_put()".

2. Fix a potential kernel oops during early boot when memory allocation

fails while parsing CPU model from device tree.

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.00162 · 5.0th percentile
Published
2026-04-24T14:35Z
EPSS history
Timeline
  • 24 APR 14:35Z
    LoongArch: Fix missing NULL checks for kstrdup()
    cvelistv5