Skip to main content
Network Thinking Solutions Logo

CVE-2024-36931

Linux kernel: s390/cio: Ensure the copied buf is NUL terminated

All CVEs
CVE-2024-36931Published 5/30/2024

Linux kernel: s390/cio: Ensure the copied buf is NUL terminated

Vendor advisory
CVSS7.1High

Overview

In the Linux kernel, the following vulnerability has been resolved: s390/cio: Ensure the copied buf is NUL terminated Currently, we allocate a lbuf-sized kernel buffer and copy lbuf from userspace to that buffer. Later, we use scanf on this buffer but we don't ensure that the string is terminated inside the buffer, this can lead to OOB read when using scanf. Fix this issue by using memdup_user_nul instead.

Published
5/30/2024
Last modified
6/17/2026
CVE assigner
Not available
NVD analysis
Not available

Exploitation

No CISA KEV flag in the saved record

An absent KEV flag does not establish that exploitation has never occurred. Verify current intelligence before prioritizing work.

EPSS predictions and CISA SSVC assessments are not imported here. Review additional intelligence on Cloudflare

Affected products

Affected-version rules published in the advisory. Conditions and uncertain comparisons require verification.

Vendor / productAffected versionsPlatform / conditionsEvidence
linux kernel
linux
≥ 5.13, < 5.15.159

Verify advisory

Source
linux kernel
linux
≥ 5.16, < 6.1.91

Verify advisory

Source
linux kernel
linux
≥ 6.2, < 6.6.31

Verify advisory

Source
linux kernel
linux
≥ 6.7, < 6.8.10

Verify advisory

Source
linux kernel
linux
6.9

Verify advisory

The advisory has platform, edition, hardware, or configuration conditions not verified by software inventory.

Source
Linux
Linux
≥ a4f17cc726712a52122ad38540bc3ff3a052d1a4, < c9d48ce163305595ae20aee27774192476d5e6a5

Verify advisory

Source
Linux
Linux
≥ a4f17cc726712a52122ad38540bc3ff3a052d1a4, < 10452edd175fcc4fd0f5ac782ed2a002e3e5d65c

Verify advisory

Source
Linux
Linux
≥ a4f17cc726712a52122ad38540bc3ff3a052d1a4, < 84b38f48836662c4bfae646c014f4e981e16a2b2

Verify advisory

Source
Linux
Linux
≥ a4f17cc726712a52122ad38540bc3ff3a052d1a4, < 06759ebaf75c19c87b2453a5e130e9e61e9b5d65

Verify advisory

Source
Linux
Linux
≥ a4f17cc726712a52122ad38540bc3ff3a052d1a4, < da7c622cddd4fe36be69ca61e8c42e43cde94784

Verify advisory

Source
Linux
Linux
5.13

Verify advisory

Source

Recommended actions

Verify the product, installed version, platform, and advisory prerequisites on each system. Apply the vendor's applicable fixed release or mitigation. An affected-range boundary alone is not a universal update recommendation.

Vendor advisory links

Derived from non-aggregator references because the source record has no vendor tags. Verify the advisory before acting on it.

Severity

CVSS describes technical impact. It is separate from exploitation evidence.

Published headline score: 7.1. Score version, vector, and attribution are not available in this record. Additional score details appear when the source record is next refreshed.

Sources & references

Sources: Official CVE List, NVD and cve.now (summaries CC BY 4.0). Uses NVD data; not endorsed by NVD.