CVE-2023-52774
s390/dasd: protect device queue against concurrent access
Check your servers for CVE-2023-52774
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2023-52774 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
Description
In the Linux kernel, the following vulnerability has been resolved:
s390/dasd: protect device queue against concurrent access
In dasd_profile_start() the amount of requests on the device queue are counted. The access to the device queue is unprotected against concurrent access. With a lot of parallel I/O, especially with alias devices enabled, the device queue can change while dasd_profile_start() is accessing the queue. In the worst case this leads to a kernel panic due to incorrect pointer accesses.
Fix this by taking the device lock before accessing the queue and counting the requests. Additionally the check for a valid profile data pointer can be done earlier to avoid unnecessary locking in a hot path.
Exploitation
EPSS 0.24%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 16.1% of all scored CVEs. Scores of 1 Dec 2026.
The assessment of CISA (SSVC, 10 Sep 2024):
- Exploitation
- none: CISA did not find evidence of exploitation or a public proof of concept
- Automatable
- no: each attack takes manual steps
- Technical impact
- partial: limited control or limited data
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from 4fa52aa7a82f9226b3874a69816bda3af821f002, before ebdc569a07a3e8dbe66b4184922ad6f88ac0b96f affected from 4fa52aa7a82f9226b3874a69816bda3af821f002, before f75617cc8df4155374132f0b500b0b3ebb967458 affected from 4fa52aa7a82f9226b3874a69816bda3af821f002, before f1ac7789406e2ca9ac51c41ad2daa597f47bdd4d affected from 4fa52aa7a82f9226b3874a69816bda3af821f002, before c841de6247e94e07566d57163d3c0d8b29278f7a affected from 4fa52aa7a82f9226b3874a69816bda3af821f002, before 6062c527d0403cef27c54b91ac8390c3a497b250 affected from 4fa52aa7a82f9226b3874a69816bda3af821f002, before dc96fde8fcb2b896fd6c64802a7f4ece2e69b0be affected from 4fa52aa7a82f9226b3874a69816bda3af821f002, before 9372aab5d0ff621ea203c8c603e7e5f75e888240 affected from 4fa52aa7a82f9226b3874a69816bda3af821f002, before db46cd1e0426f52999d50fa72cfa97fa39952885
Other versions: unaffected
|
| Linux |
affected 3.1 unaffected before 3.1 unaffected from 4.14.332 up to and including 4.14.* unaffected from 4.19.301 up to and including 4.19.* unaffected from 5.4.263 up to and including 5.4.* unaffected from 5.10.203 up to and including 5.10.* unaffected from 5.15.141 up to and including 5.15.* unaffected from 6.1.65 up to and including 6.1.* unaffected from 6.6.4 up to and including 6.6.* unaffected 6.7 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2023-52774 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2023-52774
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2023-52774
trivy image --scanners vuln IMAGE | grep CVE-2023-52774
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/ebdc569a07a3e8dbe66b4184922ad6f88ac0b96f git.kernel.org
- https://git.kernel.org/stable/c/f75617cc8df4155374132f0b500b0b3ebb967458 git.kernel.org
- https://git.kernel.org/stable/c/f1ac7789406e2ca9ac51c41ad2daa597f47bdd4d git.kernel.org
- https://git.kernel.org/stable/c/c841de6247e94e07566d57163d3c0d8b29278f7a git.kernel.org
- https://git.kernel.org/stable/c/6062c527d0403cef27c54b91ac8390c3a497b250 git.kernel.org
- https://git.kernel.org/stable/c/dc96fde8fcb2b896fd6c64802a7f4ece2e69b0be git.kernel.org
- https://git.kernel.org/stable/c/9372aab5d0ff621ea203c8c603e7e5f75e888240 git.kernel.org
- https://git.kernel.org/stable/c/db46cd1e0426f52999d50fa72cfa97fa39952885 git.kernel.org
Source: the record CVE-2023-52774 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse