CVE-2024-40991 dmaengine: ti: k3-udma-glue: Fix of_k3_udma_glue_parse_chn_by_id()
A reference counting error in the TI K3 UDMA glue 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-2024-40991?
CVE-2024-40991 is a high-severity vulnerability in Linux kernel, published on 12 Jul 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:
dmaengine: ti: k3-udma-glue: Fix of_k3_udma_glue_parse_chn_by_id()
The of_k3_udma_glue_parse_chn_by_id() helper function erroneously invokes "of_node_put()" on the "udmax_np" device-node passed to it, without having incremented its reference count at any point. Fix it.
Which versions are affected by CVE-2024-40991?
It affects 1 product.
Products include Linux kernel.
How do I fix CVE-2024-40991?
Apply the vendor's patch.
Is CVE-2024-40991 being exploited?
There is no known exploitation of CVE-2024-40991 in the wild and no public exploit code.
Other vulnerabilities in Linux kernel
Sources
Also known as BELL-CVE-2024-40991, DEBIAN-CVE-2024-40991, GHSA-7xv5-336f-55q3, UBUNTU-CVE-2024-40991.