CVE-2022-50307
Last modified
CVE-2022-50307 is a high-severity vulnerability rated 7.1/10 on the CVSS scale. 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. EPSS estimates a 0.15% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions | Update |
|---|---|---|---|
| Linux | Linux Kernel | >= 5.15.1, < 5.15.78 | — |
| Linux | Linux Kernel | >= 5.16, < 6.0.7 | — |
| Linux | Linux Kernel | 5.15 | — |
| Linux | Linux Kernel | 6.1 | Rc1 |
References
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2022-50307?
How severe is CVE-2022-50307?
How do I fix CVE-2022-50307?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2022
- CVE-2022-50301In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2022-50302In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2022-50303In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2022-50304In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2022-50305In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2022-50306In the Linux kernel, the following vulnerability has been re…7.1
- CVE-2022-50308In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2022-50309In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2022-50310In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2022-50311In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2022-50312In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2022-50313In the Linux kernel, the following vulnerability has been re…5.5
Are you affected by CVE-2022-50307?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
