Categories
CVE-2026-31559

LoongArch: Fix missing NULL checks for kstrdup()

Summary

LoongArch: Fix missing NULL checks for kstrdup()

Original description

The description as published by the source.

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.

Source: OSV.dev (Open Source Vulnerabilities) NVD OSV

Affected packages

Linux Kernel
[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"6.12.80"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.13.0"},{"fixed":"6.18.21"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.17.0"},{"fixed":"6.19.11"}]}]

Fix status by distribution

Fixed packages published by each distribution for this CVE

References

We use cookies for analytics and ad measurement. This setting applies to all Game co., Ltd. sites. Details