CVE-2022-48636 s390/dasd: fix Oops in dasd_alias_get_start_dev due to missing pavgroup
A race condition in the Linux kernel s390 DASD driver can cause a null pointer dereference, leading to a system crash.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2022-48636?
CVE-2022-48636 is a high-severity vulnerability in Linux kernel, published on 28 Apr 2024. It can only be exploited from the same machine or local network, with no action from the victim.
Official description
In the Linux kernel, the following vulnerability has been resolved:
s390/dasd: fix Oops in dasd_alias_get_start_dev due to missing pavgroup
Fix Oops in dasd_alias_get_start_dev() function caused by the pavgroup pointer being NULL.
The pavgroup pointer is checked on the entrance of the function but without the lcu->lock being held. Therefore there is a race window between dasd_alias_get_start_dev() and _lcu_update() which sets pavgroup to NULL with the lcu->lock held.
Fix by checking the pavgroup pointer with lcu->lock held.
Weakness: CWE-476
Which versions are affected by CVE-2022-48636?
It affects 1 product.
Products include Linux kernel.
How do I fix CVE-2022-48636?
Apply the vendor's patch.
Is CVE-2022-48636 being exploited?
There is no known exploitation of CVE-2022-48636 in the wild and no public exploit code.
Other vulnerabilities in Linux kernel
Sources
Also known as DEBIAN-CVE-2022-48636, GHSA-mxvm-x858-3gm2, UBUNTU-CVE-2022-48636.