Skip to main content
Network Thinking Solutions Logo

CVE-2022-50307

Linux kernel: s390/cio: fix out-of-bounds access on cio_ignore free

All CVEs
CVE-2022-50307Published 9/15/2025

Linux kernel: s390/cio: fix out-of-bounds access on cio_ignore free

Vendor advisory
CVSS7.1High

Overview

In the Linux kernel, the following vulnerability has been resolved: s390/cio: fix out-of-bounds access on cio_ignore free The channel-subsystem-driver scans for newly available devices whenever device-IDs are removed from the cio_ignore list using a command such as: echo free >/proc/cio_ignore Since an I/O device scan might interfer with running I/Os, commit 172da89ed0ea ("s390/cio: avoid excessive path-verification requests") introduced an optimization to exclude online devices from the scan. The newly added check for online devices incorrectly assumes that an I/O-subchannel's drvdata points to a struct io_subchannel_private. For devices that are bound to a non-default I/O subchannel driver, such as the vfio_ccw driver, this results in an out-of-bounds read access during each scan. Fix this by changing the scan logic to rely on a driver-independent online indication. For this we can use struct subchannel->config.ena, which is the driver's requested subchannel-enabled state. Since I/Os can only be started on enabled subchannels, this matches the intent of the original optimization of not scanning devices where I/O might be running.

Published
9/15/2025
Last modified
11/5/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.15.1, < 5.15.78

Verify advisory

Source
linux kernel
linux
≥ 5.16, < 6.0.7

Verify advisory

Source
linux kernel
linux
5.15

Verify advisory

Source
linux kernel
linux
5.15

Verify advisory

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

Source
linux kernel
linux
6.1

Verify advisory

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

Source
Linux
Linux
≥ 172da89ed0eaf9d9348f5decb86ad04c624b39d1, < 0e501fd0f38e42304bfa0d46a812d93f80294a87

Verify advisory

Source
Linux
Linux
≥ 172da89ed0eaf9d9348f5decb86ad04c624b39d1, < 106ab66cf5467726ca5ead51623043d37c06820a

Verify advisory

Source
Linux
Linux
≥ 172da89ed0eaf9d9348f5decb86ad04c624b39d1, < 1b6074112742f65ece71b0f299ca5a6a887d2db6

Verify advisory

Source
Linux
Linux
5.15

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.