CVE-2022-48891 regulator: da9211: Use irq handler when ready

Medium 5.5 Published Updated

A null pointer dereference in the DA9211 regulator driver causes a kernel crash if an IRQ arrives before structures are initialized.

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-48891?

CVE-2022-48891 is a medium-severity vulnerability in Linux kernel, published on 21 Aug 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:

regulator: da9211: Use irq handler when ready

If the system does not come from reset (like when it is kexec()), the regulator might have an IRQ waiting for us.

If we enable the IRQ handler before its structures are ready, we crash.

This patch fixes:

[ 1.141839] Unable to handle kernel read from unreadable memory at virtual address 0000000000000078 [ 1.316096] Call trace: [ 1.316101] blocking_notifier_call_chain+0x20/0xa8 [ 1.322757] cpu cpu0: dummy supplies not allowed for exclusive requests [ 1.327823] regulator_notifier_call_chain+0x1c/0x2c [ 1.327825] da9211_irq_handler+0x68/0xf8 [ 1.327829] irq_thread+0x11c/0x234 [ 1.327833] kthread+0x13c/0x154

Which versions are affected by CVE-2022-48891?

It affects 1 product.

Products include Linux kernel.

How do I fix CVE-2022-48891?

Apply the vendor's patch.

Is CVE-2022-48891 being exploited?

There is no known exploitation of CVE-2022-48891 in the wild and no public exploit code.

All Linux kernel vulnerabilities

Sources

Also known as DEBIAN-CVE-2022-48891, GHSA-rfgm-jggp-w57r, UBUNTU-CVE-2022-48891.

Is CVE-2022-48891 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free