Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2022-50307

HIGH 7.1EPSS 8%

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

Mitigation

  • Upgrade Linux to 1b6074112742f65ece71b0f299ca5a6a887d2db6 or later.

Who should check

  • Anyone running Linux >= 172da89ed0eaf9d9348f5decb86ad04c624b39d1, < 0e501fd0f38e42304bfa0d46a812d93f80294a87; >= 172da89ed0eaf9d9348f5decb86ad04c624b39d1, < 106ab66cf5467726ca5ead51623043d37c06820a; >= 172da89ed0eaf9d9348f5decb86ad04c624b39d1, < 1b6074112742f65ece71b0f299ca5a6a887d2db6
  • Anyone running Linux 5.15

Vulnerability facts

Affected
Linux >= 172da89ed0eaf9d9348f5decb86ad04c624b39d1, < 0e501fd0f38e42304bfa0d46a812d93f80294a87; >= 172da89ed0eaf9d9348f5decb86ad04c624b39d1, < 106ab66cf5467726ca5ead51623043d37c06820a; >= 172da89ed0eaf9d9348f5decb86ad04c624b39d1, < 1b6074112742f65ece71b0f299ca5a6a887d2db6; Linux 5.15
Fixed in
Linux 0e501fd0f38e42304bfa0d46a812d93f80294a87, Linux 106ab66cf5467726ca5ead51623043d37c06820a, Linux 1b6074112742f65ece71b0f299ca5a6a887d2db6
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Not remotely exploitable (local or adjacent access needed)
CVSS
7.1 (v3.1, NVD)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
  • Attack vector: Local
  • Attack complexity: Low
  • Privileges required: Low
  • User interaction: None
  • Scope: Unchanged
  • Confidentiality impact: High
  • Integrity impact: None
  • Availability impact: High
EPSS
0.23% chance of exploitation in 30 days (percentile 8, 2026-11-26)
CWE
CWE-125
Published
Modified

Description

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.

Affected and fixed versions

Package / productAffectedFixedSource
Linux>= 172da89ed0eaf9d9348f5decb86ad04c624b39d1, < 0e501fd0f38e42304bfa0d46a812d93f80294a87; >= 172da89ed0eaf9d9348f5decb86ad04c624b39d1, < 106ab66cf5467726ca5ead51623043d37c06820a; >= 172da89ed0eaf9d9348f5decb86ad04c624b39d1, < 1b6074112742f65ece71b0f299ca5a6a887d2db6—cvelist
Linux5.15—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by CVE-2022-50307. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2022-50307.md
Affected: Linux >= 172da89ed0eaf9d9348f5decb86ad04c624b39d1, < 0e501fd0f38e42304bfa0d46a812d93f80294a87; >= 172da89ed0eaf9d9348f5decb86ad04c624b39d1, < 106ab66cf5467726ca5ead51623043d37c06820a; >= 172da89ed0eaf9d9348f5decb86ad04c624b39d1, < 1b6074112742f65ece71b0f299ca5a6a887d2db6; Linux 5.15
Fixed in: Linux 0e501fd0f38e42304bfa0d46a812d93f80294a87, Linux 106ab66cf5467726ca5ead51623043d37c06820a, Linux 1b6074112742f65ece71b0f299ca5a6a887d2db6

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.

References

FAQ

Is CVE-2022-50307 being exploited?

There is no confirmed exploitation: CVE-2022-50307 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.23% chance of exploitation in the next 30 days (as of 2026-11-26).

How serious is CVE-2022-50307?

High: CVSS 7.1 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).

Which versions are affected by CVE-2022-50307?

Linux >= 172da89ed0eaf9d9348f5decb86ad04c624b39d1, < 0e501fd0f38e42304bfa0d46a812d93f80294a87; >= 172da89ed0eaf9d9348f5decb86ad04c624b39d1, < 106ab66cf5467726ca5ead51623043d37c06820a; >= 172da89ed0eaf9d9348f5decb86ad04c624b39d1, < 1b6074112742f65ece71b0f299ca5a6a887d2db6; Linux 5.15.

Is there a fix for CVE-2022-50307?

Yes. Fixed in Linux 0e501fd0f38e42304bfa0d46a812d93f80294a87, Linux 106ab66cf5467726ca5ead51623043d37c06820a, Linux 1b6074112742f65ece71b0f299ca5a6a887d2db6. Upgrade Linux to 1b6074112742f65ece71b0f299ca5a6a887d2db6 or later.

How do I check if I'm affected by CVE-2022-50307?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

Sponsors